/* ============================================================
   GETRON REFORMAS — hoja de estilos
   Paleta real del logo: gris carbón + teal + cian.
   Motivo central: "capas" — las tres barras del logotipo se
   convierten en el lenguaje visual de todo el sitio (divisores,
   numeración de oficios, el filmstrip de servicios).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --mk-primario: #1d6d75;
  --mk-secundario: #3fd0de;
  --mk-fondo: #faf9f6;
  --mk-texto: #1e1e1e;

  --gt-oscuro: #0f2427;
  --gt-oscuro-2: #133238;
  --gt-gris: #6b6b6b;
  --gt-claro: #ffffff;
  --gt-borde: #e4e1da;

  --gt-serif: 'Roboto Slab', Georgia, serif;
  --gt-sans: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;

  --gt-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mk-fondo);
  color: var(--mk-texto);
  font-family: var(--gt-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--gt-serif);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
.gt-container { max-width: var(--gt-container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.gt-eyebrow {
  font-family: var(--gt-sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mk-primario);
  display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1em;
}
.gt-eyebrow::before { content: ""; width: 1.6em; height: 2px; background: var(--mk-secundario); display: inline-block; }

/* --- Divisor "capas" — firma visual de las tres barras del logo -- */
.gt-capas { display: flex; height: 7px; }
.gt-capas span { flex: 1; }
.gt-capas span:nth-child(1) { background: var(--gt-gris); }
.gt-capas span:nth-child(2) { background: var(--mk-primario); }
.gt-capas span:nth-child(3) { background: var(--mk-secundario); }

/* --- Botones -------------------------------------------------- */
.gt-btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--gt-sans); font-weight: 700; font-size: .98rem;
  padding: .9em 1.6em; border-radius: 3px; border: 2px solid transparent;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.gt-btn svg { width: 1.15em; height: 1.15em; flex: none; }
.gt-btn:hover { transform: translateY(-2px); }
.gt-btn--primario { background: var(--mk-primario); color: #fff; }
.gt-btn--primario:hover { background: #175860; box-shadow: 0 14px 30px rgba(15,60,64,.28); }
.gt-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.gt-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.gt-btn--oscuro { background: var(--gt-oscuro); color: #fff; }
.gt-btn--oscuro:hover { background: #06171a; }

/* ============================================================
   HEADER
   ============================================================ */
.gt-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250,249,246,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gt-borde);
}
.gt-header-inner {
  max-width: var(--gt-container); margin: 0 auto; padding: .55rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.gt-logo img { height: clamp(30px, 4vw, 38px); width: auto; }
.gt-nav { display: flex; align-items: center; gap: 1.9rem; }
.gt-nav a {
  font-size: .92rem; font-weight: 600; color: var(--mk-texto); position: relative; padding: .3em 0;
}
.gt-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--mk-primario);
  transition: right .28s cubic-bezier(.22,1,.36,1);
}
.gt-nav a:hover::after { right: 0; }
.gt-header-actions { display: flex; align-items: center; gap: .6rem; }
.gt-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1.5px solid var(--gt-borde); color: var(--mk-primario);
  transition: background .25s, border-color .25s, transform .25s;
}
.gt-icon-btn:hover { background: var(--mk-primario); color: #fff; border-color: var(--mk-primario); transform: translateY(-2px); }
.gt-icon-btn svg { width: 1.15em; height: 1.15em; }
.gt-tel-text { display: none; flex-direction: column; line-height: 1.15; }
.gt-tel-text .num { font-weight: 700; font-size: .95rem; }
.gt-tel-text .lbl { font-size: .68rem; color: var(--gt-gris); }
.gt-tel-link { display: inline-flex; align-items: center; gap: .6em; }
.gt-burger { display: none; background: none; border: none; padding: .4rem; cursor: pointer; }
.gt-burger span { display: block; width: 22px; height: 2px; background: var(--mk-texto); margin: 5px 0; transition: transform .3s, opacity .3s; }

@media (min-width: 981px) {
  .gt-tel-text { display: flex; }
}

/* Menú móvil */
.gt-mobile-nav {
  position: fixed; inset: 0; z-index: 900; background: var(--gt-oscuro);
  display: flex; flex-direction: column; justify-content: center; padding: 2rem;
  transform: translateY(-100%); transition: transform .5s cubic-bezier(.76,0,.24,1);
}
.gt-mobile-nav.gt-open { transform: translateY(0); }
.gt-mobile-nav a {
  font-family: var(--gt-serif); font-size: clamp(1.6rem, 8vw, 2.2rem); color: #fff;
  padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.gt-mobile-nav .gt-mobile-contact { margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.gt-mobile-close { position: absolute; top: 1.4rem; right: 1.4rem; background: none; border: none; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 980px) {
  .gt-nav { display: none; }
  .gt-burger { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.gt-hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.gt-hero-media { position: absolute; inset: 0; z-index: 0; }
.gt-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,20,22,.92) 0%, rgba(8,20,22,.55) 42%, rgba(8,20,22,.22) 68%, rgba(8,20,22,.5) 100%);
}
.gt-hero-content { position: relative; z-index: 1; width: 100%; padding: 7.5rem 0 4.5rem; }
.gt-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.35); max-width: 16ch; }
.gt-hero .gt-eyebrow { color: var(--mk-secundario); }
.gt-hero .gt-eyebrow::before { background: var(--mk-secundario); }
.gt-hero-sub { max-width: 46ch; font-size: 1.08rem; color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.gt-hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.gt-hero-trust {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.25);
  display: flex; flex-wrap: wrap; gap: .5rem 2.2rem; font-size: .86rem; color: rgba(255,255,255,.85);
}
.gt-hero-trust strong { color: #fff; font-family: var(--gt-serif); font-size: 1.05rem; }

/* ============================================================
   FRANJA DE CIFRAS
   ============================================================ */
.gt-stats { background: var(--gt-oscuro); color: #fff; padding: clamp(2.6rem, 6vw, 4.4rem) 0; }
.gt-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.gt-stat .mk-counter, .gt-stat .gt-num {
  font-family: var(--gt-serif); font-size: clamp(2.1rem, 4.2vw, 3.1rem); color: var(--mk-secundario); font-weight: 700; line-height: 1;
}
.gt-stat .gt-lbl { display: block; margin-top: .6rem; font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.75); }
@media (max-width: 720px) {
  .gt-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; }
}

/* ============================================================
   CITA / POR QUÉ ELEGIRNOS
   ============================================================ */
.gt-quote { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--gt-claro); }
.gt-quote-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.gt-quote blockquote {
  font-family: var(--gt-serif); font-size: clamp(1.5rem, 3.6vw, 2.5rem); font-weight: 600;
  color: var(--gt-oscuro); margin: 0 0 1.6rem; line-height: 1.3;
}
.gt-quote blockquote span { color: var(--mk-primario); }
.gt-quote-sub { max-width: 60ch; margin: 0 auto; color: var(--gt-gris); font-size: 1.02rem; }

/* ============================================================
   SERVICIOS — filmstrip de "capas" (mk-pin + mk-hscroll)
   ============================================================ */
.gt-servicios { position: relative; background: var(--gt-oscuro); }
.gt-servicios-head { padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem; color: #fff; }
.gt-servicios-head h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; }
.gt-servicios-head p { color: rgba(255,255,255,.72); max-width: 52ch; font-size: 1.02rem; }
.gt-servicios-pin { height: 420vh; }
.gt-hscroll-wrap { background: var(--gt-oscuro); }
.gt-oficio {
  width: min(70vw, 380px); flex-shrink: 0;
}
.gt-oficio-media { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; }
.gt-oficio-media img { width: 100%; height: 100%; object-fit: cover; }
.gt-oficio-num {
  position: absolute; top: .8rem; left: .8rem; font-family: var(--gt-serif); font-weight: 700;
  color: #fff; background: rgba(15,36,39,.72); backdrop-filter: blur(4px);
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.gt-oficio h3 { color: #fff; font-size: 1.28rem; margin-top: 1.1rem; margin-bottom: .35rem; }
.gt-oficio p { color: rgba(255,255,255,.68); font-size: .92rem; margin: 0; }
.gt-hscroll-hint {
  text-align: center; padding-bottom: 2.5rem; color: rgba(255,255,255,.45); font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
}

/* Fallback sin motion (reduced-motion / o si el pin no aplica): scroll horizontal manual */
@media (prefers-reduced-motion: reduce) {
  .gt-hscroll-wrap { overflow-x: auto; padding: 1rem 0 2.5rem; }
  .mk-hscroll-track { padding: 0 6vw; }
}

/* ============================================================
   CATEGORÍAS — hogar / empresas / hostelería
   ============================================================ */
.gt-categorias { background: var(--mk-fondo); padding: clamp(4rem, 8vw, 6rem) 0; }
.gt-cat-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.gt-cat-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.gt-cat-head p { color: var(--gt-gris); font-size: 1.02rem; }
.gt-cat-block {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--gt-borde);
}
.gt-cat-block:last-child { border-bottom: 1px solid var(--gt-borde); }
.gt-cat-block:nth-child(even) .gt-cat-media { order: 2; }
.gt-cat-media { aspect-ratio: 4/3; }
.gt-cat-block .gt-eyebrow { font-size: .74rem; }
.gt-cat-block h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.gt-cat-block p { color: var(--gt-gris); max-width: 46ch; }
@media (max-width: 860px) {
  .gt-cat-block, .gt-cat-block:nth-child(even) { grid-template-columns: 1fr; }
  .gt-cat-block:nth-child(even) .gt-cat-media { order: 0; }
}

/* ============================================================
   MARCAS
   ============================================================ */
.gt-marcas { background: var(--gt-claro); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--gt-borde); border-bottom: 1px solid var(--gt-borde); }
.gt-marcas-head { text-align: center; margin-bottom: 2rem; }
.gt-marcas-head p { color: var(--gt-gris); font-size: .95rem; margin: 0; }
.gt-marcas-track { align-items: center; }
.gt-marcas-track img { height: clamp(22px, 3vw, 32px); width: auto; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.gt-marcas-track img:hover { filter: grayscale(0); opacity: 1; }

/* ============================================================
   PREGUNTAS FRECUENTES
   ============================================================ */
.gt-faq { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--mk-fondo); }
.gt-faq-grid { max-width: 820px; margin: 0 auto; }
.gt-faq-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.gt-faq-item { border-bottom: 1px solid var(--gt-borde); }
.gt-faq-item summary {
  cursor: pointer; list-style: none; padding: 1.4rem .2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--gt-serif); font-weight: 600; font-size: 1.08rem;
}
.gt-faq-item summary::-webkit-details-marker { display: none; }
.gt-faq-item summary .gt-plus { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid var(--mk-primario); position: relative; }
.gt-faq-item summary .gt-plus::before, .gt-faq-item summary .gt-plus::after {
  content: ""; position: absolute; background: var(--mk-primario); top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.gt-faq-item summary .gt-plus::before { width: 8px; height: 2px; }
.gt-faq-item summary .gt-plus::after { width: 2px; height: 8px; transition: transform .25s; }
.gt-faq-item[open] summary .gt-plus::after { transform: translate(-50%,-50%) scaleY(0); }
.gt-faq-item p { color: var(--gt-gris); padding: 0 .2rem 1.4rem; max-width: 60ch; }

/* ============================================================
   ZONA DE SERVICIO
   ============================================================ */
.gt-zona { background: var(--gt-oscuro-2); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.gt-zona-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: start; }
.gt-zona h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gt-zona p { color: rgba(255,255,255,.72); max-width: 40ch; }
.gt-zona-tags { display: flex; flex-wrap: wrap; gap: .55rem; }
.gt-zona-tags span {
  font-size: .84rem; padding: .45em .9em; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.85);
}
.gt-zona-tags span.gt-tag-sede { border-color: var(--mk-secundario); color: var(--mk-secundario); font-weight: 700; }
@media (max-width: 780px) { .gt-zona-inner { grid-template-columns: 1fr; } }

/* ============================================================
   CIERRE / CONTACTO (cierre estático — sin animación)
   ============================================================ */
.gt-cierre { background: var(--gt-oscuro); color: #fff; padding: clamp(4.5rem, 9vw, 7rem) 0 0; }
.gt-cierre-top { text-align: center; max-width: 700px; margin: 0 auto clamp(3rem, 6vw, 4rem); }
.gt-cierre-top h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.gt-cierre-top p { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.gt-cierre-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.gt-contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.gt-contacto-datos { padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem); }
.gt-contacto-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.gt-contacto-item:first-child { padding-top: 0; }
.gt-contacto-item .gt-ci-icon {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(63,208,222,.14); color: var(--mk-secundario);
  display: flex; align-items: center; justify-content: center;
}
.gt-contacto-item .gt-ci-icon svg { width: 1.2em; height: 1.2em; }
.gt-contacto-item .gt-ci-lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: .2rem; }
.gt-contacto-item .gt-ci-val { font-family: var(--gt-serif); font-size: 1.12rem; font-weight: 600; }
.gt-contacto-item a.gt-ci-val:hover { color: var(--mk-secundario); }
.gt-mapa { min-height: 360px; filter: grayscale(.25) contrast(1.05); }
.gt-mapa iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) {
  .gt-contacto-grid { grid-template-columns: 1fr; }
  .gt-mapa { order: -1; min-height: 280px; }
  .gt-mapa iframe { min-height: 280px; }
}

.gt-footer { padding: 1.6rem 0; }
.gt-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .82rem; color: rgba(255,255,255,.5); }
.gt-footer img { height: 22px; opacity: .8; }
.gt-footer-links { display: flex; gap: 1.4rem; }
.gt-footer-links a:hover { color: var(--mk-secundario); }

/* ============================================================
   Botón flotante WhatsApp
   ============================================================ */
.gt-float-wa {
  position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 600;
  width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .25s;
}
.gt-float-wa:hover { transform: scale(1.08); }
.gt-float-wa svg { width: 1.7em; height: 1.7em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
