:root {
  --bg: #f0f7ff;
  --surface: #ffffff;
  --surface-soft: #e8f4f8;
  --ink: #1a2b3c;
  --muted: #64748b;
  --line: #d0e0f0;
  --primary: #0F4C81;
  --primary-dark: #0a3a64;
  --accent: #2E8B57;
  --blue: #0F4C81;
  --green: #2E8B57;
  --pink: #e91e8c;
  --orange: #e67e22;
  --purple: #7c3aed;
  --teal: #0d9488;
  --red: #e74c3c;
  --shadow: 0 12px 30px rgba(15, 76, 129, .1);
  --shadow-sm: 0 6px 16px rgba(15, 76, 129, .07);
  --radius: 8px;
  --container: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-weight: 700;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

/* NAVBAR - Compact */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(220, 232, 242, .8);
}
.navbar.scrolled { box-shadow: 0 4px 16px rgba(15, 45, 70, .06); }
.nav-wrapper { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: grid; line-height: 1; }
.brand-title { font-size: .96rem; }
.brand-sub { color: var(--primary); font-size: .88rem; }
.brand-light .brand-title, .brand-light .brand-sub { color: #fff; }
.nav-menu { display: flex; align-items: center; gap: 16px; font-size: .9rem; font-weight: 700; color: #334155; }
.nav-menu a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; border: 0; background: var(--surface-soft); color: var(--ink); width: 38px; height: 38px; border-radius: var(--radius); font-size: 1rem; }

/* BUTTONS - Compact */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 24px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  font-size: .88rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(15, 76, 129, .25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--line); color: var(--primary); background: #fff; }
.btn-outline:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: .82rem; }
.btn-block { width: 100%; }

/* HERO - Compact */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #f7fbff 0%, #ecfeff 45%, #fff7ed 100%);
  padding: 64px 0 42px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}
.container.hero-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); align-items: center; gap: 40px; }
.badge, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  background: #e8fbf7;
  color: var(--primary-dark);
  border: 1px solid #bdeee7;
  font-size: .78rem;
  font-weight: 800;
  padding: 6px 10px;
}
.badge-sm { padding: 4px 8px; font-size: .72rem; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1.05; letter-spacing: 0; margin: 14px 0 16px; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.6rem); line-height: 1.15; letter-spacing: 0; margin-bottom: 10px; }
h3 { line-height: 1.2; }
.grad-text { color: var(--primary); }
.hero-desc { max-width: 600px; color: var(--muted); font-size: 1rem; margin-bottom: 20px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.stat { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.72); }
.stat h3 { margin: 0; font-size: 1.4rem; color: var(--primary); }
.stat p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.hero-visual { position: relative; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 20px;
  border: 2px solid #cfe4f1;
  box-shadow: 0 20px 25px -5px rgba(15, 45, 70, 0.2);
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--line);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.floating-card i { color: var(--primary); font-size: 1.2rem; }
.floating-card strong, .floating-card span { display: block; line-height: 1.15; }
.floating-card span { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.floating-card strong { font-size: 0.9rem; }

.fc-1 { left: -20px; top: 40px; }
.fc-2 { right: -20px; top: 180px; }
.fc-3 { left: 40px; bottom: 40px; }
.floating-card i { color: var(--primary); font-size: 1.1rem; }
.floating-card strong, .floating-card span { display: block; line-height: 1.15; }
.floating-card span { color: var(--muted); font-size: .74rem; margin-top: 2px; }
.fc-1 { left: -14px; top: 50px; }
.fc-2 { right: -14px; top: 200px; }
.fc-3 { left: 30px; bottom: 30px; }

/* FEATURES - Compact */
.features { padding: 28px 0; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-item, .service-card, .testi-card, .contact-item, .contact-form, .pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.feature-item:hover, .service-card:hover, .testi-card:hover, .pricing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-item { padding: 18px; }
.feature-item h4, .service-card h3, .pricing-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-item p, .service-card p, .form-sub { color: var(--muted); margin-bottom: 0; font-size: .9rem; }
.feature-icon, .service-icon, .contact-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.icon-blue { background: #dbeafe; color: #2563eb; }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-pink { background: #fce7f3; color: #db2777; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-teal { background: #ccfbf1; color: #0f766e; }
.icon-red { background: #fee2e2; color: #dc2626; }

/* SECTIONS - Compact */
.section { padding: 56px 0; background: #fff; }
.section-sm { padding: 42px 0; }
.section-header { text-align: center; margin-bottom: 28px; }
.section-header h2 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); margin-bottom: 10px; }
.section-header p { color: var(--muted); font-size: .95rem; }

/* SERVICES - Compact */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { padding: 20px; }
.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.service-price { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--primary); font-weight: 800; font-size: 1rem; }

/* PRICING - Compact */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pricing-card { position: relative; padding: 20px; display: flex; flex-direction: column; }
.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: #fff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
}
.price-amount { display: flex; align-items: flex-start; gap: 4px; margin: 10px 0 14px; }
.price-amount .curr { color: var(--primary); font-weight: 900; font-size: 1.2rem; }
.price-amount .num { font-size: 2rem; line-height: 1; font-weight: 900; color: var(--ink); }
.pricing-card .price-features { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.pricing-card .price-features li { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.pricing-card .price-features li i { color: var(--green); }
.pricing-card .btn { margin-top: auto; }

/* GALLERY - Compact */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .3s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* TESTIMONIALS - Compact */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial-card { padding: 18px; }
.testimonial-card .stars { color: #f59e0b; margin-bottom: 10px; font-size: .9rem; }
.testimonial-card p { color: #334155; font-size: .92rem; margin-bottom: 14px; line-height: 1.5; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-author img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}
.testimonial-author strong { display: block; font-weight: 700; font-size: .9rem; }
.testimonial-author span { color: var(--muted); font-size: .8rem; }

/* CONTACT - Compact */
.contact-wrapper { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.contact-info { display: grid; gap: 12px; }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; }
.contact-icon { margin: 0; }
.contact-item p { color: var(--muted); margin: 4px 0 0; font-size: .9rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: .88rem; }
.contact-form { padding: 22px; }
.form-group { display: grid; gap: 6px; margin-top: 12px; }
label { font-weight: 700; color: #243449; font-size: .88rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  outline: none;
  font-size: .9rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,143,145,.1); }
textarea { resize: vertical; min-height: 80px; }
.contact-form .btn { margin-top: 14px; }

/* FOOTER - Compact */
.footer { background: #0e2533; color: #d7e5ee; padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.footer-desc { color: #a9becb; max-width: 320px; margin-top: 12px; font-size: .9rem; }
.footer h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer a { color: #c6d8e3; font-size: .9rem; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(255,255,255,.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding: 14px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; padding: 0; color: #9fb5c4; font-size: .86rem; }
.footer-bottom p { margin: 0; }

/* FLOATING WA - Compact */
.float-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(37,211,102,.28);
  font-size: .85rem;
}
.float-wa i { font-size: 1.15rem; }

/* RESPONSIVE - Compact */
@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    inset: 64px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { padding: 8px 12px; font-size: .9rem; }
  .nav-toggle { display: grid; place-items: center; }
  .hero-wrapper, .contact-wrapper { grid-template-columns: 1fr; }
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .hero { padding: 40px 0 30px; }
  .hero-wrapper { gap: 24px; }
  .hero-stats, .services-grid, .pricing-grid, .features-grid, .testimonials-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .floating-card { position: static; margin-top: 8px; }
  .section { padding: 40px 0; }
  .section-sm { padding: 32px 0; }
  .footer-bottom .container { flex-direction: column; }
  .float-wa { right: 12px; bottom: 12px; padding: 10px 12px; font-size: .8rem; }
  .float-wa span { display: none; }
}

/* UTILITY */
.hidden { display: none !important; }

/* UPDATE NAVBAR STYLES - Distinct themes per page */

/* Services Page Navbar */
.navbar-services {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid #14b8a6;
  backdrop-filter: blur(12px);
}

.navbar-services .nav-menu a.active {
  color: #14b8a6;
  border-bottom: 3px solid #14b8a6;
  font-weight: 700;
}

.navbar-services .nav-menu a:hover {
  color: #14b8a6;
}

/* Testimonials Page Navbar */
.navbar-testimonials {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid #db2777;
  backdrop-filter: blur(12px);
}

.navbar-testimonials .nav-menu a.active {
  color: #db2777;
  border-bottom: 3px solid #db2777;
  font-weight: 700;
}

.navbar-testimonials .nav-menu a:hover {
  color: #db2777;
}

/* Gallery Page Navbar */
.navbar-gallery {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid #2563eb;
  backdrop-filter: blur(12px);
}

.navbar-gallery .nav-menu a.active {
  color: #2563eb;
  border-bottom: 3px solid #2563eb;
  font-weight: 700;
}

.navbar-gallery .nav-menu a:hover {
  color: #2563eb;
}

/* Booking Page Navbar */
.navbar-booking {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid #16a34a;
  backdrop-filter: blur(12px);
}

.navbar-booking .nav-menu a.active {
  color: #16a34a;
  border-bottom: 3px solid #16a34a;
  font-weight: 700;
}

.navbar-booking .nav-menu a:hover {
  color: #16a34a;
}
