@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0C447C;
  --navy-dark: #042C53;
  --navy-light: #185FA5;
  --sky: #378ADD;
  --ice: #E6F1FB;
  --gold: #C9973A;
  --gold-light: #F5E6C8;
  --charcoal: #1A1A2E;
  --gray: #6B7280;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000; padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 38px; height: 38px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-logo-text span:first-child { display: block; font-size: 16px; font-weight: 600; color: var(--navy); font-family: 'Playfair Display', serif; }
.nav-logo-text span:last-child { display: block; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }

.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 13px; font-weight: 500; color: var(--charcoal); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active { border-bottom: 2px solid var(--navy); padding-bottom: 2px; }

.nav-actions { display: flex; gap: 8px; align-items: center; }

.btn-pay { background: var(--gold); color: var(--navy-dark); padding: 7px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-pay:hover { background: #b8862f; }

.nav-cta { background: var(--navy); color: white; padding: 7px 16px; border-radius: 6px; font-size: 12px; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--navy-dark); }

.btn-account { display: flex; align-items: center; gap: 7px; background: var(--ice); color: var(--navy); padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--border); }
.btn-account-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: white; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s; }

.mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 1rem 2rem; flex-direction: column; gap: 0.75rem; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--charcoal); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }

main { padding-top: 64px; min-height: calc(100vh - 64px); }

.hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%); padding: 5rem 2rem 4rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); padding: 6px 16px; border-radius: 20px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.2); position: relative; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem,5vw,3.2rem); color: white; line-height: 1.2; margin-bottom: 1.25rem; position: relative; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 540px; margin: 0 auto 2rem; line-height: 1.7; position: relative; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

.page-hero { background: var(--light); border-bottom: 1px solid var(--border); padding: 3rem 2rem; text-align: center; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); margin-bottom: 0.5rem; }
.page-hero p { color: var(--gray); font-size: 14px; }

.btn-primary { background: var(--gold); color: var(--navy-dark); padding: 12px 28px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; display: inline-block; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.btn-primary:hover { background: #b8862f; transform: translateY(-1px); }

.btn-secondary { background: rgba(255,255,255,0.1); color: white; padding: 12px 28px; border-radius: 6px; font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s; border: 1px solid rgba(255,255,255,0.3); display: inline-block; }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

.section { padding: 3.5rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--navy); font-weight: 600; margin-bottom: 0.5rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem,3vw,2rem); color: var(--charcoal); margin-bottom: 1rem; line-height: 1.3; }
.section-subtitle { font-size: 14px; color: var(--gray); max-width: 540px; line-height: 1.7; }

.stats-bar { background: white; border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-number { font-size: 1.75rem; font-weight: 700; color: var(--navy); font-family: 'Playfair Display', serif; }
.stat-label { font-size: 12px; color: var(--gray); margin-top: 2px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }

.service-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; transition: all 0.25s; text-decoration: none; display: block; color: inherit; }
.service-card:hover { border-color: var(--navy); box-shadow: 0 4px 20px rgba(12,68,124,0.1); transform: translateY(-2px); }
.service-icon { width: 44px; height: 44px; background: var(--ice); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--charcoal); }
.service-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.why-card { background: var(--ice); border-radius: 12px; padding: 1.5rem; border-left: 3px solid var(--navy); }
.why-card h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); border-radius: 16px; padding: 3rem 2rem; text-align: center; margin: 2rem 0; }
.cta-banner h2 { font-family: 'Playfair Display', serif; color: white; font-size: 1.8rem; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; font-size: 14px; }

.divider { height: 1px; background: var(--border); }

.service-full-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 2rem; transition: all 0.25s; }
.service-full-card:hover { border-color: var(--sky); box-shadow: 0 8px 24px rgba(12,68,124,0.08); }
.service-full-card .badge { display: inline-block; background: var(--ice); color: var(--navy); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.service-full-card h3 { font-size: 16px; font-weight: 600; color: var(--charcoal); margin-bottom: 0.75rem; }
.service-full-card p { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }
.service-includes { list-style: none; }
.service-includes li { font-size: 13px; color: var(--charcoal); padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.service-includes li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.package-card { background: white; border: 1.5px solid var(--border); border-radius: 16px; padding: 2rem; position: relative; transition: all 0.25s; }
.package-card.featured { border-color: var(--navy); box-shadow: 0 8px 32px rgba(12,68,124,0.12); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--navy); color: white; font-size: 11px; font-weight: 600; padding: 4px 14px; border-radius: 20px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.package-name { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-bottom: 0.5rem; }
.package-price { font-family: 'Playfair Display', serif; font-size: 2.25rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.package-price span { font-size: 1rem; font-family: 'DM Sans', sans-serif; color: var(--gray); }
.package-desc { font-size: 13px; color: var(--gray); margin-bottom: 1.5rem; line-height: 1.6; }
.package-features { list-style: none; margin-bottom: 1.75rem; }
.package-features li { padding: 7px 0; font-size: 13px; color: var(--charcoal); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.package-features li:last-child { border-bottom: none; }
.check { color: #16A34A; font-weight: 700; }
.cross { color: #9CA3AF; }
.btn-pkg { width: 100%; padding: 11px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; text-align: center; display: block; text-decoration: none; font-family: 'DM Sans', sans-serif; }
.btn-pkg-outline { background: white; color: var(--navy); border: 1.5px solid var(--navy) !important; }
.btn-pkg-outline:hover { background: var(--ice); }
.btn-pkg-filled { background: var(--navy); color: white; }
.btn-pkg-filled:hover { background: var(--navy-dark); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 2rem; }
.about-img { background: linear-gradient(135deg, var(--ice) 0%, #dbeafe 100%); border-radius: 16px; aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--border); }
.avatar-large { width: 80px; height: 80px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; color: white; font-family: 'Playfair Display', serif; margin-bottom: 1rem; }
.about-img p { font-size: 17px; font-weight: 600; color: var(--navy); }
.about-img span { font-size: 13px; color: var(--gray); }
.about-content h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--charcoal); margin-bottom: 1rem; }
.about-content p { font-size: 14px; color: var(--gray); line-height: 1.8; margin-bottom: 1rem; }
.values-list { list-style: none; margin-top: 1.5rem; }
.values-list li { padding: 10px 0; font-size: 13px; color: var(--charcoal); display: flex; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--border); }
.val-icon { width: 28px; height: 28px; border-radius: 6px; background: var(--ice); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; margin-top: 2rem; }
.contact-info h3 { font-size: 17px; font-weight: 600; color: var(--charcoal); margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1.25rem; }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--ice); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item h4 { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-item p { font-size: 14px; color: var(--charcoal); font-weight: 500; margin-top: 2px; }
.whatsapp-btn { display: flex; align-items: center; gap: 10px; background: #25D366; color: white; padding: 12px 20px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; margin-top: 1.5rem; transition: all 0.2s; width: fit-content; }
.whatsapp-btn:hover { background: #1ebe5c; transform: translateY(-1px); }
.contact-form { background: var(--light); border-radius: 16px; padding: 2rem; border: 1px solid var(--border); }
.contact-form h3 { font-size: 17px; font-weight: 600; color: var(--charcoal); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'DM Sans', sans-serif; background: white; color: var(--charcoal); transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 90px; }
.submit-btn { width: 100%; background: var(--navy); color: white; padding: 13px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.submit-btn:hover { background: var(--navy-dark); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.stars { color: #F59E0B; font-size: 16px; margin-bottom: 8px; letter-spacing: 2px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.testimonial-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; position: relative; transition: all 0.25s; }
.testimonial-card:hover { box-shadow: 0 8px 24px rgba(12,68,124,0.08); transform: translateY(-2px); }
.testimonial-card::before { content: '"'; position: absolute; top: 12px; right: 18px; font-size: 52px; color: var(--ice); font-family: 'Playfair Display', serif; line-height: 1; }
.t-text { font-size: 13px; color: var(--gray); line-height: 1.8; margin-bottom: 1.25rem; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: white; flex-shrink: 0; }
.t-name { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.t-biz { font-size: 11px; color: var(--gray); }
.t-tag { display: inline-block; background: var(--ice); color: var(--navy); font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; margin-bottom: 8px; }

footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 2.5rem 2rem; text-align: center; margin-top: 4rem; }
.footer-links { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
footer p { font-size: 12px; line-height: 2; }
footer strong { color: white; }

#wa-float { position: fixed; bottom: 24px; right: 24px; background: #25D366; color: white; text-decoration: none; border-radius: 50px; padding: 13px 20px 13px 15px; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 20px rgba(37,211,102,0.45); z-index: 9999; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; transition: all 0.3s ease; animation: wa-pop 0.4s cubic-bezier(0.175,0.885,0.32,1.275) 1s both; }
#wa-float:hover { background: #1ebe5c; transform: translateY(-2px); }
.wa-label { white-space: nowrap; }
@keyframes wa-pop { from { opacity:0; transform:scale(0.5) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 2rem; }
  #wa-float { padding: 14px; border-radius: 50%; }
  .wa-label { display: none; }
}

@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease forwards; }
.fade-up-1 { animation: fadeUp 0.5s ease 0.1s forwards; opacity:0; }
.fade-up-2 { animation: fadeUp 0.5s ease 0.2s forwards; opacity:0; }

.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--light); }
.auth-card { background: white; border-radius: 20px; border: 1px solid var(--border); padding: 2.5rem; width: 100%; max-width: 420px; }
.tab-bar { display: flex; background: var(--light); border-radius: 10px; padding: 4px; margin-bottom: 1.75rem; }
.tab-btn { flex: 1; padding: 9px; border: none; background: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--gray); font-family: 'DM Sans', sans-serif; transition: all 0.2s; }
.tab-btn.active { background: white; color: var(--navy); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.auth-btn { width: 100%; background: var(--navy); color: white; padding: 13px; border-radius: 8px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.2s; margin-top: 0.5rem; }
.auth-btn:hover { background: var(--navy-dark); }
.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.err-msg { background: #FEE2E2; color: #DC2626; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 1rem; display: none; }
.ok-msg { background: #DCFCE7; color: #16A34A; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 1rem; display: none; }

.dash-header { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); padding: 2rem; color: white; }
.dash-header h1 { font-family: 'Playfair Display',serif; font-size: 1.5rem; margin-bottom: 4px; }
.dash-content { max-width: 1000px; margin: 0 auto; padding: 2rem; }
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1rem; margin-bottom: 2rem; }
.dash-card { background: white; border-radius: 12px; padding: 1.25rem; border: 1px solid var(--border); }
.dash-card .lbl { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.dash-card .val { font-size: 1.4rem; font-weight: 700; color: var(--navy); font-family: 'Playfair Display',serif; }
.dash-card .sub { font-size: 11px; color: var(--gray); margin-top: 2px; }
.panel { background: white; border-radius: 14px; border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1.5rem; }
.panel h3 { font-size: 15px; font-weight: 600; color: var(--charcoal); margin-bottom: 1.25rem; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.due-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 8px; }
.due-row:last-child { border-bottom: none; }
.due-svc { font-size: 13px; font-weight: 500; color: var(--charcoal); }
.due-dt { font-size: 12px; color: var(--gray); }
.pill { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.pill-red { background: #FEE2E2; color: #DC2626; }
.pill-yellow { background: #FEF3C7; color: #92400E; }
.pill-green { background: #DCFCE7; color: #16A34A; }
.pill-gray { background: var(--light); color: var(--gray); }
.empty { text-align: center; padding: 2rem; color: var(--gray); font-size: 13px; }
.logout-btn { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; padding: 7px 14px; border-radius: 6px; font-size: 12px; font-weight: 500; cursor: pointer; font-family: 'DM Sans',sans-serif; transition: all 0.2s; }
.logout-btn:hover { background: rgba(255,255,255,0.25); }
