:root {
  /* Color Palette */
  --bg-color: #ffffff;
  --text-color: #171717;
  --primary-color: #2C7A7B;
  --primary-hover: #1f5c5d;
  --secondary-color: #A0AEC0;
  
  /* Additional Accents & Backgrounds */
  --bento-bg: #f8fafc;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --alu-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  
  /* Shadows & Borders */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-md: 16px;
  --radius-lg: 32px;
  
  /* Typography & Animation */
  --font-family: 'Montserrat', 'Poppins', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

p {
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Promotional Banner
   ========================================================================== */
.promo-banner {
  background-color: var(--primary-color);
  color: var(--bg-color);
  text-align: center;
  padding: 0.875rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.promo-banner span {
  opacity: 0.9;
  font-weight: 400;
  text-transform: none;
  margin-left: 0.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}

.nav-links a.nav-item {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a.nav-item:hover::after {
  width: 100%;
}

/* ==========================================================================
   Dropdown Menu (Cities)
   ========================================================================== */
.dropdown {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
}

.dropdown-toggle {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: var(--transition);
  margin-left: 0.25rem;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown:focus-within .dropdown-toggle::after {
  transform: rotate(-135deg) translateY(-2px);
}

.dropdown-content {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-width: 280px;
  max-height: 50vh;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  z-index: 100;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
}

/* Custom Scrollbar for Dropdown */
.dropdown-content::-webkit-scrollbar {
  width: 6px;
}
.dropdown-content::-webkit-scrollbar-track {
  background: transparent;
}
.dropdown-content::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 10px;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
  border-bottom: 1px solid rgba(160, 174, 192, 0.1);
  transition: var(--transition);
}

.dropdown-content li:last-child a,
.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
  background-color: var(--bento-bg);
  color: var(--primary-color);
  padding-left: 2rem;
  outline: none;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 4px 14px rgba(44, 122, 123, 0.25);
}

.btn:hover {
  background-color: var(--primary-hover);
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 122, 123, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--secondary-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  border-color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(160, 174, 192, 0.3);
}

/* ==========================================================================
   Bento Grid Layout
   ========================================================================== */
.main-content {
  padding: 4rem 5%;
  max-width: 1600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bento-bg);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Specific Bento Sizing */
.bento-hero { grid-column: span 12; min-height: 500px; }
.bento-half { grid-column: span 6; }
.bento-third { grid-column: span 4; }
.bento-two-thirds { grid-column: span 8; }
.bento-quarter { grid-column: span 3; }

/* Bento Image Cards */
.bento-image-card {
  padding: 0;
  border: none;
}

.bento-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bento-image-card:hover img {
  transform: scale(1.04);
}

/* Frosted Glass Overlay inside Bento Images */
.bento-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.bento-overlay h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.bento-overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Brushed Aluminum Texture Effect */
.bento-alu {
  background: var(--alu-gradient);
  position: relative;
}

.bento-alu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.1) 2px,
    rgba(255, 255, 255, 0.1) 4px
  );
  pointer-events: none;
  opacity: 0.5;
}

/* Product Tag Highlights */
.product-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  background: rgba(44, 122, 123, 0.1);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(44, 122, 123, 0.2);
}

/* ==========================================================================
   Tally Form Section (Devis)
   ========================================================================== */
.form-section {
  padding: 6rem 5%;
  background-color: var(--bg-color);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bento-bg);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(160, 174, 192, 0.2);
  text-align: center;
}

.form-container h2 {
  color: var(--primary-color);
}

.form-wrapper {
  margin-top: 2rem;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
}

iframe[data-tally-src] {
  width: 100%;
  border: none;
  min-height: 400px;
}

/* ==========================================================================
   Footer (Minimalist)
   ========================================================================== */
.site-footer {
  padding: 4rem 5% 2rem;
  text-align: center;
  border-top: 1px solid rgba(160, 174, 192, 0.2);
  margin-top: 4rem;
  background-color: var(--bg-color);
}

.site-footer p {
  color: var(--secondary-color);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--secondary-color);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .bento-half, .bento-third, .bento-two-thirds, .bento-quarter {
    grid-column: span 6;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

@media screen and (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-hero, .bento-half, .bento-third, .bento-two-thirds, .bento-quarter {
    grid-column: span 1;
  }
  
  .bento-card {
    padding: 2rem;
  }
  
  .form-container {
    padding: 2rem 1rem;
  }
}

@media screen and (max-width: 480px) {
  .dropdown-content {
    left: 0;
    transform: translateX(0) translateY(10px);
    width: 100%;
  }
  
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    transform: translateX(0) translateY(0);
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
}