/* ===========================================
   F SOLUTIONS — shared.css
   Palette A: Navy #0D2B4E · Green #1A5C3A
   Type: Fraunces (headings) + Inter (body)
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500&display=swap');

/* ── TOKENS ── */
:root {
  --navy:     #0D2B4E;
  --navy-dk:  #081D35;
  --green:    #1A5C3A;
  --green-lt: #EAF2ED;
  --grey:     #F5F6F4;
  --white:    #FFFFFF;
  --on-navy:  #E8EEF4; /* readable cream on navy panels */

  --ink:      #111A14;
  --muted:    #556358;
  --rule:     rgba(13,43,78,0.10);
  --rule-g:   rgba(26,92,58,0.15);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  padding-top: 68px;
}

/* ── TYPE ── */
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 400; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.12; }
h3 { font-size: 1.2rem; line-height: 1.3; }
em { font-style: italic; color: var(--green); }
p { font-weight: 300; }

/* ── LAYOUT ── */
.sec   { padding: 6rem 2.5rem; }
.inner { max-width: 1160px; margin: 0 auto; }
hr.rule { border: none; border-top: 1px solid var(--rule); }

/* ── NAVBAR ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  transform: translateY(0);
  transition: transform .32s ease, box-shadow .32s ease;
}
#nav.hidden  { transform: translateY(-100%); }
#nav.scrolled { box-shadow: 0 2px 20px rgba(13,43,78,0.07); }

.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-name { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.nav-logo-name span { color: var(--green); }

.nav-links { display: flex; gap: .2rem; list-style: none; }
.nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  color: var(--muted); text-decoration: none;
  padding: .45rem .9rem; border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover  { color: var(--navy); background: var(--grey); }
.nav-links a.active { color: var(--green); background: var(--green-lt); }

.nav-cta {
  background: var(--navy); color: var(--white);
  font-size: .8rem; font-weight: 500; letter-spacing: .05em;
  text-decoration: none; padding: .55rem 1.4rem; border-radius: 6px;
  transition: background .25s;
}
.nav-cta:hover { background: var(--green); }

/* hamburger */
.ham { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.ham span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* mobile menu */
.mob {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; z-index: 199;
  background: var(--white); border-bottom: 1px solid var(--rule);
  padding: 1rem 2rem 1.5rem;
  transform: translateY(-110%); transition: transform .32s ease;
}
.mob.open { transform: translateY(0); }
.mob ul { list-style: none; display: flex; flex-direction: column; gap: .2rem; }
.mob a { display: block; padding: .7rem 0; font-size: 1rem; font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--rule); }

/* ── SHARED ELEMENTS ── */

.btn {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: .85rem 2rem; border-radius: 6px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; letter-spacing: .05em;
  text-decoration: none; transition: background .25s, transform .2s;
}
.btn:hover { background: var(--green); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--navy);
  padding: .85rem 2rem; border-radius: 6px; border: 1.5px solid var(--navy);
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; letter-spacing: .05em;
  text-decoration: none; transition: all .25s;
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.btn-green {
  display: inline-block;
  background: var(--green); color: var(--white);
  padding: .85rem 2rem; border-radius: 6px; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; letter-spacing: .05em;
  text-decoration: none; transition: background .25s, transform .2s;
}
.btn-green:hover { background: var(--navy); transform: translateY(-2px); }

.btn-ghost-white {
  display: inline-block;
  background: transparent; color: var(--white);
  padding: .85rem 2rem; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.5);
  font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; letter-spacing: .05em;
  text-decoration: none; transition: all .25s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.1); }

.btn-grp { display: flex; gap: .85rem; flex-wrap: wrap; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 4.5rem 2.5rem 4rem;
  background:
    radial-gradient(ellipse 42% 70% at 88% 45%, rgba(234, 242, 237, 0.7) 0%, transparent 65%),
    var(--grey);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-hero .inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.page-hero-mark {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: var(--green-lt);
  border: 1px solid rgba(26, 92, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-hero-mark img {
  width: 156px;
  height: 156px;
  object-fit: contain;
  opacity: 0.95;
}
.page-hero h1 { margin-top: 1rem; margin-bottom: 1.2rem; max-width: 700px; }
.lead { font-size: 1rem; color: var(--muted); max-width: 560px; line-height: 1.85; }

/* ── SERVICE CARD ── */
.svc-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 10px; padding: 2rem 1.8rem;
  transition: border-color .3s, transform .3s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.svc-card:hover { border-color: var(--rule-g); transform: translateY(-4px); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 36px; height: 36px; border-radius: 8px; background: var(--green-lt);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem;
}
.svc-icon svg { width: 17px; height: 17px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { margin-bottom: .6rem; }
.svc-card p { font-size: .85rem; color: var(--muted); line-height: 1.8; }
.svc-tag {
  display: inline-block; margin-top: 1.2rem;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .22rem .7rem; border-radius: 100px;
  border: 1px solid var(--rule-g); color: var(--green); background: var(--green-lt);
}

/* ── MEMBER CARD ──────────────────────────────
   Layout: 4 then 3 centered (large) → 2-2-2-1 (medium) → 1 col (small)
   ────────────────────────────────────────── */
.member-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1.5rem;
}
.member-card {
  grid-column: span 2; /* 4 per row */
  border: 1px solid var(--rule); border-radius: 10px;
  overflow: hidden; background: var(--white);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  box-sizing: border-box;
}
/* Center the second row of 3 (7 members: 4 + 3) */
.member-grid .member-card:nth-child(5) { grid-column: 2 / span 2; }
.member-grid .member-card:nth-child(6) { grid-column: 4 / span 2; }
.member-grid .member-card:nth-child(7) { grid-column: 6 / span 2; }
.member-card:hover { transform: translateY(-4px); border-color: var(--rule-g); box-shadow: 0 8px 28px rgba(13,43,78,0.08); }
.member-photo {
  aspect-ratio: 1; background: var(--grey);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
/* When you have a real photo: <img src="photo.jpg"> fills the slot automatically */
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder initials shown when no photo yet */
.member-photo .initials {
  font-family: 'Fraunces', serif; font-size: 2.2rem;
  font-weight: 300; color: var(--navy); opacity: .2;
}
.member-body { padding: 1.2rem 1.3rem 1.4rem; }
.member-name { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 400; color: var(--navy); margin-bottom: .15rem; }
.member-role { font-size: .75rem; color: var(--green); font-weight: 500; }

/* ── CTA BAND ── */
.cta-band { background: var(--green); padding: 5rem 2.5rem; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: .8rem; }
.cta-band p  { color: var(--on-navy); margin-bottom: 2rem; font-size: .95rem; }

/* ── CONTACT BAND (replaces WhatsApp green) ── */
.contact-band {
  background: var(--navy); padding: 4rem 2.5rem; text-align: center;
}
.contact-band h2 { color: var(--white); margin-bottom: .7rem; }
.contact-band p  { color: var(--on-navy); margin-bottom: 1.8rem; font-size: .93rem; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--navy); display: flex; }
.trust-item { flex: 1; padding: 2rem 1.5rem; border-right: 1px solid rgba(255,255,255,.07); display: flex; align-items: flex-start; gap: 1rem; }
.trust-item:last-child { border-right: none; }
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: #8FBCA8; margin-top: 6px; flex-shrink: 0; }
.trust-item h4 { font-size: .88rem; color: var(--white); font-weight: 500; margin-bottom: .3rem; font-family: 'Inter', sans-serif; }
.trust-item p  { font-size: .78rem; color: var(--on-navy); line-height: 1.7; }

/* ── FAQ ACCORDION ── */
.faq-body { display: grid; grid-template-columns: 220px 1fr; gap: 5rem; max-width: 1160px; margin: 0 auto; padding: 6rem 2.5rem; }
.faq-nav { position: sticky; top: 90px; align-self: start; }
.faq-nav p { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.faq-nav ul { list-style: none; display: flex; flex-direction: column; gap: .2rem; }
.faq-nav a { display: block; padding: .5rem .85rem; font-size: .85rem; color: var(--muted); text-decoration: none; border-radius: 6px; border-left: 2px solid transparent; transition: all .22s; }
.faq-nav a:hover { color: var(--navy); background: var(--grey); }
.faq-nav a.on { color: var(--green); background: var(--green-lt); border-left-color: var(--green); }
.faq-content { display: flex; flex-direction: column; gap: 4rem; }
.faq-group h2 { margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { display: flex; justify-content: space-between; align-items: flex-start; padding: 1.3rem 0; cursor: pointer; gap: 1rem; }
.faq-q h4 { font-size: .93rem; font-weight: 500; color: var(--navy); line-height: 1.5; flex: 1; transition: color .22s; font-family: 'Inter', sans-serif; }
.faq-q:hover h4 { color: var(--green); }
.faq-tog { width: 26px; height: 26px; min-width: 26px; border-radius: 50%; border: 1px solid var(--rule); background: var(--grey); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--navy); transition: all .3s; line-height: 1; }
.faq-item.open .faq-tog { background: var(--green); color: var(--white); border-color: var(--green); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.3rem; }
.faq-a p { font-size: .88rem; color: var(--muted); line-height: 1.9; }

/* ── CONTACT FORM ── */
.contact-body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; max-width: 1160px; margin: 0 auto; padding: 6rem 2.5rem; }
.info-panel > p { font-size: .93rem; color: var(--muted); line-height: 1.85; margin-bottom: 2.5rem; }
.info-cards { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2.5rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--grey); border: 1px solid var(--rule); border-radius: 8px; padding: 1rem 1.2rem; transition: border-color .25s; }
.info-card:hover { border-color: var(--rule-g); }
.ic-icon { width: 30px; height: 30px; border-radius: 6px; background: var(--green-lt); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ic-icon svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-label { font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: .2rem; font-weight: 500; }
.ic-val { font-size: .87rem; color: var(--navy); line-height: 1.5; }
.hours-title { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.hour-row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--rule); font-size: .84rem; }
.hour-row .day { color: var(--muted); }
.hour-row .time { color: var(--navy); font-weight: 500; }
.hour-row .time.off { color: var(--muted); font-weight: 400; }
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea { background: var(--white); border: 1.5px solid var(--rule); padding: .8rem 1rem; font-family: 'Inter', sans-serif; font-size: .9rem; color: var(--ink); outline: none; transition: border-color .25s; border-radius: 6px; resize: none; appearance: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(85,99,88,.4); }
.form-submit { background: var(--navy); color: var(--white); padding: .9rem; border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 500; letter-spacing: .05em; border-radius: 6px; width: 100%; transition: background .25s; }
.form-submit:hover { background: var(--green); }
.form-note { font-size: .75rem; color: var(--muted); text-align: center; line-height: 1.6; margin-top: .4rem; }
.form-success { display: none; text-align: center; padding: 3rem 2rem; background: var(--green-lt); border: 1px solid var(--rule-g); border-radius: 10px; }
.form-success h3 { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 300; color: var(--navy); margin-bottom: .5rem; }
.form-success p { font-size: .88rem; color: var(--muted); }

/* ── FOOTER ── */
footer { background: var(--navy-dk); color: var(--on-navy); padding: 4rem 2.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; max-width: 1160px; margin: 0 auto 3rem; }
.footer-brand .logo { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 600; color: var(--white); margin-bottom: .9rem; }
.footer-brand .logo span { color: #8FBCA8; }
.footer-brand p { font-size: .82rem; line-height: 1.85; max-width: 230px; color: var(--on-navy); }
.footer-tagline { font-family: 'Fraunces', serif; font-style: italic; font-size: .88rem; color: var(--on-navy); margin-top: .6rem; opacity: .9; }
.footer-col h5 { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: #8FBCA8; margin-bottom: 1.2rem; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { font-size: .83rem; color: var(--on-navy); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1160px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--on-navy); }
.footer-bottom a { color: var(--on-navy); text-decoration: none; }

/* ── MAP SECTION ── */
.map-sec {
  padding: 5rem 2.5rem;
  background: var(--grey);
  border-top: 1px solid var(--rule);
}
.map-sec-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
  align-items: center;
}
.map-copy h2 { margin-bottom: 1rem; }
.map-copy > p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  max-width: 420px;
}
.map-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.map-detail {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.map-detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-top: .45rem;
  flex-shrink: 0;
}
.map-detail strong {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: .15rem;
  font-family: 'Inter', sans-serif;
}
.map-detail span {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.55;
}
.map-visual {
  position: relative;
}
.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 12px;
  display: block;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--rule);
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  transition: color .2s;
}
.map-link:hover { color: var(--navy); }

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 180;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(13, 43, 78, 0.25);
  transition: background .25s, transform .25s;
}
.wa-float:hover {
  background: var(--green);
  transform: translateY(-2px);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
.wa-float span {
  position: absolute;
  right: calc(100% + .65rem);
  white-space: nowrap;
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .4rem .75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .2s, transform .2s;
}
.wa-float:hover span { opacity: 1; transform: translateX(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .ham { display: flex; }
  .mob { display: block; }
  .trust-bar { flex-direction: column; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .trust-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .faq-body { grid-template-columns: 1fr; gap: 0; padding: 3rem 1.5rem; }
  .faq-nav { display: none; }
  .contact-body { grid-template-columns: 1fr; gap: 3rem; padding: 3.5rem 1.5rem; }
  .map-sec-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .member-card,
  .member-grid .member-card:nth-child(5),
  .member-grid .member-card:nth-child(6),
  .member-grid .member-card:nth-child(7) { grid-column: auto; }
}
@media (max-width: 600px) {
  #nav { padding: 0 1.2rem; }
  .sec { padding: 4rem 1.2rem; }
  .page-hero { padding: 3.5rem 1.2rem 3rem; }
  .page-hero .inner { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero-mark { width: 132px; height: 132px; }
  .page-hero-mark img { width: 116px; height: 116px; }
  footer { padding: 3rem 1.2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .cta-band, .contact-band { padding: 3.5rem 1.2rem; }
  .member-grid { grid-template-columns: 1fr; }
  .map-sec { padding: 4rem 1.2rem; }
  .map-frame { height: 280px; }
  .wa-float span { display: none; }
}
