/* ── SHARED STYLES: Ninomi Free Water ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #EEF6FF;
  --blue:        #2B8BE0;
  --blue-dark:   #1560B0;
  --blue-deeper: #0D3F7A;
  --green:       #3DAB72;
  --green-dark:  #267A50;
  --text:        #111827;
  --text-mid:    #374151;
  --text-muted:  #6B7280;
  --white:       #ffffff;
  --border:      #D9EAFC;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.13);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px; display: flex; align-items: center; padding: 0 48px; gap: 0;
  transition: background 0.35s, box-shadow 0.35s;
}
#nav.solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
}
#nav.always-solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #2B8BE0, #3DAB72);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.nav-logo-text { font-size: 1.05rem; font-weight: 800; color: var(--white); letter-spacing: -0.3px; transition: color 0.35s; }
#nav.solid .nav-logo-text,
#nav.always-solid .nav-logo-text { color: var(--text); }

.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; margin-right: 24px; }
.nav-links a {
  text-decoration: none; font-size: 0.9rem; font-weight: 600;
  color: rgba(255,255,255,0.82); padding: 7px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-links a.active { color: var(--white); }
#nav.solid .nav-links a,
#nav.always-solid .nav-links a { color: var(--text-muted); }
#nav.solid .nav-links a:hover,
#nav.always-solid .nav-links a:hover { color: var(--blue); background: rgba(43,139,224,0.08); }
#nav.solid .nav-links a.active,
#nav.always-solid .nav-links a.active { color: var(--blue); font-weight: 700; }

.nav-cta-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.16); border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--white) !important; font-size: 0.88rem; font-weight: 700;
  padding: 9px 20px; border-radius: 100px; text-decoration: none;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(8px);
}
#nav.solid .nav-cta-btn,
#nav.always-solid .nav-cta-btn {
  background: var(--blue); border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(43,139,224,0.3);
}
.nav-cta-btn:hover { background: var(--blue-dark) !important; border-color: var(--blue-dark) !important; }

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 120px 48px 72px;
  background: linear-gradient(160deg, var(--blue-deeper) 0%, #1560B0 60%, #1a7ac8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 60%, rgba(255,255,255,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; padding: 6px 16px;
  border-radius: 100px; margin-bottom: 22px; backdrop-filter: blur(8px);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800;
  color: var(--white); line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,0.78); line-height: 1.65; max-width: 520px; margin: 0 auto;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 28px; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.9); }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 48px; }
.section-white { background: var(--white); }
.section-bg { background: var(--bg); }

.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 700;
  color: var(--text); line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 14px;
}
.section-lead { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 700; border-radius: 100px; text-decoration: none; transition: transform 0.22s, box-shadow 0.22s, background 0.22s; cursor: pointer; border: none; }
.btn-blue { background: var(--blue); color: var(--white); font-size: 0.95rem; padding: 13px 28px; box-shadow: 0 6px 20px rgba(43,139,224,0.3); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(43,139,224,0.38); }
.btn-green { background: var(--green); color: var(--white); font-size: 0.95rem; padding: 13px 28px; box-shadow: 0 6px 20px rgba(61,171,114,0.3); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue); font-size: 0.9rem; padding: 11px 24px; border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--blue); background: rgba(43,139,224,0.05); }
.btn-lg { font-size: 1.05rem; padding: 16px 38px; }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ── FOOTER ── */
footer { background: #08142a; color: rgba(255,255,255,0.55); padding: 64px 48px 36px; }
.footer-top { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer-brand-col h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--white); margin-bottom: 12px; }
.footer-brand-col p { font-size: 0.88rem; line-height: 1.75; max-width: 280px; }
.footer-brand-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; background: rgba(43,139,224,0.18); border: 1px solid rgba(43,139,224,0.3); color: #7dd8ff; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; padding: 6px 14px; border-radius: 100px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.footer-col a:hover { color: #7dd8ff; }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.75); }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  #nav { padding: 0 24px; }
  .nav-links { display: none; }
  .section, .page-hero { padding-left: 24px; padding-right: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 48px 24px 32px; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ── ACCOUNT BUTTON IN NAV ── */
.nav-account-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  padding: 8px 16px; border-radius: 100px;
  cursor: pointer; margin-right: 10px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.nav-account-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
#nav.solid .nav-account-btn,
#nav.always-solid .nav-account-btn { border-color: var(--border); color: var(--text-muted); }
#nav.solid .nav-account-btn:hover,
#nav.always-solid .nav-account-btn:hover { background: rgba(43,139,224,0.08); color: var(--blue); border-color: rgba(43,139,224,0.3); }

/* ── AUTH MODAL ── */
.auth-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8,20,42,0.65); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.auth-overlay.open { opacity: 1; visibility: visible; }

.auth-modal {
  background: #fff; border-radius: 28px;
  width: 100%; max-width: 460px;
  padding: 44px 40px; position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  transform: translateY(20px); transition: transform 0.35s;
}
.auth-overlay.open .auth-modal { transform: translateY(0); }

.auth-close {
  position: absolute; top: 18px; right: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: #f3f4f6; color: #6b7280;
  font-size: 1.2rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.auth-close:hover { background: #e5e7eb; color: #111; }

.auth-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
}
.auth-brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #2B8BE0, #3DAB72);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.auth-brand-text { font-size: 0.95rem; font-weight: 800; color: var(--text); }

.auth-tabs {
  display: flex; background: #f3f4f6; border-radius: 12px;
  padding: 4px; margin-bottom: 28px;
}
.auth-tab {
  flex: 1; padding: 10px; border: none; background: transparent;
  border-radius: 9px; font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.auth-tab.active { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

.auth-form-group { margin-bottom: 16px; }
.auth-label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-mid); margin-bottom: 7px; }
.auth-input, .auth-select {
  width: 100%; padding: 12px 15px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--bg);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.auth-input:focus, .auth-select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,139,224,0.12); background: #fff;
}
.auth-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.auth-submit {
  width: 100%; padding: 14px; border-radius: 12px; border: none;
  background: var(--blue); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 800;
  cursor: pointer; margin-top: 6px;
  box-shadow: 0 6px 20px rgba(43,139,224,0.3);
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.auth-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(43,139,224,0.38); }

.auth-divider { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin: 16px 0; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%; width: 44%; height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }

.auth-switch { text-align: center; margin-top: 18px; font-size: 0.85rem; color: var(--text-muted); }
.auth-switch a { color: var(--blue); font-weight: 700; text-decoration: none; cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }

.auth-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 0.75rem; color: var(--text-muted); }

.auth-success { text-align: center; padding: 20px 0; }
.auth-success-icon { font-size: 3rem; display: block; margin-bottom: 14px; }
.auth-success h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--text); margin-bottom: 10px; }
.auth-success p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 480px) {
  .auth-modal { padding: 32px 24px; }
  .auth-input-row { grid-template-columns: 1fr; }
}

/* ── WHATSAPP FLOATING BUTTON ── */
#wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 13px 20px 13px 16px;
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.40), 0 2px 8px rgba(0,0,0,0.15);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  white-space: nowrap;
}
#wa-float:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(37,211,102,0.50), 0 4px 12px rgba(0,0,0,0.18);
}
#wa-float:active {
  transform: translateY(-1px) scale(1.01);
}
.wa-label { line-height: 1; }

/* On mobile: icon only, keep big tap target */
@media (max-width: 540px) {
  #wa-float {
    bottom: 20px;
    right: 16px;
    padding: 16px;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    justify-content: center;
  }
  .wa-label { display: none; }
}
