/* ==========================================================================
   GDS Theme – Main Stylesheet
   ========================================================================== */

/* ── 1. Custom Properties ─────────────────────────────────────────────────── */
:root {
  --navy:        #1C2E4A;
  --navy-dark:   #101e33;
  --navy-light:  #263d62;
  --gold:        #A8823C;
  --gold-light:  #c9a55a;
  --cream:       #F8F6F1;
  --white:       #ffffff;
  --text:        #1e1e1e;
  --text-mid:    #4a4a4a;
  --text-light:  #7a7a7a;
  --border:      #e0ddd6;
  --shadow:      0 4px 24px rgba(28, 46, 74, 0.08);
  --shadow-lg:   0 12px 48px rgba(28, 46, 74, 0.14);
  --radius:      4px;
  --radius-lg:   8px;
  --transition:  0.3s ease;
  --container:   1200px;
  --header-h:    76px;
}

/* ── 2. Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
}

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

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

ul, ol { list-style: none; }

/* ── 3. Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.text-gold     { color: var(--gold); }
.text-navy     { color: var(--navy); }
.text-light    { color: var(--text-light); }
.text-center   { text-align: center; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; font-weight: 600; }

.section-label {
  display: inline-block;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

/* ── 4. Layout ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 4.5rem;
}

.section--sm  { padding-block: 3rem; }
.section--lg  { padding-block: 6rem; }
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section--cream { background: var(--cream); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ── 5. Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(168, 130, 60, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }

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

/* ── 6. Header & Navigation ───────────────────────────────────────────────── */

/* Mobile nav is always hidden by default; shown only via JS .is-open */
.mobile-nav { display: none; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(28, 46, 74, 0.08);
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img { height: 44px; width: auto; }.site-logo-text { line-height: 1.2; }
.site-logo-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.site-logo-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Primary Nav */
.nav-primary { display: flex; align-items: center; gap: 0.25rem; }

.nav-primary a {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-primary a:hover,
.nav-primary .current-menu-item > a,
.nav-primary .current-page-ancestor > a { color: var(--navy); background: var(--cream); }

/* Dropdown */
.nav-primary .menu-item-has-children { position: relative; }

.nav-primary .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  list-style: none;
}

.nav-primary .menu-item-has-children:hover .sub-menu,
.nav-primary .menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-primary .sub-menu a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  border-radius: var(--radius);
}
.nav-primary .sub-menu a:hover { color: var(--navy); background: var(--cream); }

/* CTA in nav */
.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
  transform-origin: center;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. Hero Section ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(16,30,51,0.92) 0%, rgba(28,46,74,0.85) 60%, rgba(38,61,98,0.7) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}

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

.hero-eyebrow {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(168,130,60,0.4);
  border-radius: 2px;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-block: 2rem;
}

/* ── 8. About / Chi Sono teaser ───────────────────────────────────────────── */
.about-img-wrap {
  position: relative;
  padding: 0 16px 16px 0; /* spazio per la cornice offset */
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: 0;
}
.about-img-wrap img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  max-height: 560px;
  display: block;
}

.about-body .section-label { display: block; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-block: 2rem;
}
.pillar {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold);
}
.pillar-label {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}

/* ── 9. Services Grid ─────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(168,130,60,0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.5; }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.925rem;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.service-card .service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.service-card .service-link:hover { color: var(--navy); gap: 0.6rem; }
.service-card .service-link::after { content: '→'; }

/* ── 10. Stats Bar ────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding-block: 3.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── 11. CTA Section ──────────────────────────────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding-block: 4.5rem;
  text-align: center;
}
.section-cta h2 { color: var(--white); margin-bottom: 1.25rem; }
.section-cta p { color: rgba(255,255,255,0.72); max-width: 560px; margin-inline: auto; margin-bottom: 2.5rem; font-size: 1.05rem; }

/* ── 12. Page Header (inner pages) ───────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding-block: 3.75rem 3rem;
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(168,130,60,0.18);
}
.page-header::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(168,130,60,0.12);
}
.page-header h1 { color: var(--white); }

.breadcrumbs {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumbs a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs span[aria-hidden] { margin-inline: 0.35rem; }

/* ── 13. Chi Sono Page ────────────────────────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
}

.bio-portrait {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.credentials-list {
  margin-block: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.credential-item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.credential-year { font-size: 0.75rem; color: var(--gold); font-weight: 600; display: block; }
.credential-text { font-size: 0.9rem; color: var(--text-mid); }

/* ── 14. Servizi Pages ────────────────────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.sidebar-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}
.sidebar-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar-card ul li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 1.25rem;
  position: relative;
}
.sidebar-card ul li::before { content: '◆'; position: absolute; left: 0; color: var(--gold); font-size: 0.5rem; top: 5px; }

.service-content h2 { margin-block: 2rem 1rem; }
.service-content h2:first-child { margin-top: 0; }

.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-block: 1.5rem;
}
.highlight-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.highlight-item svg { flex-shrink: 0; color: var(--gold); }
.highlight-item p { margin: 0; font-size: 0.9rem; }

/* ── 15. Contatti Page ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 4rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-block: 2rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(168,130,60,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--gold); }
.contact-info-label { font-size: 0.75rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.15rem; }
.contact-info-value { font-size: 0.95rem; color: var(--navy); font-weight: 500; }

.map-embed {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe { display: block; width: 100%; }

/* Contact Form */
.contact-form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.contact-form-wrap h3 {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
label .required { color: var(--gold); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28,46,74,0.1);
}

textarea { resize: vertical; min-height: 130px; }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

.form-message {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-top: 1rem;
  display: none;
}
.form-message.is-visible { display: block; }
.form-message--success { background: #e6f4ea; color: #1a6b2a; border: 1px solid #b3dfc0; }
.form-message--error   { background: #fdecea; color: #8b2a24; border: 1px solid #f4b8b4; }

.form-privacy {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 1rem;
}
.form-privacy a { color: var(--gold); }

.form-group--checkbox { margin-bottom: 1.25rem; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-light);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--gold);
  cursor: pointer;
}
.checkbox-label a { color: var(--gold); text-decoration: underline; }
.checkbox-label a:hover { color: var(--gold-light); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ── 16. Blog / Archive ───────────────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }

.post-card-body { padding: 1.5rem; }
.post-card-meta { font-size: 0.75rem; color: var(--text-light); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }
.post-card-title { font-size: 1.1rem; margin-bottom: 0.75rem; }
.post-card-excerpt { font-size: 0.875rem; color: var(--text-mid); margin-bottom: 1rem; }

/* ── 17. Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand .site-logo-name { color: var(--white); font-size: 1.1rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 1rem; line-height: 1.65; }

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-contact-item { font-size: 0.875rem; display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-contact-item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.footer-contact-item span,
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── 19. Utilities ────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 0.5rem; }
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-inline: auto; }

/* ── 19b. Fade-in Animation ───────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ── 20. Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .bio-grid { grid-template-columns: 320px 1fr; gap: 3rem; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}

@media (max-width: 960px) {
  .nav-primary, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--navy-dark);
    padding: calc(var(--header-h) + 2rem) 2rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-nav a:hover { color: var(--gold-light); }
  .mobile-nav .sub-menu { display: flex; flex-direction: column; gap: 0; padding-left: 1rem; }
  .mobile-nav .sub-menu a { font-size: 1rem; color: rgba(255,255,255,0.6); }
  .mobile-nav-cta { margin-top: 1.5rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-portrait { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }

  .section { padding-block: 3rem; }
  .section--lg { padding-block: 3.75rem; }
  .hero h1 { font-size: 2rem; }
  .hero-eyebrow { letter-spacing: 0.06em; font-size: 0.7rem; }
  .container { padding-inline: 1.25rem; }
  * { max-width: 100%; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 50px; height: 50px; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
