/* ═══════════════════════════════════════════════
   TINTE DE LOS ALEMANES — Hoja de estilos principal
   Limpiezas de Textiles, S.A. · CIF A-50100254
   ═══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --navy:        #1e3a5f;
  --navy-deep:   #122540;
  --navy-mid:    #264d7a;
  --cyan:        #3ab4d8;
  --cyan-light:  #6dcde8;
  --cyan-pale:   #d6f0f8;
  --silver:      #a0b4c4;
  --silver-lt:   #d0dde6;
  --off-white:   #f2f6f9;
  --white:       #ffffff;
  --text:        #1a2e42;
  --text-muted:  #4a6070;
  --wa:          #25D366;
  --border:      rgba(30,58,95,0.12);

  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', Arial, sans-serif;

  --radius: 0;           /* diseño sin redondeos: aspecto industrial */
  --transition: 0.2s ease;
  --max-w: 1160px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; }
address { font-style: normal; }
ul   { list-style: none; }

/* ── Utilities ── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section     { padding: 6rem 0; }
.bg-white    { background: var(--white); }
.bg-off      { background: var(--off-white); }
.bg-navy     { background: var(--navy-deep); }

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan);
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 0.6rem;
}
.eyebrow::before { content:''; width: 28px; height: 1px; background: var(--cyan); flex-shrink:0; }

.eyebrow-dark {
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan);
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 0.6rem;
}
.eyebrow-dark::before { content:''; width: 28px; height: 1px; background: var(--cyan); flex-shrink:0; }

.eyebrow-cyan {
  font-family: var(--font-head);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan-light);
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 0.6rem;
}
.eyebrow-cyan::before { content:''; width: 28px; height: 1px; background: var(--cyan-light); flex-shrink:0; }

h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 1.0;
  color: var(--navy);
}
.h2-light { color: var(--white); }

h3 {
  font-family: var(--font-head);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rule       { width: 36px; height: 3px; background: var(--cyan); margin: 1.1rem 0 2.5rem; }
.rule-cyan  { width: 36px; height: 3px; background: var(--cyan); margin: 1.1rem 0 3rem; }

.section-intro { font-size: 1.02rem; color: var(--text-muted); max-width: 640px; margin-bottom: 3rem; line-height: 1.75; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--cyan); color: var(--navy-deep);
  font-family: var(--font-head); font-weight: 800;
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; text-decoration: none;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--cyan-light); }

.btn-outline {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.5); color: rgba(255,255,255,0.85);
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.88rem 2.2rem; text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ════════════════════ NAV ════════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: var(--navy-deep);
  border-bottom: 2px solid var(--cyan);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 62px;
}

.brand { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.brand-arlequin { height: 38px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-top {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.06em; text-transform: uppercase;
}
.brand-top em { font-style: normal; color: var(--cyan); }
.brand-sub { font-size: 0.6rem; color: var(--silver); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; }

.nav-menu { display: flex; gap: 2.5rem; }
.nav-menu a {
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color var(--transition);
}
.nav-menu a:hover { color: var(--cyan); }

/* burger (mobile) */
.burger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 18px; background: none; border: none; cursor: pointer; padding: 0;
}
.burger span { display: block; height: 2px; background: var(--white); transition: var(--transition); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ════════════════════ HERO ════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding-top: 62px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18,37,64,0.93) 0%,
    rgba(18,37,64,0.80) 45%,
    rgba(30,58,95,0.55) 100%
  );
}

.hero-content {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 2rem 3rem;
  max-width: 980px; margin: 0 auto; width: 100%;
}

.hero-main {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.hero-arlequin {
  height: clamp(220px, 32vw, 380px);
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
}

.hero-text { flex: 1; min-width: 0; }

.hero-content .eyebrow { margin-bottom: 1.5rem; }

.hero-h1 {
  display: flex; flex-direction: column;
  font-family: var(--font-head);
  font-weight: 800; text-transform: uppercase;
  line-height: 0.92; letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
.h1-tinte    { font-size: clamp(5rem, 14vw, 11rem); color: var(--white); }
.h1-de       { font-size: clamp(1.6rem, 4.5vw, 3.2rem); color: var(--cyan); font-weight: 300; letter-spacing: 0.18em; margin: 0.15em 0; }
.h1-alemanes { font-size: clamp(2.8rem, 7.5vw, 6rem); color: var(--white); }

.hero-claim {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.65);
  font-style: italic; font-weight: 300;
  line-height: 1.7; margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Ticker stripe */
.hero-stripe {
  position: relative; z-index: 1;
  background: var(--cyan);
  display: flex; align-items: center; gap: 0;
  overflow: hidden; white-space: nowrap;
  height: 38px;
  animation: ticker-scroll 28s linear infinite;
}
.hero-stripe span, .hero-stripe .dot {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--navy-deep);
  padding: 0 1.4rem;
  flex-shrink: 0;
}
.hero-stripe .dot { padding: 0; font-weight: 800; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════ PRESENTACIÓN ════════════════════ */
.pres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pres-fotos { position: relative; height: 500px; }

.foto-main {
  position: absolute; top: 0; left: 0;
  width: 72%; height: 78%;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.foto-main img { width: 100%; height: 100%; object-fit: cover; }

.foto-sec-wrap {
  position: absolute; bottom: 0; right: 0;
  width: 48%; height: 50%;
  display: flex; flex-direction: column; gap: 6px;
}
.foto-sec {
  flex: 1; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.foto-sec img { width: 100%; height: 100%; object-fit: cover; }

.foto-badge-wrap { background: var(--navy); display: flex; align-items: center; justify-content: center; }
.foto-badge { text-align: center; }
.badge-num {
  font-family: var(--font-head);
  font-size: 3.2rem; font-weight: 800;
  color: var(--cyan); line-height: 1; display: block;
}
.badge-txt { font-size: 0.72rem; color: var(--silver); letter-spacing: 0.12em; text-transform: uppercase; }

.pres-text p {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 1.1rem;
}
.pres-text strong { color: var(--text); }

.pres-valores {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
  margin-top: 2rem;
}
.valor {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--off-white);
  border-left: 3px solid var(--cyan);
  font-size: 0.82rem; font-weight: 500; color: var(--text);
}
.valor-ico { font-size: 1rem; flex-shrink: 0; }

/* ════════════════════ GALERÍA BANDA ════════════════════ */
.galeria-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 320px;
}
.gal-item { overflow: hidden; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(0.85) brightness(0.92);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.gal-item:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }

/* ════════════════════ SERVICIOS ════════════════════ */
#servicios .container { padding-top: 0; }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 2.5rem;
}

.srv-card {
  background: rgba(255,255,255,0.03);
  padding: 2.25rem 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition);
}
.srv-card:hover { background: rgba(58,180,216,0.07); }

.srv-card--highlight {
  background: rgba(58,180,216,0.1);
  border-color: rgba(58,180,216,0.3);
}

.srv-icon { font-size: 1.8rem; margin-bottom: 1rem; }

.srv-card h3 {
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 0.75rem;
}
.srv-card p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.75; }
.srv-card strong { color: rgba(255,255,255,0.75); }

.srv-note {
  display: inline-block; margin-top: 0.9rem;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600;
  font-family: var(--font-head);
}
.srv-cta {
  display: inline-block; margin-top: 1.1rem;
  background: var(--cyan); color: var(--navy-deep);
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.55rem 1.3rem; text-decoration: none;
  transition: background var(--transition);
}
.srv-cta:hover { background: var(--cyan-light); }

/* Agua ozonizada */
.ozone-callout {
  display: flex; align-items: flex-start; gap: 1.5rem;
  background: rgba(58,180,216,0.08);
  border: 1px solid rgba(58,180,216,0.25);
  padding: 2rem 2.25rem;
}
.ozone-ico { font-size: 2.4rem; flex-shrink: 0; margin-top: 0.15rem; }
.ozone-callout h4 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: 1rem; color: var(--cyan-light); letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.ozone-callout p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* ════════════════════ TIENDAS ════════════════════ */
.tiendas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
}

.tienda {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: background var(--transition);
}
.tienda:hover { background: var(--off-white); }

.tienda-badge {
  display: inline-block; margin-bottom: 0.75rem;
  font-family: var(--font-head); font-size: 0.62rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--cyan); color: var(--navy-deep);
  padding: 0.2rem 0.6rem;
}

.tienda-nombre {
  font-size: 1rem; color: var(--navy);
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.tienda-dir {
  font-size: 0.82rem; color: var(--text-muted);
  line-height: 1.5; margin-bottom: 1rem;
}

.tienda-contactos {
  display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 1rem;
}

.tienda-tel, .tienda-wa, .tienda-no-wa {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; text-decoration: none;
  padding: 0.45rem 0.75rem;
  border: 1px solid;
  transition: all var(--transition);
  font-family: var(--font-head); font-weight: 600;
  letter-spacing: 0.06em;
}
.tienda-tel { border-color: var(--navy); color: var(--navy); }
.tienda-tel:hover { background: var(--navy); color: var(--white); }

.tienda-wa { border-color: var(--wa); color: var(--wa); }
.tienda-wa:hover { background: var(--wa); color: var(--white); }

.tienda-no-wa {
  border-color: var(--silver-lt); color: var(--silver);
  cursor: default; font-style: italic;
}

.tienda-map {
  display: block; text-align: center;
  font-size: 0.72rem; font-family: var(--font-head); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  border: 1px solid var(--border); padding: 0.45rem 0.5rem;
  transition: color var(--transition), border-color var(--transition);
}
.tienda-map:hover { color: var(--cyan); border-color: var(--cyan); }

/* Email block */
.email-block {
  text-align: center; padding: 2.5rem;
  background: var(--off-white);
  border: 1px solid var(--border);
}
.email-block p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.email-link {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.1rem; letter-spacing: 0.04em;
  color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--cyan);
  transition: color var(--transition);
}
.email-link:hover { color: var(--cyan); }

/* ════════════════════ FOOTER ════════════════════ */
#footer {
  background: var(--navy-deep);
  border-top: 2px solid var(--cyan);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

.footer-arlequin { height: 64px; width: auto; margin-bottom: 1rem; }

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 800;
  color: var(--white); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.3rem;
}
.footer-brand em { font-style: normal; color: var(--cyan); }
.footer-desde {
  font-size: 0.72rem; color: var(--silver);
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-legal-name { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.6; }

.footer-col-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav-col a {
  font-size: 0.82rem; color: rgba(255,255,255,0.45); text-decoration: none;
  transition: color var(--transition);
}
.footer-nav-col a:hover { color: var(--cyan); }

.footer-email {
  display: block; font-size: 0.82rem;
  color: var(--cyan-light); text-decoration: none;
  margin-bottom: 1rem; word-break: break-word;
  transition: color var(--transition);
}
.footer-email:hover { color: var(--white); }
.footer-domicilio { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; }
.footer-domicilio a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-domicilio a:hover { color: var(--cyan); }

.footer-copy {
  max-width: var(--max-w); margin: 0 auto;
  font-size: 0.72rem; color: rgba(255,255,255,0.2);
  text-align: center;
}

/* ════════════════════ RESPONSIVE ════════════════════ */
@media (max-width: 1080px) {
  .tiendas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .pres-grid { grid-template-columns: 1fr; gap: 3rem; }
  .pres-fotos { height: 360px; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-band { grid-template-columns: repeat(2, 1fr); height: auto; }
  .gal-item { height: 220px; }
}

@media (max-width: 640px) {
  .nav-menu {
    display: none;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column; gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-menu a { display: block; padding: 1rem 1.5rem; font-size: 0.9rem; }
  .burger { display: flex; }

  .h1-tinte    { font-size: clamp(3.5rem, 18vw, 6rem); }
  .h1-alemanes { font-size: clamp(1.9rem, 9vw, 3.5rem); }

  .hero-main { flex-direction: column; gap: 1.5rem; text-align: center; }
  .hero-arlequin { height: clamp(160px, 45vw, 220px); }
  .hero-claim { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .brand-arlequin { height: 30px; }

  .srv-grid  { grid-template-columns: 1fr; }
  .tiendas-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pres-valores { grid-template-columns: 1fr; }
  .galeria-band { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stripe { animation: none; }
  * { transition: none !important; }
}
