:root {
  --navy-dark: #0b1f6b;
  --navy: #123099;
  --blue: #1e3eff;
  --blue-light: #eaf0ff;
  --blue-pale: #f4f7ff;
  --green: #25d366;
  --green-dark: #1fb457;
  --gray-900: #1a2436;
  --gray-600: #5b6478;
  --gray-400: #98a2b3;
  --border: #e3e8f2;
  --white: #ffffff;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 32, 80, 0.08);
  --shadow-md: 0 12px 30px rgba(15, 32, 80, 0.16);
  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', 'Georgia', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--navy-dark); }
.hero-home-content h1, .page-hero-content h1, .section-title, .vmv-card h2 { font-family: var(--font-display); font-weight: 900; }
svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1531c9; }
.btn-call { background: #fff; color: var(--navy-dark); border: 1px solid var(--border); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: var(--green-dark); }
.btn-email { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.4); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 104px; width: auto; display: block; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: var(--navy-dark);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); border-bottom-color: var(--blue); }

.header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--blue); }
.phone-icon-circle { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; }
.phone-icon-circle svg { width: 15px; height: 15px; }
.header-email { font-size: 0.76rem; color: var(--gray-600); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: var(--navy-dark); border-radius: 2px; }

/* ---------- Home hero ---------- */
.hero-home { position: relative; min-height: 86vh; display: flex; align-items: center; justify-content: center; background: url('assets/hero.jpg') center center / cover no-repeat; padding: 60px 24px; }
.hero-home-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,31,107,0.92) 0%, rgba(30,62,255,0.8) 100%); }
.hero-home-content { position: relative; z-index: 1; max-width: 680px; width: 100%; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; }
.hero-home-content .tagline { font-family: var(--font-head); font-weight: 700; letter-spacing: 2px; font-size: 0.85rem; color: rgba(255,255,255,0.85); margin: 0 0 14px; }
.hero-home-content h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.15; color: #fff; margin: 0 0 16px; }
.hero-home-content p.lead { font-size: 1.05rem; color: rgba(255,255,255,0.85); margin: 0 0 32px; max-width: 50ch; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; padding: 90px 24px 60px; background: url('assets/hero.jpg') center 30% / cover no-repeat; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,31,107,0.94) 0%, rgba(30,62,255,0.85) 100%); }
.page-hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; text-align: center; color: #fff; }
.page-hero-content h1 { color: #fff; font-size: 2.2rem; font-weight: 800; margin: 0 0 12px; }
.page-hero-content p { color: rgba(255,255,255,0.85); margin: 0; font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--blue-pale); }
.section-title { text-align: center; font-size: 1.8rem; font-weight: 800; letter-spacing: 0.3px; margin-bottom: 14px; }
.section-lead { text-align: center; color: var(--gray-600); font-size: 0.98rem; max-width: 60ch; margin: 0 auto 44px; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 22px; text-align: center; transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 18px; }
.icon-circle svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.2px; margin-bottom: 10px; }
.service-card p { font-size: 0.86rem; color: var(--gray-600); margin: 0; }

.service-card:has(.service-card-img) { padding: 0; overflow: hidden; }
.service-card-img { position: relative; height: 160px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-badge {
  position: absolute;
  bottom: -24px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
}
.service-card-badge svg { width: 24px; height: 24px; }
.service-card-body { padding: 36px 22px 28px; text-align: center; }
.service-card-body h3 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.2px; margin-bottom: 10px; }
.service-card-body p { font-size: 0.86rem; color: var(--gray-600); margin: 0; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-dark); padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.trust-item h3 { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.trust-item p { color: rgba(255,255,255,0.72); font-size: 0.88rem; margin: 0; }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-light); color: var(--blue); margin-bottom: 16px; }
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.86rem; color: var(--gray-600); margin: 0; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.review-stars { display: flex; gap: 3px; color: #f5a623; }
.review-stars svg { width: 16px; height: 16px; }
.review-quote { color: var(--gray-600); font-size: 0.9rem; font-style: italic; margin: 0; flex-grow: 1; }
.review-name { font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--navy-dark); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.about-copy h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 18px; }
.about-copy p { color: var(--gray-600); font-size: 0.96rem; margin: 0 0 16px; }
.about-copy .area-line { font-weight: 700; color: var(--navy-dark); }

/* ---------- Vision / Mission / Values ---------- */
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vmv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; }
.vmv-card h2 { font-size: 1.4rem; margin-bottom: 14px; }
.vmv-card p { color: var(--gray-600); font-size: 0.92rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 320px; object-fit: cover; }
.gallery-caption { padding: 14px 18px; font-size: 0.88rem; color: var(--gray-600); font-weight: 600; }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--border); }
.video-item video { width: 100%; height: 320px; object-fit: cover; display: block; background: #000; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--blue); padding: 50px 0; text-align: center; }
.cta-banner h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.cta-banner .hero-buttons { justify-content: center; }
.cta-banner .btn-primary { background: #fff; color: var(--blue); }
.cta-banner .btn-primary:hover { background: var(--blue-light); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.8rem; font-weight: 600; color: var(--gray-900); }
.form-field input, .form-field textarea {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: #fbfcff;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 62, 255, 0.15);
  outline: none;
  background: #fff;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  display: none;
  background: var(--blue-light);
  border: 1px solid #cddffb;
  color: var(--navy-dark);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-success.visible { display: block; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info-card { background: var(--blue-pale); border-radius: var(--radius); padding: 26px; }
.contact-info-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; }
.contact-info-card p { color: var(--gray-600); font-size: 0.9rem; margin: 0 0 16px; }

.map-embed { width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.85); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-logo .logo-img { height: 44px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin: 14px 0 0; }
.footer-col h4 { color: #9db4ff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.6px; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; }
.footer-contact svg { width: 16px; height: 16px; margin-top: 2px; color: #9db4ff; }
.footer-contact a:hover { color: #fff; }
.footer-area { font-size: 0.86rem; color: rgba(255,255,255,0.75); margin: 0; }
.footer-bottom { padding: 20px 0; text-align: center; background: #071230; margin-top: 0; }
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-credit { margin: 6px 0 0; font-size: 0.76rem; color: rgba(255,255,255,0.45); }
.footer-credit a { color: rgba(255,255,255,0.7); font-weight: 600; }
.footer-credit a:hover { color: #fff; }

/* ---------- Floating action buttons ---------- */
.fab-container {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 32, 80, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fab-btn svg { width: 26px; height: 26px; }
.fab-btn:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(15, 32, 80, 0.38); }
.fab-call { background: var(--blue); }
.fab-whatsapp { background: var(--green); animation: fab-pulse 2.4s infinite; }

@keyframes fab-pulse {
  0% { box-shadow: 0 8px 20px rgba(15, 32, 80, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 8px 20px rgba(15, 32, 80, 0.3), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 20px rgba(15, 32, 80, 0.3), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp { animation: none; }
}

@media (max-width: 640px) {
  .fab-container { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .fab-btn { width: 52px; height: 52px; }
  .fab-btn svg { width: 24px; height: 24px; }
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger.in-view { transition-delay: calc(var(--stagger-index, 0) * 80ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero-home-content > * { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-home-content .tagline { animation-delay: 0.05s; }
.hero-home-content h1 { animation-delay: 0.15s; }
.hero-home-content p.lead { animation-delay: 0.25s; }
.hero-home-content .hero-buttons { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .hero-home-content > * { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-contact { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 20px; }
  .vmv-grid { grid-template-columns: 1fr; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px 22px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-home-content h1 { font-size: 2.1rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .page-hero-content h1 { font-size: 1.7rem; }
}
