/* ============================================================
   Veriora Insight — Stylesheet
   Palette: deep teal / warm sand / soft cream
   ============================================================ */

:root {
  --teal-900: #0d3b3b;
  --teal-700: #14535a;
  --teal-500: #1f7a7a;
  --teal-100: #d8ebe8;
  --teal-050: #eef6f4;
  --sand-500: #e2a15c;
  --sand-400: #eab97e;
  --sand-100: #fbeedd;
  --cream: #faf7f2;
  --ink: #1c2b2b;
  --ink-soft: #4a5d5c;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px rgba(13, 59, 59, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 59, 59, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--teal-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

h1 em, h2 em, .logo-text em {
  font-style: italic;
  color: var(--teal-500);
}

p { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-500);
  margin-bottom: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(20, 83, 90, 0.28);
}
.btn-primary:hover {
  background: var(--teal-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 83, 90, 0.34);
}

.btn-ghost {
  border-color: var(--teal-700);
  color: var(--teal-700);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--teal-050);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 59, 59, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--teal-700);
}

.logo-mark { width: 36px; height: 36px; }
.logo-mark svg { width: 100%; height: 100%; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-900);
  white-space: nowrap;
}

.logo.light .logo-text,
.logo.light { color: var(--cream); }
.logo.light .logo-text em { color: var(--sand-400); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--teal-500); }

.site-nav .nav-cta {
  background: var(--teal-700);
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
}
.site-nav .nav-cta:hover {
  background: var(--teal-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.blob-1 { width: 480px; height: 480px; background: var(--teal-100); top: -160px; right: -120px; }
.blob-2 { width: 380px; height: 380px; background: var(--sand-100); bottom: -140px; left: -100px; }
.blob-3 { width: 260px; height: 260px; background: var(--teal-050); top: 40%; left: 42%; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-content .lead {
  font-size: 1.15rem;
  margin-top: 1.2rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-700);
}
.hero-trust svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; }

.hero-card {
  background: var(--teal-700);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.hero-card-inner { transform: rotate(-2deg); }

.hero-card-icon {
  width: 52px;
  height: 52px;
  color: var(--sand-400);
  margin-bottom: 1.2rem;
}

.hero-card-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--cream);
}

.hero-card-sig {
  margin-top: 1.2rem;
  color: var(--teal-100);
  font-size: 0.9rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-media { position: relative; }

.about-shape {
  background: linear-gradient(145deg, var(--teal-050), var(--teal-100));
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--teal-700);
  box-shadow: var(--shadow);
}

.about-stat {
  position: absolute;
  bottom: -1.4rem;
  right: -0.8rem;
  background: var(--sand-500);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
  max-width: 240px;
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.about-stat span { font-size: 0.85rem; opacity: 0.95; }

.about-content h2 { margin-bottom: 1.2rem; }
.about-content p { margin-bottom: 1rem; }

.check-list {
  list-style: none;
  margin: 1.4rem 0 2rem;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.8rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--teal-500);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="black"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.7-9.3a1 1 0 00-1.4-1.4L9 10.6 7.7 9.3a1 1 0 00-1.4 1.4l2 2a1 1 0 001.4 0l4-4z" clip-rule="evenodd"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="black"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.7-9.3a1 1 0 00-1.4-1.4L9 10.6 7.7 9.3a1 1 0 00-1.4 1.4l2 2a1 1 0 001.4 0l4-4z" clip-rule="evenodd"/></svg>') center/contain no-repeat;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding-block: clamp(4rem, 8vw, 6.5rem); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head p { margin-top: 0.9rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal-100);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card.featured { border-top-color: var(--sand-500); }

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--teal-050);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card.featured .service-icon {
  background: var(--sand-100);
  color: var(--sand-500);
}

.service-card h3 { margin-bottom: 0.7rem; }
.service-card > p { font-size: 0.95rem; margin-bottom: 1.1rem; }

.service-card ul {
  list-style: none;
  border-top: 1px dashed var(--teal-100);
  padding-top: 1rem;
}
.service-card ul li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.45rem;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand-500);
}

/* ============================================================
   HOW WE HELP
   ============================================================ */
.how-we-help {
  background: var(--teal-900);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section-head.light h2 { color: var(--cream); }
.section-head.light p { color: var(--teal-100); }

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.help-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.help-item:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-4px);
}

.help-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--sand-400);
  letter-spacing: 0.08em;
}

.help-item h3 {
  color: var(--cream);
  margin: 0.6rem 0 0.5rem;
  font-size: 1.15rem;
}

.help-item p {
  color: var(--teal-100);
  font-size: 0.92rem;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--white);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 2.4rem 1.6rem;
  background: var(--cream);
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 8px 20px rgba(20, 83, 90, 0.3);
}

.step h3 { margin-bottom: 0.6rem; }
.step p { font-size: 0.95rem; }

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: linear-gradient(180deg, var(--cream) 0%, var(--teal-050) 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.4rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-ic {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.contact-ic svg { width: 24px; height: 24px; }

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-500);
  margin-bottom: 0.15rem;
}
.contact-list a, .contact-list div > span {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.contact-list a:hover { color: var(--teal-500); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-lg);
}

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

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-900);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--teal-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(31, 122, 122, 0.15);
  background: var(--white);
}

.form-field textarea { resize: vertical; }

.form-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  text-align: center;
  color: var(--teal-700);
  min-height: 1.2em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--teal-900);
  color: var(--teal-100);
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--teal-100);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 26rem;
}

.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-col a, .footer-col span {
  display: block;
  color: var(--teal-100);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}
.footer-col a:hover { color: var(--sand-400); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(216, 235, 232, 0.75); }
.acknowledgement { max-width: 32rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin-inline: auto; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(13, 59, 59, 0.08);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav.open { max-height: 360px; }

  .site-nav a {
    padding: 1rem 1.4rem;
    border-top: 1px solid rgba(13, 59, 59, 0.06);
  }
  .site-nav .nav-cta {
    border-radius: 0;
    text-align: center;
  }

  .help-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---- Contact form states ---- */
.hp-field {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note--ok {
  color: #1a7f4b;
  font-weight: 500;
}

.form-note--error {
  color: #b3261e;
  font-weight: 500;
}

.form-note--error a {
  color: inherit;
  text-decoration: underline;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ---- Typography: disable Fraunces' stylised f-ligatures ----
   The default "fi" / "ffi" glyphs merge the f and i, losing the
   tittle (the dot). Turning ligatures off keeps letters separate. */
h1, h2, h3, h4, h5, h6,
.logo-text,
.eyebrow,
.lead {
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0;
  font-variation-settings: "WONK" 0;
}
