:root {
  --blue: #0f56b3;
  --cyan: #29a8df;
  --red: #b82324;
  --yellow: #f0ce2e;
  --dark: #0e1930;
  --text: #203049;
  --muted: #66758d;
  --bg: #f6f9fe;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(8, 28, 70, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; }

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  z-index: -2;
  filter: blur(50px);
  opacity: .25;
  pointer-events: none;
}
.bg-shape-1 {
  width: 320px; height: 320px; background: var(--cyan); top: 5%; left: -80px;
}
.bg-shape-2 {
  width: 380px; height: 380px; background: var(--yellow); bottom: 5%; right: -80px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(15,86,179,.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img {
  width: 62px; height: 62px; object-fit: contain; background: #fff; border-radius: 14px; padding: 4px; box-shadow: var(--shadow);
}
.brand strong { display: block; font-size: 1.1rem; color: var(--blue); }
.brand span { display: block; font-size: .9rem; color: var(--muted); }

.nav {
  display: flex; gap: 24px; align-items: center; font-weight: 600; color: var(--dark);
}
.nav a { position: relative; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); transition: .3s;
}
.nav a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle, .menu-toggle {
  border: none; cursor: pointer; border-radius: 12px; font-weight: 700;
}
.lang-toggle {
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; padding: 12px 14px;
}
.menu-toggle {
  display: none; background: #eef5ff; color: var(--blue); padding: 10px 12px; font-size: 1.2rem;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  isolation: isolate;
}
.hero-bg, .hero-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-bg { object-fit: cover; }
.hero-overlay {
  background: linear-gradient(110deg, rgba(6,23,52,.84) 0%, rgba(8,43,110,.68) 45%, rgba(15,86,179,.24) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: #fff; max-width: 680px; padding: 110px 0 90px;
}
.eyebrow {
  display: inline-flex; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); margin-bottom: 18px; font-weight: 600;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  margin: 0 0 18px;
}
.hero p {
  font-size: 1.08rem; line-height: 1.8; margin: 0 0 30px; max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; border-radius: 999px; font-weight: 700; transition: .25s ease; border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), #ffd760); color: var(--dark); box-shadow: 0 16px 30px rgba(240, 206, 46, .28);
}
.btn-secondary {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff;
}
.alt .btn-secondary, #redes .btn-secondary { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; color: #fff; }

.intro-strip { margin-top: -42px; position: relative; z-index: 3; }
.intro-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.intro-grid article {
  background: rgba(255,255,255,.92); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px; text-align: center;
}
.intro-grid strong { display: block; font-size: 2rem; color: var(--blue); margin-bottom: 6px; }
.intro-grid span { color: var(--muted); font-weight: 600; }

.section { padding: 92px 0; }
.alt { background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(232,241,255,.72)); }
.section-tag {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(41,168,223,.12); color: var(--blue); font-weight: 700; margin-bottom: 14px;
}
.section-head { max-width: 760px; margin-bottom: 34px; }
.section h2, .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 14px; color: var(--dark); line-height: 1.1;
}
.section p { line-height: 1.85; color: var(--muted); }
.two-col, .video-grid, .social-grid, .contact-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: start;
}
.stack-cards { display: grid; gap: 18px; }
.feature-card, .service-card, .contact-card, .contact-form-wrap, .facebook-box, .video-wrap, .benefit {
  background: rgba(255,255,255,.92); border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature-card { padding: 24px; border-left: 5px solid var(--yellow); }
.feature-card h3, .service-card h3 { margin-top: 0; color: var(--blue); }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  padding: 28px; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px; background: radial-gradient(circle, rgba(41,168,223,.14), transparent 72%);
}

.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.benefit {
  padding: 22px; display: flex; gap: 14px; align-items: flex-start;
}
.benefit span {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 800;
}
.benefit p { margin: 0; color: var(--text); font-weight: 600; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-item {
  padding: 0; background: #fff; border: none; border-radius: 22px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%; height: 250px; object-fit: cover; transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.video-wrap { overflow: hidden; padding: 12px; }
.video-wrap iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 18px; }
.facebook-box { padding: 14px; overflow: hidden; }
.facebook-box iframe { width: 100%; border-radius: 18px; background: #fff; }
.fb-fallback {
  display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px; border-radius: 18px; background: #f5f9ff;
}
.fb-fallback img { width: 58px; height: 58px; object-fit: contain; }
.fb-fallback p { margin: 0; }

.contact-info { display: grid; gap: 16px; }
.contact-card { padding: 20px 22px; }
.contact-card strong { display: block; color: var(--blue); margin-bottom: 6px; }
.contact-card a { color: var(--dark); font-weight: 700; }
.map-wrap {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; }
.contact-form-wrap { padding: 30px; }
.contact-form { display: grid; gap: 16px; }
.contact-form h3 { margin: 0 0 6px; color: var(--blue); }
.contact-form label { display: grid; gap: 8px; font-weight: 600; color: var(--dark); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(15,86,179,.16); background: #fbfdff; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(41,168,223,.12); }
.contact-form small { color: var(--muted); }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; width: 62px; height: 62px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 18px 38px rgba(37,211,102,.4); z-index: 60;
}
.whatsapp-float svg { width: 34px; fill: #fff; }

.lightbox {
  position: fixed; inset: 0; background: rgba(2,8,22,.82); display: none; align-items: center; justify-content: center; padding: 30px; z-index: 100;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(100%, 1100px); max-height: 88vh; border-radius: 22px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 20px; right: 22px; width: 48px; height: 48px; border: none; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.16); color: #fff; font-size: 1.8rem;
}

.site-footer {
  background: var(--dark); color: rgba(255,255,255,.8); padding: 26px 0;
}
.footer-content {
  display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }

.fade-up {
  opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}

@media (max-width: 1000px) {
  .services-grid, .benefits-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .video-grid, .social-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); border-radius: 18px; padding: 18px; display: none; flex-direction: column; align-items: flex-start;
  }
  .nav.open { display: flex; }
}

@media (max-width: 680px) {
  .hero { min-height: 78vh; }
  .hero-content { padding: 100px 0 70px; }
  .intro-grid, .services-grid, .benefits-grid, .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 74px 0; }
  .gallery-item img { height: 240px; }
  .site-footer { text-align: center; }
  .footer-content { justify-content: center; }
}
