/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (LIGHT THEME)
   ========================================================================== */
:root {
  /* Yalmond branding: orange, sunshine yellow and turquoise. */
  --bg-dark: #fffbf6;
  --bg-card: #ffffff;
  --bg-card-hover: #fff8ee;
  --border-color: #e9e2d8;
  --border-glow: rgba(249, 115, 22, 0.08);

  --brand-orange: #ff8b2a;
  --brand-orange-hover: #f57a17;
  --brand-yellow: #ffd21c;
  --brand-turquoise: #00a9b7;
  --primary: #ae4309;
  --primary-hover: #873306;
  --primary-glow: rgba(249, 115, 22, 0.15);

  --accent: #087f8c;
  --accent-hover: #07616c;
  --accent-glow: rgba(0, 169, 183, 0.12);

  --text-primary: #20252b;
  --text-secondary: #4d5359;
  --text-muted: #6c706f;

  /* Fonts */
  --font-header: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Container Width */
  --container-max-width: 1200px;
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

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

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

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

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

button, a, input, textarea, select {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.accent-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--brand-orange);
  color: var(--text-primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  background: var(--brand-orange-hover);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background: #fff7ec;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: #fff0dc;
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: padding var(--transition-normal), background var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  background: hsla(0, 0%, 100%, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.logo-area:hover .logo-img {
  transform: scale(1.02);
}

.logo-icon {
  display: flex;
  align-items: center;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.desktop-nav a {
  font-weight: 500;
  color: var(--text-secondary);
}

.desktop-nav a:hover {
  color: var(--primary);
}

.nav-cta-btn {
  background: var(--brand-orange);
  color: var(--text-primary) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  background: var(--brand-orange-hover);
  box-shadow: 0 6px 14px var(--primary-glow);
}

/* Hamburger Menu Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  position: fixed;
  top: 1.4rem;
  right: 5%;
  z-index: 1020;
  transition: top var(--transition-normal), transform var(--transition-fast);
}

.main-header.scrolled ~ .mobile-nav-toggle {
  top: 1.05rem;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Mobile Nav Open Animation */
.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 1001;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
  will-change: transform;
}

.mobile-menu-overlay.open {
  transform: translateX(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 2rem;
}

.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  color: var(--text-secondary);
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-cta-btn {
  background: var(--brand-orange);
  color: var(--text-primary) !important;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px var(--primary-glow);
}

/* ==========================================================================
   GLOWING BACKGROUND ELEMENTS (PASTEL LIGHT STYLES)
   ========================================================================== */
.glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.12; /* Lower opacity for soft light background integration */
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: var(--brand-yellow);
  top: -100px;
  right: -100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: 300px;
  left: -150px;
}

.glow-3 {
  width: 550px;
  height: 550px;
  background: var(--brand-orange);
  bottom: 20%;
  right: -250px;
}

.glow-4 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: 0px;
  left: -100px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 7rem;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-demo-link {
  color: var(--text-secondary);
  font-weight: 600;
  padding: 0.85rem 0;
  text-underline-offset: 0.25em;
}

.hero-demo-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.hero-actions .btn-primary {
  background: var(--brand-orange);
  box-shadow: none;
}

.hero-actions .btn-primary:hover {
  background: var(--brand-orange-hover);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  justify-content: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.demo-credentials-tooltip {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid var(--primary-glow);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.demo-credentials-tooltip strong {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-alternative {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.alternative-or {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  width: 100%;
}

.alternative-or::before,
.alternative-or::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed var(--border-color);
}

.alternative-or:not(:empty)::before {
  margin-right: .5em;
}

.alternative-or:not(:empty)::after {
  margin-left: .5em;
}

/* Hero visual / mockup stack */
.hero-visual {
  position: relative;
  z-index: 2;
  scroll-margin-top: 100px;
}

.device-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 24%);
  align-items: center;
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 0;
}

.desktop-preview,
.mobile-preview {
  min-width: 0;
}

.device-label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.device-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--brand-yellow);
}

.mobile-preview .device-label::before {
  background: var(--brand-turquoise);
}

.mockup-frame {
  display: block;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.desktop-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f5f0e8;
  border-bottom: 1px solid var(--border-color);
}

.desktop-toolbar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.desktop-toolbar b {
  flex: 1;
  margin-right: 35px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

.desktop-base {
  height: 12px;
  margin: 0 -12px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(#cbd5e1, #e2e8f0);
}

.phone-frame {
  display: block;
  padding: 7px;
  border-radius: 30px;
  background: #172033;
  border: 1px solid #475569;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.phone-speaker {
  width: 30%;
  height: 5px;
  margin: 3px auto 9px;
  border-radius: 10px;
  background: #475569;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px 2px 23px 23px;
}

@media (max-width: 640px) {
  .device-showcase {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 0.5rem 0;
  }

  .desktop-preview {
    width: 94%;
    margin: 0 auto;
  }

  .mobile-preview {
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .desktop-toolbar {
    padding: 8px;
  }

  .desktop-toolbar b {
    font-size: 0.6rem;
  }
}

.mockup-screen-container {
  overflow: hidden;
  background: var(--bg-card);
}

.hero-mockup-img {
  width: 100%;
  height: auto;
}

.hero-visual-caption {
  max-width: 1080px;
  margin: 1rem auto 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.hero-visual-caption span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==========================================================================
   BENEFITS & CARDS SECTION
   ========================================================================== */
.benefits-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.operations-heading {
  max-width: 740px;
  margin-bottom: 3rem;
}

.operations-heading p,
.operation-detail > p,
.operations-closing p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.operation-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
}

.operation-context {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.operation-number {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.operation-detail h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.operation-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.operation-facts li::marker {
  color: var(--primary);
}

.operations-closing {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.operations-closing h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.operation-screenshot {
  margin-top: 1.75rem;
}

.operation-screenshot a {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.operation-screenshot img {
  width: 100%;
  height: auto;
}

.operation-screenshot figcaption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.operation-screenshot-wide {
  max-width: 960px;
}

@media (max-width: 768px) {
  .operation-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .benefits-section {
    padding: 4rem 0;
  }
}

/* ==========================================================================
   SHOWROOM & CAPTURAS SECTION
   ========================================================================== */
.showroom-section {
  position: relative;
  padding: 6rem 0;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.showroom-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.showroom-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tab-btn {
  display: flex;
  align-items: flex-start;
  text-align: left;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.tab-btn:hover {
  background-color: var(--bg-card);
}

.tab-btn.active {
  background-color: var(--bg-card);
  border-color: var(--primary);
}

.tab-number {
  font-family: var(--font-header);
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 1rem;
}

.tab-btn.active .tab-number {
  color: var(--primary);
}

.tab-content strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.tab-content > span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.showroom-display {
  width: 100%;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

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

.showroom-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.showroom-caption a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 768px) {
  .showroom-tabs {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.pricing-intro h2 {
  margin-bottom: 1.25rem;
}

.pricing-intro p,
.pricing-details dd {
  color: var(--text-secondary);
}

.pricing-intro .pricing-summary {
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-whatsapp {
  background: #15803d;
  color: #fff;
  border: 1px solid #15803d;
}

.btn-whatsapp:hover {
  background: #166534;
  border-color: #166534;
  color: #fff;
  transform: translateY(-2px);
}

.pricing-details {
  margin: 0;
  min-width: 0;
}

.pricing-details > div {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.pricing-details > div:first-child {
  padding-top: 0;
}

.pricing-details dt {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.pricing-details dd {
  margin: 0;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  position: relative;
  padding: 7rem 0;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-text h2 {
  margin-bottom: 1.5rem;
}

.contact-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.method-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.method-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.method-item span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Lead Form */
.contact-form-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea {
  background-color: #fffcf8;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-glow);
  background-color: var(--bg-card);
}

.form-group.error input, .form-group.error textarea {
  border-color: hsl(0, 80%, 50%);
}

.form-group.error input:focus, .form-group.error textarea:focus {
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
}

.error-msg {
  display: none;
  color: hsl(0, 80%, 50%);
  font-size: 0.8rem;
  font-weight: 500;
}

.form-group.error .error-msg {
  display: block;
}

/* GDPR consent checkbox */
.form-group-consent {
  gap: 0.4rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-secondary);
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-label a {
  color: var(--primary);
  text-decoration: underline;
}

.consent-label a:hover {
  color: var(--primary-hover);
}

.form-group-consent.error .consent-label {
  color: hsl(0, 80%, 50%);
}

.form-group-consent.error .consent-label input[type="checkbox"] {
  outline: 2px solid hsl(0, 80%, 50%);
  outline-offset: 1px;
}

/* Spinner indicator inside submit button */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  margin-left: 0.75rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
}

.toast-notification.error .toast-content {
  border-color: #ef4444;
}

.toast-notification.error .toast-icon {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--accent);
  padding: 1rem 1.75rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05), 0 5px 15px rgba(0, 0, 0, 0.05);
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
}

.toast-text {
  display: flex;
  flex-direction: column;
}

.toast-text strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.toast-text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: #f5efe6;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-text {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.35rem;
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-logo {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  margin-bottom: 1.25rem;
  transition: transform var(--transition-fast);
}

.footer-brand a:hover .footer-logo {
  transform: scale(1.02);
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 320px;
}

.footer-endorsement {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: hsla(210, 40%, 96%, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
}

.footer-endorsement a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-endorsement a:hover {
  color: var(--primary);
}

.footer-endorsement strong {
  color: inherit;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 5rem;
  justify-content: flex-end;
}

.footer-links h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   SCROLL REVEAL EFFECT (PROGRESSIVE ENHANCEMENT)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-in {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .scroll-reveal {
      animation: reveal-in auto cubic-bezier(0.16, 1, 0.3, 1) backwards;
      animation-timeline: view();
      animation-range: entry 10% entry 35%;
    }
  }
  
  /* Fallback scroll animation initial state */
  .scroll-reveal.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
  }
  
  .scroll-reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .showroom-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .showroom-tabs {
    flex-direction: column;
    overflow-x: visible;
    padding-bottom: 0;
    gap: 0.75rem;
  }
  
  .tab-btn {
    flex: none;
    width: 100%;
    padding: 1.25rem;
  }
  
  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .contact-text {
    text-align: center;
  }
  
  .contact-methods {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .glow-sphere {
    filter: none;
    opacity: 0.05;
  }
  
  .main-header.scrolled {
    backdrop-filter: none;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .logo-img {
    height: 36px;
  }

  .footer-logo {
    height: 34px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-endorsement {
    margin: 1rem auto 0;
  }
  
  .footer-links {
    justify-content: center;
    gap: 3.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  

}

/* ==========================================================================
   ACCESSIBILITY: visible keyboard focus
   ========================================================================== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.tab-btn:focus-visible,
.mobile-nav-toggle:focus-visible,
input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Respect reduced-motion preference */
@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;
  }
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background: var(--bg-dark);
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: #ffffff;
  border: 2px solid var(--border-color);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease-in-out;
  opacity: 1 !important;
  transform: none !important;
}

.faq-item:hover {
  border-color: #c9beb0;
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px var(--primary-glow);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
