/* ═══════════════════════════════════════════════════════
   CASA CLARA — Global Styles
   Fonts: Source Serif 4 (serif) + Manrope (sans)
   Colors: White primary · Navy secondary · Terracotta accent
═══════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --navy:       #0F2D4D;
  --navy-soft:  #1a3d5c;
  --terracotta:       #C7684B;
  --terracotta-light: #FBF0EB;
  --terracotta-mid:   #E8B09A;
  --sand:       #DCC9A8;
  --sand-light: #F7F5F1;
  --white:      #FFFFFF;
  --off-white:  #FAFAF8;
  --border:     #E8E4DC;
  --text-body:  #3a4a5a;
  --text-light: #6b7a8d;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans:  'Manrope', system-ui, sans-serif;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.08; }
h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.0; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
h4 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--navy); }
p { line-height: 1.65; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.rule {
  width: 32px; height: 2px;
  background: var(--terracotta);
  margin: 14px 0;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn-terracotta {
  background: var(--terracotta);
  color: #fff;
}
.btn-terracotta:hover { background: #b55a3e; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-terracotta {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}
.btn-outline-terracotta:hover { background: var(--terracotta); color: #fff; }

/* ── LAYOUT HELPERS ──────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 5%; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 104px 0; }
.text-center { text-align: center; }
.text-center .rule { margin-left: auto; margin-right: auto; }

/* ── NAV ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 5%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-mark {
  flex-shrink: 0;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo .logo-main {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo .logo-sub {
  font-family: var(--sans);
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  padding: 8px 11px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover { background: var(--terracotta-light); }
.nav-links .chevron {
  width: 11px; height: 11px;
  stroke: currentColor;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(15,45,77,0.1);
  min-width: 220px;
  padding: 4px 0 8px 0;
  z-index: 300;
}
.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-body);
  transition: background 0.12s;
}
.nav-dropdown a:hover { background: var(--terracotta-light); color: var(--navy); }
.nav-links > li:hover .nav-dropdown { display: block; }
.nav-links > li:hover .chevron { transform: rotate(180deg); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── PAGE OFFSET FOR FIXED NAV ───────────────────────── */
.page-body { padding-top: 70px; }

/* ── SUBPAGE HERO BANNER ─────────────────────────────── */
.page-banner {
  background: var(--sand-light);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
}
.page-banner h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 10px; }
.page-banner p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 540px;
  line-height: 1.6;
}
.breadcrumb {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--terracotta); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── SERVICE PAGE CONTENT ────────────────────────────── */
.content-section { padding: 72px 0; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { width: 100%; border-radius: 4px; object-fit: cover; height: 420px; }
.feature-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-body);
}
.feature-list li::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
  margin-top: 7px;
}
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h4 { margin-bottom: 8px; }
.faq-item p { font-size: 15px; color: var(--text-light); }
.cta-inline {
  margin-top: 40px;
  padding: 32px;
  background: var(--terracotta-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inline p { font-weight: 500; color: var(--navy); }
.cta-inline .cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse { direction: ltr; }
  .two-col img { height: 280px; }
}

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-main {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sand);
  letter-spacing: -0.01em;
}
.footer-brand .logo-sub {
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 2px;
  font-family: var(--sans);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  margin-top: 16px;
  line-height: 1.65;
}
.footer-brand .footer-contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand .footer-contact a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-brand .footer-contact a:hover { color: var(--sand); }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--sand); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.24); }
.footer-bottom a { font-size: 12px; color: rgba(255,255,255,0.24); }
.footer-bottom a:hover { color: rgba(255,255,255,0.55); }

/* ── STICKY CALL BAR (mobile) ────────────────────────── */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--navy);
  padding: 12px 5%;
  gap: 10px;
}
.sticky-call a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
}
.sticky-call .sc-call { background: var(--terracotta); color: #fff; }
.sticky-call .sc-est { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { gap: 0; }
  .nav-links > li > a,
  .nav-links > li > button { padding: 8px 8px; font-size: 13px; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sticky-call { display: flex; }
  .page-body { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* ── SERVICE PAGE MOTIF & ICON GRID ──────────────────── */
.motif-band {
  background: var(--terracotta-light);
  border-top: 1px solid rgba(199,104,75,0.15);
  border-bottom: 1px solid rgba(199,104,75,0.15);
  padding: 40px 5%;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.motif-band-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.motif-band-tagline {
  font-family: var(--serif);
  font-size: clamp(15px, 1.8vw, 19px);
  font-style: italic;
  color: var(--navy);
  opacity: 0.75;
  letter-spacing: 0.01em;
}
.motif-icons-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.motif-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: 0.6;
}
.motif-icon-item svg { flex-shrink: 0; }
.motif-icon-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Service icon strip */
.services-icon-strip {
  padding: 64px 5%;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.services-icon-strip .strip-header {
  text-align: center;
  margin-bottom: 48px;
}
.services-icon-strip .strip-header h3 {
  font-size: clamp(22px, 2.8vw, 32px);
  margin-top: 10px;
}
.icon-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 20px 28px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--off-white);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: inherit;
}
.icon-card:hover {
  border-color: var(--terracotta);
  box-shadow: 0 4px 20px rgba(199,104,75,0.1);
  transform: translateY(-2px);
}
.icon-card.current {
  border-color: var(--terracotta);
  background: var(--terracotta-light);
  pointer-events: none;
}
.icon-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.icon-card.current .icon-card-icon {
  border-color: var(--terracotta);
  background: rgba(199,104,75,0.08);
}
.icon-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.icon-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}
.icon-card .card-link-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.03em;
}
.icon-card.current .card-link-text {
  color: var(--terracotta);
  opacity: 0.6;
}
@media (max-width: 760px) {
  .icon-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .icon-cards { grid-template-columns: 1fr; }
  .motif-icons-row { gap: 20px; }
}