:root {
  --turquoise: #35c9c9;
  --turquoise-deep: #0d9fa5;
  --turquoise-dark: #087a82;
  --red: #e31920;
  --ink: #111722;
  --muted: #667085;
  --surface: #f5fbfb;
  --surface-2: #ecf8f8;
  --line: #dce7e8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 61, 67, .12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,231,232,.8);
}
.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { width: 180px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: .96rem; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -8px;
  height: 2px;
  background: var(--turquoise);
  transition: right .2s ease;
}
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  color: white;
  background: var(--turquoise-dark);
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(8,122,130,.2);
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px; background: var(--ink); transition: .2s; }

.hero {
  min-height: calc(100vh - 84px);
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  padding: 70px 0 84px;
  background:
    radial-gradient(circle at 15% 10%, rgba(53,201,201,.18), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f8fdfd 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--turquoise-dark);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow.light { color: #b9ffff; }
.pulse-dot { width: 9px; height: 9px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 6px rgba(227,25,32,.09); }
.hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 800px;
}
.hero h1 span, .section-heading h2 span, .contact-copy h2 span { color: var(--turquoise-deep); }
.hero-lead { max-width: 660px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--muted); margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary { background: var(--turquoise-dark); color: #fff; box-shadow: 0 14px 30px rgba(8,122,130,.25); }
.btn-primary:hover { background: #066e75; box-shadow: 0 16px 34px rgba(8,122,130,.3); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.7); }
.btn-ghost:hover { background: white; box-shadow: 0 10px 28px rgba(17,61,67,.1); }
.btn-white { background: white; color: var(--turquoise-dark); }
.btn-block { width: 100%; }
.trust-row { display: flex; gap: 16px 22px; flex-wrap: wrap; margin-top: 30px; color: #41545a; font-size: .9rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content: "✓"; color: var(--turquoise-dark); font-weight: 900; }

.hero-media { position: relative; z-index: 1; min-height: 540px; display: grid; place-items: center; }
.hex-frame {
  width: min(100%, 560px);
  aspect-ratio: 1 / .93;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  background: linear-gradient(140deg, var(--turquoise), #e9ffff);
  padding: 9px;
  filter: drop-shadow(0 26px 36px rgba(16,63,68,.18));
}
.hex-frame img {
  width: 100%; height: 100%; object-fit: cover;
  clip-path: inherit;
  filter: contrast(1.04);
}
.floating-card {
  position: absolute;
  left: -12px;
  bottom: 55px;
  width: min(280px, 62%);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(53,201,201,.28);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 18px;
}
.floating-card strong { display: block; font-size: 1.1rem; }
.floating-card span { color: var(--muted); font-size: .9rem; }
.hero-shape { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.hero-shape-a { width: 260px; height: 260px; right: -80px; top: 70px; background: rgba(53,201,201,.12); }
.hero-shape-b { width: 110px; height: 110px; left: 45%; bottom: 40px; border: 18px solid rgba(227,25,32,.06); }

.section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading h2, .contact-copy h2 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  margin: 12px 0 18px;
}
.section-heading p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.services { background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(17,61,67,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(17,61,67,.1); border-color: rgba(53,201,201,.55); }
.service-card.featured { background: linear-gradient(145deg, #093f46 0%, #0d7e86 100%); color: white; border-color: transparent; }
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--surface-2);
  color: var(--turquoise-dark);
  border-radius: 15px;
  margin-bottom: 26px;
}
.featured .service-icon { background: rgba(255,255,255,.12); color: white; }
.service-icon svg { width: 27px; height: 27px; fill: currentColor; }
.service-card h3 { font-size: 1.38rem; margin: 0 0 10px; }
.service-card p { margin: 0 0 26px; color: var(--muted); }
.service-card.featured p { color: rgba(255,255,255,.78); }
.service-card > a { margin-top: auto; color: var(--turquoise-dark); font-weight: 850; }
.service-card.featured > a { color: white; }
.service-card > a span { margin-left: 4px; }
.image-card { padding: 0; min-height: 300px; }
.image-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 18%, rgba(7,34,38,.9) 100%); }
.image-card-overlay { position: relative; z-index: 2; margin-top: auto; padding: 28px; color: white; }
.image-card-overlay p { color: rgba(255,255,255,.78); }
.image-card-overlay a { color: white; font-weight: 850; }

.corporate-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  margin-top: 72px;
  background: linear-gradient(135deg, #063f46, #0b7f86);
  color: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.corporate-image { min-height: 500px; }
.corporate-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.corporate-copy { padding: 56px; align-self: center; }
.corporate-copy h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; margin: 10px 0 18px; }
.corporate-copy p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 30px; }
.chips span { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); border-radius: 999px; padding: 8px 12px; font-size: .88rem; }

.quick-cta { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.quick-cta h3 { font-size: 1.55rem; margin: 7px 0 7px; }
.quick-cta p { margin: 0; color: var(--muted); }

.contact { background: white; }
.contact-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 64px; align-items: start; }
.contact-copy > p { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 560px;
  margin-top: 30px;
  padding: 20px;
  background: #ecfff5;
  border: 1px solid #bfefd3;
  border-radius: 20px;
  transition: .2s ease;
}
.whatsapp-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(25,135,84,.12); }
.wa-icon { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border-radius: 16px; background: #1ea866; color: white; }
.wa-icon svg, .pin svg { width: 28px; height: 28px; fill: currentColor; }
.whatsapp-card small, .whatsapp-card em { display: block; font-style: normal; }
.whatsapp-card small { color: #28714b; font-weight: 750; }
.whatsapp-card strong { display: block; font-size: clamp(1.15rem, 2.5vw, 1.55rem); letter-spacing: -.02em; }
.whatsapp-card em { color: #28714b; font-size: .9rem; }
.location-card { max-width: 560px; display: flex; gap: 18px; align-items: flex-start; margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; }
.pin { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; background: var(--surface-2); color: var(--turquoise-dark); border-radius: 14px; }
.location-card small, .location-card strong, .location-card span { display: block; }
.location-card small { color: var(--turquoise-dark); font-weight: 800; }
.location-card strong { margin-top: 2px; }
.location-card span { color: var(--muted); }
.contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: 0 18px 50px rgba(17,61,67,.07); }
.form-kicker { color: var(--red); font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-form-card h3 { font-size: 1.8rem; margin: 8px 0; }
.contact-form-card > p { margin: 0 0 24px; color: var(--muted); }
.contact-form-card form { display: grid; gap: 9px; }
.contact-form-card label { font-size: .9rem; font-weight: 800; margin-top: 8px; }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea {
  width: 100%;
  border: 1px solid #ccdcdc;
  background: white;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus { border-color: var(--turquoise-deep); box-shadow: 0 0 0 3px rgba(53,201,201,.13); }
.contact-form-card textarea { resize: vertical; min-height: 110px; }
.contact-form-card .btn { margin-top: 12px; border: 0; }
.privacy-note { color: var(--muted); text-align: center; font-size: .78rem; line-height: 1.4; }

.site-footer { background: #0a2024; color: white; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr; gap: 42px; align-items: start; }
.footer-brand img { width: 180px; height: auto; background: white; border-radius: 10px; padding: 6px; }
.footer-brand p { max-width: 420px; color: #b9c8ca; }
.footer-links, .footer-contact { display: grid; gap: 11px; }
.footer-links a { color: #dce8e9; }
.footer-contact span { color: #91a6a9; font-size: .85rem; }
.footer-contact a { font-weight: 850; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #91a6a9; font-size: .86rem; }

.scroll-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 66px);
  z-index: 901;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(9,63,70,.14);
  border-radius: 50%;
  color: var(--turquoise-dark);
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(17,61,67,.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--surface-2); }
.scroll-top:focus-visible { outline: 3px solid rgba(53,201,201,.28); outline-offset: 3px; }
.scroll-top svg { width: 24px; height: 24px; fill: currentColor; }

.floating-wa {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 13px 17px;
  color: white;
  background: #1ea866;
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(20,116,70,.3);
  font-weight: 850;
}
.floating-wa svg { width: 26px; height: 26px; fill: currentColor; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(3.2rem, 10vw, 5.2rem); }
  .hero-media { min-height: 500px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .corporate-panel { grid-template-columns: 1fr; }
  .corporate-image { min-height: 360px; max-height: 430px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-form-card { max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 145px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 5px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 44px 0 68px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .trust-row { display: grid; gap: 8px; }
  .hero-media { min-height: auto; padding: 10px 0 25px; }
  .hex-frame { width: 100%; }
  .floating-card { left: 8px; bottom: 0; width: min(290px, 75%); }

  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 34px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .image-card { min-height: 360px; }
  .corporate-panel { margin-top: 44px; border-radius: 24px; }
  .corporate-image { min-height: 280px; }
  .corporate-copy { padding: 30px 24px 34px; }
  .quick-cta { align-items: stretch; flex-direction: column; padding: 26px; }
  .contact-form-card { padding: 26px 20px; border-radius: 22px; }
  .whatsapp-card, .location-card { padding: 17px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .floating-wa span { display: none; }
  .floating-wa { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .scroll-top {
    width: 48px;
    height: 48px;
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + 70px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
