/* =========================================================
   FUMITECH — Brochure digital
   Brand tokens from Manual de Marca:
   primary: #245a8f, #2464a0, accent: #efa03a
   secondary: #36ae50, #e8db2a, #da2a28, #53d1ea
   type: Nunito
   ========================================================= */

:root {
  --c-blue-deep: #1a4570;
  --c-blue: #245a8f;
  --c-blue-2: #2464a0;
  --c-orange: #efa03a;
  --c-orange-deep: #d98620;
  --c-green: #36ae50;
  --c-yellow: #e8db2a;
  --c-red: #da2a28;
  --c-cyan: #53d1ea;

  --c-ink: #0e2238;
  --c-ink-soft: #3b4a5c;
  --c-muted: #6b7787;
  --c-line: #e5e9ef;
  --c-bg: #fbfaf6;
  --c-bg-warm: #f5f1e8;
  --c-card: #ffffff;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14,34,56,.06), 0 2px 6px rgba(14,34,56,.04);
  --shadow-md: 0 4px 14px rgba(14,34,56,.08), 0 12px 28px rgba(14,34,56,.06);
  --shadow-lg: 0 16px 40px rgba(14,34,56,.14);

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(36px, 5.5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { margin: 0 0 1em; text-wrap: pretty; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-orange);
  color: #2a1a00;
  box-shadow: 0 6px 18px rgba(239,160,58,.45), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn-primary:hover { background: #f4ad52; box-shadow: 0 10px 24px rgba(239,160,58,.55); }

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
}
.btn-whatsapp:hover { background: #1fbb59; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,246,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 44px; height: 44px; object-fit: contain; }
.nav-brand-text { line-height: 1.05; }
.nav-brand-text strong { font-weight: 900; font-size: 18px; color: var(--c-blue); letter-spacing: -.01em; }
.nav-brand-text span { font-size: 11px; color: var(--c-muted); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-weight: 600; font-size: 15px; color: var(--c-ink-soft);
  transition: color .15s;
}
.nav-links a:hover { color: var(--c-blue); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 80% 0%, #2d75b8 0%, var(--c-blue) 38%, var(--c-blue-deep) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(239,160,58,.18), transparent 40%),
    radial-gradient(circle at 90% 30%, rgba(83,209,234,.12), transparent 35%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 96px;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(239,160,58,.18);
  border: 1px solid rgba(239,160,58,.5);
  color: #ffd29a;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #6ee787;
  box-shadow: 0 0 0 4px rgba(110,231,135,.25);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--c-orange); }
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(255,255,255,.82);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat { }
.hero-stat-num {
  font-size: 32px; font-weight: 900;
  color: var(--c-orange);
  line-height: 1;
  letter-spacing: -.02em;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Hero visual: layered logo + media slot */
.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 480px;
  width: 100%;
  margin-left: auto;
}
.hero-shield {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.35));
}
.hero-shield img { width: 88%; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 14px 32px rgba(0,0,0,.25);
  border: 4px solid rgba(255,255,255,.9);
}
.hero-orb-1 { top: 8%; right: 4%; width: 84px; height: 84px; background: var(--c-green); animation: float 6s ease-in-out infinite; }
.hero-orb-2 { bottom: 16%; left: 0%; width: 72px; height: 72px; background: var(--c-red); animation: float 5s ease-in-out infinite .7s; }
.hero-orb-3 { bottom: 0%; right: 18%; width: 96px; height: 96px; background: var(--c-cyan); animation: float 7s ease-in-out infinite 1.3s; }
.hero-orb-4 { top: 32%; left: 4%; width: 64px; height: 64px; background: var(--c-yellow); animation: float 5.5s ease-in-out infinite .3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 80px;
  background: var(--c-bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 60%, 0 0);
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--c-bg);
  padding: 32px 0;
  border-bottom: 1px solid var(--c-line);
}
.trust-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 720px) { .trust-inner { grid-template-columns: 1fr; gap: 16px; } }
.trust-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-muted);
}
.trust-items {
  display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: center;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--c-ink-soft); font-size: 14px;
}
.trust-pill::before {
  content: "✓"; display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-green); color: #fff; font-size: 13px;
}

/* ---------- Section header ---------- */
.section { padding: 96px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-orange-deep);
  margin-bottom: 14px;
}
.section-header h2 { color: var(--c-ink); margin-bottom: 16px; }
.section-header p { color: var(--c-muted); font-size: 18px; }

/* ---------- Quiénes somos ---------- */
.about {
  background: var(--c-bg-warm);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(45deg, #d8cfba 0 12px, #cdc3ac 12px 24px);
  box-shadow: var(--shadow-lg);
}
.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(14,34,56,.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 12px;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--c-orange);
  color: #2a1a00;
  padding: 20px 28px;
  border-radius: var(--r-md);
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transform: rotate(-3deg);
  max-width: 200px;
}
.about-badge strong { display: block; font-size: 32px; line-height: 1; }
.about-badge span { font-size: 13px; }

.about-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-orange-deep);
  margin-bottom: 14px;
}
.about h2 { margin-bottom: 24px; }
.about-text { color: var(--c-ink-soft); font-size: 17px; margin-bottom: 28px; }

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.value {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.value-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px;
  color: #fff;
}
.value-icon.green { background: var(--c-green); }
.value-icon.blue { background: var(--c-blue); }
.value-icon.orange { background: var(--c-orange); color: #2a1a00; }
.value-icon.cyan { background: var(--c-cyan); color: #04364a; }
.value h4 { font-size: 16px; margin-bottom: 4px; }
.value p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* ---------- Servicios ---------- */
.services {
  background: var(--c-bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service {
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--c-line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--svc-color, var(--c-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--svc-color, var(--c-blue));
  color: #fff;
  display: grid; place-items: center;
  font-size: 30px;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px var(--svc-shadow, rgba(36,90,143,.3));
}
.service h3 { margin-bottom: 10px; font-size: 20px; }
.service p { color: var(--c-muted); font-size: 15px; margin-bottom: 16px; }
.service-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--svc-color, var(--c-blue));
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.service:hover .service-link { gap: 10px; }

.service.green   { --svc-color: #36ae50; --svc-shadow: rgba(54,174,80,.3); }
.service.red     { --svc-color: #da2a28; --svc-shadow: rgba(218,42,40,.3); }
.service.yellow  { --svc-color: #c9b800; --svc-shadow: rgba(232,219,42,.4); }
.service.cyan    { --svc-color: #2bb3cf; --svc-shadow: rgba(83,209,234,.4); }
.service.orange  { --svc-color: #efa03a; --svc-shadow: rgba(239,160,58,.35); }
.service.blue    { --svc-color: #245a8f; --svc-shadow: rgba(36,90,143,.3); }
.service.indigo  { --svc-color: #4a3d9b; --svc-shadow: rgba(74,61,155,.3); }

/* ---------- Casos de éxito ---------- */
.cases {
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-warm) 100%);
}
.carousel {
  position: relative;
  margin-top: 24px;
}
.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 24px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.case {
  flex: 0 0 calc(50% - 12px);
  scroll-snap-align: start;
  background: var(--c-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.case:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
@media (max-width: 760px) { .case { flex: 0 0 calc(100% - 24px); } }

.case-media {
  position: relative;
  aspect-ratio: 16/10;
  background:
    repeating-linear-gradient(135deg, #d8cfba 0 14px, #cdc3ac 14px 28px);
  display: grid;
  place-items: center;
}
.case-play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--c-blue);
  display: grid; place-items: center;
  font-size: 22px;
  box-shadow: var(--shadow-md);
  transition: transform .2s;
}
.case:hover .case-play { transform: scale(1.08); }
.case-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--c-blue);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.case-tag.orange { background: var(--c-orange); color: #2a1a00; }
.case-tag.green { background: var(--c-green); }
.case-tag.red { background: var(--c-red); }
.case-tag.cyan { background: #2bb3cf; }
.case-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.case-meta { font-size: 12px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; font-weight: 700; }
.case h3 { margin-bottom: 10px; font-size: 22px; }
.case-desc { color: var(--c-ink-soft); font-size: 15px; flex: 1; }
.case-results {
  display: flex; gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-line);
}
.case-result-num { font-weight: 900; font-size: 22px; color: var(--c-blue); line-height: 1; }
.case-result-label { font-size: 12px; color: var(--c-muted); }

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  display: grid; place-items: center;
  color: var(--c-blue);
  font-size: 18px;
  transition: all .15s;
  box-shadow: var(--shadow-sm);
}
.carousel-arrow:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.carousel-arrow:disabled { opacity: .35; cursor: not-allowed; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-line);
  transition: all .2s;
}
.carousel-dot.active { background: var(--c-orange); width: 24px; border-radius: 4px; }

/* ---------- Galería ---------- */
.gallery { background: var(--c-bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }

.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #d8cfba 0 10px, #cdc3ac 10px 20px);
  cursor: pointer;
  transition: transform .25s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,34,56,.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 700; font-size: 14px; }
.gallery-tag-mono {
  position: absolute;
  top: 12px; left: 12px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  background: rgba(14,34,56,.8);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.gallery-slot-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(14,34,56,.55);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.gallery-slot-hint i { font-size: 18px; }

/* Gallery tabs */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-card);
  border: 1.5px solid var(--c-line);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink-soft);
  transition: all .15s;
}
.gallery-tab:hover { border-color: var(--c-blue); color: var(--c-blue); }
.gallery-tab.active {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
  box-shadow: 0 6px 14px rgba(36,90,143,.3);
}
.gallery-tab.active img { filter: brightness(0) invert(1) !important; }

/* Gallery service blocks */
.gallery-block {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}
.gallery-block:last-of-type { margin-bottom: 0; }
.gallery-block.hidden { display: none; }
.gallery-block-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}
.gallery-block-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  font-size: 26px;
}
.gallery-block-header h3 { font-size: 22px; margin-bottom: 4px; }
.gallery-block-header p { color: var(--c-muted); font-size: 14px; margin: 0; }

/* ---------- Contacto ---------- */
.contact {
  background: var(--c-blue-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(239,160,58,.18), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(83,209,234,.08), transparent 50%);
}
.contact .section-header h2 { color: #fff; }
.contact .section-header p { color: rgba(255,255,255,.7); }
.contact .section-eyebrow { color: var(--c-orange); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background .2s, border-color .2s;
}
.contact-card:hover { background: rgba(255,255,255,.08); border-color: rgba(239,160,58,.4); }
.contact-card-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--c-orange);
  color: #2a1a00;
  display: grid; place-items: center;
  font-size: 22px;
}
.contact-card-icon.wa { background: #25d366; color: #fff; }
.contact-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); margin-bottom: 6px; font-weight: 700; }
.contact-card p { margin: 0; font-size: 17px; font-weight: 600; }
.contact-card a { color: #fff; }
.contact-card a:hover { color: var(--c-orange); }

.contact-form {
  background: #fff;
  color: var(--c-ink);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { color: var(--c-muted); margin-bottom: 24px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--c-ink-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--c-bg);
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  background: #0a1d33;
  color: rgba(255,255,255,.7);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand strong { color: #fff; font-size: 20px; font-weight: 900; display: block; }
.footer-brand span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer p { font-size: 14px; }
.footer h5 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a { font-size: 14px; transition: color .15s; }
.footer-list a:hover { color: var(--c-orange); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: #fff;
  transition: background .15s, transform .15s;
}
.footer-social a:hover { background: var(--c-orange); color: #2a1a00; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-float-bubble {
  background: #25d366;
  color: #fff;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: 0 12px 30px rgba(37,211,102,.5);
  transition: transform .2s;
  position: relative;
}
.wa-float-bubble::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: .5;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-float:hover .wa-float-bubble { transform: scale(1.08); }
.wa-float-text {
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
  transform-origin: right center;
  transition: opacity .2s, transform .2s;
}
.wa-float-text small { display: block; font-size: 11px; font-weight: 600; color: var(--c-muted); }
@media (max-width: 600px) { .wa-float-text { display: none; } }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .4s; }
.reveal.delay-6 { transition-delay: .48s; }

/* ---------- Section divider ---------- */
.divider-wave {
  position: relative;
  height: 60px;
  margin-top: -60px;
  pointer-events: none;
}

/* ---------- Tweaks variants ---------- */
body[data-hero="split"] .hero-grid { grid-template-columns: 1fr 1fr; }
body[data-density="compact"] .section { padding: 64px 0; }
body[data-density="spacious"] .section { padding: 120px 0; }
body[data-accent="cyan"] { --c-orange: var(--c-cyan); --c-orange-deep: #2bb3cf; }
body[data-accent="green"] { --c-orange: var(--c-green); --c-orange-deep: #2a8a3f; }

/* color of orange button text adapts */
body[data-accent="cyan"] .btn-primary { color: #04364a; }
body[data-accent="green"] .btn-primary { color: #0d3a18; }
body[data-accent="cyan"] .about-badge { color: #04364a; }
body[data-accent="green"] .about-badge { color: #0d3a18; }

/*Relleno fotos
/* ===== FIX GALLERY IMAGES ===== */

/* Todos los gallery-item necesitan posición relativa y overflow hidden */
.gallery-item,
.gallery-item.tall {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
}
.gallery-item.wide {
  position: relative;
  overflow: hidden;
}

/* La imagen SIEMPRE llena el 100% del contenedor padre */
.gallery-item img,
.gallery-item.tall img,
.gallery-item.wide img {
  position: absolute;   /* Se desprende del flujo normal */
  top: 0;
  left: 0;
  width: 100%;          /* Llena todo el ancho */
  height: 100%;         /* Llena toda la altura */
  object-fit: cover;    /* Recorta sin deformar */
  object-position: center center; /* Centra la foto */
  display: block;
}
.gallery-overlay {
  position: absolute;
  z-index: 2;   /* Va encima de la imagen */
  bottom: 0;
  left: 0;
  width: 100%;
}