:root {
  --navy: #0b2447;
  --navy-dark: #071a33;
  --emerald: #0f9d6e;
  --emerald-light: #14c88a;
  --whatsapp: #25d366;
  --text: #1c2733;
  --muted: #5b6b7b;
  --bg: #ffffff;
  --bg-soft: #f6f9fb;
  --border: #e7edf2;
  --shadow: 0 10px 30px rgba(11, 36, 71, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 36, 71, 0.14);
  --radius: 18px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.section-eyebrow {
  color: var(--emerald);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  max-width: 600px;
  margin-top: 12px;
  font-size: 1.05rem;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

h1, h2, h3 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  color: #fff;
  box-shadow: 0 10px 25px rgba(15, 157, 110, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(15, 157, 110, 0.45); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(37, 211, 102, 0.42); }

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

.btn-outline-header {
  border: 2px solid var(--emerald);
  color: var(--emerald);
  padding: 9px 18px;
  font-size: 0.9rem;
}
.btn-outline-header:hover { background: var(--emerald); color: #fff; }

.btn-whatsapp-header {
  background: var(--whatsapp);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.22);
}
.btn-whatsapp-header:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37, 211, 102, 0.32); }

.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 36, 71, 0.08);
  border-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--emerald));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.brand-text {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text small { font-weight: 500; color: var(--muted); font-size: 0.7rem; }
.brand-text.light { color: #fff; flex-direction: row; gap: 8px; align-items: center; font-size: 1.15rem; }

.main-nav { display: flex; gap: 36px; }
.nav-link {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--emerald);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--emerald); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(7,26,51,0.92) 25%, rgba(11,36,71,0.75) 55%, rgba(15,157,110,0.55) 100%);
}

.hero-content { padding-top: 80px; max-width: 720px; }
.eyebrow {
  color: var(--emerald-light);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--emerald-light); }
.hero-tagline {
  color: #dfe8f1;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 18px;
  font-weight: 400;
}
.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 40px;
  font-weight: 700;
}
.hero-stat i { color: var(--emerald-light); }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s ease forwards;
}
.hero-actions.fade-in-up { animation-delay: 0.5s; }
.hero-stat.fade-in-up { animation-delay: 0.4s; }
.hero-tagline.fade-in-up { animation-delay: 0.3s; }
.hero h1.fade-in-up { animation-delay: 0.15s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.about-content p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.about-content h2 { margin-bottom: 20px; }

.owner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.owner-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--emerald));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.owner-label { display: block; font-size: 0.8rem; color: var(--muted); }
.owner-card strong { color: var(--navy); font-size: 1.05rem; }

/* Services & Why cards */
.services { background: var(--bg-soft); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.service-card, .why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover, .why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11,36,71,0.08), rgba(15,157,110,0.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--emerald);
  margin-bottom: 22px;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.service-card p, .why-card p { color: var(--muted); font-size: 0.98rem; }

.why-us { background: var(--bg); }
.why-card { text-align: center; }
.why-card i {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 18px;
  display: inline-block;
}
.why-card h3 { margin-bottom: 10px; font-size: 1.15rem; }

/* Contact */
.contact { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
  align-items: stretch;
}
.contact-info-cards { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.info-card i {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--emerald));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.info-label { display: block; font-size: 0.8rem; color: var(--muted); }
.info-card strong { color: var(--navy); font-size: 1rem; }
.info-card strong a:hover { color: var(--emerald); }

.contact-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.contact-cta .btn { flex: 1 1 160px; }

.map-placeholder {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(15,157,110,0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(15,157,110,0.2), transparent 45%);
}
.map-inner { text-align: center; color: #fff; position: relative; z-index: 1; padding: 20px; }
.map-inner i { font-size: 3rem; color: var(--emerald-light); margin-bottom: 20px; }
.map-inner p { font-size: 1.05rem; margin-bottom: 12px; }
.map-note { font-size: 0.85rem; color: #b8c6d6; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #cdd8e3; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 70px 24px 40px;
}
.footer-brand p { margin-top: 14px; color: #9fb1c2; font-size: 0.95rem; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.05rem; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.95rem; color: #b8c6d6; }
.footer-col ul li i { color: var(--emerald-light); margin-right: 8px; width: 16px; }
.footer-col ul li a:hover { color: var(--emerald-light); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
  font-size: 0.85rem;
  color: #8ea0b3;
  flex-wrap: wrap;
  gap: 8px;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--emerald));
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 900;
  font-size: 1.1rem;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media img { height: 320px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
    box-shadow: 0 12px 24px rgba(11,36,71,0.1);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav .nav-link { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .hamburger { display: flex; }
  .header-actions .btn { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 50px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section { padding: 70px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
