:root {
  --navy: #0f2438;
  --navy-deep: #0a1a29;
  --blue: #1e6fa8;
  --blue-light: #4fa8e0;
  --sky: #eaf5fc;
  --orange: #e6791f;
  --orange-dark: #c9631a;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --ink: #1b2733;
  --ink-soft: #4a5a68;
  --paper: #ffffff;
  --paper-soft: #f5f8fa;
  --border: #e1e8ed;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(15, 36, 56, 0.12);
  --shadow-sm: 0 4px 14px rgba(15, 36, 56, 0.08);
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

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

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

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

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.2; }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

svg { width: 1em; height: 1em; fill: currentColor; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(230, 121, 31, 0.32);
}
.btn-primary:hover { background: var(--orange-dark); }

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

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--sky); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-whatsapp-lg {
  background: var(--whatsapp);
  color: #fff;
  padding: 14px 26px;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp-lg:hover { background: var(--whatsapp-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 24px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 1; }
.brand-logo { height: 48px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.brand-sub { font-size: 0.68rem; font-weight: 600; letter-spacing: .03em; color: var(--ink-soft); text-transform: uppercase; }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink); position: relative; padding: 4px 0; }
.main-nav a:hover { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 16px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 20px; background: var(--navy); margin: 0 auto; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(79, 168, 224, 0.25), transparent 70%),
    radial-gradient(500px 260px at 10% 90%, rgba(230, 121, 31, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 72px 24px 64px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--blue-light);
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-lead {
  color: #cfe0ee;
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-trust li {
  font-size: 0.85rem;
  font-weight: 600;
  color: #dce9f3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Section shared */
section { padding: 84px 0; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-title.center { text-align: center; }
.section-lead { max-width: 60ch; }
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Services */
.services { background: var(--paper-soft); }

.service-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card:nth-child(3n+1) .service-icon { background: rgba(230,121,31,0.12); color: var(--orange); }
.service-card:nth-child(3n+2) .service-icon { background: rgba(37,211,102,0.12); color: var(--whatsapp-dark); }

.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; margin-bottom: 0; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about-points { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.about-points li { font-size: 0.95rem; color: var(--ink-soft); padding-left: 26px; position: relative; }
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--orange);
}
.about-points strong { color: var(--navy); }

/* Gallery */
.gallery { background: var(--paper-soft); }
.gallery-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(10,26,41,0.85), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact .eyebrow { color: var(--blue-light); }
.contact .section-title { color: #fff; }
.contact .section-lead { color: #cfe0ee; }

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 16px;
  transition: background .15s ease;
}
a.contact-tile:hover { background: rgba(255,255,255,0.12); }
.contact-tile strong { display: block; font-size: 0.98rem; margin-bottom: 2px; }
.contact-tile span span { font-size: 0.85rem; color: #b9cbdb; }
.contact-tile span span a { color: #b9cbdb; text-decoration: underline; text-underline-offset: 2px; }
.contact-tile span span a:hover { color: var(--blue-light); }
.contact-tile-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(79,168,224,0.18);
  color: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-tile-icon svg { width: 20px; height: 20px; }
.contact-tile-icon.whatsapp-icon { background: rgba(37,211,102,0.18); color: #4ee08a; }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.form-row .optional { font-weight: 400; color: var(--ink-soft); }

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper-soft);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,111,168,0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }

.field-error {
  font-size: 0.8rem;
  color: #c62828;
  min-height: 1em;
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4em;
}
.form-status.success { color: #1e8a4c; font-weight: 600; }
.form-status.error { color: #c62828; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9cbdb; padding: 44px 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.footer-brand img { height: 34px; }
.footer-tagline { font-size: 0.85rem; color: #8ea3b6; margin: 4px 0 6px; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; font-weight: 600; }
.footer-contact a:hover { color: var(--blue-light); }
.footer-copy { font-size: 0.78rem; color: #6f8497; margin-top: 10px; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 150;
  transition: transform .15s ease;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-media { order: -1; max-height: 320px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16/9; }
  .contact-inner { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .main-nav { display: none; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 9px; }
  .header-actions .btn svg { width: 18px; height: 18px; }
  .header-actions { gap: 8px; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .header-inner { gap: 10px; padding: 8px 16px; }
  .brand-logo { height: 36px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.6rem; white-space: normal; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
}

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