/* SANGAR Coastal, LLC: site styles */
:root {
  --navy: #0b2540;
  --navy-2: #12345a;
  --teal: #138a8a;
  --teal-light: #5cc4c0;
  --sand: #f4ede1;
  --sand-2: #e9dfcd;
  --ink: #1b2733;
  --muted: #55626f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 37, 64, 0.08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--teal); margin-bottom: .75em; }
.eyebrow-light { color: var(--teal-light); }
.section { padding: 88px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--navy); color: #d6e2ee; }
.section-dark h2 { color: var(--white); }
.section-lead { max-width: 680px; color: var(--muted); font-size: 1.08rem; margin-bottom: 2.5em; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--teal); color: var(--white); font-weight: 600; text-decoration: none;
  border: 2px solid var(--teal); transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: #0f7474; border-color: #0f7474; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-small { padding: 8px 18px; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11,37,64,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-text { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.3rem; color: var(--navy); letter-spacing: .02em; }
.brand-text span { color: var(--teal); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.site-nav a:not(.btn):hover { color: var(--teal); }
.site-nav .btn { color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid rgba(11,37,64,.1);
    padding: 8px 16px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(11,37,64,.06); }
  .site-nav .btn { margin-top: 14px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative; color: #dbe7f2; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(92,196,192,.35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #145a6e 100%);
}
.hero-inner { padding: 120px 16px 150px; max-width: var(--max); }
@media (min-width: 720px) { .hero-inner { padding: 140px 32px 170px; } }
.hero h1 { color: var(--white); max-width: 820px; }
.hero .eyebrow { color: var(--teal-light); }
.lead { font-size: 1.15rem; max-width: 680px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 80px; }
.wave path { fill: var(--white); }

/* Stats */
.stats { margin-top: -40px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--sand-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  padding: 0;
}
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stats .container { padding: 0; max-width: calc(var(--max) - 64px); width: calc(100% - 32px); }
.stat { background: var(--white); padding: 28px 28px; }
.stat strong { display: block; font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; color: var(--teal); line-height: 1.1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .98rem; }

/* Service cards */
.cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid rgba(11,37,64,.08); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(19,138,138,.35); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: rgba(19,138,138,.1);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 2em 0 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--white); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--teal); }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
.step-num { font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; color: var(--teal); font-weight: 600; display: block; margin-bottom: 8px; }

/* Team */
.team { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
.person {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--sand); border-radius: var(--radius); padding: 30px;
}
@media (max-width: 520px) { .person { flex-direction: column; } }
.avatar {
  flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; object-fit: cover;
  background: linear-gradient(140deg, var(--navy), var(--teal));
  color: var(--white); font-family: "Fraunces", Georgia, serif; font-size: 1.8rem; font-weight: 600;
}
.avatar-alt { background: linear-gradient(140deg, var(--teal), var(--navy-2)); }
.person h3 { margin-bottom: 2px; }
.role { color: var(--teal); font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.person p:not(.role) { color: var(--muted); font-size: .98rem; }
.li-link { font-weight: 600; text-decoration: none; }
.creds { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.creds li {
  font-size: .8rem; font-weight: 600; color: var(--navy);
  background: var(--white); border: 1px solid rgba(19,138,138,.3);
  border-radius: 999px; padding: 4px 12px;
}

/* Why */
.why { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1.2fr; } }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.why-list li { padding-left: 30px; position: relative; }
.why-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--teal-light);
}
.why-list strong { color: var(--white); }

/* Contact */
.contact { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.3fr 1fr; } }
.contact .section-lead { margin-bottom: 0; }
.contact-card { background: var(--sand); border-radius: var(--radius); padding: 32px; }
.contact-card p { font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.contact-card a:not(.btn) { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-card a:not(.btn):hover { color: var(--teal); }

/* Footer */
.site-footer { background: #071a2e; color: #8ea3b8; padding: 32px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-inner p { margin: 0; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }

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