/* ===========================================================
   Servicio Técnico Junkers Barcelona — Estilo Final Optimizado
   Color Corporativo Actualizado: #00519e
   =========================================================== */

/* ---------- Tokens ---------- */
:root {
  --primary-dark: #313131;
  --primary: #00519e;          /* Color Corporativo Junkers */
  --primary-soft: #E6F0FA;
  --accent: #00519e;
  --accent-dark: #003f7a;      /* Hover botones */
  --success: #16A34A;
  --text: #333333;
  --muted: #666666;
  --bg: #FFFFFF;
  --surface: #F9FAFB;
  --border: #EEEEEE;
  --radius-pill: 999px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-sm: 0 2px 6px rgba(0, 81, 158, 0.05); 
  --shadow-md: 0 8px 24px rgba(0, 81, 158, 0.08); 
  --container: 1180px;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-align: center;
  padding-top: 40px;
}

h1, h2, h3 {
  margin: 0 0 16px;
  color: var(--primary-dark);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(28px, 3.5vw, 36px); }

p { margin: 0 0 16px; }

a {
  text-decoration: none;
  transition: 0.2s;
}

.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}

/* ---------- Barra Superior Fija ---------- */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 40px;
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  text-align: center;
}

.top-bar p {
  margin: 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .top-bar p {
    font-size: 12px;
  }
}

/* ---------- Header & Menú ---------- */
.header {
  position: sticky;
  top: 40px !important; 
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 15px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.logo__mark img {
  height: 30px;
  display: block;
}

.clase-menu {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  transition: 0.3s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.clase-menu:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 960px) {
  .clase-menu {
    display: none;
  }

  .header__right {
    gap: 0;
  }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.btn--cta {
  background: var(--primary);
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(0, 81, 158, 0.2);
}

.btn--cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 18px;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  max-width: 850px;
  margin: 0 auto;
}

.hero__brand-logo {
  margin-bottom: 20px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 17px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-block: 30px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
}

.hero__trust span {
  color: var(--primary);
}

@media (max-width: 760px) {
  .hero {
    padding-top: 20px;
    padding-bottom: 35px;
  }

  .hero__brand-logo {
    margin-bottom: 12px;
  }

  .hero__pill {
    margin-bottom: 12px;
  }

  .hero__title {
    margin-bottom: 10px;
  }
}

/* ---------- Servicios ---------- */
section {
  padding-block: 80px;
}

.section__head {
  text-align: center;
  margin-bottom: 40px;
}

.kicker {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: block;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service:hover { 
  border-color: var(--primary); 
  box-shadow: var(--shadow-md); 
  transform: translateY(-5px); 
}

.service__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service__icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.service h3 {
  font-size: 18px;
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
}

/* ---------- Reseñas ---------- */
.reviews {
  background: var(--surface);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.stars {
  color: #FFB100;
  font-size: 20px;
  margin-bottom: 10px;
}

.review-card cite {
  display: block;
  margin-top: 15px;
  font-weight: 700;
  color: var(--muted);
  font-style: normal;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-bottom: 40px;
}

.footer__phone {
  color: var(--primary);
  font-size: 32px;
  font-weight: 800;
}

.footer__legal {
  background: var(--surface);
  padding: 24px;
  font-size: 12px;
  color: var(--muted);
  width: 100%;
}

/* ---------- Botón Fijo Móvil ---------- */
.sticky-call-full {
  display: none;
}

@media (max-width: 760px) {
  .sticky-call-full {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    background: var(--primary);
    color: #FFFFFF !important;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none !important;
    z-index: 9999;
    border: none;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
  }

  .sticky-call-full svg:last-child {
    animation: arrow-move 1.5s infinite;
  }

  @keyframes arrow-move {
    0% {
      transform: translateX(0);
    }

    50% {
      transform: translateX(5px);
    }

    100% {
      transform: translateX(0);
    }
  }

  body {
    padding-bottom: 70px;
  }
}

/* ---------- Texto debajo del botón de cita ---------- */
.cta-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  display: block;
  text-align: center;
}

@media (max-width: 760px) {
  .cta-note {
    font-size: 13px;
    margin-top: 10px;
    padding-bottom: 20px;
  }
}