/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

@media (min-width: 769px) {
  .container { padding: 0 40px; }
}

/* ===== Typography ===== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0a4d68;
  margin-bottom: 14px;
  position: relative;
}
.section-label::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #d4a854, #f0c978);
  margin-top: 10px;
}
.section-header .section-label::after { margin-left: auto; margin-right: auto; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #0f2b46;
}

/* ===== Header / Nav ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 77, 104, 0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
@media (min-width: 769px) {
  nav { padding: 0 40px; }
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0a4d68;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 3;
}
.logo span { color: #d4a854; font-weight: 700; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a4d68, #3b82f6);
  transition: width 0.3s;
}
.nav-links a:hover { color: #0a4d68; }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-auth-link {
  background: linear-gradient(135deg, #0a4d68, #165e7e);
  color: #fff;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s;
}
.nav-links .nav-auth-link::after { display: none; }
.nav-links .nav-auth-link:hover {
  background: linear-gradient(135deg, #083d55, #0a4d68);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(10, 77, 104, 0.25);
}

/* Header scrolled */
header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  position: relative;
  z-index: 3;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: #0f2b46;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.99);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.4s ease, opacity 0.25s ease, transform 0.4s ease, visibility 0s linear 0.4s;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    z-index: 999;
  }
  .nav-links.open {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: max-height 0.4s ease, opacity 0.25s ease, transform 0.4s ease;
  }
  .nav-links .nav-auth-link {
    display: inline-block;
    text-align: center;
  }
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  background: linear-gradient(160deg, #f0f9ff 0%, #f8fafc 30%, #fefce8 70%, #f0fdf4 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 77, 104, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 84, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
}
.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  background: linear-gradient(135deg, rgba(10, 77, 104, 0.06), rgba(212, 168, 84, 0.06));
  border: 1.5px solid rgba(10, 77, 104, 0.12);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0a4d68;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #0f2b46;
  letter-spacing: -0.5px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #0a4d68, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #475569;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 10px 36px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  background: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hero-features i { color: #0a4d68; font-size: 0.85rem; }
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #0a4d68, #165e7e);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10, 77, 104, 0.3); }
.btn-outline {
  background: transparent;
  color: #0f2b46;
  border: 2px solid #cbd5e1;
}
.btn-outline:hover { border-color: #0a4d68; color: #0a4d68; transform: translateY(-2px); }
.btn-whatsapp { background: #0d9488; color: #fff; }
.btn-whatsapp:hover { background: #0f766e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3); }
.btn-phone { background: #2563eb; color: #fff; }
.btn-phone:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3); }
.btn-ghost {
  background: #fff;
  color: #334155;
  border: 2px solid #e2e8f0;
  font-weight: 600;
}
.btn-ghost:hover {
  color: #0a4d68;
  border-color: #0a4d68;
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(10, 77, 104, 0.1);
}

/* ===== Sections shared ===== */
section { padding: 100px 0; }
section:nth-child(even) { background: #fff; }
section:nth-child(odd) { background: #f8fafc; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header p { color: #64748b; max-width: 620px; margin: 0 auto; font-size: 1rem; line-height: 1.7; }

/* ===== Company ===== */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.company-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; color: #0f2b46; font-weight: 800; }
.company-text p { color: #475569; margin-bottom: 18px; font-size: 0.95rem; line-height: 1.8; }
.company-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.company-stats .stat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.company-stats .stat-card:hover {
  border-color: #0a4d68;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(10, 77, 104, 0.08);
}
.stat-card .number { font-size: 1.9rem; font-weight: 800; color: #0a4d68; }
.stat-card .label { font-size: 0.82rem; color: #64748b; margin-top: 6px; font-weight: 600; }
.process-strip {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  gap: 8px;
  flex-wrap: wrap;
}
.process-strip .step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}
.process-strip .step i {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 77, 104, 0.08);
  color: #0a4d68;
  border-radius: 10px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .company-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 77, 104, 0.1);
  border-color: rgba(10, 77, 104, 0.2);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e2e8f0;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-body { padding: 28px; }
.service-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: #0f2b46; }
.service-card-body p { font-size: 0.9rem; color: #64748b; line-height: 1.7; }

@media (max-width: 992px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 45px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #0a4d68, rgba(10, 77, 104, 0.15));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-step .step-num {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0a4d68;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.process-step:hover .step-num {
  border-color: #0a4d68;
  box-shadow: 0 0 0 8px rgba(10, 77, 104, 0.06);
  background: #f0f9ff;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f2b46;
  position: relative;
  z-index: 1;
}
.process-step p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.7;
  max-width: 240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid::before { display: none; }
}
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== Why Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.03);
  transition: all 0.3s;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 77, 104, 0.25);
  box-shadow: 0 16px 36px rgba(10, 77, 104, 0.1);
}
.why-card .icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(10, 77, 104, 0.06), rgba(212, 168, 84, 0.08));
  color: #0a4d68;
  font-size: 1.4rem;
  border-radius: 16px;
  transition: all 0.3s;
}
.why-card:hover .icon {
  background: linear-gradient(135deg, #0a4d68, #165e7e);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(10, 77, 104, 0.2);
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: #0f2b46; }
.why-card p { font-size: 0.88rem; color: #64748b; line-height: 1.7; }

@media (max-width: 992px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 16px; color: #0f2b46; }
.contact-info p { color: #64748b; font-size: 0.92rem; margin-bottom: 28px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.contact-item:hover {
  border-color: #0a4d68;
  background: #f0f9ff;
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(10, 77, 104, 0.08);
}
.contact-item .icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
}
.contact-item .icon.whatsapp { background: rgba(13, 148, 136, 0.1); color: #0d9488; }
.contact-item .icon.phone { background: rgba(37, 99, 235, 0.08); color: #2563eb; }
.contact-item .icon.email { background: rgba(10, 77, 104, 0.08); color: #0a4d68; }
.contact-item .icon.location { background: rgba(212, 168, 84, 0.12); color: #b8860b; }
.contact-item .info { flex: 1; }
.contact-item .info .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: #94a3b8; font-weight: 700; }
.contact-item .info .value { font-size: 0.92rem; color: #1e293b; font-weight: 600; margin-top: 3px; }
.contact-item a { color: #1e293b; }
.contact-item a:hover { color: #0a4d68; }

@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
footer {
  background: #0f2b46;
  padding: 44px 20px 40px;
  color: #94a3b8;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.footer-brand .logo { font-size: 1rem; color: #e2e8f0; }
.footer-brand .logo span { color: #d4a854; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.85rem; color: #94a3b8; transition: color 0.3s; font-weight: 500; }
.footer-links a:hover { color: #d4a854; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: #64748b;
}
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  transition: color 0.3s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.back-top:hover { color: #d4a854; }

/* ===== Lame Sunday D Ventures visual identity ===== */
:root {
  --ink: #20234f;
  --ink-deep: #151735;
  --coral: #ed6a5a;
  --coral-light: #fff0ed;
  --mint: #1b998b;
  --paper: #fffdfa;
  --line: #e6e3ef;
}
body { background: #f7f6fb; color: #32354f; }
.section-label { color: var(--coral); letter-spacing: 2.2px; }
.section-label::after { width: 34px; height: 4px; background: var(--coral); border-radius: 4px; }
.section-title, .company-text h2, .service-card-body h3, .process-step h3, .why-card h3, .contact-info h3, .legal-page .page-header h1 {
  color: var(--ink);
}
.section-title, .hero h1 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; letter-spacing: 0; }
header { background: rgba(255, 253, 250, 0.94); border-bottom-color: rgba(32, 35, 79, 0.09); }
.logo { color: var(--ink); letter-spacing: -0.7px; }
.logo span { color: var(--coral); }
.nav-links a { color: #555874; }
.nav-links a:hover { color: var(--coral); }
.nav-links a::after { background: var(--coral); height: 3px; border-radius: 0; }
.nav-links .nav-auth-link { background: var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--coral); }
.nav-links .nav-auth-link:hover { background: var(--ink-deep); box-shadow: 5px 5px 0 var(--coral); }
.hero { min-height: 92vh; background: linear-gradient(118deg, #fff6f1 0%, #fffdfa 48%, #f1f5ff 100%); }
.hero::before { width: 620px; height: 620px; top: -220px; right: -120px; border-radius: 28% 72% 54% 46% / 44% 36% 64% 56%; background: #dbe4ff; opacity: 0.48; }
.hero::after { width: 420px; height: 420px; bottom: -180px; left: -120px; border-radius: 68% 32% 54% 46% / 46% 59% 41% 54%; background: #ffe0d9; opacity: 0.72; }
.hero-bg img { opacity: 0.035; mix-blend-mode: multiply; }
.hero-badge { color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 6px; box-shadow: 5px 5px 0 var(--coral); letter-spacing: 1.5px; }
.hero h1 { color: var(--ink); font-size: clamp(2.8rem, 6vw, 4.7rem); }
.hero h1 .highlight { background: none; -webkit-text-fill-color: initial; color: var(--coral); font-style: italic; }
.hero p { color: #5d6078; }
.hero-features span { border-radius: 6px; border: 1px solid var(--line); box-shadow: none; background: rgba(255, 253, 250, 0.88); }
.hero-features i { color: var(--coral); }
.btn { border-radius: 6px; }
.btn-whatsapp { background: var(--mint); }
.btn-whatsapp:hover { background: #147b70; }
.btn-phone { background: var(--ink); }
.btn-phone:hover { background: var(--ink-deep); }
.btn-ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--coral); border-color: var(--coral); background: var(--paper); }
section:nth-child(even) { background: var(--paper); }
section:nth-child(odd) { background: #f7f6fb; }
.service-card, .why-card, .company-stats .stat-card, .contact-item, .legal-section { border-color: var(--line); border-radius: 6px 22px 6px 22px; box-shadow: 6px 6px 0 rgba(32, 35, 79, 0.045); }
.service-card:hover, .why-card:hover, .company-stats .stat-card:hover { border-color: var(--coral); box-shadow: 9px 10px 0 rgba(237, 106, 90, 0.16); }
.service-card-img { border-bottom-color: var(--line); }
.company-stats .stat-card:hover { transform: translate(-2px, -4px); }
.stat-card .number { color: var(--coral); }
.process-grid::before { background: repeating-linear-gradient(90deg, var(--coral) 0 8px, transparent 8px 14px); height: 3px; }
.process-step .step-num { border-color: var(--ink); border-radius: 8px; color: var(--ink); box-shadow: 5px 5px 0 var(--coral); }
.process-step:hover .step-num { border-color: var(--coral); background: var(--coral-light); box-shadow: 7px 7px 0 var(--ink); }
.why-card .icon { border-radius: 50% 50% 50% 8px; background: var(--coral-light); color: var(--coral); }
.why-card:hover .icon { background: var(--coral); box-shadow: 4px 4px 0 var(--ink); }
.process-strip .step i { border-radius: 50%; background: var(--coral-light); color: var(--coral); }
.contact-item:hover { border-color: var(--coral); background: #fff9f7; box-shadow: 6px 6px 0 rgba(237, 106, 90, 0.12); }
.contact-item .icon { border-radius: 50% 50% 50% 7px; }
.contact-item .icon.email { background: #e7ebff; color: var(--ink); }
.contact-item .icon.location { background: var(--coral-light); color: var(--coral); }
.contact-item a:hover { color: var(--coral); }
footer { background: var(--ink-deep); }
.footer-brand .logo span, .footer-links a:hover, .back-top:hover { color: var(--coral); }
.footer-legal a { border-radius: 5px 18px 5px 18px; }
.footer-legal a:hover { border-color: var(--coral); color: var(--coral); }
.legal-section h2 { color: var(--coral); }
.legal-section ul li::before { background: var(--coral); border-radius: 50%; }
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 150px 0 100px; }
  .hero-badge { font-size: 0.67rem; padding: 7px 14px; }
}

/* ===== Footer Legal Links ===== */
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 44px 0;
  margin-bottom: 24px;
  min-height: 200px;
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 52px;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: all 0.3s;
  min-width: 280px;
}
.footer-legal a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(212, 168, 132, 0.5);
  color: #d4a854;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 168, 84, 0.12);
}
.footer-legal a i { font-size: 1.1rem; }

@media (max-width: 576px) {
  .footer-legal { gap: 14px; }
  .footer-legal a { padding: 15px 36px; font-size: 1rem; min-width: 240px; }
}

/* ===== Legal Pages (Privacy Policy, Terms of Service) ===== */
.legal-page {
  padding-top: calc(72px + 64px);
  padding-bottom: 64px;
  background: #f8fafc;
}
.legal-page .page-header {
  text-align: center;
  margin-bottom: 52px;
}
.legal-page .page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #0f2b46;
  margin-bottom: 10px;
}
.legal-page .page-header .last-updated {
  font-size: 0.88rem;
  color: #64748b;
}
.legal-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.legal-section:hover {
  border-color: rgba(10, 77, 104, 0.2);
  box-shadow: 0 6px 24px rgba(10, 77, 104, 0.06);
}
.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a4d68;
  margin-bottom: 18px;
}
.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f2b46;
  margin-bottom: 12px;
  margin-top: 22px;
}
.legal-section h3:first-child { margin-top: 0; }
.legal-section p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
}
.legal-section ul li {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #d4a854;
}
.legal-section .contact-block {
  background: #f0f9ff;
  border: 1px solid rgba(10, 77, 104, 0.1);
  border-radius: 12px;
  padding: 22px 28px;
  margin-top: 14px;
}
.legal-section .contact-block p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}
.legal-section .contact-block a {
  color: #0a4d68;
  font-weight: 600;
}
.legal-section .contact-block a:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .legal-section { padding: 28px 22px; }
  .legal-page { padding-top: calc(72px + 40px); }
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Auth Pages (Login & Register) ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  background: linear-gradient(160deg, #f0f9ff 0%, #f8fafc 40%, #fefce8 80%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(ellipse at 25% 25%, rgba(10, 77, 104, 0.04) 0%, transparent 50%),
              radial-gradient(ellipse at 75% 75%, rgba(212, 168, 84, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Force auth pages visible */
.auth-page .fade-up,
.auth-page .auth-split.fade-up {
  opacity: 1;
  transform: translateY(0);
}

/* Split layout */
.auth-split {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 1020px;
  min-height: 620px;
  margin: 40px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(10, 77, 104, 0.08);
}
.auth-split .auth-brand {
  flex: 0 0 45%;
  background: linear-gradient(160deg, #0f2b46 0%, #0a4d68 50%, #165e7e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.auth-split .auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 168, 84, 0.08) 0%, transparent 70%);
}
.auth-split .auth-brand > * { position: relative; z-index: 1; }
.auth-split .auth-brand .brand-logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
}
.auth-split .auth-brand .brand-logo span { color: #d4a854; }
.auth-split .auth-brand h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 14px;
}
.auth-split .auth-brand p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 280px;
}
.auth-split .auth-brand .brand-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.auth-split .auth-brand .brand-features .bf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #cbd5e1;
}
.auth-split .auth-brand .brand-features .bf-item i {
  color: #d4a854;
  font-size: 0.85rem;
  width: 22px;
  text-align: center;
}
.auth-split .auth-form-wrap {
  flex: 0 0 55%;
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-split .auth-form-wrap h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f2b46;
  margin-bottom: 8px;
}
.auth-split .auth-form-wrap .auth-subtitle {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* Centered card (fallback / mobile) */
.auth-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 40px 24px;
}
.auth-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 52px 44px;
  box-shadow: 0 8px 40px rgba(10, 77, 104, 0.06);
}
.auth-card .auth-logo {
  text-align: center;
  margin-bottom: 36px;
}
.auth-card .auth-logo a {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0a4d68;
  letter-spacing: -0.3px;
}
.auth-card .auth-logo a span { color: #d4a854; }
.auth-card h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f2b46;
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .auth-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 0.92rem;
  margin-bottom: 34px;
}

/* ----- Auth shared styles ----- */
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-group .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.form-group .input-wrapper > i:first-child {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 1;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 46px 13px 44px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.92rem;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-group input::placeholder { color: #94a3b8; }
.form-group select {
  appearance: none;
  cursor: pointer;
}
.form-group select option { background: #fff; color: #1e293b; }
.form-group .select-arrow {
  position: absolute;
  right: 16px;
  color: #94a3b8;
  font-size: 0.7rem;
  pointer-events: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #0a4d68;
  box-shadow: 0 0 0 4px rgba(10, 77, 104, 0.08);
  background: #fff;
}
.form-group input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.06);
}
.form-group .field-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 2px;
  display: none;
  font-weight: 500;
}
.form-group.error .field-error { display: block; }
.form-group.error .input-wrapper > i:first-child { color: #ef4444; }

/* Password toggle */
.password-toggle {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.95rem;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1;
  transition: color 0.2s;
}
.password-toggle:hover { color: #475569; }

/* Password strength meter */
.password-strength { margin-top: 8px; }
.password-strength .strength-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.password-strength .strength-bar .segment {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: #e2e8f0;
  transition: background 0.3s;
}
.password-strength .strength-bar .segment.weak { background: #ef4444; }
.password-strength .strength-bar .segment.medium { background: #f59e0b; }
.password-strength .strength-bar .segment.strong { background: #0a4d68; }
.password-strength .strength-text { font-size: 0.75rem; color: #94a3b8; font-weight: 500; }
.password-strength .strength-text.weak { color: #ef4444; }
.password-strength .strength-text.medium { color: #f59e0b; }
.password-strength .strength-text.strong { color: #0a4d68; }

/* Form row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Form options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.form-options label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475569;
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.form-options input[type="checkbox"] {
  accent-color: #0a4d68;
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.form-options a {
  color: #0a4d68;
  font-weight: 700;
  transition: color 0.3s;
}
.form-options a:hover { color: #165e7e; }

/* Submit button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: linear-gradient(135deg, #0a4d68, #165e7e);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  width: 100%;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10, 77, 104, 0.35);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit.loading { pointer-events: none; opacity: 0.7; }
.btn-submit.loading .btn-spinner { display: inline-block; }
.btn-submit .btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Social login buttons */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  width: 100%;
}
.btn-social:hover {
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.btn-social.google { color: #334155; }
.btn-social.google i { color: #4285F4; }
.btn-social.apple { color: #334155; }
.btn-social.apple i { color: #1e293b; }
.btn-social.phone { color: #334155; }
.btn-social.phone i { color: #0a4d68; }

/* Auth divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* Auth switch */
.auth-switch {
  text-align: center;
  font-size: 0.92rem;
  color: #64748b;
  margin-top: 28px;
}
.auth-switch a {
  color: #0a4d68;
  font-weight: 700;
  transition: color 0.3s;
}
.auth-switch a:hover { color: #165e7e; }

/* Auth legal links */
.auth-legal-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}
.auth-legal-links a {
  font-size: 0.82rem;
  color: #94a3b8;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.auth-legal-links a:hover { color: #0a4d68; }
.auth-legal-links a i { font-size: 0.75rem; }

/* ===== Responsive: Auth ===== */
@media (min-width: 769px) {
  .auth-split .auth-form-wrap { display: flex; }
}
@media (max-width: 768px) {
  .auth-split {
    flex-direction: column;
    max-width: 480px;
    min-height: auto;
  }
  .auth-split .auth-brand {
    flex: none;
    padding: 44px 36px;
  }
  .auth-split .auth-brand .brand-features { display: none; }
  .auth-split .auth-form-wrap {
    flex: none;
    padding: 40px 36px;
  }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .auth-card { padding: 40px 28px; }
  .auth-split .auth-brand { padding: 36px 28px; }
  .auth-split .auth-form-wrap { padding: 36px 28px; }
  .auth-legal-links { flex-direction: column; align-items: center; gap: 14px; }
}

/* ===== Responsive ===== */

/* PC: center Contact */
@media (min-width: 769px) {
  #contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  #contact .container { width: 100%; }
  .contact-wrap {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-bg img {
    width: calc(100% + 422px);
    max-width: none;
    height: 100%;
    object-position: left center;
    position: absolute;
    top: 0;
    left: -422px;
  }
}

@media (max-width: 576px) {
  section { padding: 64px 0; }
  .hero h1 { font-size: 1.9rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-features { flex-direction: column; align-items: center; }
  .process-strip { display: none; }
  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: flex-start;
    gap: 10px 24px;
  }
}
