/* ==========================================================================
   Purva Aerocity - Codename Infinity - Master Stylesheet
   Design system inspired by Puravankara brand aesthetic
   Classic navy (#1a3672) + champagne gold (#c9a56b) — premium tone
   ========================================================================== */

/* ----- Design Tokens ----- */
:root {
  /* Brand Colors — Puravankara palette */
  --brand-red: #1a3672;              /* Primary navy (kept var name for backward compat with class selectors) */
  --brand-red-dark: #12244d;         /* Darker navy */
  --brand-red-soft: #eef1f9;         /* Softest navy-tinted background */
  --brand-navy: #1a3672;             /* Semantic name */
  --brand-navy-dark: #12244d;
  --brand-gold: #c9a56b;             /* Champagne gold accent */
  --brand-gold-dark: #a88449;
  --brand-gold-soft: #f8f2e6;
  --ink: #0f1c3a;                    /* Deeper navy for text */
  --text: #2c3e50;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #FAFAFA;
  --bg-soft: #F5F6FA;
  --white: #FFFFFF;
  --success: #2E7D32;
  --whatsapp: #25D366;

  /* Typography — luxury serif + clean sans for Puravankara premium tone */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(15,28,58,0.08);
  --shadow-md: 0 6px 24px rgba(15,28,58,0.10);
  --shadow-lg: 0 12px 48px rgba(15,28,58,0.15);

  /* Radius */
  --radius: 4px;                     /* Tighter radii for premium/architectural feel */
  --radius-lg: 8px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-gold); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 400;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--brand-red); }

/* ----- Layout ----- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 600;
  margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin-bottom: 3rem;
}

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  color: var(--brand-navy);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex; align-items: baseline; gap: .5rem;
}
.brand-sub {
  font-family: var(--font-sans);
  font-size: .68rem;
  color: var(--brand-gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  border-left: 1px solid var(--border);
  padding-left: .5rem;
}
nav.main-nav ul {
  display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0;
}
nav.main-nav a {
  color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
  padding: .5rem 0;
  position: relative;
}
nav.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px;
  width: 0; background: var(--brand-red); transition: width .25s var(--ease);
}
nav.main-nav a:hover::after, nav.main-nav a.active::after { width: 100%; }
.header-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--brand-red); color: white; padding: .65rem 1.2rem;
  border-radius: var(--radius); font-weight: 500; font-size: .9rem;
  border: none; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease);
}
.header-cta:hover { background: var(--brand-red-dark); color: white; transform: translateY(-1px); }
.hamburger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.hamburger span {
  display: block; position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--ink); transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  color: white;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75) 100%),
              url('../images/purva-aerocity-elevation-view-chikkajala.jpeg') center/cover no-repeat;
  padding: 4rem 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.75) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }
.hero-eyebrow {
  display: inline-block; background: var(--brand-red); color: white;
  padding: .35rem .9rem; border-radius: 999px; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: white; font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 1rem; line-height: 1.05;
}
.hero h1 em { color: white; font-style: italic; }
.hero-desc {
  font-size: 1.15rem; opacity: .95; margin-bottom: 2rem; max-width: 620px;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-meta-item { font-size: .9rem; }
.hero-meta-item strong {
  display: block; font-family: var(--font-serif);
  font-size: 1.6rem; color: white; margin-bottom: .1rem;
}
.hero-meta-item span { opacity: .85; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: all .2s var(--ease); text-decoration: none;
  font-family: var(--font-sans);
}
.btn-primary { background: var(--brand-navy); color: white; border-color: var(--brand-navy); }
.btn-primary:hover { background: var(--brand-navy-dark); border-color: var(--brand-navy-dark); color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,54,114,.35); }
.btn-gold { background: var(--brand-gold); color: white; border-color: var(--brand-gold); }
.btn-gold:hover { background: var(--brand-gold-dark); border-color: var(--brand-gold-dark); color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,165,107,.4); }
.btn-outline-gold { background: transparent; color: var(--brand-gold-dark); border-color: var(--brand-gold); }
.btn-outline-gold:hover { background: var(--brand-gold); color: white; transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; border-color: white; }
.btn-outline:hover { background: white; color: var(--brand-red); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: white; }
.btn-whatsapp { background: var(--whatsapp); color: white; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1eb653; color: white; border-color: #1eb653; }
.btn-block { width: 100%; }

/* ----- Trust Bar ----- */
.trust-bar {
  background: var(--bg-soft); padding: 2rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
}
.trust-item strong {
  display: block; font-family: var(--font-serif);
  font-size: 2rem; color: var(--brand-red); line-height: 1;
}
.trust-item span {
  font-size: .85rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .1em; margin-top: .5rem; display: block;
}
@media (max-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ----- Overview & Content Sections ----- */
.two-col {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.two-col img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.rich-text { font-size: 1.02rem; }
.rich-text p { color: var(--text); margin-bottom: 1.2em; }
.rich-text ul { padding-left: 1.2em; }
.rich-text li { margin-bottom: .5em; }

/* ----- Feature Grid (USPs) ----- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: white; padding: 2rem 1.75rem;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--brand-red-soft); color: var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature-card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* ----- Configuration Cards ----- */
.config-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.config-card {
  background: white; padding: 1.75rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-align: left;
  transition: all .2s var(--ease);
}
.config-card:hover { border-color: var(--brand-red); transform: translateY(-3px); }
.config-tag {
  display: inline-block; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-red); font-weight: 600;
  background: var(--brand-red-soft); padding: .3rem .7rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.config-card h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.config-card .config-size { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; }
.config-card .config-price {
  font-family: var(--font-serif); font-size: 1.4rem; color: var(--ink);
  margin-bottom: 1.25rem;
}
.config-card .config-price small { font-size: .8rem; color: var(--text-muted); font-family: var(--font-sans); }
.config-card .btn { width: 100%; }

/* ----- Amenities Chips ----- */
.amenities-cloud {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem;
}
.amenity-chip {
  background: white; border: 1px solid var(--border);
  padding: .65rem 1.1rem; border-radius: 999px;
  font-size: .88rem; color: var(--text);
  display: inline-flex; align-items: center; gap: .5rem;
}
.amenity-chip::before { content: '✓'; color: var(--brand-red); font-weight: 700; }

/* ----- Location list ----- */
.location-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 2rem;
  margin: 0; padding: 0; list-style: none;
}
@media (max-width: 640px) { .location-list { grid-template-columns: 1fr; } }
.location-list li {
  display: flex; justify-content: space-between; padding: .85rem 0;
  border-bottom: 1px dashed var(--border);
}
.location-list li strong { color: var(--brand-red); font-weight: 600; font-size: .95rem; }

/* ----- Pros / Cons ----- */
.proscons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
@media (max-width: 800px) { .proscons { grid-template-columns: 1fr; } }
.proscons-col {
  background: white; padding: 2rem; border-radius: var(--radius-lg);
  border-top: 4px solid var(--brand-red);
}
.proscons-col.cons { border-top-color: #F59E0B; }
.proscons-col h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.proscons-col ul { list-style: none; padding: 0; margin: 0; }
.proscons-col li {
  padding: .7rem 0 .7rem 1.75rem; position: relative;
  border-bottom: 1px solid var(--border); font-size: .95rem;
}
.proscons-col li:last-child { border-bottom: 0; }
.proscons-col.pros li::before {
  content: '✓'; position: absolute; left: 0; color: var(--success);
  font-weight: 700; font-size: 1.1rem;
}
.proscons-col.cons li::before {
  content: '!'; position: absolute; left: .4rem; color: #F59E0B;
  font-weight: 700; font-size: 1.1rem;
}

/* ----- FAQ ----- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-question {
  cursor: pointer; font-family: var(--font-serif);
  font-size: 1.15rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  padding: .25rem 0; list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+'; color: var(--brand-red); font-size: 1.6rem; line-height: 1;
  transition: transform .25s var(--ease);
}
details[open] .faq-question::after { content: '−'; }
.faq-answer { padding: 1rem 0 .5rem; color: var(--text); font-size: .98rem; }

/* ----- Gallery ----- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4/3; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.6));
  pointer-events: none;
}
.gallery-caption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  color: white; font-size: .95rem; z-index: 2;
  font-family: var(--font-serif);
}

/* ----- Testimonials ----- */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: white; padding: 2rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 8px; left: 24px;
  font-family: var(--font-serif); font-size: 4.5rem; color: var(--brand-red);
  line-height: 1; opacity: .3;
}
.testimonial p { font-style: italic; color: var(--text); margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-red-soft); color: var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-serif);
}
.testimonial-author strong { display: block; color: var(--ink); font-size: .95rem; }
.testimonial-author span { color: var(--text-muted); font-size: .82rem; }

/* ----- Lead Form ----- */
.lead-section {
  background: linear-gradient(135deg, #1A1A1A 0%, #3A1010 100%);
  color: white;
}
.lead-section h2 { color: white; }
.lead-section h2 em { color: #FFB4A0; }
.lead-section .section-tag { color: #FFB4A0; }
.lead-section .section-lead { color: rgba(255,255,255,.75); }
.lead-form-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .lead-form-wrap { grid-template-columns: 1fr; } }
.lead-form {
  background: white; color: var(--ink); padding: 2.5rem;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.lead-form h3 { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--ink); margin-bottom: .4rem;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-sans);
  font-size: .95rem; background: white; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(218,42,42,.1);
}
.form-consent {
  font-size: .78rem; color: var(--text-muted);
  margin: .75rem 0 0; line-height: 1.5;
}
.form-badges {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem;
}
.form-badge {
  font-size: .72rem; padding: .3rem .7rem; border-radius: 999px;
  background: var(--brand-red-soft); color: var(--brand-red); font-weight: 600;
}

.lead-copy h2 { color: white; margin-bottom: 1rem; }
.lead-copy ul { list-style: none; padding: 0; margin: 2rem 0 0; }
.lead-copy li {
  padding: .6rem 0 .6rem 2rem; position: relative;
  color: rgba(255,255,255,.85); font-size: .98rem;
}
.lead-copy li::before {
  content: '✓'; position: absolute; left: 0;
  color: #FFB4A0; font-weight: 700; font-size: 1.15rem;
}

/* ----- Footer ----- */
.site-footer {
  background: #0F0F0F; color: rgba(255,255,255,.7);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--font-serif); font-size: 2rem; color: var(--brand-red);
  margin-bottom: .5rem;
}
.footer-brand span { color: white; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; display: block; }
.site-footer h4 {
  color: white; font-family: var(--font-sans);
  font-size: .85rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: white; }
.footer-contact-item {
  display: flex; gap: .6rem; margin-bottom: .8rem; font-size: .92rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--brand-red); }
.footer-disclaimer {
  font-size: .78rem; color: rgba(255,255,255,.55);
  padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.1);
  line-height: 1.6;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem; gap: 1rem;
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.rera-line {
  font-size: .82rem; color: rgba(255,255,255,.6);
  padding: 1rem; background: rgba(255,255,255,.05);
  border-radius: var(--radius); margin: 1rem 0;
}
.rera-line strong { color: #FFB4A0; }

/* ----- Field Validation Errors ----- */
.form-field .req {
  color: var(--brand-red);
  margin-left: 2px;
  font-weight: 700;
}
.form-field input.field-error,
.form-field select.field-error,
.form-field textarea.field-error {
  border-color: #DC2626 !important;
  background: #FEF2F2;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}
.field-error-msg {
  color: #DC2626;
  font-size: .8rem;
  margin-top: .4rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  font-weight: 500;
  line-height: 1.3;
  animation: shake .3s var(--ease);
}
.field-error-msg::before {
  content: '⚠';
  font-size: .9rem;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}
.form-alert {
  padding: .8rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: fade-in .25s var(--ease);
}
.form-alert::before { content: '⚠'; font-size: 1.1rem; }
.form-alert--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.form-alert--success {
  background: #F0FDF4;
  color: #14532D;
  border: 1px solid #BBF7D0;
}
.form-alert--success::before { content: '✓'; }

/* ----- EOI Chat Widget (bottom-right, dismissable) ----- */
.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 96;
  width: 320px;
  max-width: calc(100vw - 28px);
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.06);
  overflow: hidden;
  transform: translateY(20px) scale(.95);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  border: 1px solid rgba(0,0,0,.06);
}
.chat-widget.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-widget-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  background: rgba(255,255,255,.9);
  border: 0;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s var(--ease);
}
.chat-widget-close:hover { background: rgba(255,255,255,1); }
.chat-widget-header {
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
  color: white;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.chat-widget-avatar {
  width: 40px; height: 40px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.chat-widget-header-text { line-height: 1.3; min-width: 0; }
.chat-widget-header-text strong {
  display: block;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 600;
}
.chat-widget-status {
  font-size: .72rem;
  opacity: .95;
  display: flex; align-items: center; gap: .3rem;
  margin-top: 2px;
}
.chat-status-dot {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
  animation: chat-pulse 2s infinite;
}
@keyframes chat-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .8); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.chat-widget-message {
  padding: 1rem 1.1rem .5rem;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.5;
}
.chat-widget-message p { margin: 0 0 .5rem; }
.chat-widget-message p:last-child { margin-bottom: 0; }
.chat-widget-message strong { color: var(--ink); }
.chat-widget-cta {
  display: block;
  margin: .5rem 1.1rem 1.1rem;
  background: var(--whatsapp);
  color: white;
  text-align: center;
  padding: .8rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s var(--ease);
}
.chat-widget-cta:hover {
  background: #1eb653;
  color: white;
}

/* Position chat widget above the mobile sticky bar on mobile */
@media (max-width: 900px) {
  .chat-widget { bottom: 140px; right: 14px; width: calc(100vw - 28px); max-width: 340px; }
}

/* ----- Floating WhatsApp Button (all screens) ----- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, .55);
  color: white;
}
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .55); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, .45), 0 0 0 14px rgba(37, 211, 102, 0); }
}
.wa-float-label {
  position: absolute;
  right: 72px;
  background: white;
  color: var(--ink);
  padding: .55rem .9rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  transform: translateX(6px);
}
.wa-float:hover .wa-float-label { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) {
  .wa-float { bottom: 76px; right: 14px; width: 54px; height: 54px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float-label { display: none; }
}

/* ----- Sticky Mobile CTA Bar ----- */
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: white; box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  padding: .6rem; gap: .5rem; z-index: 90;
  border-top: 1px solid var(--border);
}
.mobile-cta-bar a {
  flex: 1; text-align: center; padding: .8rem .5rem;
  border-radius: var(--radius); font-weight: 600;
  font-size: .88rem; display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.mobile-cta-bar .m-call { background: var(--brand-red); color: white; }
.mobile-cta-bar .m-wa { background: var(--whatsapp); color: white; }
.mobile-cta-bar .m-enq { background: var(--ink); color: white; }

/* ----- Modal / Popup ----- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 1rem; overflow-y: auto;
  animation: fade-in .25s var(--ease);
}
.modal-backdrop.is-open { display: flex; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white; border-radius: var(--radius-lg);
  width: 100%; max-width: 460px; padding: 2rem;
  position: relative; box-shadow: var(--shadow-lg);
  animation: slide-up .3s var(--ease);
}
@keyframes slide-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-soft); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); font-size: 1.4rem; line-height: 1;
  transition: background .2s var(--ease);
}
.modal-close:hover { background: var(--border); }
.modal h3 { margin-top: 0; padding-right: 2rem; font-size: 1.5rem; }
.modal-lead { color: var(--text-muted); font-size: .93rem; margin-bottom: 1.5rem; }
.modal .form-field { margin-bottom: .9rem; }

/* ----- Utility ----- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.bg-soft { background: var(--bg-soft); }
.bg-white { background: white; }

/* ----- Table (spec sheet) ----- */
.spec-table {
  width: 100%; border-collapse: collapse; margin-top: 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: white;
}
.spec-table th, .spec-table td {
  padding: 1rem 1.2rem; text-align: left;
  border-bottom: 1px solid var(--border); font-size: .94rem;
}
.spec-table th {
  background: var(--bg-soft); color: var(--ink);
  font-weight: 600; width: 40%; font-family: var(--font-sans);
}
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: 0; }

/* Mobile: make wide tables horizontally scrollable inside their wrapper */
@media (max-width: 640px) {
  .spec-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .spec-table th, .spec-table td { padding: .75rem .8rem; font-size: .88rem; }
  .spec-table th { width: 40%; min-width: 140px; }
  .spec-table td { min-width: 180px; }
  /* Trust bar tighter on mobile */
  .trust-item strong { font-size: 1.5rem; }
  .trust-item span { font-size: .78rem; letter-spacing: .05em; }
  /* Hero — more compact stacking */
  .hero { min-height: 78vh; padding: 2.5rem 0; }
  .hero-meta { gap: 1rem 1.5rem; margin-top: 1.75rem; padding-top: 1.25rem; }
  .hero-meta-item strong { font-size: 1.3rem; }
  /* Prevent Config card price overflow */
  .config-card .config-price { font-size: 1.2rem; }
}

/* ----- Breadcrumbs ----- */
.breadcrumb {
  padding: 1.25rem 0; font-size: .85rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-red); }
.breadcrumb span { margin: 0 .5rem; opacity: .5; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ----- Page Hero (inner) ----- */
.page-hero {
  background: linear-gradient(135deg, #F5E9E9 0%, #FAFAFA 100%);
  padding: 4rem 0 3rem;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 720px; margin: 0; }

/* ----- Mobile menu ----- */
@media (max-width: 900px) {
  nav.main-nav {
    position: fixed;
    top: 66px;
    right: 0;   /* Anchor to right edge — no more negative right that causes horizontal overflow */
    width: 78%;
    max-width: 320px;
    height: calc(100vh - 66px);
    background: white;
    box-shadow: -8px 0 24px rgba(0,0,0,.12);
    padding: 2rem 1.5rem;
    transform: translateX(100%);  /* Slide off-screen using transform (no doc overflow) */
    transition: transform .28s var(--ease);
    overflow-y: auto;
  }
  nav.main-nav.is-open { transform: translateX(0); }
  nav.main-nav ul { flex-direction: column; gap: 0; }
  nav.main-nav li { border-bottom: 1px solid var(--border); }
  nav.main-nav a { display: block; padding: 1rem 0; font-size: 1rem; min-height: 44px; }
  .hamburger { display: block; }
  .header-cta.d-hide-mobile { display: none; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 60px; }

  /* Mobile tap-target improvements */
  .breadcrumb { padding: 1rem 0; font-size: .9rem; }
  .breadcrumb a { padding: .35rem .1rem; display: inline-block; min-height: 32px; }
  .site-footer li { margin-bottom: .8rem; }
  .site-footer li a { display: inline-block; padding: .5rem 0; min-height: 40px; }
  .footer-bottom-links a { padding: .5rem .25rem; display: inline-block; }
  .footer-contact-item a { padding: .3rem 0; display: inline-block; }

  /* Mobile text-size improvements — avoid anything < 12px */
  .brand-sub { font-size: .78rem; }
  .config-tag { font-size: .78rem; padding: .35rem .8rem; }
  .chat-widget-status { font-size: .78rem; }
  .form-consent { font-size: .82rem; }
  .footer-disclaimer { font-size: .82rem; }
  .footer-bottom { font-size: .85rem; }
}

/* Global safety net — prevent any single element from causing horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }
