/* ==========================================================================
   Reimagina | Business Consulting — Design System
   ========================================================================== */

:root {
  /* Color — exactly the 3 colors from the Reimagina logo, no other hues added.
     Tints/shades below are alpha (opacity) variants of these same 3 colors,
     used for text hierarchy, borders and light section backgrounds. */
  --navy: #151e35;
  --orange: #f8b133;
  --white: #ffffff;

  --navy-900: var(--navy);
  --navy-800: var(--navy);
  --navy-700: var(--navy);
  --navy-600: var(--navy);
  --gold-600: var(--orange);
  --gold-500: var(--orange);
  --gold-400: var(--orange);
  --gold-100: rgba(248, 177, 51, 0.14);
  --cream-50: var(--white);
  --cream-100: rgba(21, 30, 53, 0.04);
  --cream-200: rgba(248, 177, 51, 0.12);
  --slate-900: var(--navy);
  --slate-700: rgba(21, 30, 53, 0.78);
  --slate-500: rgba(21, 30, 53, 0.58);
  --slate-300: rgba(21, 30, 53, 0.22);
  --slate-100: rgba(21, 30, 53, 0.1);

  --grad-navy: var(--navy);
  --grad-gold: var(--orange);

  /* Repeating triangle motif from the logo mark, used as a subtle texture on navy sections */
  --pattern-triangles: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZyBmaWxsPSdub25lJyBzdHJva2U9JyNmZmZmZmYnIHN0cm9rZS1vcGFjaXR5PScwLjA1JyBzdHJva2Utd2lkdGg9JzInIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxwb2x5Z29uIHBvaW50cz0nMTQsMTQgNzQsMzQgMjYsNzQnLz48cG9seWdvbiBwb2ludHM9JzkyLDgyIDE1MiwxMDIgMTA0LDE0MicvPjwvZz48L3N2Zz4=");
  --pattern-triangles-dark: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZyBmaWxsPSdub25lJyBzdHJva2U9JyMxNTFlMzUnIHN0cm9rZS1vcGFjaXR5PScwLjA3JyBzdHJva2Utd2lkdGg9JzInIHN0cm9rZS1saW5lam9pbj0ncm91bmQnPjxwb2x5Z29uIHBvaW50cz0nMTQsMTQgNzQsMzQgMjYsNzQnLz48cG9seWdvbiBwb2ludHM9JzkyLDgyIDE1MiwxMDIgMTA0LDE0MicvPjwvZz48L3N2Zz4=");

  /* Type */
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(21, 30, 53, 0.06);
  --shadow-md: 0 12px 32px rgba(21, 30, 53, 0.12);
  --shadow-lg: 0 24px 60px rgba(21, 30, 53, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 600;
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 120px) 0; }
.section-pad-sm { padding: clamp(40px, 6vw, 72px) 0; }
.section-pad::before, .section-pad-sm::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(280px, 60%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: .35;
}

/* ---- Utility ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head p { color: var(--slate-500); font-size: 1.05rem; }
.lede { font-size: 1.15rem; color: var(--slate-500); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--grad-gold);
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(248, 177, 51, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(248, 177, 51, 0.42); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 22px; font-size: .85rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--cream-200);
  color: var(--navy-800);
  font-weight: 600;
  font-size: .82rem;
}

.icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--grad-navy);
  color: var(--gold-400);
  flex: none;
}
.icon-wrap svg { width: 26px; height: 26px; }
.icon-wrap.light { background: var(--gold-100); color: var(--gold-600); }
.icon-wrap.sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-wrap.sm svg { width: 20px; height: 20px; }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1.is-visible { transition-delay: .08s; }
.reveal-delay-2.is-visible { transition-delay: .16s; }
.reveal-delay-3.is-visible { transition-delay: .24s; }
.reveal-delay-4.is-visible { transition-delay: .32s; }
/* Fail-safe: if JS never runs (blocked, error, no-js) or motion is reduced, show content immediately */
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-actions .btn-primary::after, .cta-banner .btn-primary::after { animation: none; display: none; }
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  background: var(--navy);
  transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(21,30,53,.28);
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 62px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 6px; }
.nav-desktop a {
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: 1.12rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.active { background: rgba(255,255,255,.1); color: var(--white); }
.nav-desktop a.active { color: var(--gold-400); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn-primary { box-shadow: none; }
.header-cta .btn-primary:hover { box-shadow: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background: var(--navy-900);
  padding: 110px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  z-index: 600;
}
.nav-mobile.is-open { transform: translateX(0); }
.nav-mobile a {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile .btn { margin-top: 24px; }

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

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--white) var(--pattern-triangles-dark) repeat;
  color: var(--navy-900);
  padding: 128px 0 88px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--navy-900);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-bottom: .5em;
}
.hero h1 em { color: var(--navy-900); font-style: normal; border-bottom: 4px solid var(--orange); }
.hero .lede { color: var(--slate-700); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-actions .btn-primary { position: relative; z-index: 0; }
.hero-actions .btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--orange);
  pointer-events: none;
  animation: cta-ping 2.8s ease-out infinite;
  will-change: transform, opacity;
}
.hero-actions .btn-primary:hover::after { animation-play-state: paused; }
@keyframes cta-ping {
  0% { transform: scale(1); opacity: .45; }
  100% { transform: scale(1.35); opacity: 0; }
}
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust .stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-900); }
.hero-trust .stat span { font-size: .78rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: .07em; }
.hero-trust .divider { width: 1px; height: 34px; background: var(--slate-300); }

.hero-card {
  position: relative;
  background: var(--cream-100);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.hero-card-inner {
  background: var(--cream-50);
  border-radius: var(--radius-md);
  padding: 28px;
  color: var(--slate-700);
}
.mini-chart { margin-bottom: 18px; }
.mini-chart svg { width: 100%; height: 72px; display: block; }
.mini-chart-label {
  display: block;
  margin-top: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.hero-card-inner h3 { font-size: 1.15rem; margin-bottom: 6px; }
.hero-card-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.hero-card-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; font-weight: 600; color: var(--navy-800); }
.hero-card-list svg { width: 20px; height: 20px; flex: none; color: var(--gold-600); margin-top: 1px; }
.hero-card-badge {
  position: absolute;
  top: -18px; right: 24px;
  background: var(--grad-gold);
  color: var(--navy-900);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .82rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 115px 0 60px; }
}

/* ==========================================================================
   Marquee / sectors strip
   ========================================================================== */
.strip {
  background: var(--cream-100);
  border-bottom: 1px solid var(--slate-100);
  padding: 26px 0;
}
.strip-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.strip-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500); }
.strip-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   Cards: Services
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { font-size: 1.2rem; margin: 18px 0 10px; }
.card p { color: var(--slate-500); font-size: .95rem; margin-bottom: 0; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-weight: 700; font-size: .88rem; color: var(--navy-800);
}
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

.service-detail {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--slate-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail .icon-wrap { width: 72px; height: 72px; border-radius: 20px; }
.service-detail .icon-wrap svg { width: 32px; height: 32px; }
.service-detail h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-detail .tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.service-detail .tag-row li {
  font-size: .82rem; font-weight: 600; color: var(--navy-800);
  background: var(--cream-100); padding: 7px 14px; border-radius: 999px;
}
@media (max-width: 640px) { .service-detail { grid-template-columns: 1fr; } }

/* ==========================================================================
   Methodology timeline
   ========================================================================== */
.timeline { position: relative; margin-top: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 35px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--gold-400), var(--slate-300));
}
.timeline-item { position: relative; padding: 0 0 48px 92px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute; left: 0; top: 0;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad-navy);
  color: var(--gold-400);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  border: 4px solid var(--cream-50);
  box-shadow: var(--shadow-sm);
}
.timeline-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.timeline-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline-heading h3 { margin-bottom: 0; }
.timeline-item p { color: var(--slate-500); max-width: 640px; }
@media (max-width: 620px) {
  .timeline::before { left: 27px; }
  .timeline-item { padding-left: 72px; }
  .timeline-num { width: 56px; height: 56px; font-size: 1.15rem; }
}

/* ==========================================================================
   Values / diferentiators
   ========================================================================== */
.value-card {
  display: flex; gap: 18px; padding: 26px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--slate-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.value-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { font-size: .92rem; color: var(--slate-500); margin: 0; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--navy-900) var(--pattern-triangles) repeat; color: var(--white); position: relative; overflow: hidden; }
.testimonials::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(248,177,51,.16), transparent 55%);
}
.testi-track-wrap { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; text-align: center; }
.testi-quote-icon { width: 44px; height: 44px; color: var(--gold-400); margin: 0 auto 20px; opacity: .8; }
.testi-slide { display: none; }
.testi-slide.is-active { display: block; animation: fade-in .6s var(--ease); }
.testi-slide p.quote { font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-style: italic; color: var(--white); line-height: 1.5; }
.testi-author { margin-top: 22px; }
.testi-author strong { display: block; color: var(--gold-400); font-size: .95rem; }
.testi-author span { font-size: .82rem; color: rgba(255,255,255,.6); }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: var(--grad-gold);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--navy-900);
}
.cta-banner h2 { color: var(--navy-900); margin-bottom: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-banner p { margin: 0; color: rgba(21,30,53,.75); }
.cta-banner .btn-primary {
  position: relative;
  z-index: 0;
  background: var(--navy-900); color: var(--white);
  box-shadow: 0 10px 24px rgba(21,30,53,.3);
}
.cta-banner .btn-primary:hover { background: var(--navy-800); }
.cta-banner .btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--navy-900);
  pointer-events: none;
  animation: cta-ping 2.8s ease-out infinite;
  will-change: transform, opacity;
}
.cta-banner .btn-primary:hover::after { animation-play-state: paused; }

/* ==========================================================================
   Team
   ========================================================================== */
.team-card { text-align: center; padding: 30px 22px; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--slate-100); }
.team-avatar {
  width: 84px; height: 84px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad-navy);
  color: var(--gold-400);
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
}
.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .role { color: var(--gold-600); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; display: block; }
.team-card p { font-size: .88rem; color: var(--slate-500); margin: 0; }

/* ==========================================================================
   Page hero (subpages)
   ========================================================================== */
.page-hero {
  background: var(--grad-navy) var(--pattern-triangles) repeat;
  color: var(--white);
  padding: 158px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(248,177,51,.28), transparent 70%);
  top: -180px; right: -140px;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.85); font-weight: 600; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 3.6vw, 2.9rem); max-width: 760px; }
.page-hero p.lede { max-width: 620px; color: rgba(255,255,255,.75); }

/* ==========================================================================
   Two-col content blocks
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.check-list { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: 2px; }
.check-list strong { color: var(--navy-900); display: block; }
.check-list span { color: var(--slate-500); font-size: .92rem; }

.visual-panel {
  background: var(--grad-navy) var(--pattern-triangles) repeat;
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-panel::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  top: -80px; right: -80px;
}
.visual-panel::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  bottom: -60px; left: -60px;
}
.visual-panel .quote-mark { font-family: var(--font-head); font-size: 4rem; color: var(--gold-400); line-height: 1; margin-bottom: 6px; }
.visual-panel .quote-mark.end { align-self: flex-end; margin-top: 6px; margin-bottom: 0; }
.visual-panel h3 { color: var(--white); font-size: 1.4rem; position: relative; z-index: 2; }
.visual-panel p { color: rgba(255,255,255,.72); position: relative; z-index: 2; }

.photo-banner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.photo-banner img { width: 100%; height: 380px; object-fit: cover; display: block; }
.photo-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.photo-grid-2 img {
  width: 100%; height: 320px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block;
}
@media (max-width: 700px) {
  .photo-banner img { height: 220px; }
  .photo-grid-2 { grid-template-columns: 1fr; }
  .photo-grid-2 img { height: 220px; }
}

.photo-collage { position: relative; margin-left: 6%; }
.photo-collage .main-photo {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block;
}
.photo-collage .accent-photo {
  position: absolute; bottom: -32px; left: -6%;
  width: 55%; height: 190px; object-fit: cover;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  border: 6px solid var(--white); display: block;
}
@media (max-width: 900px) {
  .photo-collage { margin-left: 0; margin-bottom: 32px; }
  .photo-collage .accent-photo { position: static; width: 100%; height: 220px; margin-top: 16px; border: none; }
}

/* ==========================================================================
   Accordion (FAQ)
   ========================================================================== */
.accordion-item { border-bottom: 1px solid var(--slate-100); }
.accordion-item:first-child { border-top: 1px solid var(--slate-100); }
.accordion-trigger {
  width: 100%;
  background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy-900);
}
.accordion-trigger svg { width: 22px; height: 22px; flex: none; color: var(--gold-600); transition: transform .3s var(--ease); }
.accordion-item.is-open .accordion-trigger svg { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.accordion-panel p { padding-bottom: 22px; color: var(--slate-500); margin: 0; max-width: 680px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.info-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--slate-500); font-size: .92rem; margin: 0; }
.info-card a { color: var(--navy-800); font-weight: 700; }

.form-panel { background: var(--white); border: 1px solid var(--slate-100); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .85rem; color: var(--navy-900); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-300);
  background: var(--cream-50);
  color: var(--slate-700);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(248,177,51,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .error-msg { display: none; color: #b23b3b; font-size: .78rem; margin-top: 6px; font-weight: 600; }
.field.has-error input, .field.has-error textarea { border-color: #b23b3b; }
.field.has-error .error-msg { display: block; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--slate-500); margin-bottom: 22px; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; }
.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  background: #eef7ee;
  border: 1px solid #bfe3bf;
  color: #2c6b2f;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 18px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }

.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--slate-100); margin-top: 24px; height: 260px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900) var(--pattern-triangles) repeat; color: rgba(255,255,255,.7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: .92rem; max-width: 320px; margin-top: 16px; }
.footer-col h5 { color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; font-size: .92rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s var(--ease); }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 0; font-size: .82rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-900);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 300;
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .back-to-top { right: 16px; bottom: 16px; }
}
