/* ==========================================================================
   PulsePoint Mobile styles
   Palette: deep teal + warm coral accent on cream, mobile-first
   ========================================================================== */

:root {
  --teal-900: #0B3A3D;
  --teal-700: #0F4C4F;
  --teal-500: #17696D;
  --teal-100: #DDEBEA;
  --coral-600: #D95D45;
  --coral-500: #E76F51;
  --coral-100: #FBE8E2;
  --gold-500: #D9A441;
  --cream: #FAF6EF;
  --cream-deep: #F3EDE2;
  --ink: #24312F;
  --ink-soft: #4C5B58;
  --white: #FFFFFF;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 58, 61, 0.10);
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-900);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--teal-500); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--teal-900); color: var(--white);
  padding: 0.6rem 1rem; border-radius: 0 0 8px 8px;
  z-index: 100; transition: top 0.15s ease;
}
.skip-link:focus { top: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--coral-600);
  margin-bottom: 0.7rem;
}

.section { padding-block: clamp(3.2rem, 8vw, 5.5rem); }

.section-intro {
  max-width: 46rem;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1.02rem; }

.btn-primary {
  background: var(--coral-500);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--coral-600); }

.btn-ghost {
  background: transparent;
  color: var(--teal-700);
  border-color: var(--teal-500);
}
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--teal-100); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 58, 61, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--teal-900);
}

.brand-mark { width: 44px; height: 22px; color: var(--coral-500); flex-shrink: 0; }

.brand-name {
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0;
}
.brand-name em { font-style: normal; color: var(--coral-600); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.6rem;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--teal-900);
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn):focus-visible { color: var(--coral-600); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding-top: clamp(2.5rem, 7vw, 5rem);
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 1.8rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-trust li {
  background: var(--white);
  border: 1px solid var(--teal-100);
  color: var(--teal-700);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.pulse-divider { color: var(--coral-500); opacity: 0.65; }
.pulse-divider svg { display: block; width: 100%; height: 34px; }

/* ---------- Photos ---------- */
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--teal-100);
  aspect-ratio: 4 / 5;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

.photo-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(231, 111, 81, 0.14), transparent 55%),
    linear-gradient(160deg, var(--teal-100), #cfe2e0);
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.credential-badges {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.credential-badges li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid var(--teal-100);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.credential-badges strong {
  flex-shrink: 0;
  min-width: 3.4rem;
  text-align: center;
  background: var(--teal-700);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

/* ---------- Services ---------- */
.services { background: var(--white); }

.card-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.card {
  background: var(--cream);
  border: 1px solid rgba(11, 58, 61, 0.07);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}

.card-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--coral-100);
  color: var(--coral-600);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 28px; height: 28px; }

.card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Why partner ---------- */
.why { background: var(--teal-900); }
.why .eyebrow { color: var(--gold-500); }
.why h2 { color: var(--cream); }

.why-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.why-list {
  list-style: none;
  margin: 1.8rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.3rem;
}

.why-list h3 { color: var(--white); margin-bottom: 0.25rem; }
.why-list p { color: #B8CCC9; margin: 0; font-size: 0.96rem; }

.why-list li {
  padding-left: 1.2rem;
  border-left: 3px solid var(--coral-500);
}

/* ---------- Service area ---------- */
.area { background: var(--cream-deep); }

.area-facts {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}

.fact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  display: grid;
  gap: 0.25rem;
  border-top: 3px solid var(--coral-500);
}

.fact-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-500);
}

.fact-value { font-weight: 600; color: var(--teal-900); }

/* ---------- Contact ---------- */
.contact { background: var(--white); }

.contact-inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.contact-direct {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.contact-link {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: none;
}
.contact-link:hover, .contact-link:focus-visible { color: var(--coral-600); }

.contact-form {
  background: var(--cream);
  border: 1px solid rgba(11, 58, 61, 0.08);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.form-row { display: grid; gap: 0; }

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

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

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #CBD8D6;
  border-radius: 9px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 1px;
  border-color: var(--teal-500);
}

.form-status { min-height: 1.4em; font-weight: 600; color: var(--teal-700); margin: 0 0 0.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: #B8CCC9;
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  gap: 2.2rem;
  padding-bottom: 2.2rem;
}

.footer-brand .brand-name { color: var(--cream); font-size: 1.3rem; margin: 0.5rem 0 0.6rem; }
.footer-tag { font-size: 0.92rem; max-width: 22rem; }

.footer-col h3 {
  color: var(--gold-500);
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 0.8rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.93rem; }
.footer-col a { color: var(--cream); text-decoration: none; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--coral-500); }

.footer-legal {
  border-top: 1px solid rgba(250, 246, 239, 0.12);
  padding-block: 1.2rem;
  font-size: 0.85rem;
}
.footer-legal p { margin: 0; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .area-facts { grid-template-columns: repeat(3, 1fr); }
  .credential-badges { grid-template-columns: 1fr 1fr; }
  .credential-badges li:last-child { grid-column: 1 / -1; }
}

@media (min-width: 880px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
  .hero-photo { max-width: 400px; justify-self: end; width: 100%; }
  .about-inner { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
  .why-inner { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; }
  .contact-inner { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid rgba(11, 58, 61, 0.1);
    padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.4rem;
    gap: 0.9rem;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-menu.open { display: flex; }
  .nav-cta { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
