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

:root {
  --primary: #2C7A7B;
  --primary-light: rgba(44,122,123,0.1);
  --primary-dark: #235f60;
  --secondary-bg: rgba(44,122,123,0.08);
  --background: #ffffff;
  --foreground: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --radius: 1rem;
  --shadow-sm: 0 4px 12px rgba(0,0,0,.07);
  --shadow-md: 0 10px 30px rgba(0,0,0,.1);
  --shadow-lg: 0 25px 50px rgba(0,0,0,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.7;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ──────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }

.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.logo span { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--primary); }

nav { display: flex; align-items: center; gap: 1.75rem; }
nav a { font-size: .88rem; color: var(--muted); text-decoration: none; transition: color .2s; font-weight: 500; }
nav a:hover, nav a.active { color: var(--primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--foreground); margin: 5px 0; transition: .3s; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.6rem; border-radius: .5rem;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: all .2s; border: 2px solid transparent;
  font-family: 'Lato', sans-serif;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #f0f0f0; }
.btn-ghost-white { background: transparent; border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-ghost-white:hover { background: rgba(255,255,255,.12); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ── Page Hero (inner pages) ─────────────────────────── */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, var(--secondary-bg) 0%, rgba(44,122,123,.04) 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--primary); text-decoration: none; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ── Section utilities ───────────────────────────────── */
.section { padding: 4rem 0; }
.section-alt { background: var(--secondary-bg); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--muted); max-width: 560px; margin: .75rem auto 0; }

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .3s;
}
.card:hover { border-color: rgba(44,122,123,.4); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon { width: 3.5rem; height: 3.5rem; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card-icon svg { width: 1.75rem; height: 1.75rem; color: var(--primary); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }

/* ── Feature list ────────────────────────────────────── */
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .45rem 0; font-size: .95rem; }
.feature-list li svg { width: 1.2rem; height: 1.2rem; color: var(--primary); flex-shrink: 0; margin-top: 3px; }

/* ── Forms ───────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .45rem; color: var(--foreground); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: .5rem;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--foreground);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }

/* ── Radio / Checkbox ────────────────────────────────── */
.radio-group, .checkbox-group { display: flex; flex-direction: column; gap: .6rem; }
.radio-option, .checkbox-option {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border: 1.5px solid var(--border);
  border-radius: .5rem; cursor: pointer; transition: all .2s;
}
.radio-option:hover, .checkbox-option:hover { border-color: var(--primary); background: var(--primary-light); }
.radio-option input, .checkbox-option input { accent-color: var(--primary); width: 1.1rem; height: 1.1rem; }

/* ── Step badges ─────────────────────────────────────── */
.step-badge { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.step-badge:last-child { border-bottom: none; }
.step-num { flex-shrink: 0; width: 2.75rem; height: 2.75rem; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.step-content h4 { margin-bottom: .25rem; }
.step-content p { font-size: .92rem; color: var(--muted); }

/* ── Accordion (FAQ) ─────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; background: none; border: none; cursor: pointer;
  font-family: 'Lato', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--foreground); text-align: left; gap: 1rem;
}
.accordion-btn svg { flex-shrink: 0; transition: transform .3s; color: var(--primary); }
.accordion-btn.open svg { transform: rotate(180deg); }
.accordion-body { display: none; padding-bottom: 1.25rem; color: var(--muted); line-height: 1.8; }
.accordion-body.open { display: block; }

/* ── Testimonial cards ───────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .75rem; }
.testimonial-text { font-size: .97rem; color: var(--foreground); font-style: italic; margin-bottom: 1.25rem; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 3rem; height: 3rem; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); font-size: 1.1rem; }
.testimonial-name { font-weight: 700; font-size: .92rem; }
.testimonial-info { font-size: .82rem; color: var(--muted); }

/* ── Blog article cards ──────────────────────────────── */
.article-card { display: flex; flex-direction: column; }
.article-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: .78rem; font-weight: 700; padding: .25rem .75rem; border-radius: 99px; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.article-card h3 { margin-bottom: .6rem; }
.article-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.article-meta { font-size: .82rem; color: var(--muted); margin-top: .75rem; }
.article-link { margin-top: 1.25rem; font-size: .9rem; font-weight: 700; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: .35rem; }
.article-link:hover { text-decoration: underline; }

/* ── CTA banner ──────────────────────────────────────── */
.cta-banner { padding: 4rem 0; background: var(--primary); text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Alert / Info box ────────────────────────────────── */
.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 .5rem .5rem 0;
  padding: 1rem 1.25rem;
  font-size: .93rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

/* ── Footer ──────────────────────────────────────────── */
footer { background: var(--background); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.footer-col h4 { font-family: 'Lato', sans-serif; font-size: .95rem; margin-bottom: .9rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { font-size: .88rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; font-size: .85rem; color: var(--muted); }

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp .65s ease both; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  nav { display: none; }
  .nav-toggle { display: block; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 4rem; left: 0; right: 0; background: var(--white); padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); gap: 1rem; z-index: 100; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
