/* ==========================================================================
   DOMOTYK ECO SMART — HIGH-CONTRAST LIGHT SOLAR DESIGN SYSTEM
   Optimized for WCAG 2.1 AA Compliance, 60fps GPU Transitions & Zero Layout Shift
   Palette: Official Solar Orange (#EF762C / #C2410C), Emerald (#047857), 
            Pure White (#FFFFFF), Crisp Slate Ink (#0F172A / #334155)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Solar Orange Family */
  --accent-50:      #FFF7ED;
  --accent-100:     #FFEDD5;
  --accent-200:     #FED7AA;
  --accent-300:     #FDBA74;
  --accent-400:     #FB923C;
  --accent-500:     #EF762C; /* Official Logo Brand Color */
  --accent-600:     #EA580C;
  --accent-700:     #C2410C; /* WCAG AAA Contrast (7:1+) on White */
  --accent-800:     #9A3412;
  --accent-900:     #7C2D12;

  --accent-light:   var(--accent-50);
  --accent-border:  var(--accent-300);

  /* Solar Gold / Star Rating */
  --gold-500:       #D97706;

  /* Savings Emerald Green */
  --emerald-50:     #ECFDF5;
  --emerald-100:    #D1FAE5;
  --emerald-200:    #A7F3D0;
  --emerald-500:    #10B981;
  --emerald-600:    #059669;
  --emerald-700:    #047857; /* High contrast text */

  /* Neutral Slate Family */
  --slate-50:       #F8FAFC;
  --slate-100:      #F1F5F9;
  --slate-200:      #E2E8F0;
  --slate-300:      #CBD5E1;
  --slate-400:      #94A3B8;
  --slate-500:      #64748B;
  --slate-600:      #475569;
  --slate-700:      #334155;
  --slate-800:      #1E293B;
  --slate-900:      #0F172A;
  --slate-950:      #080E1A;

  /* Surface & Ink Semantic Tokens */
  --surface-body:     #FFFFFF;
  --surface-card:     #FFFFFF;
  --surface-raised:   #F8FAFC;
  --surface-overlay:  rgba(15, 23, 42, 0.75);

  --ink-primary:      #0F172A;
  --ink-secondary:    #334155;
  --ink-muted:        #64748B;
  --ink-inverse:      #FFFFFF;
  --ink-accent:       var(--accent-700);

  --line-subtle:      #E2E8F0;
  --line-strong:      #CBD5E1;

  /* Spacing Grid (8-Point System) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Typography Scale */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-xs:   clamp(0.75rem, 0.72rem + 0.2vw, 0.8125rem); /* ~12px-13px */
  --text-sm:   clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem); /* ~14px-15px */
  --text-base: clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);     /* ~16px-17px */
  --text-md:   clamp(1.1875rem, 1.12rem + 0.4vw, 1.3125rem);  /* ~19px-21px */
  --text-lg:   clamp(1.5rem, 1.38rem + 0.6vw, 1.75rem);      /* ~24px-28px */
  --text-xl:   clamp(2rem, 1.8rem + 1vw, 2.375rem);          /* ~32px-38px */
  --text-2xl:  clamp(2.5rem, 2.2rem + 1.6vw, 3.25rem);       /* ~40px-52px */

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 38px -6px rgba(15, 23, 42, 0.14), 0 8px 16px -4px rgba(15, 23, 42, 0.06);

  /* Corner Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Standard Transitions (Property-Specific) */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & ACCESSIBLE BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-body);
  color: var(--ink-primary);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text Selection */
::selection {
  background-color: var(--accent-200);
  color: var(--slate-950);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--slate-100);
}

::-webkit-scrollbar-thumb {
  background: var(--slate-300);
  border-radius: var(--radius-full);
  border: 2px solid var(--slate-100);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--slate-400);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms var(--ease-standard);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

/* Visible Focus Management (WCAG 2.1 AA) */
:focus-visible {
  outline: 3px solid var(--accent-700);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip Link for Screen Readers & Keyboard Users */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  background: var(--slate-900);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  z-index: 9999;
  border: 2px solid var(--accent-500);
  box-shadow: var(--shadow-xl);
  transition: top 200ms ease-in-out;
}

.skip-link:focus {
  top: 1rem;
}

/* Section Anchor Offsets for Smooth Navigation */
section[id] {
  scroll-margin-top: 85px;
}

/* --------------------------------------------------------------------------
   3. LAYOUT & CONTAINER SYSTEM
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.section-padding {
  padding-block: clamp(48px, 8vw, 96px);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 60px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.9rem;
  background: var(--accent-light);
  color: var(--accent-700);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  border: 1px solid var(--accent-border);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: var(--space-3);
  text-wrap: balance;
}

.section-description {
  font-size: var(--text-base);
  color: var(--slate-700);
  max-width: 65ch;
  margin-inline: auto;
  line-height: 1.6;
}

.grid-responsive {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.nowrap {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-md);
  position: relative;
  text-align: center;
  transition: transform 200ms var(--ease-standard),
              background-color 200ms var(--ease-standard),
              box-shadow 200ms var(--ease-standard),
              border-color 200ms var(--ease-standard);
  user-select: none;
}

.btn-lg {
  min-height: 52px;
  padding: 0.9rem 2.25rem;
  font-size: var(--text-base);
}

.btn-primary {
  background-color: var(--accent-600);
  background-image: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(239, 118, 44, 0.35);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background-image: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 118, 44, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(239, 118, 44, 0.3);
}

.btn-secondary {
  background: var(--slate-900);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  border: 1px solid transparent;
}

.btn-secondary:hover {
  background: var(--slate-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--slate-900);
  border: 2px solid var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--accent-700);
  color: var(--accent-700);
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-ghost-dark {
  background: #FFFFFF;
  color: var(--slate-900);
  border: 2px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.btn-ghost-dark:hover {
  border-color: var(--slate-900);
  background: var(--slate-100);
  transform: translateY(-2px);
}

.btn-ghost-dark:active {
  transform: translateY(0);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  border: 1px solid transparent;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: background-color 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border-bottom-color: var(--slate-300);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: clamp(38px, 4vw, 46px);
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
  margin-inline: auto;
}

.nav-link {
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 0.8rem + 0.15vw, 0.9375rem);
  font-weight: 700;
  position: relative;
  padding: var(--space-1) 2px;
  white-space: nowrap;
  transition: color 200ms ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-700);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease-standard);
}

.nav-link:hover {
  color: var(--accent-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--accent-700);
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--slate-100);
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  color: var(--slate-900);
  font-size: 1.5rem;
  border: 1px solid var(--slate-300);
  transition: background-color 200ms ease, border-color 200ms ease;
}

.mobile-toggle:hover {
  background: var(--slate-200);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1100;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 300ms var(--ease-out-expo);
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.2);
  border-left: 1px solid var(--slate-200);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--slate-200);
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background-color 200ms ease;
}

.drawer-close:hover {
  background: var(--slate-200);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.drawer-link {
  color: var(--slate-900);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--slate-200);
  transition: color 200ms ease;
}

.drawer-link.active {
  color: var(--accent-700);
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(120px, 15vh, 180px);
  padding-bottom: clamp(60px, 8vh, 100px);
  background: #0F172A;
  color: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 1.1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--accent-border);
  color: #FDBA74;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  margin-inline: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  text-align: center;
  text-wrap: balance;
}

.hero-title-highlight {
  color: #FDBA74;
  font-weight: 900;
}

.hero-lead {
  font-size: var(--text-md);
  color: #F1F5F9;
  max-width: 58ch;
  margin-bottom: var(--space-8);
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-inline: auto;
}

.hero-lead strong {
  color: #FFFFFF;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  width: 100%;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  width: 100%;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.trust-icon {
  width: 24px;
  height: 24px;
  color: #FDBA74;
  flex-shrink: 0;
}

.trust-text {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   7. STATS BANNER SECTION
   -------------------------------------------------------------------------- */
.stats-section {
  background: #FFF7ED;
  color: var(--slate-900);
  padding-block: var(--space-8);
  border-block: 1px solid var(--accent-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: var(--space-4);
  border-right: 1px solid var(--accent-border);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--accent-700);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--slate-800);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. SOLAR SAVINGS CALCULATOR SECTION
   -------------------------------------------------------------------------- */
.calculator-section {
  background: var(--surface-raised);
}

.calculator-card-standalone {
  background: #FFFFFF;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin-inline: auto;
}

/* Profile Selector Tabs */
.calc-profile-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.profile-tab-btn {
  padding: 0.6rem 1.4rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--slate-100);
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.profile-tab-btn:hover {
  background: var(--slate-200);
  transform: translateY(-1px);
}

.profile-tab-btn.active {
  background: var(--slate-900);
  color: #FFFFFF;
  border-color: var(--slate-900);
  box-shadow: var(--shadow-md);
}

.widget-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.widget-label {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--slate-900);
}

.widget-value-display {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--accent-700);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.widget-slider-container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.widget-slider {
  width: 100%;
  height: 10px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  accent-color: var(--accent-700);
  cursor: pointer;
}

.widget-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--slate-600);
  margin-top: var(--space-2);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.calculator-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.calc-res-card {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.calc-res-card.highlight {
  background: var(--emerald-50);
  border-color: var(--emerald-200);
}

.calc-res-label {
  font-size: var(--text-xs);
  color: var(--slate-700);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.calc-res-value {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 900;
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  white-space: normal;
  font-variant-numeric: tabular-nums;
}

.calc-cta-row {
  margin-top: var(--space-8);
  text-align: center;
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-media-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--slate-100);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-300);
}

.about-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1) translateZ(0);
  transform-origin: center center;
  transition: transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.about-media-box:hover .about-real-img {
  transform: scale(1.04) translateZ(0);
}

.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-block: var(--space-6);
}

.about-feature-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.feature-check {
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  color: var(--accent-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--slate-900);
}

.feature-text p {
  font-size: var(--text-sm);
  color: var(--slate-700);
}

/* --------------------------------------------------------------------------
   10. SERVICES SECTION & CARDS
   -------------------------------------------------------------------------- */
.service-card {
  background: var(--surface-card);
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 600ms cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 600ms cubic-bezier(0.25, 0.1, 0.25, 1),
              border-color 400ms ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-600);
  box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.12),
              0 6px 16px -2px rgba(239, 118, 44, 0.08);
}

.service-card-img-box {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  position: relative;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.service-card-img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.12) 100%);
  opacity: 0.5;
  transition: opacity 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
  pointer-events: none;
}

.service-card:hover .service-card-img-box::after {
  opacity: 0.1;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1) translateZ(0);
  transform-origin: center center;
  transition: transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.service-card:hover .service-card-img {
  transform: scale(1.06) translateZ(0);
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: var(--space-2);
  transition: color 250ms ease;
}

.service-card:hover .service-title {
  color: var(--accent-700);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--slate-700);
  margin-bottom: var(--space-6);
  flex-grow: 1;
  line-height: 1.6;
}

.service-link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--accent-700);
  padding-top: var(--space-3);
  border-top: 1px solid var(--slate-200);
  margin-top: auto;
  text-align: left;
  transition: color 300ms ease, border-color 300ms ease;
}

.service-arrow {
  display: inline-block;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-link-btn {
  color: var(--accent-600);
  border-color: rgba(239, 118, 44, 0.25);
}

.service-card:hover .service-arrow {
  transform: translateX(6px);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--surface-overlay);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: min(100%, 640px);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 250ms var(--ease-out-expo);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--slate-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--slate-800);
  transition: background-color 200ms ease;
}

.modal-close-btn:hover {
  background: var(--slate-200);
}

.modal-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--accent-light);
  color: var(--accent-800);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  border: 1px solid var(--accent-border);
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: var(--space-4);
}

.modal-body-text {
  font-size: var(--text-base);
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.modal-bullet-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  background: var(--slate-100);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.modal-bullet-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--slate-900);
}

/* --------------------------------------------------------------------------
   11. FEATURED PRODUCT OFFER (KIT ANTIAPAGÃO)
   -------------------------------------------------------------------------- */
.kit-highlight-box {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border: 1px solid var(--slate-700);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 850px) {
  .kit-highlight-box {
    grid-template-columns: 1fr 1fr;
  }
}

.kit-img-box {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kit-real-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transform: scale(1) translateZ(0);
  transform-origin: center center;
  transition: transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.kit-highlight-box:hover .kit-real-img {
  transform: scale(1.04) translateZ(0);
}

.kit-content-box {
  padding: clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kit-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: var(--space-2);
}

.kit-price-tag {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #FDBA74;
  margin-block: var(--space-3);
  font-variant-numeric: tabular-nums;
}

.kit-installment {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  display: inline-block;
  margin-left: var(--space-2);
}

/* --------------------------------------------------------------------------
   12. PORTFOLIO & OBRAS SHOWCASE
   -------------------------------------------------------------------------- */
.obras-section {
  background: var(--surface-raised);
}

.obras-nav-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.obra-tab-btn {
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--slate-900);
  border: 1px solid var(--slate-300);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.obra-tab-btn.active, .obra-tab-btn:hover {
  background: var(--accent-500);
  color: #FFFFFF;
  border-color: var(--accent-500);
  box-shadow: 0 4px 12px rgba(239, 118, 44, 0.35);
}

.obra-card-display {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-300);
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 620px;
}

@media (min-width: 850px) {
  .obra-card-display {
    grid-template-columns: 1fr 1fr;
    height: 620px;
  }
}

.obra-image-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  background: var(--slate-900);
  border-right: 1px solid var(--slate-200);
}

.obra-real-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transform: scale(1) translateZ(0);
  transform-origin: center center;
  transition: transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1), opacity 250ms ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.obra-card-display:hover .obra-real-img {
  transform: scale(1.04) translateZ(0);
}

.obra-badge-kwp {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent-500);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.obra-content-box {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
}

.obra-client-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--slate-900);
  margin-bottom: var(--space-2);
}

.obra-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
  color: var(--emerald-700);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 900;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  width: fit-content;
  font-variant-numeric: tabular-nums;
}

.obra-description-text {
  font-size: var(--text-base);
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.obra-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--slate-200);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-lbl {
  font-size: var(--text-xs);
  color: var(--slate-600);
}

.spec-val {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--slate-900);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION SECTION (GPU-ACCELERATED CSS GRID ANIMATION)
   -------------------------------------------------------------------------- */
.faq-accordion {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.faq-item.active {
  border-color: var(--accent-500);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--slate-900);
  transition: color 200ms ease;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 300ms var(--ease-out-expo), background-color 200ms ease, color 200ms ease;
  flex-shrink: 0;
  color: var(--slate-800);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-500);
  color: #FFFFFF;
}

/* 60fps Grid Transition for Accordion */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-standard);
}

.faq-content-inner {
  overflow: hidden;
  padding: 0 var(--space-6) var(--space-5) var(--space-6);
  opacity: 0;
  transition: opacity 250ms ease;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-content-inner {
  opacity: 1;
}

.faq-content p {
  font-size: var(--text-sm);
  color: var(--slate-700);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   14. LOCATION & CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info-card {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-block: var(--space-6);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-500);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.contact-detail-text p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-300);
  min-height: 380px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
}

/* --------------------------------------------------------------------------
   15. FOOTER & STICKY WHATSAPP
   -------------------------------------------------------------------------- */
.footer {
  background: #0F172A;
  color: rgba(255, 255, 255, 0.88);
  padding-top: clamp(48px, 8vw, 80px);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: clamp(32px, 5vw, 64px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  transition: color 200ms ease;
}

.footer-link:hover {
  color: #FDBA74;
}

.footer-social-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.social-icon-btn:hover {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(239, 118, 44, 0.4);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
}

.footer-privacy-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-xs);
  cursor: pointer;
  padding: 0;
  transition: color 200ms ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-privacy-btn:hover {
  color: #FDBA74;
}

.ywd-footer-link {
  display: inline-flex;
  align-items: center;
  transition: opacity 200ms ease, transform 200ms ease;
  opacity: 0.85;
}

.ywd-footer-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.ywd-footer-logo {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  display: inline-block;
  vertical-align: middle;
}

/* Floating WhatsApp Sticky Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 300ms var(--ease-standard),
              transform 300ms var(--ease-standard),
              visibility 300ms var(--ease-standard);
}

.floating-whatsapp.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px);
}

.floating-whatsapp-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  animation: pulse-glow 2s infinite;
}

.floating-whatsapp-tooltip {
  background: #0F172A;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  display: none;
}

@media (min-width: 768px) {
  .floating-whatsapp-tooltip {
    display: block;
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Privacy Policy Modal Content */
.privacy-modal-scrollable {
  text-align: left;
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 12px;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--slate-700);
}

.privacy-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Kit Lead Description */
.kit-lead {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
  margin-block: 0.75rem;
}

/* Testimonial Elements */
.testimonial-stars {
  color: var(--gold-500);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--slate-900);
}

/* Contact Info Card Elements */
.section-tag-light {
  background: rgba(255, 255, 255, 0.12);
  color: #FDBA74;
  border-color: rgba(255, 255, 255, 0.25);
}

.contact-brand-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  margin-block: var(--space-3);
  color: #FFFFFF;
}

.contact-brand-sub {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
}

/* Footer Semantic Typography */
.footer-brand-desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85);
  max-width: 32ch;
  line-height: 1.6;
  margin-top: 0.5rem;
  margin-bottom: var(--space-4);
}

.footer-address-text {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE BREAKPOINTS & ANIMATIONS
   -------------------------------------------------------------------------- */
@media (max-width: 1140px) {
  .nav-menu, .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }

  .section-padding {
    padding-block: clamp(36px, 7vw, 56px);
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust-bar {
    flex-direction: column;
    gap: var(--space-3);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .stat-card {
    padding: var(--space-2);
  }

  .calculator-card-standalone {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .calc-results-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .obra-card-display {
    min-height: auto;
  }

  .obra-image-box {
    min-height: 240px;
    height: 240px;
  }

  .obra-content-box {
    padding: 1.25rem 1rem;
  }

  .kit-img-box {
    min-height: 220px;
    height: 220px;
  }

  .kit-content-box {
    padding: 1.5rem 1rem;
  }

  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .floating-whatsapp-tooltip {
    display: none;
  }

  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease-out-expo), transform 500ms var(--ease-out-expo);
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   17. REDUCED MOTION PREFERENCE (WCAG 2.1 AA)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }

  .floating-whatsapp-btn {
    animation: none !important;
  }

  .skeleton-box,
  .service-card-img-box,
  .kit-img-box,
  .obra-image-box,
  .about-media-box {
    animation: none !important;
  }
}
