/* =========================================================
   Informático Granada — sistema visual a medida
   ========================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/space-grotesk-var.woff2') format('woff2');
}

:root {
  /* Paleta */
  --ig-navy-950: #060b18;
  --ig-navy-900: #0a1225;
  --ig-navy-800: #0f1b34;
  --ig-navy-700: #16274a;
  --ig-blue-500: #2f6fed;
  --ig-blue-400: #4f8bff;
  --ig-cyan-400: #22d3ee;
  --ig-green-500: #22c55e;
  --ig-amber-400: #fbbf24;
  --ig-ink: #0b1220;
  --ig-body: #3d4a63;
  --ig-muted: #64748b;
  --ig-line: #e4e9f2;
  --ig-surface: #ffffff;
  --ig-surface-alt: #f4f7fc;

  /* Tipografía */
  --ig-font-display: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ig-font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout fluido: nada de columnas estrechas fijas */
  --ig-container: clamp(320px, 94vw, 1440px);
  --ig-container-lg: clamp(320px, 96vw, 1680px);
  --ig-container-narrow: clamp(320px, 88vw, 800px);
  --ig-radius-sm: 12px;
  --ig-radius: 18px;
  --ig-radius-lg: 28px;
  --ig-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 1px rgba(15,23,42,.04);
  --ig-shadow: 0 12px 32px -12px rgba(15, 23, 42, .18);
  --ig-shadow-lg: 0 30px 60px -20px rgba(10, 18, 37, .35);
}

@media (min-width: 1900px) {
  :root { --ig-container: clamp(320px, 78vw, 1600px); --ig-container-lg: clamp(320px, 84vw, 1840px); }
}

/* Ensancha el layout constrained/wide de WordPress en todo el sitio: fuera columnas estrechas.
   El título de la página (h1, fuera de mi maquetación, lo pinta la plantilla del tema) hereda
   este mismo ancho "constrained" por defecto, así que el valor por defecto tiene que ser el
   ancho, no el estrecho; lo estrecho (FAQ, formulario) ya lo fijan sus propios bloques. */
:root {
  --wp--style--global--content-size: var(--ig-container);
  --wp--style--global--wide-size: var(--ig-container-lg);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ig-font-body);
  color: var(--ig-body);
  background: var(--ig-surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wp-block-post-title {
  font-family: var(--ig-font-display) !important;
  color: var(--ig-ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.wp-block-post-title {
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3.2rem) !important;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

h2.wp-block-heading { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.5rem); }
h3.wp-block-heading { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); }

p { line-height: 1.7; }

a { color: var(--ig-blue-500); }

/* ---------- Header ---------- */
.wp-block-template-part.site-header,
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ig-line);
  padding-top: clamp(.65rem, 1.4vw, 1.1rem);
}

.site-header .wp-block-group.alignwide,
header .wp-block-group.alignwide {
  padding-bottom: clamp(.65rem, 1.4vw, 1.1rem) !important;
}

.site-header .wp-block-group,
header .wp-block-group {
  max-width: var(--ig-container-lg);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

.wp-block-site-title { font-family: var(--ig-font-display); }
.wp-block-site-title a {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ig-ink);
  text-decoration: none;
}

.wp-block-navigation { font-family: var(--ig-font-body); font-weight: 600; font-size: .92rem; gap: clamp(1rem, 2vw, 1.75rem); margin-right: clamp(.75rem, 2vw, 1.5rem); flex-wrap: nowrap; }
.wp-block-navigation a { color: var(--ig-body); text-decoration: none; white-space: nowrap; }
.wp-block-navigation a:hover { color: var(--ig-blue-500); }

/* El menú de WordPress solo pasa a "móvil" por debajo de 600px de fábrica; con el logo, 5
   enlaces y el botón de llamada eso deja una franja intermedia donde el menú no cabe en una
   sola línea y se parte. Ampliamos ese punto de corte para que sea todo-en-línea o menú móvil,
   sin estados intermedios rotos. */
@media (min-width: 600px) and (max-width: 1319px) {
  .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
}
.wp-block-navigation__responsive-container-open svg { color: var(--ig-ink); }

.ig-header-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex: none;
  background: var(--ig-ink);
  color: #fff !important;
  padding: .55rem clamp(.85rem, 2vw, 1.1rem);
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ig-header-cta svg { flex: none; width: 15px; height: 15px; }
.ig-header-cta:hover { background: var(--ig-blue-500); transform: translateY(-1px); box-shadow: var(--ig-shadow); }

@media (max-width: 480px) {
  .ig-header-cta span { display: none; }
}

/* ---------- Contenedores generales ---------- */
.ig-section, .ig-hero, .ig-contact-section {
  padding-top: clamp(3rem, 4vw + 1rem, 6.5rem);
  padding-bottom: clamp(3rem, 4vw + 1rem, 6.5rem);
}
.ig-section > .wp-block-group, .ig-hero, .ig-contact-section {
  width: 100%;
}
.wp-block-group.ig-section, .wp-block-group.ig-hero, .wp-block-group.ig-contact-section {
  max-width: none;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}
.ig-section > *, .ig-hero > *, .ig-contact-section > * {
  max-width: var(--ig-container-lg);
  margin-left: auto;
  margin-right: auto;
}

.ig-section-alt { background: var(--ig-surface-alt); }

.ig-section-intro {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--ig-muted);
  font-size: clamp(1rem, .95rem + .2vw, 1.15rem);
}

/* ---------- Hero ---------- */
.ig-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--ig-navy-700) 0%, var(--ig-navy-900) 45%, var(--ig-navy-950) 100%);
  color: #e7ecf8;
  padding-top: clamp(3.5rem, 5vw + 1rem, 7rem);
  padding-bottom: clamp(3.5rem, 5vw + 1rem, 6rem);
}
.ig-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle, rgba(47, 111, 237, .45), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.ig-hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 45vw;
  height: 45vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(34, 211, 238, .28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.ig-hero .wp-block-columns { position: relative; z-index: 1; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.ig-hero .wp-block-columns > .wp-block-column:first-child { flex: 1.3 1 0; }
.ig-hero .wp-block-columns > .wp-block-column:last-child { flex: 1 1 0; }

/* En pantallas grandes/4K, la cabecera del hero no debe quedarse estrecha: más ancho, menos saltos de línea */
@media (min-width: 1400px) {
  .ig-hero > * { max-width: clamp(320px, 92vw, 2100px); }
}

.ig-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(79, 139, 255, .14);
  border: 1px solid rgba(79, 139, 255, .35);
  color: #a9c6ff;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .01em;
  padding: .4rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.ig-eyebrow::before { content: "●"; color: var(--ig-cyan-400); font-size: .6rem; }

.ig-hero h1.wp-block-post-title,
.ig-hero .wp-block-post-title {
  color: #fff !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  font-size: clamp(2.5rem, 1.4rem + 4vw, 4.4rem) !important;
}

.ig-hero p { color: #c4cee4; }
.ig-hero .ig-trust-line {
  margin-top: 1.25rem;
  font-size: .92rem;
  color: #9fb0cf;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
}

.ig-hero .wp-block-buttons { margin-top: 1.6rem; }

.ig-hero-image { position: relative; margin: 0; }
.ig-hero-image img {
  width: 100%;
  height: auto;
  box-shadow: var(--ig-shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}

.ig-hero-image::after {
  content: "Garantía en todas las reparaciones";
  position: absolute;
  left: -1rem;
  bottom: -1.1rem;
  background: #fff;
  color: var(--ig-ink);
  font-family: var(--ig-font-display);
  font-weight: 600;
  font-size: .82rem;
  padding: .8rem 1.1rem;
  border-radius: var(--ig-radius-sm);
  box-shadow: var(--ig-shadow);
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 220px;
}
.ig-hero-image::before {
  content: "";
  position: absolute;
  left: -1rem;
  bottom: -1.1rem;
  width: 10px;
  height: 10px;
  margin-right: .5rem;
  background: var(--ig-green-500);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(34,197,94,.25);
}

@media (max-width: 781px) {
  .ig-hero-image::after { display: none; }
}

/* ---------- Botones ---------- */
.wp-block-button__link {
  border-radius: 999px !important;
  font-family: var(--ig-font-body);
  font-weight: 600 !important;
  padding: .85rem 1.6rem !important;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: linear-gradient(135deg, var(--ig-blue-500), var(--ig-cyan-400)) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px -12px rgba(47, 111, 237, .55);
  border: none !important;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px -10px rgba(47, 111, 237, .65);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  border: 1.5px solid rgba(255,255,255,.35) !important;
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
  backdrop-filter: blur(6px);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(255,255,255,.14) !important;
  transform: translateY(-2px);
}
.ig-contact-section .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: var(--ig-line) !important;
  color: var(--ig-ink) !important;
  background: #fff !important;
}
.ig-contact-section .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ig-surface-alt) !important; }

/* ---------- Tarjetas: servicios / por qué elegirnos ---------- */
.ig-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  gap: clamp(1.1rem, 2vw, 1.75rem);
  margin-top: clamp(2rem, 3vw, 3rem);
  width: 100%;
}
.ig-cards-grid > .ig-card { width: auto !important; flex: none !important; }

.ig-card {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: center;
  column-gap: 1rem;
  background: var(--ig-surface);
  border: 1px solid var(--ig-line);
  border-radius: var(--ig-radius);
  padding: 1.85rem;
  box-shadow: var(--ig-shadow-sm);
  min-height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.ig-card:hover { transform: translateY(-4px); box-shadow: var(--ig-shadow); border-color: rgba(47,111,237,.35); }
.ig-card h3 { margin: 0; flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.ig-card p { flex: 0 0 100%; margin: .9rem 0 0; color: var(--ig-muted); font-size: .95rem; line-height: 1.6; }

.ig-card::before {
  content: "";
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ig-blue-500), var(--ig-cyan-400));
  -webkit-mask: var(--ig-icon, none) center / 27px no-repeat;
  mask: var(--ig-icon, none) center / 27px no-repeat;
}
.ig-cards-grid > .ig-card:nth-of-type(1) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 1 1-5.4 5.4l-5.6 5.6a1.5 1.5 0 0 0 2.1 2.1l5.6-5.6a4 4 0 0 1 5.4-5.4l-3 3-2-2z'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card:nth-of-type(2) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z'/%3E%3Cpath d='M9.5 12l1.8 1.8L15 10'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card:nth-of-type(3) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='6' rx='1.5'/%3E%3Crect x='3' y='14' width='18' height='6' rx='1.5'/%3E%3Ccircle cx='7' cy='7' r='.6' fill='%23fff'/%3E%3Ccircle cx='7' cy='17' r='.6' fill='%23fff'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card:nth-of-type(4) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4v6h6'/%3E%3Cpath d='M20 20v-6h-6'/%3E%3Cpath d='M4.5 15a8 8 0 0 0 14.4 2.5M19.5 9A8 8 0 0 0 5.1 6.5'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card:nth-of-type(5) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.5a16 16 0 0 1 20 0'/%3E%3Cpath d='M5.5 12.5a11 11 0 0 1 13 0'/%3E%3Cpath d='M9 16.3a6 6 0 0 1 6 0'/%3E%3Ccircle cx='12' cy='19.5' r='1' fill='%23fff'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card:nth-of-type(6) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 3v2M12 19v2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M3 12h2M19 12h2M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4'/%3E%3C/svg%3E"); }

/* Tarjetas "por qué elegirnos": misma caja que los servicios, icono redondo junto al titular */
.ig-card-simple::before {
  border-radius: 50%;
  background: var(--ig-blue-500);
}
.ig-card-simple h3, .ig-card-simple p { margin-left: 0; }

.ig-cards-grid > .ig-card-simple:nth-of-type(1) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10v9a1 1 0 0 0 1 1H9a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h2.5a1 1 0 0 0 1-1v-9'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card-simple:nth-of-type(2) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a2 2 0 0 1-2 2H8l-5 4V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M9 10h6M9 13.5h3.5'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card-simple:nth-of-type(3) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3 4 14h6l-1 7 9-11h-6l1-7z'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card-simple:nth-of-type(4) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z'/%3E%3Cpath d='M9.5 12l1.8 1.8L15 10'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card-simple:nth-of-type(5) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-1 4 8.5 8.5 0 0 1-7.5 4.5 8.4 8.4 0 0 1-4-1L3 20l1-5.5a8.4 8.4 0 0 1-1-4A8.5 8.5 0 0 1 7.5 3a8.4 8.4 0 0 1 4-1h.5a8.48 8.48 0 0 1 8 8v1.5z'/%3E%3C/svg%3E"); }
.ig-cards-grid > .ig-card-simple:nth-of-type(6) { --ig-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3Cpath d='M18 6 6 18'/%3E%3C/svg%3E"); }

/* ---------- Cómo trabajo: pasos ---------- */
.ig-steps {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2rem, 3vw, 3rem);
  position: relative;
}
.ig-step { width: auto !important; flex: none !important; padding: 0; position: relative; }
.ig-step-number {
  font-family: var(--ig-font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ig-blue-500), var(--ig-cyan-400));
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.ig-step p:not(.ig-step-number) { color: var(--ig-muted); font-size: .95rem; }

/* ---------- Zona de cobertura ---------- */
.ig-zones {
  margin-top: 1.5rem;
  font-family: var(--ig-font-display);
  font-weight: 600;
  color: var(--ig-ink);
  font-size: clamp(1rem, .9rem + .3vw, 1.15rem);
  letter-spacing: .01em;
}

/* ---------- FAQ ---------- */
.ig-faq-list { max-width: 820px; margin: clamp(2rem,3vw,3rem) auto 0; display: flex; flex-direction: column; gap: .85rem; }
details.ig-faq-item {
  background: var(--ig-surface-alt);
  border: 1px solid var(--ig-line);
  border-radius: var(--ig-radius-sm);
  padding: 1.1rem 1.4rem;
}
details.ig-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ig-ink);
  font-family: var(--ig-font-display);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
details.ig-faq-item summary::-webkit-details-marker { display: none; }
details.ig-faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ig-blue-500);
  transition: transform .2s ease;
}
details.ig-faq-item[open] summary::after { transform: rotate(45deg); }
details.ig-faq-item p { margin: .9rem 0 0; color: var(--ig-muted); }

/* ---------- Contacto ---------- */
.ig-contact-section { background: var(--ig-surface-alt); }
.ig-hours {
  margin-top: 1rem;
  color: var(--ig-muted);
  font-size: .95rem;
}
.ig-form-wrapper {
  margin-top: clamp(2rem, 3vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--ig-line);
  border-radius: var(--ig-radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--ig-shadow);
}
.ig-form-wrapper .wpcf7-form p { margin-bottom: 1rem; }
.ig-form-wrapper .wpcf7-form label { display: block; font-weight: 600; color: var(--ig-ink); margin-bottom: .35rem; font-size: .92rem; }
.ig-form-wrapper .wpcf7-form input[type="text"],
.ig-form-wrapper .wpcf7-form input[type="email"],
.ig-form-wrapper .wpcf7-form input[type="tel"],
.ig-form-wrapper .wpcf7-form textarea {
  width: 100%;
  border: 1px solid var(--ig-line);
  border-radius: 10px;
  padding: .75rem .9rem;
  font-family: var(--ig-font-body);
  font-size: .96rem;
  background: var(--ig-surface-alt);
  transition: border-color .2s ease, background .2s ease;
}
.ig-form-wrapper .wpcf7-form input:focus,
.ig-form-wrapper .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--ig-blue-500);
  background: #fff;
}
.ig-form-wrapper .wpcf7-form input[type="submit"] {
  border: none;
  border-radius: 999px;
  padding: .85rem 1.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--ig-blue-500), var(--ig-cyan-400));
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ig-form-wrapper .wpcf7-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--ig-shadow); }

/* ---------- Footer ---------- */
.site-footer, footer.wp-block-template-part {
  background: var(--ig-navy-950);
  color: #aab6cf;
  margin-top: 0 !important;
}
.site-footer > .wp-block-group, footer > .wp-block-group { max-width: var(--ig-container-lg); margin-left: auto; margin-right: auto; padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); }
.site-footer .wp-block-site-title a, footer .wp-block-site-title a { color: #fff; }
.site-footer a, footer a { color: #aab6cf; }
.site-footer a:hover, footer a:hover { color: #fff; }
.ig-footer-links { gap: .5rem 1.5rem; row-gap: .5rem; }
.ig-footer-links p { margin: 0; }
.ig-footer-links a { font-size: .88rem; }
.ig-footer-meta { font-size: .85rem; color: #6b7ba0; margin: 0; }
.ig-footer-meta a { color: #8fa0c4; }
.site-footer > .wp-block-group > p, footer > .wp-block-group > p { margin: 1.75rem 0 0; }

/* ---------- Botón flotante WhatsApp ---------- */
.ig-float-whatsapp {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.ig-float-whatsapp:hover { transform: scale(1.08); }
.ig-float-whatsapp svg { width: 28px; height: 28px; fill: #fff; }
.ig-float-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: ig-pulse 2.4s infinite;
}
@keyframes ig-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Aviso de cookies ---------- */
.ig-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  background: var(--ig-navy-950);
  color: #c4cee4;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  box-shadow: 0 -10px 30px -10px rgba(0,0,0,.35);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.ig-cookie-banner.is-visible { transform: none; }
.ig-cookie-banner p { margin: 0; font-size: .88rem; max-width: 62ch; }
.ig-cookie-banner a { color: #a9c6ff; }
.ig-cookie-banner button {
  flex: none;
  border: none;
  border-radius: 999px;
  padding: .6rem 1.4rem;
  font-weight: 600;
  font-size: .88rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ig-blue-500), var(--ig-cyan-400));
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ig-cookie-banner button:hover { transform: translateY(-1px); box-shadow: var(--ig-shadow); }

/* ---------- Animaciones de aparición ---------- */
.ig-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.ig-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ig-reveal { opacity: 1; transform: none; transition: none; }
  .ig-float-whatsapp::before { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive: móvil ---------- */
@media (max-width: 781px) {
  .ig-hero .wp-block-columns { flex-direction: column; }
  .wp-block-post-title { text-align: center !important; }
  .ig-eyebrow { margin-left: auto; margin-right: auto; }
  .ig-hero p, .ig-hero .ig-trust-line, .ig-hero .wp-block-buttons { justify-content: center; text-align: center; }
  .ig-hero .wp-block-buttons { justify-content: center; }
  .wp-block-navigation__responsive-container.is-menu-open { background: #fff; }
}

/* ---------- Imagen destacada y bloques generales sin desbordes ---------- */
img { max-width: 100%; height: auto; }
.wp-block-group { overflow-wrap: anywhere; }
