:root {
  --navy: #0a2540;
  --navy-light: #1a3a5c;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --gold: #c9a55a;
  --cream: #faf6f1;
  --warm-white: #fefcf9;
  --paper: #ffffff;
  --text: #1a1a1a;
  --muted: #5a6470;
  --border: #e6e2dc;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 4px 14px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 14px 40px rgba(10, 37, 64, 0.12);
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Topbar */
.topbar { background: var(--navy); color: #d8e3ef; padding: 8px 0; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar a { color: #d8e3ef; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

/* Header */
header.site {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
header.site .container { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: #fff; font-family: var(--serif); font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--navy); line-height: 1.2; }
.brand-sub { font-size: .76rem; color: var(--muted); line-height: 1.2; }
nav.primary { display: flex; gap: 28px; }
nav.primary a { color: var(--navy); font-size: .92rem; font-weight: 500; padding: 6px 0; position: relative; }
nav.primary a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--teal); transition: width .25s;
}
nav.primary a:hover::after { width: 100%; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--sans); font-weight: 500; font-size: .92rem;
  border: 1px solid transparent; cursor: pointer; transition: all .25s;
  text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--navy); position: relative;
  transition: all .25s;
}
.menu-toggle span::before { content: ''; position: absolute; top: -7px; left: 0; }
.menu-toggle span::after  { content: ''; position: absolute; top:  7px; left: 0; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%); padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { color: var(--teal-dark); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; display: inline-block; }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3rem); color: var(--navy); line-height: 1.15; margin: 0 0 14px; }
.page-hero p.lead { color: var(--muted); font-size: 1.08rem; max-width: 720px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal-dark); }

/* Content section */
section.content { padding: 64px 0 88px; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: all .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cream), #f0e9df);
  display: flex; align-items: center; justify-content: center; color: var(--teal-dark);
  margin-bottom: 16px;
}
.service-card h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; margin: 0 0 8px; color: var(--navy); }
.service-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.service-card ul { color: var(--muted); font-size: .92rem; padding-left: 18px; margin: 10px 0 0; }
.service-card ul li { margin-bottom: 4px; }

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .3s; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card .cover { aspect-ratio: 16/10; background: #eee; overflow: hidden; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .cover img { transform: scale(1.04); }
.blog-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 10px; }
.blog-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.16rem; line-height: 1.3; color: var(--navy); margin: 0 0 10px; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--teal-dark); }
.blog-card p { color: var(--muted); font-size: .94rem; margin: 0 0 16px; flex: 1; }
.blog-card .read-more { color: var(--teal-dark); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }

/* Article */
article.post { background: #fff; padding: 0; }
article.post .post-hero {
  aspect-ratio: 21/9; background: #f4ecdf; max-height: 460px; overflow: hidden;
}
article.post .post-hero img { width: 100%; height: 100%; object-fit: cover; }
article.post header.post-head { padding: 48px 0 24px; }
article.post .post-meta { font-size: .85rem; color: var(--muted); display: flex; gap: 14px; margin-bottom: 14px; }
article.post h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); line-height: 1.18; margin: 0 0 12px; }
article.post .post-body { font-size: 1.04rem; line-height: 1.78; color: #2a2a2a; padding: 16px 0 64px; }
article.post .post-body p { margin: 0 0 1.2em; }

/* CTA strip */
.cta-strip { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 56px 0; }
.cta-strip h2 { font-family: var(--serif); font-weight: 600; color: #fff; margin: 0 0 8px; font-size: 1.6rem; }
.cta-strip p { color: #cfe0f2; margin: 0 0 22px; }
.cta-strip .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn-primary { background: var(--gold); color: var(--navy); }
.cta-strip .btn-primary:hover { background: #d6b56b; }
.cta-strip .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-strip .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* Long-form content layout for service pages */
.longform { font-size: 1.04rem; line-height: 1.75; color: #2a2a2a; }
.longform h2 { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.55rem; margin: 44px 0 16px; line-height: 1.25; }
.longform p { margin: 0 0 1.2em; }
.longform ul { padding-left: 22px; margin: 0 0 1.4em; }
.longform ul li { margin-bottom: 8px; }
.longform a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.longform a:hover { color: var(--teal); }

/* FAQ block */
.faq-block { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.faq-block h2 { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 1.5rem; margin: 0 0 18px; }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { font-family: var(--sans); font-weight: 600; color: var(--navy); font-size: 1.04rem; cursor: pointer; list-style: none; padding-right: 28px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-size: 1.6rem; font-weight: 400; color: var(--teal); transition: transform .2s; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 12px 0 0; color: #2a2a2a; line-height: 1.7; }

/* Service list cards (services index) */
.service-link-card {
  display: block; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; transition: all .3s; position: relative;
}
.service-link-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.service-link-card h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin: 0 0 8px; color: var(--navy); }
.service-link-card p { color: var(--muted); font-size: .94rem; margin: 0 0 14px; line-height: 1.55; }
.service-link-card .arrow { color: var(--teal-dark); font-weight: 600; font-size: .9rem; }

/* Thanks page */
.thanks-page { text-align: center; padding: 88px 0; }
.thanks-page .icon-tick {
  width: 78px; height: 78px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
.thanks-page h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); color: var(--navy); margin: 0 0 12px; }
.thanks-page p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 1.06rem; }

/* Footer */
footer.site { background: var(--navy); color: #cfe0f2; padding: 64px 0 28px; margin-top: 64px; }
footer.site a { color: #cfe0f2; }
footer.site a:hover { color: #fff; }
footer.site h4 { color: #fff; font-family: var(--sans); font-weight: 600; margin-bottom: 16px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { color: #99b3ce; font-size: .92rem; max-width: 320px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; font-size: .85rem; color: #99b3ce; flex-wrap: wrap; gap: 8px; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4); z-index: 50;
  transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 980px) {
  nav.primary {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px; gap: 14px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  nav.primary.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .services-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar-info span:not(:first-child) { display: none; }
  .services-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-cta .btn-ghost { display: none; }
}
