/* ===== Solvana Madrid — azul noche + dorado ===== */
:root {
  --navy-900: #0A1220;
  --navy-800: #0D1B2A;
  --navy-700: #13253A;
  --navy-600: #1B324C;
  --gold: #D4AF37;
  --gold-light: #F0C64C;
  --gold-dark: #A8842A;
  --silver: #B8C4D0;
  --text: #E8EDF4;
  --text-dim: #9FAEC0;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
  --transition: .25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--navy-800);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--gold); text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
h1 em, h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Botones ===== */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  font-family: inherit;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: var(--navy-900);
  box-shadow: 0 6px 24px rgba(212, 175, 55, .3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(212, 175, 55, .45); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(184, 196, 208, .4);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 32, .8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 196, 208, .08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.logo span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) {
  color: var(--text-dim);
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--transition);
}
.main-nav a:not(.btn):hover { color: var(--gold); }
.btn-nav { padding: 10px 22px; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 0 110px;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(212, 175, 55, .12), transparent),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(27, 50, 76, .6), transparent),
    var(--navy-900);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker {
  color: var(--gold);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 16px;
}
.hero-sub { color: var(--text-dim); font-size: 1.1rem; margin: 20px 0 32px; max-width: 520px; }
.hero-sub strong { color: var(--silver); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin-top: 30px;
  color: var(--silver);
  font-size: .9rem;
  font-weight: 500;
}

/* Hero visual: tiles doradas */
.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tile {
  aspect-ratio: 1.15;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy-900);
  font-weight: 600;
  font-size: .88rem;
  box-shadow: 0 14px 34px rgba(212, 175, 55, .18);
  transition: transform .3s ease;
}
.tile:hover { transform: translateY(-6px) rotate(-1deg); }
.tile svg { width: 38px; height: 38px; fill: var(--navy-900); stroke: var(--navy-900); }
.tile.t2 { transform: translateY(22px); }
.tile.t2:hover { transform: translateY(16px) rotate(1deg); }
.tile.t4 { transform: translateY(22px); }
.tile.t4:hover { transform: translateY(16px) rotate(-1deg); }
.tile.t6 { transform: translateY(22px); }
.tile.t6:hover { transform: translateY(16px) rotate(1deg); }

/* ===== Secciones ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--navy-900); }
.section-kicker {
  color: var(--gold);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.section-sub { color: var(--text-dim); max-width: 560px; margin-bottom: 8px; }

/* ===== Servicios ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.service-card {
  background: var(--navy-700);
  border: 1px solid rgba(184, 196, 208, .08);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, .5);
  box-shadow: var(--shadow);
}
.service-card .icon,
.value-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card .icon svg,
.value-card .icon svg { width: 26px; height: 26px; fill: var(--navy-900); stroke: var(--navy-900); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { color: var(--text-dim); font-size: .88rem; }

/* ===== Limpiezas ===== */
.cleaning-banner {
  margin-top: 44px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--navy-600), var(--navy-700));
  border: 1px solid rgba(212, 175, 55, .25);
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cleaning-text h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cleaning-text p { color: var(--text-dim); font-size: .95rem; }
.cleaning-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 28px;
}
.cleaning-list li {
  font-size: .92rem;
  font-weight: 500;
  color: var(--silver);
  padding-left: 22px;
  position: relative;
}
.cleaning-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ===== Pasos ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-900);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(212, 175, 55, .25);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: .92rem; }

/* ===== Valores ===== */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.value-card {
  background: var(--navy-700);
  border: 1px solid rgba(184, 196, 208, .08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition);
}
.value-card:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, .5); }
.value-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.value-card p { color: var(--text-dim); font-size: .92rem; }

/* ===== Contacto ===== */
.section-contact {
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(212, 175, 55, .1), transparent),
    var(--navy-900);
}
.contact-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info > p { color: var(--text-dim); margin: 14px 0 26px; }
.contact-details { list-style: none; display: grid; gap: 12px; }
.contact-details li { color: var(--silver); font-size: .98rem; }
.contact-details a { font-weight: 600; }

.contact-form {
  background: var(--navy-700);
  border: 1px solid rgba(184, 196, 208, .1);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--navy-800);
  border: 1.5px solid rgba(184, 196, 208, .15);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color var(--transition);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23D4AF37' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .84rem;
  color: var(--text-dim);
  margin: 4px 0 22px;
  cursor: pointer;
}
.form-check input { margin-top: 4px; accent-color: var(--gold); }
.form-status { margin-top: 14px; font-size: .92rem; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #6FD98B; }
.form-status.error { color: #F08080; }

/* ===== Cobertura ===== */
.coverage {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: var(--navy-900);
  padding: 26px 0;
  text-align: center;
  font-size: 1.02rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(184, 196, 208, .08);
  padding: 56px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-tag { color: var(--text-dim); font-size: .9rem; margin-top: 10px; max-width: 300px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: var(--text-dim); font-size: .92rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { margin-bottom: 8px; font-size: .92rem; }
.footer-copy {
  text-align: center;
  color: var(--text-dim);
  font-size: .8rem;
  padding-top: 22px;
  border-top: 1px solid rgba(184, 196, 208, .07);
}

/* ===== Botón flotante WhatsApp ===== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ===== Animación reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--navy-900);
    width: min(78vw, 320px);
    height: calc(100vh - 72px);
    padding: 32px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-left: 1px solid rgba(184, 196, 208, .1);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .steps, .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .section { padding: 68px 0; }
  .hero { padding: 60px 0 80px; }
  .cleaning-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .contact-form { padding: 26px 20px; }
}
