/* ============================================================
   PULPO MARKETING DIGITAL — v3 BLANCO
   Estética: limpia, blanca, corporativa. Montserrat.
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --white:         #FFFFFF;
  --off-white:     #F8F9FB;
  --dark-bg:       #FFFFFF;
  --dark-mid:      #F4F6F9;
  --dark-card:     #FFFFFF;
  --dark-border:   #E2E8F0;
  --text-on-dark:  #1A1F2E;
  --text-muted:    #64748B;
  --text-dark:     #1A1F2E;
  --text-mid:      #374151;
  --text-light:    #6B7280;
  --accent:        #0EA5E9;
  --accent-dark:   #0369A1;
  --accent-glow:   rgba(14,165,233,0.10);
  --accent-light:  #E0F2FE;
  --violet:        #7C6FF7;
  --violet-light:  rgba(124,111,247,0.10);
  --border:        #E2E8F0;
  --dark-footer:   #0F172A;
  --wa-green:      #25D366;
  --radius:        12px;
  --radius-lg:     20px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-on-dark);
  background: var(--dark-bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- HELPERS ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.label--violet { color: var(--violet); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title--dark { color: var(--text-dark); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}
.section-sub--dark { color: var(--text-mid); }

.accent-text { color: var(--accent); }
.violet-text { color: var(--violet); }

.prose p { margin-bottom: 1.1em; color: var(--text-muted); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text-on-dark); font-weight: 700; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  border-radius: 8px;
  padding: 13px 28px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,.35);
}
.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--outline--dark {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline--dark:hover {
  background: var(--accent);
  color: var(--white);
}
.btn--ghost {
  background: var(--dark-mid);
  color: var(--text-on-dark);
  border-color: var(--dark-border);
}
.btn--ghost:hover {
  background: var(--dark-border);
  transform: translateY(-2px);
}
.btn--wa {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
}
.btn--wa:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
}
.btn--large { padding: 16px 36px; font-size: .95rem; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--dark-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo img { height: 36px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__links li a {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-on-dark);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav__links li a:hover,
.nav__links li a.active { color: var(--accent); }
.nav__links li a.nav__cta {
  background: var(--accent);
  color: var(--white);
  padding: 8px 18px;
}
.nav__links li a.nav__cta:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: all .3s;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- WAVE DIVIDERS ---- */
.wave-top, .wave-bottom {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-top svg, .wave-bottom svg { display: block; width: 100%; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
  background: var(--dark-bg);
}

/* pulpo background */
.hero__bg-octopus {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 56%;
  max-width: 700px;
  opacity: .12;
  pointer-events: none;
  will-change: transform;
  filter: blur(0.5px);
  mix-blend-mode: multiply;
}

/* subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(14,165,233,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__tag {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__tag::before { display: none; }
.hero__tag-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  opacity: .9;
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero__title--accent { color: var(--accent); }
.hero__desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* hero right: image card */
.hero__visual-wrap {
  position: relative;
}
.hero__image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 32px 64px rgba(0,0,0,.18);
}
.hero__image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.hero__image-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,.2) 0%, transparent 60%);
}
.hero__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.hero__badge-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero__badge-label {
  font-size: .78rem;
  color: var(--text-mid);
  line-height: 1.3;
}

/* MARQUEE */
.hero__marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--dark-border);
  padding: 20px 0;
  background: var(--dark-mid);
  margin-top: 40px;
}
.hero__marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.hero__marquee-track span {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 24px;
}
.hero__marquee-track .sep {
  color: var(--accent);
  padding: 0;
  opacity: .6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- SECTION BASE ---- */
.section {
  padding: 96px 0;
  position: relative;
}
.section--dark { background: var(--dark-bg); }
.section--mid  { background: var(--dark-mid); }
.section--card { background: var(--dark-card); }
.section--light {
  background: var(--white);
  color: var(--text-dark);
}
.section--off  {
  background: var(--off-white);
  color: var(--text-dark);
}

/* ---- INTRO STRIP ---- */
.intro-strip__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.intro-strip__right p {
  color: var(--text-muted);
  margin-bottom: 1.1em;
}
.intro-strip__right p:last-of-type { margin-bottom: 32px; }

/* ---- STATS ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item,
.stat-card {
  background: var(--white);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 44px 36px;
  text-align: center;
}
.stat-item__num,
.stat-card__num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item__label,
.stat-card__label {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---- HOME SERVICES ---- */
.hs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.hs-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.hs-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(14,165,233,.12);
}
.hs-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.hs-card:hover .hs-card__img { transform: scale(1.04); }
.hs-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.hs-card__num {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 10px;
}
.hs-card__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.hs-card__body p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.hs-card__link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hs-card__link:hover { gap: 10px; }

/* ---- CTA BLOCK ---- */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--dark-mid);
}
.cta-section__octopus {
  position: absolute;
  left: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  opacity: .05;
  pointer-events: none;
}
/* Pulpo PNG sin fondo — decorativo en hero (versión blanca) */
.hero__pulpo-deco {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 48%;
  max-width: 580px;
  opacity: .08;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
  filter: grayscale(1);
}
.cta-section__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.18;
  margin-bottom: 16px;
}
.cta-section__sub {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}
.cta-section__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- PAGE HEADER ---- */
.page-header {
  position: relative;
  padding: 140px 0 80px;
  background: var(--dark-bg);
  overflow: hidden;
}
.page-header__octopus {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 40%;
  opacity: .05;
  pointer-events: none;
}
.page-header__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.page-header__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* ---- TWO COL ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* ---- PROCESS (cards grandes, 2 por fila) ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: border-color .25s, transform .25s;
}
.process-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.process-card__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: .22;
  line-height: 1;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}
.process-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.process-card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- DIFFERENTIALS (con íconos SVG únicos) ---- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.diff-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .25s;
}
.diff-card:hover { border-color: var(--violet); }
.diff-card__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--violet-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
}
.diff-card__icon svg { width: 22px; height: 22px; }
.diff-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.diff-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- SERVICES BLOCKS ---- */
.service-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--dark-border);
  position: relative;
}
.service-block:last-child { border-bottom: none; }
.service-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.service-block--reverse .service-block__grid { direction: rtl; }
.service-block--reverse .service-block__grid > * { direction: ltr; }
.service-block__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,.12);
}
.service-block__img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.service-block__img:hover img { transform: scale(1.04); }
.service-block__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,.12) 0%, transparent 70%);
}
.service-block__num {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.service-block__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.18;
}
.service-block__desc {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-block__list {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.service-block__list li {
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-block__list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}
.service-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.service-callout {
  background: var(--accent-light);
  border: 1px solid rgba(14,165,233,.25);
  border-radius: 10px;
  padding: 18px;
}
.service-callout__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.service-callout p {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- CLIENTS LOGOS ---- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
  background: var(--dark-bg);
}
.client-logo {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  min-height: 100px;
  border-right: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  transition: background .2s;
}
.client-logo:nth-child(4n) { border-right: none; }
.client-logo:nth-last-child(-n+1):nth-child(4n+1),
.client-logo:nth-last-child(-n+2):nth-child(4n+1),
.client-logo:nth-last-child(-n+2):nth-child(4n+2),
.client-logo:nth-last-child(-n+3):nth-child(4n+1),
.client-logo:nth-last-child(-n+3):nth-child(4n+2),
.client-logo:nth-last-child(-n+3):nth-child(4n+3) { border-bottom: none; }
.client-logo:last-child { border-right: none; border-bottom: none; }
.client-logo:hover { background: var(--dark-mid); }
.client-logo img {
  max-height: 80px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .85;
  filter: none;
  transition: opacity .3s;
}
.client-logo:hover img { opacity: 1; }

/* ---- CONTACT PAGE ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-form {
  /* Sin background/border propios: vive dentro de .contact-form-wrap */
}
.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-mid);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text-on-dark);
  transition: border-color .2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--accent-light);
}
.form-group select option { background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; }
.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color .25s;
}
.contact-card:hover { border-color: var(--accent); }
.contact-card__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-card__value {
  font-size: .95rem;
  color: var(--text-on-dark);
  font-weight: 600;
}
a.contact-card__value:hover { color: var(--accent); }

/* ---- SIDE FLOAT MENU ---- */
.side-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.side-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--dark-border);
  color: var(--text-mid);
  text-decoration: none;
  transition: background .2s, color .2s, width .25s;
  position: relative;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.side-float__btn:first-child { border-radius: 8px 0 0 4px; }
.side-float__btn:last-child  { border-radius: 4px 0 0 8px; }
.side-float__btn:not(:first-child):not(:last-child) { border-radius: 4px 0 0 4px; }
.side-float__btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.side-float__btn--wa  { background: var(--wa-green); border-color: var(--wa-green); color: white; }
.side-float__btn--wa:hover  { background: #1da851; }
.side-float__btn--call { }
.side-float__btn--call:hover { background: var(--accent); color: white; border-color: var(--accent); }
.side-float__btn--mail { }
.side-float__btn--mail:hover { background: var(--violet); color: white; border-color: var(--violet); }
.side-float__label {
  position: absolute;
  right: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--dark-border);
  color: var(--text-on-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .2s, transform .2s;
}
.side-float__btn:hover .side-float__label {
  opacity: 1;
  transform: translateX(0);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark-footer);
  border-top: 1px solid var(--dark-border);
  padding: 72px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer__octopus {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: 32%;
  opacity: .04;
  pointer-events: none;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}
.footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer__brand p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}
.footer__col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer__links ul li {
  margin-bottom: 10px;
}
.footer__links ul li a {
  font-size: .88rem;
  color: rgba(232,234,240,.55);
  transition: color .2s;
}
.footer__links ul li a:hover { color: var(--accent); }
.footer__links ul li span {
  font-size: .88rem;
  color: rgba(232,234,240,.55);
}
.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--dark-border);
  font-size: .8rem;
  color: var(--text-muted);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__bg-octopus { width: 70%; right: -15%; opacity: .05; }
  .hero__visual-wrap { max-width: 540px; margin: 0 auto; }
  .service-block__grid { grid-template-columns: 1fr; gap: 40px; }
  .service-block--reverse .service-block__grid { direction: ltr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .nav__links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links li a { font-size: 1.1rem; padding: 14px 28px; }
  .nav__toggle { display: flex; }
  .intro-strip__grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hs-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col--reverse { direction: ltr; }
  .service-block__list { grid-template-columns: 1fr; }
  .service-callouts { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero__badge { bottom: 16px; left: 16px; }
  .side-float { top: auto; bottom: 24px; transform: none; flex-direction: row; right: 16px; }
  .side-float__btn:first-child { border-radius: 8px 4px 4px 8px; }
  .side-float__btn:last-child  { border-radius: 4px 8px 8px 4px; }
  .side-float__btn:not(:first-child):not(:last-child) { border-radius: 4px; }
  .side-float__label {
    bottom: calc(100% + 8px);
    right: 0;
    top: auto;
    transform: translateY(8px);
  }
  .side-float__btn:hover .side-float__label {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 28px 20px; }
  .cta-section__actions { flex-direction: column; align-items: center; }
  .service-block__grid { gap: 28px; }
}

/* ---- CONTACT FORM WRAP (contacto.html) ---- */
.contact-form-wrap {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.contact-form-wrap__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.contact-form-wrap__sub {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.btn--block { width: 100%; justify-content: center; display: flex; gap: 10px; align-items: center; }

/* ---- CONTACT INFO SIDEBAR ---- */
.contact-info__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.contact-card__icon--wa  { background: rgba(37,211,102,.14); color: var(--wa-green); }
.contact-card__icon--mail { background: var(--accent-glow); color: var(--accent); }
.contact-card__icon--loc  { background: rgba(124,111,247,.14); color: var(--violet); }
.contact-card__icon--web  { background: rgba(14,165,233,.12); color: var(--accent); }
.contact-card__body { flex: 1; }
.contact-schedule {
  margin-top: 8px;
  padding: 24px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
}
.contact-schedule__title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-schedule p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color .25s, transform .25s;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: .35;
  font-family: Georgia, serif;
}
.testimonial-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.testimonial-card__text {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: 24px;
  padding-top: 20px;
}
.testimonial-card__footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card__name { font-weight: 700; font-size: .88rem; color: var(--text-dark); }
.testimonial-card__co { font-size: .8rem; color: var(--text-muted); }

/* ---- SECTION DESC (subtítulo bajo section-title) ---- */
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---- RESPONSIVE ADDITIONS ---- */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .contact-form-wrap { padding: 28px 20px; }
  .contact-form-wrap__title { font-size: 1.2rem; }
}
