/* ============================================================
   Annapolis Clean Pro — hoja de estilos
   ============================================================ */

:root {
  --navy: #0e2a47;
  --navy-deep: #0a1f38;
  --blue: #2d8fd5;
  --blue-light: #4fa8de;
  --sky: #eaf3fb;
  --sky-soft: #f4f9fd;
  --ink: #17324f;
  --muted: #5b7186;
  --white: #ffffff;
  --gold: #f5b301;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --shadow-card: 0 10px 30px rgba(14, 42, 71, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.4) 48%, transparent 66%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
}

.btn:hover::after { transform: translateX(130%); }

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(45, 143, 213, 0.35);
}
.btn-primary:hover { background: #2680c4; box-shadow: 0 12px 26px rgba(45, 143, 213, 0.45); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(14, 42, 71, 0.18);
}
.btn-white:hover { background: var(--sky); box-shadow: 0 12px 26px rgba(14, 42, 71, 0.2); }

.btn-white .phone-icon { animation: phonePulse 2.6s ease-in-out infinite; transform-origin: center; }

@keyframes phonePulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  10% { transform: rotate(-12deg) scale(1.08); }
  20% { transform: rotate(10deg) scale(1.08); }
  30% { transform: rotate(0deg) scale(1); }
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-heading .rule-label {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 10px;
}

.section-heading .rule-label span:not(.label-text) {
  height: 1px;
  width: 40px;
  background: var(--blue-light);
}

.section-heading .label-text {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.section-heading h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }

.section-heading .subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------- Header ---------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  z-index: 999;
  transition: width 0.1s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(14, 42, 71, 0.08);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(14, 42, 71, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  border: 2px solid rgba(39, 137, 187, 0.3);
  box-shadow: 0 5px 15px rgba(14, 42, 71, 0.24);
}

.brand-text .name-1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  display: block;
}

.brand-text .name-2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue);
  display: block;
  margin-top: -4px;
}

.brand-text .tagline {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-cta .mini-note {
  text-align: right;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0) * 0.12s + 0.1s);
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  animation: heroImageReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
  animation: heroKenBurns 9s ease-out forwards;
}

.hero-slide.is-active { opacity: 1; }

/* Each slide's desktop image + a hand-picked focal point so the most
   interesting part of the (portrait) source photo stays in frame when
   cropped into this wide banner. */
.slide-kitchen-deepclean { background-image: url('../images/hero-real-kitchen-deepclean.jpg'); background-position: center; }
.slide-living-room-refresh { background-image: url('../images/hero-real-living-room-refresh.jpg'); background-position: center; }
.slide-bathroom-sparkle { background-image: url('../images/hero-real-bathroom-sparkle.jpg'); background-position: center; }
.slide-bedroom-reset { background-image: url('../images/hero-real-bedroom-reset.jpg'); background-position: center; }
.slide-office-cleanup { background-image: url('../images/hero-real-office-cleanup.jpg'); background-position: center; }
.slide-airbnb-turnover { background-image: url('../images/hero-real-airbnb-turnover.jpg'); background-position: center; }

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}

.hero-slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.55); }

.hero-dot.is-active {
  background: var(--white);
  width: 22px;
  border-radius: var(--radius-pill);
}

@keyframes heroImageReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim, .hero-slider { animation: none; opacity: 1; transform: none; }
  .hero-slide { animation: none; transition: opacity 0.4s ease; }
}

.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  max-width: 760px;
  padding: 40px 0;
}

.hero-content .lede { margin-top: -6px; max-width: 620px; }

/* A uniform navy tint across the full-bleed photo — even on both edges,
   slightly deeper toward the bottom where the buttons sit — so the text
   pops against any part of the rotating photo without a hard seam or a
   one-sided diagonal fade. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 42, 71, 0.42) 0%, rgba(14, 42, 71, 0.52) 55%, rgba(14, 42, 71, 0.62) 100%);
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.015em;
}

.hero h1 .accent { color: var(--blue-light); }

.hero p.lede {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: nowrap;
}

.hero-actions .btn {
  width: auto;
  min-width: 180px;
  justify-content: center;
}

/* ---------------- Services ---------------- */

.services { padding: 90px 0 60px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: visible;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 330px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(14, 42, 71, 0.14);
}

.service-thumb { position: relative; height: 165px; overflow: visible; }

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-thumb img { transform: scale(1.08); }

.service-icon {
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(45, 143, 213, 0.45);
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.service-icon svg { width: 26px; height: 26px; stroke: var(--white); fill: none; }

.service-body { padding: 38px 20px 24px; }

.service-body h3 {
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 8px;
}

.service-body p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------------- Trust strip ---------------- */

.trust-strip {
  background: var(--sky);
  padding: 36px 0;
  margin-top: 70px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(14, 42, 71, 0.08);
}

.trust-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; }

.trust-item h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 2px;
}

.trust-item p { font-size: 0.8rem; color: var(--muted); }

/* ---------------- Why us ---------------- */

.why-us { padding: 90px 0; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.why-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.why-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 760px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.why-copy .label-text {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.why-copy h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 10px 0 16px;
}

.why-copy > p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 20px;
}

.why-list { display: flex; flex-direction: column; gap: 12px; }

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink);
}

.why-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-list .check svg { width: 12px; height: 12px; stroke: var(--white); fill: none; }

.why-badge {
  background: var(--sky);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.why-badge svg { width: 30px; height: 30px; stroke: var(--navy); fill: none; }

.why-badge span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
}

/* ---------------- Testimonials ---------------- */

.testimonials { background: var(--sky-soft); padding: 90px 0; }

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.stars { display: flex; gap: 3px; margin-bottom: 14px; }

.stars svg { width: 15px; height: 15px; fill: var(--gold); }

.testimonial-card p.quote {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 18px;
}

.testimonial-card .author { font-size: 0.86rem; }

.testimonial-card .author strong { color: var(--navy); display: block; }

.testimonial-card .author span { color: var(--muted); }

/* ---------------- User testimonial form ---------------- */

.testimonial-form-wrap {
  margin-top: 30px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.testimonial-form-wrap h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 18px;
}

.testimonial-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-form .form-row {
  grid-template-columns: 1fr 1fr;
}

.rating-picker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-picker label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #dbe4ec;
  background: var(--sky-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rating-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-picker svg {
  width: 18px;
  height: 18px;
  fill: #d2d8e0;
  transition: fill 0.2s ease;
}

.rating-picker input:checked + svg,
.rating-picker label:hover svg,
.rating-picker label:has(input:checked) svg {
  fill: var(--gold);
}

.rating-picker label:hover,
.rating-picker label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(245, 185, 66, 0.08);
  transform: translateY(-1px);
}

.testimonial-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.testimonial-user-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card--user {
  border: 1px solid rgba(20, 59, 90, 0.08);
}

.testimonial-card--user .author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.testimonial-card--user .author strong {
  display: inline-block;
}

/* ---------------- CTA banner ---------------- */

.cta-banner {
  background: var(--navy);
  padding: 34px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-text { display: flex; align-items: center; gap: 18px; }

.cta-text svg { width: 34px; height: 34px; stroke: var(--blue-light); fill: none; flex-shrink: 0; }

.cta-text h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }

.cta-text p { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }

/* ---------------- Contacto / formulario ---------------- */

.contact { padding: 90px 0; background: var(--sky-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info .label-text {
  color: var(--blue);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 10px 0 14px;
}

.contact-lede {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 28px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-list li:first-child div > span {
  display: block;
}

.contact-detail-list .detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
}

.contact-detail-list .detail-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; }

.contact-detail-list strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-detail-list a,
.contact-detail-list span {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-detail-list a:hover { color: var(--blue); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 12px 14px;
  border: 1.5px solid #dbe4ec;
  border-radius: var(--radius-sm);
  background: var(--sky-soft);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-field textarea { resize: vertical; min-height: 90px; }

.form-field .field-error {
  display: none;
  font-size: 0.78rem;
  color: #c0392b;
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: #c0392b;
}

.form-field.invalid .field-error { display: block; }

.form-submit {
  justify-content: center;
  margin-top: 4px;
}

.form-submit[disabled] {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.form-status {
  font-size: 0.9rem;
  min-height: 20px;
  margin: 0;
}

.form-status.success { color: #1f8a4c; font-weight: 600; }
.form-status.error { color: #c0392b; font-weight: 600; }

/* Honeypot: visually hidden, still in the tab/DOM flow for bots to fill */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------- Accessibility: visible focus states ---------------- */

a:focus-visible,
button:focus-visible,
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1200;
  transition: top 0.2s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 16px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-text .name-1,
.footer-brand .brand-text .name-2 { color: var(--white); }
.footer-brand .brand-text .name-2 { color: var(--blue-light); }
.footer-brand .brand-text .tagline { color: rgba(255, 255, 255, 0.55); }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(29, 70, 100, 0.24);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }

.footer-col svg { width: 16px; height: 16px; stroke: var(--blue-light); fill: none; flex-shrink: 0; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover { color: var(--blue-light); padding-left: 4px; }

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-hours li span:first-child { color: rgba(255, 255, 255, 0.55); }

.social-row { display: flex; gap: 12px; margin-top: 4px; }

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.social-row a:hover { background: var(--blue); border-color: var(--blue); }

.social-row svg { width: 16px; height: 16px; stroke: var(--white); fill: none; }

.footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: var(--blue-light);
  transition: color 0.2s ease;
}

.footer-bottom a:hover { color: var(--white); }

/* ---------------- Scroll reveal ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.service-grid .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.service-grid .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.service-grid .reveal:nth-child(4) { --reveal-delay: 0.24s; }
.service-grid .reveal:nth-child(5) { --reveal-delay: 0.32s; }

.trust-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.trust-grid .reveal:nth-child(2) { --reveal-delay: 0.08s; }
.trust-grid .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.trust-grid .reveal:nth-child(4) { --reveal-delay: 0.24s; }

.testimonial-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.testimonial-grid .reveal:nth-child(2) { --reveal-delay: 0.1s; }
.testimonial-grid .reveal:nth-child(3) { --reveal-delay: 0.2s; }

.gallery-grid .reveal:nth-child(1) { --reveal-delay: 0s; }
.gallery-grid .reveal:nth-child(2) { --reveal-delay: 0.06s; }
.gallery-grid .reveal:nth-child(3) { --reveal-delay: 0.12s; }
.gallery-grid .reveal:nth-child(4) { --reveal-delay: 0.18s; }
.gallery-grid .reveal:nth-child(5) { --reveal-delay: 0.24s; }
.gallery-grid .reveal:nth-child(6) { --reveal-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-badge { grid-column: span 2; }
  .testimonial-grid { grid-template-columns: repeat(1, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta .mini-note { display: none; }
  .hero { min-height: 560px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(14, 42, 71, 0.55) 0%, rgba(14, 42, 71, 0.88) 65%, var(--navy) 100%);
  }
  .slide-kitchen-deepclean { background-image: url('../images/hero-real-kitchen-deepclean-mobile.jpg'); }
  .slide-living-room-refresh { background-image: url('../images/hero-real-living-room-refresh-mobile.jpg'); }
  .slide-bathroom-sparkle { background-image: url('../images/hero-real-bathroom-sparkle-mobile.jpg'); }
  .slide-bedroom-reset { background-image: url('../images/hero-real-bedroom-reset-mobile.jpg'); }
  .slide-office-cleanup { background-image: url('../images/hero-real-office-cleanup-mobile.jpg'); }
  .slide-airbnb-turnover { background-image: url('../images/hero-real-airbnb-turnover-mobile.jpg'); }
  .hero-content { padding: 32px 0; max-width: 100%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .service-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-badge { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { justify-content: center; text-align: center; }
  .cta-text { flex-direction: column; }
  .header-inner {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 10px 16px;
  }
  .brand { flex: 0 1 auto; min-width: 0; }
  .brand img { width: 52px; height: 52px; }
  .brand-text { min-width: 0; }
  .brand-text .name-1,
  .brand-text .name-2 {
    font-size: 0.78rem;
    line-height: 1.05;
    white-space: nowrap;
  }
  .brand-text .name-2 { margin-top: 1px; }
  .brand-text .tagline {
    display: block;
    margin-top: 2px;
    font-size: 0.42rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  .header-cta { margin-left: auto; gap: 8px; }
  .header-cta .btn-primary {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .header-cta .btn-primary svg { width: 16px; height: 16px; }
  .nav-toggle { flex: 0 0 auto; padding: 6px 2px 6px 4px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-filters { gap: 8px; }
  .filter-btn { font-size: 0.8rem; padding: 8px 14px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox { gap: 4px; padding: 70px 10px 24px; }
  .lightbox-nav { width: 38px; height: 38px; }
}

/* ---------------- Toast flotante ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(14, 42, 71, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1000;
  max-width: 90vw;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------- Gallery ---------------- */

.gallery { padding: 90px 0; background: var(--sky-soft); }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #dbe4ec;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.filter-btn:hover { border-color: var(--blue); color: var(--blue); }

.filter-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.filter-btn:active { transform: scale(0.96); }

.gallery-item.is-hidden { display: none; }

.gallery-empty {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 20px 0 0;
}

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

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: none;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 42, 71, 0) 40%, rgba(14, 42, 71, 0.78) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay { opacity: 1; }

.gallery-zoom-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  position: absolute;
  top: 14px;
  right: 14px;
}

.gallery-zoom-icon svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; }

.gallery-count {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(14, 42, 71, 0.72);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  z-index: 1;
}

.gallery-count svg { width: 13px; height: 13px; stroke: var(--white); fill: none; }

.gallery-video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(14, 42, 71, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  pointer-events: none;
}

.gallery-video-badge svg { width: 22px; height: 22px; fill: var(--white); margin-left: 3px; }

.gallery-item:hover .gallery-video-badge,
.gallery-item:focus-visible .gallery-video-badge {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--blue);
}

.gallery-label {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}

/* ---------------- Lightbox ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 31, 56, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 24px;
  animation: lightboxFade 0.25s ease both;
}

.lightbox[hidden] { display: none; }

@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-figure {
  margin: 0;
  max-width: min(900px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-figure img,
.lightbox-figure video {
  max-width: 100%;
  max-height: 74vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: var(--white);
}

.lightbox-figure video[hidden],
.lightbox-figure img[hidden] { display: none; }

.lightbox-figure figcaption {
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.lightbox-nav {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); transform: scale(1.06); }

.lightbox-nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

.lightbox-nav[hidden] { display: none; }

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

.lightbox-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

/* ---------------- Contact map ---------------- */

.contact-map {
  margin-top: 26px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------------- Legal pages (privacy / terms) ---------------- */

.legal-page { padding: 70px 0 100px; }

.legal-content { max-width: 760px; margin: 0 auto; }

.legal-content h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 6px;
}

.legal-content .legal-updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  margin: 34px 0 10px;
}

.legal-content p {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.legal-content a { color: var(--blue); text-decoration: underline; }

/* Mobile nav open state */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 24px;
  gap: 16px;
  box-shadow: 0 12px 24px rgba(14, 42, 71, 0.12);
  animation: navSlideDown 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
