/* ==========================================================================
   Tintasur — Landing page styles
   ========================================================================== */

:root {
  /* Marca (extraído del logo) */
  --color-blue: #00AEEF;
  --color-blue-dark: #0088BE;
  --color-navy: #0B2B3C;
  --color-navy-light: #123B52;
  --color-gray: #666870;
  --color-gray-dark: #3B3D40;
  --color-orange: #FFB922;
  --color-orange-dark: #E89F0E;
  --color-pink: #E24E8E;

  --color-bg: #FBFCFD;
  --color-bg-muted: #F1F6F8;
  --color-white: #FFFFFF;
  --color-border: #E4E9EC;

  --text-heading: var(--color-navy);
  --text-body: var(--color-gray-dark);
  --text-muted: var(--color-gray);

  --font-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --shadow-sm: 0 2px 8px rgba(11, 43, 60, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 43, 60, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 43, 60, 0.16);

  --container-w: 1180px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
.icon-sprite { display: none; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--text-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--text-heading); margin: 0; line-height: 1.15; font-weight: 800; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--color-navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--narrow { max-width: 820px; }

.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.btn--lg { padding: 0.95rem 1.9rem; font-size: 1rem; }

.btn--primary { background: var(--color-navy); color: #fff; }
.btn--primary:hover { background: var(--color-navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--color-orange); color: var(--color-navy); box-shadow: 0 8px 24px rgba(255,185,34,0.35); }
.btn--accent:hover { background: var(--color-orange-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,185,34,0.45); }

.btn--ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 253, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.is-scrolled { border-color: var(--color-border); box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.brand__logo { height: 46px; width: auto; }

.nav__list { display: flex; gap: 2rem; }
.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-heading);
  position: relative;
  padding-block: 0.25rem;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 0.9rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--color-navy);
  border-radius: 10px;
}
.menu-toggle:hover { background: var(--color-bg-muted); }
.menu-toggle .icon { width: 1.5em; height: 1.5em; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 1.75rem;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__list { display: flex; flex-direction: column; gap: 0.9rem; }
.mobile-nav__link { font-weight: 700; font-size: 1.05rem; color: var(--text-heading); }
.mobile-nav__social { display: flex; gap: 0.75rem; }
.mobile-nav__social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-muted); color: var(--color-navy);
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 400px) {
  .header__actions .btn--sm span { display: none; }
  .header__actions .btn--sm { padding: 0.55rem 0.75rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}
.hero__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--color-navy) 0%, var(--color-navy-light) 55%, #0E4A63 100%);
  border-radius: var(--radius-xl);
  padding: 5.5rem 2.5rem 6.5rem;
  text-align: center;
  isolation: isolate;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue-dark);
  background: rgba(0,174,239,0.1);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.eyebrow--light { color: #BEEBFB; background: rgba(255,255,255,0.12); }

.hero__title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 780px;
  margin-inline: auto;
  letter-spacing: -0.01em;
}
.hero__subtitle {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 560px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.25rem;
  position: relative;
  z-index: 3;
}

.hero__chips {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  color: #EAF7FC;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
}
.chip .icon { color: var(--color-orange); width: 1em; height: 1em; }
.chip__sep { opacity: 0.55; margin: 0 0.05rem; }

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}
.hero__blob--1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle at 30% 30%, rgba(0,174,239,0.55), transparent 70%);
  top: -140px; left: -100px;
}
.hero__blob--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle at 70% 70%, rgba(226,78,142,0.35), transparent 70%);
  bottom: -180px; right: -120px;
  animation-delay: -3s;
}
.hero__icon {
  position: absolute;
  z-index: 2;
  color: var(--color-orange);
  opacity: 0.9;
  width: 46px; height: 46px;
  animation: float 6s ease-in-out infinite;
}
.hero__icon--pen { top: 14%; right: 10%; animation-delay: -1.5s; }
.hero__icon--bolt { bottom: 18%; left: 8%; color: var(--color-blue); width: 38px; height: 38px; animation-delay: -4s; }

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

@media (max-width: 640px) {
  .hero__card { padding: 3rem 1.25rem 3.25rem; border-radius: var(--radius-lg); }
  .hero__icon { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .cta-final__inner .btn { width: 100%; }
}

/* ---------- Sections generic ---------- */
.section { padding-block: 5.5rem; }
.section--muted { background: var(--color-bg-muted); }
.section .eyebrow { display: block; text-align: center; margin-inline: auto; width: fit-content; }
.section__title {
  text-align: center;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 700px;
  margin-inline: auto;
}
.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.step-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-card__number {
  position: absolute;
  top: -18px; left: 1.75rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-navy);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(255,185,34,0.4);
}
.step-card__icon {
  width: 34px; height: 34px;
  color: var(--color-blue);
  margin-bottom: 1rem;
}
.step-card__title { font-size: 1.15rem; margin-bottom: 0.6rem; }
.step-card__text { color: var(--text-muted); line-height: 1.6; font-size: 0.96rem; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Clientes que confían (marquee) ---------- */
.clients { padding-block: 2.5rem; }
.clients__card {
  background: linear-gradient(155deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  padding: 3rem 0;
  overflow: hidden;
}
.clients__label {
  text-align: center;
  color: #fff;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
  padding-inline: 1.5rem;
}
.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.clients__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 4rem;
  animation: marquee 28s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.clients__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 90px;
}
.clients__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity var(--transition), transform var(--transition);
}
.clients__logo img:hover { opacity: 1; transform: scale(1.06); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .clients__card { border-radius: 0; }
  .clients__logo { width: 110px; height: 64px; }
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial-card {
  margin: 0;
  border-radius: var(--radius-md);
  padding: 2rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-6px); }
.testimonial-card--blue { background: linear-gradient(155deg, var(--color-blue) 0%, #0088BE 100%); }
.testimonial-card--orange { background: linear-gradient(155deg, var(--color-orange) 0%, var(--color-orange-dark) 100%); color: var(--color-navy); }
.testimonial-card--pink { background: linear-gradient(155deg, var(--color-pink) 0%, #C13570 100%); }
.testimonial-card__quote { width: 28px; height: 28px; opacity: 0.7; margin-bottom: 1rem; }
.testimonial-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; font-weight: 600; }
.testimonial-card figcaption { margin-top: 1.25rem; font-size: 0.85rem; opacity: 0.85; font-weight: 600; }

@media (max-width: 860px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ---------- Features (Por qué Tintasur) ---------- */
.features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3.5rem;
  max-width: 620px;
  margin-inline: auto;
}
.feature {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.feature__media {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature__media::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), transparent 60%);
}
.feature__media--blue { background: linear-gradient(155deg, var(--color-blue), #0088BE); }
.feature__media--orange { background: linear-gradient(155deg, var(--color-orange), var(--color-orange-dark)); }
.feature__media--pink { background: linear-gradient(155deg, var(--color-pink), #C13570); }
.feature__icon { width: 42%; height: 42%; color: #fff; opacity: 0.95; position: relative; z-index: 1; }
.feature__media--orange .feature__icon { color: var(--color-navy); }

.feature__title { font-size: 1.35rem; margin-bottom: 0.75rem; }
.feature__text { color: var(--text-muted); line-height: 1.65; font-size: 1rem; max-width: 420px; margin-inline: auto; }

/* ---------- Products ---------- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card__title { font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--color-blue-dark); }
.product-card__text { color: var(--text-muted); line-height: 1.6; }

@media (max-width: 860px) {
  .products { grid-template-columns: 1fr; }
}

/* ---------- Instagram ---------- */
.instagram-handle { color: var(--color-blue-dark); transition: color var(--transition); }
.instagram-handle:hover { color: var(--color-pink); text-decoration: underline; }

/* SnapWidget no es fluido: siempre dibuja su contenido a 765x510px.
   Se renderiza a ese tamaño real y se escala como una imagen (container query
   units) para que quepa en cualquier ancho sin recortarse ni dejar espacio vacío. */
.instagram-feed {
  container-type: inline-size;
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 0;
  aspect-ratio: 765 / 510;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}
.instagram-feed .snapwidget-widget {
  position: absolute;
  top: 0;
  left: 0;
  width: 765px;
  height: 510px;
  border: none;
  transform: scale(calc(100cqw / 765px));
  transform-origin: top left;
}

.instagram-feed__cta { display: flex; width: fit-content; margin: 2.5rem auto 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-heading);
}
.faq-item__chevron { color: var(--color-blue); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 1.5rem;
}
.faq-item__answer p { color: var(--text-muted); line-height: 1.65; padding-bottom: 0; }
.faq-item.is-open .faq-item__answer { padding-bottom: 2rem; }

.schedule-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.schedule-table tr { border-bottom: 1px solid var(--color-border); }
.schedule-table tr:last-child { border-bottom: none; }
.schedule-table th, .schedule-table td { padding: 0.65rem 0; font-size: 0.95rem; font-weight: 400; }
.schedule-table th { text-align: left; color: var(--text-heading); font-weight: 600; }
.schedule-table td { text-align: right; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.schedule-table .schedule-table__closed { color: var(--color-pink); font-weight: 600; }

.schedule-table--compact { margin-top: 0.5rem; }
.schedule-table--compact th, .schedule-table--compact td { padding: 0.4rem 0; font-size: 0.92rem; }

.schedule-table--footer { margin-top: 0.5rem; }
.schedule-table--footer tr { border-bottom: 1px solid rgba(255,255,255,0.14); }
.schedule-table--footer th, .schedule-table--footer td { padding: 0.4rem 0; font-size: 0.85rem; }
.schedule-table--footer th { color: #fff; }
.schedule-table--footer td { color: rgba(255,255,255,0.75); }
.schedule-table--footer .schedule-table__closed { color: var(--color-pink); }

/* ---------- CTA final ---------- */
.cta-final {
  margin: 0 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, var(--color-navy) 0%, #0E4A63 100%);
  overflow: hidden;
}
.cta-final__inner {
  text-align: center;
  padding: 4.5rem 1.5rem;
}
.cta-final__title { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta-final__subtitle { color: rgba(255,255,255,0.8); margin: 1rem 0 2rem; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: start;
}
.contact-form {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-row label { font-weight: 700; font-size: 0.9rem; color: var(--text-heading); }
.form-row input, .form-row textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  color: var(--text-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(0,174,239,0.14);
}
.contact-form__hint { font-size: 0.82rem; color: var(--text-muted); text-align: center; }

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.consent-field input {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--color-blue);
  flex-shrink: 0;
}
.consent-field a { color: var(--color-blue-dark); text-decoration: underline; }

.contact-form__status { font-size: 0.9rem; font-weight: 600; text-align: center; min-height: 1.3em; }
.contact-form__status--ok { color: #1E8E5A; }
.contact-form__status--error { color: var(--color-pink); }

.contact-info {
  position: relative;
  z-index: 1;
  background: var(--color-bg-muted);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info__item .icon { width: 1.4em; height: 1.4em; color: var(--color-blue); margin-top: 0.2rem; flex-shrink: 0; }
.contact-info__item strong { display: block; color: var(--text-heading); margin-bottom: 0.2rem; font-size: 0.98rem; }
.contact-info__item p { color: var(--text-muted); line-height: 1.55; font-size: 0.95rem; }
.contact-info__item a:hover { color: var(--color-blue-dark); text-decoration: underline; }

.contact-info__social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-white); color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), color var(--transition);
}
.social-btn:hover { transform: translateY(-3px); color: var(--color-blue); }

@media (max-width: 780px) {
  .contact { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45);
  z-index: 90;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float .icon { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37,211,102,0.55); }

/* ---------- Footer ---------- */
.footer { background: var(--color-navy); color: rgba(255,255,255,0.75); padding-top: 4rem; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo { opacity: 0.95; margin-bottom: 1rem; }
.footer__brand p { line-height: 1.6; font-size: 0.92rem; max-width: 320px; }
.footer__social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.footer__social a:hover { background: var(--color-blue); transform: translateY(-3px); }

.footer__col { display: flex; flex-direction: column; gap: 0.85rem; }
.footer__col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.3rem; }
.footer__col a, .footer__col span { font-size: 0.92rem; }
.footer__col a:hover { color: #fff; text-decoration: underline; }

.footer__legal { padding-block: 1.5rem; font-size: 0.82rem; text-align: center; display: flex; flex-direction: column; gap: 0.4rem; }
.footer__legal a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.footer__legal a:hover { color: #fff; }

/* ---------- Páginas legales (privacidad) ---------- */
.legal-page { padding-block: 3rem 5.5rem; }
.legal-page .eyebrow { text-align: left; margin-inline: 0; }
.legal-page__updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.25rem; margin-top: 2.25rem; margin-bottom: 0.75rem; }
.legal-page p { color: var(--text-body); line-height: 1.7; font-size: 1rem; margin-bottom: 0.9rem; }
.legal-page ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0 1.25rem; }
.legal-page li { color: var(--text-body); line-height: 1.7; font-size: 1rem; margin-bottom: 0.5rem; }
.legal-page a { color: var(--color-blue-dark); text-decoration: underline; }
.legal-page__back { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 3rem; font-weight: 700; color: var(--color-blue-dark); }

@media (max-width: 780px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__blob, .hero__icon { animation: none; }
}
