/* =========================================================================
   WTPFS — main stylesheet
   Palette: deep teal background (#002d40), white text, light-blue accent.
   Derived from the WTPFS brand screenshot.
   ========================================================================= */

:root {
  --brand: #002d40;
  --brand-dark: #001b26;
  --brand-light: #0a4156;
  --brand-lighter: #0d4f69;
  --accent: #4db8ff;
  --accent-dark: #2aa3f5;
  --accent-soft: rgba(77, 184, 255, 0.12);
  --ink: #ffffff;
  --ink-soft: #c8d8e0;
  --muted: #8ba4b3;
  --white: #ffffff;
  --bg-light: #00384d;
  --line: rgba(255, 255, 255, 0.14);
  --dark: #001b26;
  --maxw: 1200px;
  --radius: 6px;
  --shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  background: var(--brand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Montserrat", "Open Sans", sans-serif;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--light { background: var(--bg-light); }
.section--dark { background: var(--dark); color: #cfcfcf; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow--warm { color: #7ec8e3; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--brand-dark);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  text-align: center;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--brand-dark); }
.btn--outline { background: transparent; color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--brand-dark); }
.btn--light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn--light:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--brand-dark); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--brand);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand .brand-mark { color: var(--accent); }
.brand .brand-tag { font-size: .7rem; font-weight: 600; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #fff;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--brand);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(77, 184, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(77, 184, 255, 0.05) 0%, transparent 35%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 60ch; margin-bottom: 30px; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Feature (text + image) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature--reverse .feature-media { order: -1; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature h2 { margin-top: 0; }
.feature .btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Icon feature ---------- */
.icon-feature { display: flex; gap: 22px; align-items: flex-start; }
.icon-feature img { width: 64px; height: 64px; object-fit: contain; flex: 0 0 64px; }
.icon-feature h3 { margin: 4px 0 8px; }
.icon-feature p { margin: 0; color: var(--ink-soft); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 46px; }
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: rgba(255, 255, 255, 0.08); }
.card .card-icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 18px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ---------- Logo / affiliation strip ---------- */
.affiliation { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.affiliation img { max-height: 90px; width: auto; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 30px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 1.05rem;
  color: var(--ink); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .25s ease; flex: 0 0 auto; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 22px; color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: var(--brand-dark); text-align: center; }
.cta-band h2 { color: var(--brand-dark); }
.cta-band p { color: rgba(0, 43, 64, 0.9); font-size: 1.15rem; max-width: 60ch; margin: 0 auto 26px; }
.cta-band .btn { border-color: var(--brand-dark); color: var(--brand-dark); background: transparent; }
.cta-band .btn:hover { background: var(--brand-dark); color: var(--accent); border-color: var(--brand-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-family: "Montserrat", sans-serif; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: rgba(255, 255, 255, 0.07);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.1); }
.form-field textarea { min-height: 140px; resize: vertical; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; }
.alert--success { background: rgba(126, 200, 170, 0.15); color: #7ec8aa; border: 1px solid rgba(126, 200, 170, 0.35); }
.contact-info p { margin-bottom: 14px; }
.contact-info .ci-label { font-weight: 700; font-family: "Montserrat", sans-serif; display: block; color: var(--ink); }
.info-card { background: rgba(255, 255, 255, 0.05); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9b9b9; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand .brand-mark { color: var(--accent); }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #b9b9b9; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; text-align: center; font-size: .85rem; color: #8a8a8a; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature--reverse .feature-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute; top: 82px; left: 0; right: 0; background: var(--brand);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 20px;
    box-shadow: var(--shadow); display: none;
    border-top: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta { margin: 12px 0 4px; }
  .nav-toggle { display: block; }
}
