/* =============================================================
   Reggiardo Abogados - Estudio Jurídico (Paraná, Entre Ríos)
   Design: conservative heritage serif, navy + gold, editorial
   Typography: Cormorant Garamond (display) + Lora (body)
   ============================================================= */

:root {
  /* Palette - locked accent: navy primary, gold accent */
  --navy: #1B2845;
  --navy-soft: #2A3A5E;
  --navy-deep: #0F1830;
  --gold: #C5A572;
  --gold-soft: #D9C29A;
  --gold-deep: #8A7340;
  --cream: #F7F4EF;
  --cream-deep: #EFE9DD;
  --white: #FFFFFF;
  --ink: #1B2845;
  --muted: #586080;
  --line: #DDD6C5;

  /* Typography */
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Lora", Georgia, serif;

  /* Fluid type scale */
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-sm: 0.875rem;
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-h1: clamp(2.4rem, 1.8rem + 2.6vw, 3.8rem);
  --fs-h2: clamp(1.8rem, 1.5rem + 1.3vw, 2.4rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.2rem, 0.5rem + 2vw, 2.5rem);
  --radius: 2px;
  --radius-md: 4px;
  --shadow-sm: 0 1px 3px rgba(15,24,48,0.08);
  --shadow-md: 0 8px 30px rgba(15,24,48,0.12);
  --transition: 250ms cubic-bezier(0.4,0,0.2,1);

  --header-h: 80px;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); transition: color var(--transition); }
a:hover { color: var(--gold-deep); }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--navy); }

/* --------------------------- Utilities --------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy a { color: var(--gold-soft); }
.section--navy p { color: var(--cream-deep); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}
.section--navy .eyebrow { color: var(--gold); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 1.5rem + 2vw, 3.5rem);
}
.section-head p { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 0; }
.section--navy .section-head p { color: var(--cream-deep); }

.divider {
  width: 56px; height: 2px; background: var(--gold);
  margin: 0.6rem auto 1.4rem; border: 0;
}

/* --------------------------- Skip link --------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.75rem 1.3rem;
  font-weight: 600;
  z-index: 2000;
  border-radius: 0 0 var(--radius-md) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; top: 0; }

/* ----------------------------- Header ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,244,239,0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy);
}
.brand-text .tag {
  font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-deep); margin-top: 2px;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.3rem;
  height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--navy-deep); }

.nav-cta {
  margin-left: 0.4rem;
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.6rem 1.3rem !important;
  font-weight: 600;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--gold-deep); color: var(--white) !important; }
.nav-cta::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center; justify-content: center;
  position: relative;
  z-index: 1100;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  position: absolute;
  width: 20px; height: 2px; background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------- Hero ------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 75%, var(--navy-soft) 100%);
  color: var(--cream);
  padding: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 88% 12%, rgba(197,165,114,0.14), transparent 40%),
    radial-gradient(circle at 5% 90%, rgba(197,165,114,0.06), transparent 35%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
.hero-copy h1 {
  color: var(--white);
  margin-bottom: 0.7rem;
  line-height: 1.12;
}
.hero-copy h1 em { color: var(--gold); font-style: italic; font-weight: 600; }
.hero-copy .lead {
  font-size: var(--fs-lead);
  color: var(--cream-deep);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-eyebrow { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border: 1px solid rgba(197,165,114,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-visual::after {
  content: ""; position: absolute;
  bottom: -12px; right: -12px;
  width: 80px; height: 80px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  opacity: 0.5;
}

/* --------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  text-decoration: none;
  padding: 0.8rem 1.7rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(197,165,114,0.6); }
.btn--ghost:hover { background: rgba(197,165,114,0.1); border-color: var(--gold); color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--dark:hover { background: var(--navy-deep); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ----------------------- Stats band ------------------------------ */
.stats-band {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
}
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--line);
}
.stat-item:last-child { border-right: 0; }
.stat-item .num {
  font-family: var(--font-head); font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3.2rem);
  font-weight: 700; color: var(--navy); display: block; line-height: 1;
}
.stat-item .num .accent { color: var(--gold-deep); }
.stat-item .lbl {
  font-size: 0.875rem; letter-spacing: 0.05em;
  color: var(--muted); margin-top: 0.5rem; display: block;
}

/* --------------------- Areas de práctica ------------------------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 0.5rem + 1vw, 1.5rem);
}
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.area-card:hover::before { transform: scaleX(1); }
.area-card .icon {
  width: 48px; height: 48px; margin-bottom: 1.1rem;
  color: var(--gold-deep);
}
.area-card h3 { margin-bottom: 0.4rem; }
.area-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.area-card ul { margin-top: 0.6rem; }
.area-card li {
  position: relative; padding-left: 1.2rem; margin-bottom: 0.35rem;
  font-size: 0.9rem; color: var(--muted);
}
.area-card li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 6px; height: 1.5px; background: var(--gold);
}

/* ------------------------- About teaser -------------------------- */
.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual img {
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.about-visual::before {
  content: ""; position: absolute;
  top: -10px; left: -10px;
  width: 70px; height: 70px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  opacity: 0.4;
}
.about-body h2 { margin-bottom: 1rem; }
.about-body p { color: var(--muted); line-height: 1.8; }

/* ---------------------------- Team ------------------------------- */
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2rem);
  max-width: 720px; margin: 0 auto;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-photo {
  width: 110px; height: 110px; margin: 0 auto 1.3rem;
  overflow: hidden;
  border: 2px solid var(--gold);
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: var(--navy);
}
.team-photo .placeholder span {
  font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--gold);
}
.team-card h3 { margin-bottom: 0.15rem; }
.team-card .role {
  color: var(--gold-deep); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.04em; margin-bottom: 0.8rem;
}
.team-card .bio { color: var(--muted); font-size: 0.92rem; margin: 0; line-height: 1.65; }

/* ------------------------ Testimonios ---------------------------- */
.testimonial {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.testimonial .marks {
  font-family: var(--font-head); font-size: 3.5rem; line-height: 0.5; color: var(--gold);
  display: block; margin-bottom: 1.2rem;
}
.testimonial blockquote {
  margin: 0; font-family: var(--font-head); font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.5; color: var(--white);
}
.testimonial cite {
  display: block; margin-top: 1.5rem; font-style: normal;
  font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.05em;
  color: var(--gold);
}
.rating { color: var(--gold); font-size: 1.15rem; letter-spacing: 0.18em; margin-top: 0.6rem; }

/* --------------------------- CTA band ---------------------------- */
.cta-band {
  background: var(--navy-deep);
  color: var(--cream);
  padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 50%, rgba(197,165,114,0.12), transparent 35%);
}
.cta-band .inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin: 0 0 0.3rem; }
.cta-band p { margin: 0; color: var(--cream-deep); font-size: var(--fs-lead); }

/* ----------------------------- Page hero ------------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--cream);
  padding: clamp(2.75rem, 2rem + 3vw, 4rem) 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 0%, rgba(197,165,114,0.12), transparent 40%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero .lead { color: var(--cream-deep); max-width: 620px; margin: 0; font-size: var(--fs-lead); }
.breadcrumb {
  font-size: 0.875rem; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 1rem; display: inline-flex; gap: 0.5rem; align-items: center;
}
.breadcrumb a { color: var(--gold-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.6; }

/* ------------------- Areas detail (sub-page) --------------------- */
.area-list { display: flex; flex-direction: column; }
.area-detail {
  display: grid; grid-template-columns: 0.35fr 1.65fr; gap: 1.5rem;
  padding: 2rem 0; border-top: 1px solid var(--line);
}
.area-detail:first-of-type { border-top: 0; padding-top: 0; }
.area-detail .ord {
  font-family: var(--font-head); font-weight: 700; font-size: 2.5rem;
  color: var(--gold-deep); line-height: 1;
}
.area-detail h2 { margin: 0 0 0.4rem; }
.area-detail p { color: var(--muted); margin-bottom: 0.8rem; line-height: 1.75; }
.bullets { margin: 0.5rem 0 0; }
.bullets li {
  position: relative; padding-left: 1.3rem; margin-bottom: 0.4rem; color: var(--muted);
  font-size: 0.95rem;
}
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1.5px; background: var(--gold);
}

/* Split layout for sub-pages */
.split {
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); line-height: 1.8; }

/* Side info card */
.aside-card {
  background: var(--cream); border: 1px solid var(--line);
  padding: 1.75rem;
}
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-list li {
  display: flex; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.92rem; color: var(--muted);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic {
  flex: 0 0 auto; color: var(--gold-deep); width: 20px; height: 20px;
}
.contact-list .ic svg { width: 18px; height: 18px; }

/* Steps list */
.steps-list { counter-reset: step; }
.steps-list li {
  position: relative; padding: 0.7rem 0 0.7rem 2.2rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 0.92rem;
}
.steps-list li:last-child { border-bottom: 0; }
.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0.5rem;
  width: 26px; height: 26px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  display: grid; place-items: center;
}

/* Hours list */
.hours-list li {
  display: flex; justify-content: space-between; padding: 0.5rem 0;
  border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: 600; color: var(--navy); }
.hours-list .time { color: var(--muted); }

/* --------------------------- Contact ----------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.contact-form {
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  color: var(--navy); margin-bottom: 0.4rem;
}
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.7rem 0.85rem; border: 1px solid var(--line);
  background: var(--cream); transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder {
  color: #9499A8;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,165,114,0.2); background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error {
  font-size: 0.875rem; color: #A83232; margin-top: 0.3rem; display: none;
}
.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: #A83232; background: #FBF1F1;
}
.field.invalid .error { display: block; }
.form-note { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.form-success {
  background: #E8F0E5; border: 1px solid #7CA77C; color: #2D5A2D;
  padding: 1rem 1.25rem; margin-bottom: 1.25rem;
  display: none;
}
.form-success.show { display: block; }

.contact-info .aside-card.map-card { padding: 0; overflow: hidden; }
.contact-info .map-card h3 { padding: 1.25rem 1.5rem 0.5rem; }
.contact-info .map-wrap {
  width: 100%; height: 280px; background: var(--cream-deep);
}
.contact-info .map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------- Footer ----------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(197,165,114,0.22);
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { color: var(--cream-deep); font-size: 0.92rem; max-width: 320px; }
.footer-col h3 {
  color: var(--gold); font-family: var(--font-body); font-size: 0.875rem;
  letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 1rem;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--cream); text-decoration: none; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact li {
  display: flex; gap: 0.55rem; color: var(--cream); font-size: 0.92rem; margin-bottom: 0.65rem;
  align-items: flex-start;
}
.footer-contact li .ic { color: var(--gold); flex: 0 0 auto; }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(197,165,114,0.35);
  display: grid; place-items: center; color: var(--gold);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.875rem; color: var(--cream-deep);
}
.footer-bottom .credits { text-align: right; }

/* ------------------------- WhatsApp FAB -------------------------- */
.whatsapp-fab {
  position: fixed; bottom: 22px; right: 22px; z-index: 1500;
  width: 56px; height: 56px; border-radius: 50%;
  background: #128C7E; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(18,140,126,0.4);
  transition: transform var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.06); color: #fff; }
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.whatsapp-fab .fab-label {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: var(--white); padding: 0.4rem 0.8rem;
  font-size: 0.875rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
  font-family: var(--font-body);
}
.whatsapp-fab:hover .fab-label { opacity: 1; }

/* ---------------------- Scroll reveal ---------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------- Focus visibility ------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ----------------------- Reduced motion -------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ----------------------------- Print ----------------------------- */
@media print {
  .site-header, .whatsapp-fab, .nav-toggle, .cta-band { display: none; }
  body { color: #000; background: #fff; }
}

/* ============================================================= RESPONSIVE ============================================================= */

/* Tablet */
@media (max-width: 1024px) {
  .stats-band .container { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; margin: 0 auto; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile navigation */
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 320ms ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--gold-deep); }
  .nav-cta {
    margin: 0.75rem 0 0; text-align: center;
    border-bottom: 0 !important;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 1rem; }
  .hero-visual img { max-width: 280px; }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .area-detail { grid-template-columns: 1fr; gap: 0.3rem; }
  .area-detail .ord { font-size: 1.6rem; }
}

/* Mobile */
@media (max-width: 560px) {
  .stats-band .container { grid-template-columns: 1fr; }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
  .stat-item:last-child { border-bottom: 0; }
  .areas-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom .credits { text-align: left; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .brand-text .tag { display: none; }
  .whatsapp-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}
