/* =========================================================
   LEGEND OF WORK — Menuiserie Aluminium & Aménagement
   Feuille de style principale
   ========================================================= */

:root {
  --brown-dark: #3a2415;
  --brown: #6b4226;
  --brown-light: #8a5a35;
  --gold: #bd9439;
  --gold-light: #d9b866;
  --gold-pale: #f0e2bd;
  --cream: #f7f2e8;
  --cream-dark: #ede3cd;
  --white: #ffffff;
  --text: #2b2118;
  --text-light: #6f6357;
  --border: #e3d8c2;
  --whatsapp: #25d366;
  --shadow: 0 10px 30px rgba(58, 36, 21, 0.1);
  --shadow-lg: 0 20px 50px rgba(58, 36, 21, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brown-dark);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-light); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
@media (max-width: 700px) { section { padding: 56px 0; } }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brown); color: var(--white); }
.btn-primary:hover { background: var(--brown-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--brown-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--brown-dark); }
.btn-outline-dark { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn-outline-dark:hover { background: var(--brown); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #1ea952; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar {
  background: var(--brown-dark);
  color: var(--gold-pale);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--gold-pale); }
.topbar-left, .topbar-right { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 14px; }
.topbar-right a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid rgba(217,184,102,0.4); border-radius: 50%; }
.topbar-right a:hover { background: var(--gold); border-color: var(--gold); color: var(--brown-dark); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 52px; width: auto; }
.brand .brand-text { display: none; }

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.has-dropdown { position: relative; }
.has-dropdown > a::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  position: relative;
  top: -2px;
}
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  min-width: 270px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: grid;
  gap: 2px;
  z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown a { padding: 10px 14px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; display: block; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--cream-dark); color: var(--gold); }
@media (max-width: 960px) {
  .has-dropdown > a::before { display: none; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    padding: 4px 0 4px 14px;
    display: none;
    min-width: 0;
    border-left: 2px solid var(--border);
  }
  .has-dropdown.open .dropdown { display: grid; }
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--brown-dark);
}
.nav-phone svg { flex-shrink: 0; color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--brown-dark); border-radius: 2px; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 22px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 600;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-phone span { display: none; }
  body.nav-open { overflow: hidden; }
}
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(58,36,21,0.5);
  z-index: 550;
}
.nav-overlay.open { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,19,11,0.55) 0%, rgba(30,19,11,0.75) 55%, rgba(30,19,11,0.9) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-content .section-tag { color: var(--gold-light); }
.hero-content h1 { color: var(--white); margin-bottom: 18px; }
.hero-content p { color: rgba(255,255,255,0.88); font-size: 1.12rem; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-small {
  min-height: 46vh;
  padding-top: 60px;
}
.hero-small h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Stats ---------- */
.stats-bar { background: var(--brown-dark); color: var(--white); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--gold-light); }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.78); margin-top: 4px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.service-card .link { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.service-card .link svg { transition: transform 0.25s ease; }
.service-card:hover .link svg { transform: translateX(4px); }

/* ---------- Two-column feature block ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media { position: relative; }
.split-media .badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--gold);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  box-shadow: var(--shadow);
}
@media (max-width: 500px) { .split-media .badge { left: 10px; bottom: -16px; padding: 12px 16px; } }
.split-media .badge .n { font-size: 1.6rem; font-weight: 700; display: block; }
.split-media .badge .l { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }

.check-list { margin: 20px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 0.96rem; }
.check-list svg { flex-shrink: 0; color: var(--gold); margin-top: 3px; }

/* ---------- Advantage / icon cards ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: border-color 0.25s ease, transform 0.25s ease; }
.adv-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.adv-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-pale); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.adv-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.adv-card p { font-size: 0.92rem; }

/* ---------- Fiche technique box ---------- */
.tech-box { background: var(--cream-dark); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 26px 28px; margin: 28px 0; }
.tech-box h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.tech-box ul { display: grid; gap: 10px; }
.tech-box li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--text); }
.tech-box li b { color: var(--brown-dark); }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active { background: var(--brown); color: var(--white); border-color: var(--brown); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .zoom-ic {
  position: absolute; inset: 0;
  background: rgba(58,36,21,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease;
  color: var(--white);
}
.gallery-item:hover .zoom-ic { opacity: 1; }
.gallery-item.hidden { display: none; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,13,8,0.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox-prev, .lightbox-next { width: 38px; height: 38px; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--white); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.testi-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.testi-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gold-pale); color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.testi-name { font-family: var(--font-head); font-weight: 600; color: var(--brown-dark); font-size: 0.98rem; }
.testi-role { font-size: 0.8rem; color: var(--text-light); }
.testi-stars { color: var(--gold); margin-bottom: 10px; letter-spacing: 2px; }
.testi-card p { font-size: 0.94rem; font-style: italic; }
.testi-audio { margin-top: 16px; }
.testi-audio audio { width: 100%; height: 36px; }
.testi-audio-label { font-size: 0.78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }

.testi-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gold-pale);
  color: var(--brown);
  margin-bottom: 12px;
}
.wa-bubble {
  background: #dcf8c6;
  border-radius: 13px;
  border-top-left-radius: 4px;
  padding: 12px 14px 8px;
  margin-bottom: 4px;
}
.wa-bubble p {
  font-style: normal;
  color: #1a1a1a;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}
.wa-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 0.68rem;
  color: #667781;
}
.wa-check { color: #53bdeb; }
.testi-note {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 24px;
  font-style: italic;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brown-dark), var(--brown));
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.8); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-band { padding: 40px 28px; text-align: center; justify-content: center; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; flex: 1; margin-bottom: 14px; }

.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.5rem; }
.article-body h3 { margin-top: 26px; margin-bottom: 10px; }
.article-body p { margin-bottom: 18px; font-size: 1.02rem; color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--text); }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: var(--radius); margin: 28px 0; box-shadow: var(--shadow); }
.article-hero-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow-lg); }
.article-intro { font-size: 1.1rem; color: var(--brown-dark); font-weight: 500; margin-bottom: 10px; }
.article-cta { background: var(--cream-dark); border-radius: var(--radius); padding: 28px 30px; margin: 34px 0; text-align: center; }
.rtl-block { direction: rtl; text-align: right; font-family: "Segoe UI", Tahoma, sans-serif; background: var(--cream-dark); border-radius: var(--radius-sm); padding: 20px 24px; margin: 20px 0; }
.share-row { display: flex; gap: 12px; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.tag-pill { display: inline-block; font-size: 0.78rem; background: var(--gold-pale); color: var(--brown); padding: 4px 12px; border-radius: 50px; margin-right: 6px; margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--brown-dark); color: var(--white); border-radius: var(--radius); padding: 36px 32px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 6px; }
.contact-info-card > p { color: rgba(255,255,255,0.75); margin-bottom: 26px; font-size: 0.94rem; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-row .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(217,184,102,0.15); color: var(--gold-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.55); }
.contact-row .val { font-family: var(--font-head); font-weight: 500; }
.contact-row a.val:hover { color: var(--gold-light); }
.social-row { display: flex; gap: 12px; margin-top: 26px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.social-row a:hover { background: var(--gold); }

.form-card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 7px; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.82rem; color: var(--text-light); margin-top: 14px; text-align: center; }

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

/* ---------- About ---------- */
.timeline { display: grid; gap: 24px; margin-top: 20px; }
.timeline-item { display: flex; gap: 20px; }
.timeline-year { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 1.05rem; min-width: 60px; }
.timeline-item .t-body { border-left: 2px solid var(--border); padding-left: 20px; padding-bottom: 8px; }
.timeline-item .t-body h4 { font-family: var(--font-head); color: var(--brown-dark); margin-bottom: 6px; font-size: 1rem; }
.timeline-item .t-body p { font-size: 0.92rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
@media (max-width: 860px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-dark); color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 46px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.footer-col h4 { color: var(--white); font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.03em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--gold); color: var(--brown-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 22px;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(37,211,102,0.45);
  z-index: 400;
  animation: pulse-wa 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 10px 25px rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 25px rgba(37,211,102,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 25px rgba(37,211,102,0.45); }
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 450;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
}
.mobile-bar .row { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.mobile-bar a.call { background: var(--brown); color: var(--white); }
.mobile-bar a.wa { background: var(--whatsapp); color: var(--white); }
@media (max-width: 760px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 54px; }
  .wa-float { bottom: 76px; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-40 { margin-bottom: 40px; }
.badge-pill { display: inline-block; background: var(--gold-pale); color: var(--brown); font-size: 0.78rem; font-weight: 600; padding: 5px 14px; border-radius: 50px; margin-bottom: 14px; font-family: var(--font-head); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.bg-alt { background: var(--white); }
.bg-cream { background: var(--cream-dark); }

.back-to-top {
  position: fixed;
  bottom: 26px; left: 22px;
  width: 46px; height: 46px;
  background: var(--brown-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 400;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
