/* ============ Base / Reset ============ */
:root {
  --navy: #1B2A4A;
  --navy-2: #22335C;
  --navy-dark: #152139;
  --orange: #F26522;
  --orange-light: #F5821F;
  --orange-soft: #FFF1E8;
  --white: #FFFFFF;
  --muted: #9AA7C0;
  --bg-soft: #F4F6FA;
  --shadow: 0 10px 30px rgba(21, 33, 57, 0.12);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ Botones ============ */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(242, 101, 34, 0.35);
}

.btn--primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--orange);
  color: var(--white);
  font-size: 0.95rem;
  padding: 10px 18px;
}

.btn--whatsapp:hover {
  background: var(--orange-light);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn--big {
  font-size: 1.15rem;
  padding: 17px 38px;
  margin-top: 12px;
}

/* ============ Header / Nav ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(27, 42, 74, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.brand__name {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand__name span {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  flex-direction: column;
  padding: 16px 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__menu.open {
  display: flex;
}

.nav__link {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__link:hover {
  color: var(--orange);
}

.nav__cta {
  margin-top: 16px;
  text-align: center;
  text-decoration: none;
}

/* Desktop nav */
@media (min-width: 900px) {
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: transparent;
    padding: 0;
    border-bottom: none;
  }

  .nav__link {
    border-bottom: none;
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .nav__cta {
    margin-top: 0;
    margin-left: 10px;
  }
}

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(245, 130, 31, 0.25), transparent 60%),
    radial-gradient(800px 400px at -10% 100%, rgba(255, 255, 255, 0.06), transparent 55%),
    var(--navy);
  padding: 170px 0 90px;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  margin-top: 18px;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ============ Accesos rápidos ============ */
.quick {
  background: var(--navy-2);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-align: center;
}

.quick__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(242, 101, 34, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.quick__icon svg {
  width: 28px;
  height: 28px;
}

.quick__item:hover .quick__icon {
  background: var(--orange-light);
  transform: translateY(-3px);
}

.quick__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  max-width: 90px;
}

@media (max-width: 480px) {
  .quick__icon {
    width: 52px;
    height: 52px;
  }

  .quick__icon svg {
    width: 24px;
    height: 24px;
  }

  .quick__label {
    font-size: 0.62rem;
  }
}

/* ============ Secciones base ============ */
.section {
  padding: 70px 0;
}

.section--alt {
  background: var(--bg-soft);
  color: var(--navy);
}

.section__title {
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.section .section__title {
  color: var(--white);
}

.section--alt .section__title {
  color: var(--navy);
}

.section__lead {
  margin-top: 8px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.section--alt .section__lead {
  color: #5A678C;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============ Tarjetas de servicios ============ */
.card {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 101, 34, 0.5);
}

.card__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(242, 101, 34, 0.15);
  color: var(--orange);
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.card__text {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ============ ¿Por qué elegirnos? ============ */
.reasons {
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .reasons {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reason {
  background: var(--navy-2);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 26px 22px;
}

.reason__emoji {
  font-size: 1.9rem;
  display: block;
  margin-bottom: 12px;
}

.reason__title {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.reason__text {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============ Testimonios ============ */
.testimonial {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.testimonial__text {
  font-size: 1rem;
  color: var(--white);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial__stars {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.testimonial__stars svg {
  width: 18px;
  height: 18px;
  color: #F5B301;
}

.testimonial__meta {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============ Ubicación ============ */
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}

.location__map iframe {
  filter: saturate(0.92);
}

.location__note {
  margin-top: 20px;
  color: #5A678C;
  font-weight: 500;
  font-size: 0.97rem;
}

/* ============ Contacto ============ */
.contact {
  padding-bottom: 90px;
}

.contact__grid {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

@media (min-width: 800px) {
  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact__item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.contact__item:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.contact__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(242, 101, 34, 0.15);
  color: var(--orange);
  display: grid;
  place-items: center;
}

.contact__icon svg {
  width: 22px;
  height: 22px;
}

.contact__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact__value {
  font-size: 0.95rem;
  font-weight: 700;
}

.contact__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 11px 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.social svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
}

.social:hover {
  border-color: var(--orange);
  background: rgba(242, 101, 34, 0.08);
}

.contact .btn--big {
  display: block;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 44px 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer__name {
  font-weight: 800;
  font-size: 1.1rem;
}

.site-footer__socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-2);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.site-footer__urgency {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--orange);
}

.site-footer__copy {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ============ Botón flotante WhatsApp ============ */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  background: #20bd5a;
}

@media (min-width: 900px) {
  .wa-float {
    width: 64px;
    height: 64px;
  }

  .wa-float svg {
    width: 36px;
    height: 36px;
  }
}