/* =============================================================
   Acacia Coffee Co. — Phase 2 v7 demo stylesheet
   ============================================================= */

:root {
  /* Warm coffee palette */
  --color-primary: #8B6F47;
  --color-primary-dark: #725A38;
  --color-primary-light: #D4C0A1;
  --color-accent: #C4A265;
  --color-accent-dark: #A38750;

  --color-heading: #2C1A0E;
  --color-text: #4A3B2D;
  --color-text-light: #7A6B5A;
  --color-nav-text: #2C1A0E;

  --color-white: #FFFFFF;
  --color-bg: #FAF7F2;
  --color-bg-alt: #F2EDE3;
  --color-border: #E5DCC9;

  --color-dark: #2C1A0E;
  --color-dark-deep: #140A04;
  --color-text-on-dark: #FAF7F2;

  --color-success: #25d366;
  --color-overlay: rgba(44, 26, 14, 0.55);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --nav-height: 80px;
  --max-width: 1200px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(44, 26, 14, 0.08);
  --shadow-md: 0 4px 20px rgba(44, 26, 14, 0.12);
  --shadow-lg: 0 8px 40px rgba(44, 26, 14, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }

p { margin: 0 0 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: clamp(4rem, 8vw, 6rem) 0; }
.text-center { text-align: center; }
.bg-alt { background: var(--color-bg-alt); }

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.1rem; color: var(--color-text); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

section[id] { scroll-margin-top: calc(var(--nav-height) + 20px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); color: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-heading); }
.btn-outline-dark { background: transparent; color: var(--color-heading); border-color: var(--color-heading); }
.btn-outline-dark:hover { background: var(--color-heading); color: var(--color-bg); }
.btn-whatsapp { background: var(--color-success); color: var(--color-white); }
.btn-whatsapp:hover { background: #1ebe5a; color: var(--color-white); transform: translateY(-2px); }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Navigation (flat, 5-item) ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

body.home-page .navbar:not(.scrolled) {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: var(--nav-height);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo = monogram + wordmark */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-nav-text);
  line-height: 1;
}
.nav-logo-mark {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 6px rgba(44, 26, 14, 0.18);
  transition: background var(--transition), transform var(--transition);
}
.nav-logo:hover .nav-logo-mark { transform: scale(1.05); }
.nav-logo-word {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-logo-est {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-weight: 500;
  margin-top: 2px;
}
body.home-page .navbar:not(.scrolled) .nav-logo-word { color: var(--color-white); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
body.home-page .navbar:not(.scrolled) .nav-logo-est { color: rgba(255, 255, 255, 0.85); }
body.home-page .navbar:not(.scrolled) .nav-logo-mark { background: var(--color-white); color: var(--color-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-nav-text);
  position: relative;
  padding: 0.5rem 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-primary);
}

body.home-page .navbar:not(.scrolled) .nav-links > li > a {
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
body.home-page .navbar:not(.scrolled) .nav-cta,
body.home-page .navbar:not(.scrolled) .nav-cta:hover {
  color: #FFFFFF !important;
  text-shadow: none;
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 0.7rem 1.35rem !important;
  border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

.nav-hamburger {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-nav-text);
  transition: transform var(--transition), opacity var(--transition);
}
body.home-page .navbar:not(.scrolled) .nav-hamburger span { background: var(--color-white); }
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-hamburger { display: flex; padding: 10px; margin-right: -10px; }

  /* Drawer */
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem 2.5rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    align-items: stretch;
    border-top: 1px solid var(--color-border);
  }
  .nav-links.active { transform: translateX(0); }

  /* Each li gets its own visual rhythm */
  .nav-links > li {
    width: 100%;
  }

  /* Tap-friendly links — bigger hit areas, clearer separators */
  .nav-links > li > a {
    display: block;
    padding: 18px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.3;
    min-height: 56px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }

  /* Hide the desktop underline indicator on mobile and use a left accent instead */
  .nav-links > li > a.active::after { display: none; }
  .nav-links > li > a.active {
    color: var(--color-primary);
    padding-left: 14px;
    border-left: 3px solid var(--color-primary);
    margin-left: -4px;
  }

  /* CTA: prominent block button, separated from the menu list */
  .nav-links > li > .nav-cta,
  .nav-links > li > .nav-cta.active {
    margin-top: 1.5rem;
    border-bottom: 0 !important;
    border-left: 0 !important;
    padding: 1rem 1.5rem !important;
    text-align: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    color: var(--color-white) !important;
    margin-left: 0;
  }

  /* Tighten logo on very narrow screens so it doesn't crowd the hamburger */
  @media (max-width: 380px) {
    .nav-logo-mark { width: 36px; height: 36px; font-size: 0.95rem; }
    .nav-logo-word { font-size: 1.05rem; }
    .nav-logo-est { font-size: 0.6rem; }
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: var(--color-overlay); }

body.home-page .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(30, 18, 10, 0.72) 0%,
    rgba(30, 18, 10, 0.45) 14%,
    rgba(30, 18, 10, 0.28) 35%,
    rgba(30, 18, 10, 0.4) 60%,
    rgba(30, 18, 10, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 7rem 1.5rem 5rem;
}
.hero-eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}
.hero h1 { color: var(--color-white); margin-bottom: 1.25rem; }
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 2.25rem;
  opacity: 0.95;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero.hero-sub { min-height: 55vh; }
.hero.hero-small { min-height: 40vh; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs a { color: var(--color-text-light); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs .sep { margin: 0 0.5rem; opacity: 0.6; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--color-dark); color: var(--color-text-on-dark); padding: 2rem 0; }
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: 0.25rem; }
.trust-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--color-primary-light);
  font-weight: 700;
}
.trust-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }
.image-wrap { overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.image-wrap img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-image { aspect-ratio: 4 / 3; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card-image img { transform: scale(1.05); }
.card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 0.75rem; }
.card-body p { color: var(--color-text); margin-bottom: 1.25rem; flex: 1; }
.card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

/* ---------- Product row (on products page) ---------- */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}
.product-row:last-child { border-bottom: 0; }
.product-row.reversed .product-image { order: 2; }
@media (max-width: 768px) {
  .product-row { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
  .product-row.reversed .product-image { order: 0; }
}
.product-image { overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.product-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product-content h3 { font-size: 1.75rem; }
.product-spec {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--color-border);
  margin-top: 1rem;
}
.product-spec div { font-size: 0.85rem; }
.product-spec strong { color: var(--color-heading); display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-light); font-weight: 600; margin-bottom: 0.2rem; }

/* ---------- Badges (values / certifications) ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.value {
  text-align: center;
}
.value-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  color: var(--color-primary);
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 28px; height: 28px; }
.value h3 { font-size: 1.15rem; }

/* ---------- Included / not ---------- */
.include-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 768px) { .include-cols { grid-template-columns: 1fr; gap: 1.5rem; } }
.include-col ul { list-style: none; padding: 0; margin: 0; }
.include-col li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  padding-left: 1.75rem;
  position: relative;
}
.include-col.yes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.include-col.no li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--color-text-light);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-heading);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}
.faq-q svg { flex-shrink: 0; transition: transform var(--transition); color: var(--color-primary); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.25rem; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial .stars { color: var(--color-primary); letter-spacing: 2px; }
.testimonial h3 { font-size: 1.1rem; margin: 0; }
.testimonial-quote { font-style: italic; flex: 1; }
.testimonial-author { font-size: 0.9rem; color: var(--color-text-light); }
.testimonial-author strong { color: var(--color-heading); font-style: normal; }

/* ---------- CTA section ---------- */
.cta-section {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { color: var(--color-text-on-dark); }
.cta-section .section-label { color: var(--color-primary-light); }
.cta-section p { max-width: 600px; margin: 0 auto 2rem; opacity: 0.92; }

/* ---------- Contact + form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; }
.contact-info-item-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.contact-info-item-icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { margin: 0 0 0.2rem; text-transform: none; letter-spacing: 0; font-size: 0.9rem; color: var(--color-text-light); font-weight: 500; font-family: var(--font-body); }
.contact-info-item p, .contact-info-item a { margin: 0; font-size: 1rem; color: var(--color-heading); }
.contact-info-item a { font-weight: 600; }

.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--color-heading);
  background: var(--color-bg);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-success {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.form-success-icon {
  width: 64px; height: 64px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.form-error {
  padding: 1rem;
  background: #f5ede0;
  color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--color-primary-light);
}

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark-deep);
  color: var(--color-text-on-dark);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(196, 162, 101, 0.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: var(--color-text-on-dark); font-size: 0.9rem; margin-bottom: 1.2rem; }
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-on-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-brand-mark {
  width: 36px; height: 36px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}
.footer-brand p { color: rgba(250, 247, 242, 0.75); font-size: 0.9rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(250, 247, 242, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark);
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--color-primary); color: var(--color-white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a,
.footer-links button {
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.9rem;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.footer-links a:hover, .footer-links button:hover { color: var(--color-primary-light); }

.footer-contact p, .footer-contact a {
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.9rem;
}
.footer-enquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
  color: var(--color-primary-light) !important;
  font-weight: 600;
}
.footer-enquire:hover { gap: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.6);
}
.footer-bottom a, .footer-bottom button {
  color: rgba(250, 247, 242, 0.75);
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit;
}
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--color-primary-light); }

.demo-disclaimer {
  background: #0B0502;
  color: rgba(250, 247, 242, 0.55);
  text-align: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ---------- Floating helpers ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px; height: 56px;
  background: var(--color-success);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: transform var(--transition), background var(--transition);
}
.whatsapp-float:hover { background: #1ebe5a; color: var(--color-white); transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 5.5rem;
  width: 44px; height: 44px;
  background: var(--color-heading);
  color: var(--color-white);
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 899;
  box-shadow: var(--shadow-sm);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Mobile enquiry bar ---------- */
.mobile-enquiry-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  z-index: 800;
  padding: 0.6rem;
  gap: 0.6rem;
}
.mobile-enquiry-bar a {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mobile-enquiry-bar .mb-whatsapp { background: var(--color-success); color: var(--color-white); }
.mobile-enquiry-bar .mb-enquire { background: var(--color-primary); color: var(--color-white); }
.mobile-enquiry-bar svg { width: 16px; height: 16px; }
@media (max-width: 768px) {
  .mobile-enquiry-bar { display: flex; }
  body { padding-bottom: 72px; }
  .whatsapp-float { bottom: 80px; }
  .back-to-top { bottom: 80px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1.5rem; right: 1.5rem; bottom: 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 950;
  display: none;
  border: 1px solid var(--color-border);
}
.cookie-banner.visible { display: block; }
.cookie-banner h4 { margin: 0 0 0.4rem; font-family: var(--font-heading); font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--color-heading); }
.cookie-banner p { font-size: 0.9rem; color: var(--color-text); margin: 0 0 1rem; line-height: 1.5; }
.cookie-banner p a { color: var(--color-primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; min-width: 110px; padding: 0.7rem 1rem; font-size: 0.85rem; }
@media (max-width: 768px) {
  .cookie-banner { bottom: 80px; left: 0.75rem; right: 0.75rem; padding: 1.25rem; }
}

/* ---------- 404 page ---------- */
.not-found {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
}
.not-found-inner { max-width: 520px; }
.not-found-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 9rem);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}
