/**
 * RR Home Special Cleaning - Main stylesheet
 * Estilos compartidos y por página
 */

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --green-lime: #8BC34A;
  --green-emerald: #2E7D32;
  --blue-sky: #4FC3F7;
  --blue-aqua: #00BCD4;
  --blue-deep: #0288D1;
  --white: #FFFFFF;
  --charcoal: #37474F;
  --gray-text: #546E7A;
  --gray-light: #78909C;
  --bg-tint: #f8fcf9;
  --gradient-green: linear-gradient(135deg, #8BC34A 0%, #2E7D32 100%);
  --gradient-blue: linear-gradient(135deg, #4FC3F7 0%, #00BCD4 50%, #0288D1 100%);
  --radius: 8px;
  --container: min(1200px, 92vw);
  --transition: 0.25s ease;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 188, 212, 0.12);
  transition: var(--transition);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--blue-aqua);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

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

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  background: var(--gradient-blue);
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero.hero--short {
  min-height: 70vh;
}

/* Hero home: background photo layer + tint */
.hero--home {
  min-height: clamp(320px, 52vh, 560px);
  padding: 6.25rem 2rem 2.75rem;
  justify-content: center;
  /* Reset .hero gradient + fixed attachment; photo comes from .hero-home__img */
  background: #1a4a6e;
  background-attachment: scroll;
  isolation: isolate;
}

.hero-home__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-home__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  /* Slight upscale avoids 1px seams at edges when object-fit clips */
  transform: scale(1.02);
  transform-origin: center center;
}

.hero-home__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    160deg,
    rgba(30, 80, 120, 0.35) 0%,
    rgba(0, 120, 160, 0.32) 40%,
    rgba(20, 60, 90, 0.4) 100%
  );
}

.hero--home::before {
  z-index: 2;
  opacity: 0.35;
}

.hero--home .hero-content {
  z-index: 3;
}

.hero-content--wide {
  max-width: min(920px, 94vw);
}

.hero--home h1.hero-title-2l {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  margin-bottom: 1.5rem;
  font-size: clamp(1.85rem, 5.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: none;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
}

.hero-title-2l__line {
  display: block;
}

.hero--home .hero-sub {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero--home .hero-cta .btn,
.hero--home .hero-call a:not(.hero-phone-btn) {
  text-shadow: none;
}

.hero--home .hero-phone-btn {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Inner pages: photo heroes */
.hero.hero--short.hero--about,
.hero.hero--short.hero--services,
.hero.hero--short.hero--contact,
.hero.hero--short.hero--blog {
  min-height: clamp(300px, 52vh, 520px);
  padding: 6.25rem 2rem 2.75rem;
  background-color: #1a4a6e;
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(160deg, rgba(30, 80, 120, 0.38) 0%, rgba(0, 120, 160, 0.34) 45%, rgba(20, 60, 90, 0.42) 100%),
    var(--hero-photo, none);
  background-attachment: scroll, scroll;
}

.hero.hero--short.hero--about {
  --hero-photo: url("../assets/images/miami/1.jpg");
  background-position: center 42%, center;
}

.hero.hero--short.hero--services {
  --hero-photo: url("../assets/images/miami/3.avif");
  background-position: center 38%, center;
}

.hero.hero--short.hero--contact {
  --hero-photo: url("../assets/images/hero-miami-contact.webp");
  background-position: center 32%, center;
}

.hero.hero--short.hero--blog {
  --hero-photo: url("../assets/images/projects/project-03.webp");
  background-position: center 45%, center;
}

.hero.hero--short.hero--about::before,
.hero.hero--short.hero--services::before,
.hero.hero--short.hero--contact::before,
.hero.hero--short.hero--blog::before {
  opacity: 0.32;
}

.hero-headline-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  margin-bottom: 1.35rem;
  font-size: clamp(1.5rem, 4.1vw, 2.55rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

.hero-headline-photo__line {
  display: block;
}

.hero.hero--short.hero--about .hero-sub,
.hero.hero--short.hero--services .hero-tagline,
.hero.hero--short.hero--services .hero-sub,
.hero.hero--short.hero--contact .hero-sub,
.hero.hero--short.hero--blog .hero-sub {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.hero-badge i {
  margin-right: 0.4rem;
  opacity: 0.95;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero.hero--short h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 0.5rem;
}

.hero h1 em {
  font-style: italic;
}

.hero .hero-sub,
.hero .hero-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .hero-tagline {
  font-size: 1.15rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero .btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.hero .btn--whatsapp:hover {
  background: #20bd5a;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Floating WhatsApp (all pages) */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 110;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow:
    0 4px 18px rgba(37, 211, 102, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow:
    0 6px 22px rgba(37, 211, 102, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.18);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.65rem;
  }
}

.hero .btn {
  background: var(--white);
  color: var(--blue-deep);
  padding: 0.9rem 1.75rem;
}

.hero .btn:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-call {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-call a {
  color: var(--white);
  text-decoration: underline;
}

.hero-call--phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.35;
  width: 100%;
  max-width: 20rem;
}

.hero-call--phones .hero-call-prefix {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-phone-btns {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
}

.hero-call a.hero-phone-btn {
  text-decoration: none;
  color: #fff;
}

.hero-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.hero-phone-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.95);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

.hero-phone-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.hero-phone-btn i {
  font-size: 0.82em;
  opacity: 0.95;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.footer-phones a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-social.social-links {
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.hero-contact-phone-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 36rem;
}

.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  max-width: 22rem;
}

.contact-phone-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 188, 212, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 252, 249, 0.95) 100%);
  box-shadow: 0 2px 10px rgba(0, 188, 212, 0.08);
  transition:
    border-color var(--transition),
    background var(--transition),
    color var(--transition),
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-phone-link i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--blue-aqua);
  background: rgba(0, 188, 212, 0.12);
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}

.contact-phone-link:hover {
  border-color: rgba(0, 188, 212, 0.55);
  background: rgba(0, 188, 212, 0.06);
  color: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.14);
}

.contact-phone-link:hover i {
  background: rgba(0, 188, 212, 0.2);
  color: var(--blue-deep);
}

.contact-phone-link:focus-visible {
  outline: 2px solid var(--blue-aqua);
  outline-offset: 2px;
}

.contact-phone-link--primary {
  border-color: rgba(0, 188, 212, 0.45);
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(79, 195, 247, 0.08) 100%);
  box-shadow: 0 3px 14px rgba(0, 188, 212, 0.12);
}

.contact-phone-link--primary i {
  background: rgba(0, 188, 212, 0.22);
  color: var(--blue-deep);
}

.contact-phone-link--primary:hover {
  border-color: var(--blue-aqua);
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.16) 0%, rgba(79, 195, 247, 0.12) 100%);
  box-shadow: 0 8px 24px rgba(0, 188, 212, 0.18);
}

/* ==========================================================================
   Section common
   ========================================================================== */
.section {
  padding: 4.5rem 2rem;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-aqua);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--blue-deep);
}

.section-desc {
  color: var(--gray-text);
  font-size: 1.05rem;
  max-width: 600px;
}

.section-desc.section-desc--wide {
  max-width: 720px;
}

.section.section--tint {
  background: var(--bg-tint);
}

.section.section--contact-intro {
  padding-top: 3rem;
}

/* ==========================================================================
   About (home)
   ========================================================================== */
.about .section-desc {
  margin-bottom: 2.5rem;
}

.about-layout__copy .section-desc {
  max-width: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.about .stats {
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
  min-height: 1.15em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-text);
}

/* ==========================================================================
   Services grid
   ========================================================================== */
.services {
  background: var(--bg-tint);
}

.services-intro {
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(0, 188, 212, 0.1);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 188, 212, 0.12);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.service-card .perfect {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-emerald);
}

.service-card .service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--blue-aqua);
  background: rgba(0, 188, 212, 0.1);
}

.service-card.green .service-icon {
  color: var(--green-emerald);
  background: rgba(46, 125, 50, 0.1);
}

/* Home: fewer featured cards + compact tags (index) */
.services-home {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 1000px) and (min-width: 641px) {
  .services-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.services-home-tags-label {
  margin: 2.25rem 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-align: center;
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.65rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 0.25rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid rgba(0, 188, 212, 0.18);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-tag i {
  font-size: 0.85rem;
  color: var(--blue-aqua);
  opacity: 0.95;
}

.service-tag:hover {
  color: var(--blue-deep);
  border-color: rgba(0, 188, 212, 0.45);
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.12);
  transform: translateY(-1px);
}

.services-home-cta {
  margin-top: 2rem;
  text-align: center;
}

/* Commercial & residential bands (index) */
.cleaning-band {
  padding: 4.5rem 2rem;
}

.cleaning-band--commercial {
  background: var(--white);
}

.cleaning-band__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.cleaning-band__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 188, 212, 0.1);
}

.cleaning-band__figure img {
  width: 100%;
  height: auto;
  min-height: 240px;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cleaning-band__intro--reverse .cleaning-band__figure {
  order: 2;
}

.cleaning-band__intro--reverse .cleaning-band__lead {
  order: 1;
}

.cleaning-spotlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0288d1 0%, #00bcd4 55%, #4fc3f7 100%);
  box-shadow: 0 8px 28px rgba(0, 188, 212, 0.25);
}

.cleaning-spotlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cleaning-spotlight i {
  font-size: 0.95rem;
  opacity: 0.95;
}

.cleaning-spotlights--soft {
  background: var(--white);
  border: 1px solid rgba(0, 188, 212, 0.14);
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.05);
}

.cleaning-spotlight--outline {
  background: var(--bg-tint);
  color: var(--charcoal);
  border: 1px solid rgba(46, 125, 50, 0.18);
}

.cleaning-spotlight--outline i {
  color: var(--green-emerald);
}

.cleaning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cleaning-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cleaning-card-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.45;
}

.cleaning-card-list li:last-child {
  margin-bottom: 0;
}

.cleaning-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-aqua);
}

.service-card.green .cleaning-card-list li::before {
  background: var(--green-lime);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 188, 212, 0.12);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.trust-badge i {
  color: var(--blue-aqua);
  font-size: 1rem;
}

.cleaning-band__cta-wrap {
  text-align: center;
  margin-top: 1.75rem;
}

.cleaning-band__cta-wrap--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

/* About: story pillars (index + about page) */
.about-pillar {
  margin-top: 1.5rem;
}

.about-pillar__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

/* About: two-column layout + horizontal team photo (index) */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, min(40%, 420px));
  gap: 2.25rem 3rem;
  align-items: start;
  margin: 1.25rem 0 0.5rem;
}

.about-layout__aside {
  margin: 0;
}

.about-layout__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.12);
  aspect-ratio: 5 / 4;
  max-height: 340px;
}

.about-layout__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.about-layout__caption {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-text);
  line-height: 1.55;
}

/* Portfolio gallery (under Our work, index) */
.projects-gallery {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 188, 212, 0.12);
}

.projects-gallery__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 0.35rem;
}

.projects-gallery__intro {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  font-size: 0.92rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.projects-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
}

.projects-gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 188, 212, 0.08);
}

.projects-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.projects-gallery__item:hover img {
  transform: scale(1.04);
}

/* Compact image strips (about / services) */
.projects-strip-section {
  padding: 2.25rem 2rem;
  background: var(--white);
}

.projects-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0;
}

.projects-strip--wide {
  max-width: var(--container);
  margin: 0 auto;
}

.projects-strip--spaced {
  margin-top: 2rem;
}

.projects-strip__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 188, 212, 0.1);
}

.projects-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .cleaning-band__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cleaning-band__intro--reverse .cleaning-band__figure,
  .cleaning-band__intro--reverse .cleaning-band__lead {
    order: unset;
  }

  .cleaning-spotlights {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .cleaning-spotlight {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-layout__aside {
    order: -1;
  }

  .about-layout__figure {
    aspect-ratio: 21 / 9;
    max-height: min(240px, 42vw);
    max-width: 100%;
  }

  .about-layout__img {
    object-position: 50% 25%;
  }

  .about-layout__caption {
    text-align: center;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  .projects-gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .projects-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Features (services page)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(0, 188, 212, 0.1);
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-card h4 i {
  color: var(--blue-aqua);
}

.feature-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* ==========================================================================
   Work featured
   ========================================================================== */
.work {
  padding: 4.5rem 2rem;
}

.work-intro {
  margin-bottom: 2rem;
}

.work-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 188, 212, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .work-featured {
    grid-template-columns: 1fr;
  }
}

.work-image {
  min-height: 320px;
  background: var(--gradient-green);
  position: relative;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.work-body {
  padding: 2rem;
}

.work-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.work-body p {
  color: var(--gray-text);
  margin-bottom: 1rem;
}

.work-body .tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-aqua);
  margin-bottom: 0.5rem;
}

.work-body blockquote {
  font-style: italic;
  color: var(--charcoal);
  border-left: 3px solid var(--green-emerald);
  padding-left: 1rem;
}

/* About page — visual between hero and story (spaced + framed so it doesn’t clash with the hero) */
.about-visual-band {
  padding: 2.75rem 1.5rem 3.25rem;
  margin-top: 0;
  background: var(--bg-tint);
  border-top: 1px solid rgba(0, 188, 212, 0.1);
}

.about-visual-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.6rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0, 188, 212, 0.14);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 18px 48px rgba(15, 60, 80, 0.1);
}

.about-visual-band__media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: min(440px, 52vh);
  margin-inline: auto;
}

.about-visual-band__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

@media (max-width: 768px) {
  .about-visual-band {
    padding: 2rem 1rem 2.5rem;
  }

  .about-visual-band-inner {
    padding: 0.45rem;
    border-radius: 14px;
  }

  .about-visual-band__media {
    border-radius: 10px;
    max-height: min(300px, 45vh);
    aspect-ratio: 4 / 3;
  }

  .about-visual-band__img {
    object-position: center 32%;
  }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
  background: var(--bg-tint);
  padding: 4.5rem 2rem;
}

.testimonials-intro {
  margin-bottom: 2rem;
}

.testimonials-slider {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonials-slider.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  flex-shrink: 0;
  width: max-content;
}

.testimonial-card {
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 188, 212, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Móvil: testimonios en columna, sin carrusel horizontal */
@media (max-width: 768px) {
  .testimonials-slider {
    overflow: visible;
    cursor: default;
    user-select: auto;
  }

  .testimonials-slider.is-dragging {
    cursor: default;
  }

  .testimonials-track {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 1.25rem;
    padding: 0;
  }

  .testimonials-track .testimonial-card--clone {
    display: none;
  }

  .testimonial-card {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--blue-deep);
  font-size: 0.95rem;
}

/* ==========================================================================
   Blog
   ========================================================================== */
.blog {
  padding: 4.5rem 2rem;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.blog-header a {
  font-weight: 600;
  color: var(--blue-aqua);
}

.blog-header a:hover {
  text-decoration: underline;
}

.blog-card {
  display: block;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 188, 212, 0.1);
  transition: box-shadow var(--transition);
}

.blog-card:hover {
  box-shadow: 0 12px 32px rgba(0, 188, 212, 0.15);
}

.blog-card-image {
  height: 200px;
  background: var(--gradient-blue);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 0.5rem;
}

.blog-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.blog-card .read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-aqua);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.blog-grid .blog-card {
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-grid .blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-grid .read-more {
  margin-top: auto;
}

/* Blog article (single post) */
.blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-aqua);
  margin-bottom: 1rem;
}

.blog-post-back:hover {
  text-decoration: underline;
}

.blog-article__header {
  padding-top: 6.25rem;
  padding-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .blog-article__header {
    padding-top: 5.5rem;
  }
}

.blog-article__title {
  margin-top: 0.35rem;
  margin-bottom: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.2;
}

.blog-article__featured {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.blog-article__featured img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(0, 188, 212, 0.12);
  box-shadow: 0 12px 40px rgba(15, 60, 80, 0.1);
}

.blog-article__body {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.blog-article__body > p,
.blog-article__body > ul,
.blog-article__body > ol {
  margin-bottom: 1.1rem;
  color: var(--charcoal);
}

.blog-article__body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 2rem 0 0.75rem;
}

.blog-article__body ul,
.blog-article__body ol {
  padding-left: 1.35rem;
}

.blog-article__body li {
  margin-bottom: 0.4rem;
}

.blog-article__figure {
  margin: 2rem 0;
}

.blog-article__figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.blog-article__figure figcaption {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-top: 0.5rem;
}

.blog-article__cta {
  margin-top: 2.5rem;
}

/* ==========================================================================
   FAQs & Accordion
   ========================================================================== */
.faqs {
  background: var(--bg-tint);
  padding: 4.5rem 2rem;
}

.faqs-intro {
  margin-bottom: 2rem;
}

.faqs-intro .btn {
  margin-top: 0.5rem;
}

.section--tint .btn-primary {
  margin-top: 1.5rem;
}

.accordion {
  max-width: 720px;
  margin-top: 2rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 188, 212, 0.15);
}

.accordion-trigger {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.accordion-trigger:hover {
  color: var(--blue-aqua);
}

.accordion-trigger::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue-aqua);
}

.accordion-item.open .accordion-trigger::after {
  content: '−';
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item.open .accordion-panel {
  max-height: 400px;
}

.accordion-panel-inner {
  padding: 0 0 1.25rem 0;
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-details h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details h3 i {
  color: var(--blue-aqua);
  width: 1.25rem;
}

.contact-details p,
.contact-details a {
  color: var(--gray-text);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details a:hover {
  color: var(--blue-aqua);
}

.contact-details .contact-phone-link {
  display: flex;
  margin-bottom: 0;
  color: var(--charcoal);
}

.contact-details .contact-phone-link:hover {
  color: var(--blue-deep);
}

.contact-details h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form-group label .req {
  color: var(--blue-aqua);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid rgba(0, 188, 212, 0.25);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.contact-form {
  position: relative;
}

.contact-form__row--split {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 560px) {
  .contact-form__row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__hint {
  font-size: 0.88rem;
  color: var(--gray-text);
  margin: -0.35rem 0 1rem;
  line-height: 1.45;
}

.contact-form .form-group input.input-error,
.contact-form .form-group textarea.input-error,
.contact-form .form-group select.input-error {
  border-color: #c62828;
}

.contact-response {
  font-size: 0.95rem;
  text-align: center;
  padding-top: 1rem;
  min-height: 1.5rem;
}

.contact-response.text-error {
  color: #c62828;
}

.contact-response.text-valid {
  color: var(--green-emerald);
}

.contact-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.contact-form__hp label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.contact-form--submitting .btn[type='submit'] {
  opacity: 0.72;
  pointer-events: none;
}

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final {
  padding: 4.5rem 2rem;
  text-align: center;
  background: var(--gradient-blue);
  color: var(--white);
}

.cta-final h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-final h2 em {
  font-style: italic;
}

.cta-final p {
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.cta-final .btn {
  background: var(--white);
  color: var(--blue-deep);
  padding: 0.9rem 1.75rem;
}

.cta-final .btn:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer .btn {
  margin-bottom: 1rem;
}

.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer a:hover {
  color: var(--blue-sky);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom > span:first-child {
  justify-self: start;
}

.footer-bottom > span:nth-child(2):not(.footer-trust) {
  justify-self: end;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-trust {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  max-width: 36rem;
}

.footer-developer {
  grid-column: 1 / -1;
  justify-self: center;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

.footer-developer a {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Nav toggle (hamburger) - hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--charcoal);
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-toggle:hover {
  background: rgba(0, 188, 212, 0.1);
  color: var(--blue-aqua);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.nav-open .nav-overlay {
  opacity: 1;
}

/* Tablet and below: hamburger + drawer nav */
@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: flex;
    order: 2;
  }

  .header-inner {
    justify-content: space-between;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(0, 188, 212, 0.12);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  .nav a,
  .nav .header-badge,
  .nav span {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 188, 212, 0.08);
  }

  .nav .btn {
    margin-top: 0.5rem;
    justify-content: center;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  body.nav-open .nav-overlay {
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .logo {
    height: 40px;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section.section--contact-intro {
    padding-top: 2.5rem;
  }

  .hero {
    padding: 6rem 1rem 3rem;
    min-height: 90vh;
  }

  .hero.hero--home {
    min-height: clamp(300px, 48vh, 500px);
    padding: 5.75rem 1rem 2.25rem;
  }

  .hero.hero--short.hero--about,
  .hero.hero--short.hero--services,
  .hero.hero--short.hero--contact,
  .hero.hero--short.hero--blog {
    min-height: clamp(280px, 48vh, 460px);
    padding: 5.75rem 1rem 2.25rem;
  }

  .hero.hero--short {
    min-height: 60vh;
    padding: 5rem 1rem 2.5rem;
  }

  .hero .hero-sub,
  .hero .hero-tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-call--phones {
    max-width: 280px;
  }

  .hero-phone-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .work-featured {
    gap: 0;
  }

  .work-image {
    min-height: 240px;
  }

  .work-image img {
    min-height: 240px;
  }

  .work-body {
    padding: 1.5rem 1rem;
  }

  .blog-card {
    max-width: none;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout {
    gap: 2rem;
  }

  .cta-final {
    padding: 3rem 1rem;
  }

  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  .footer-top {
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  .stats {
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .services-grid--featured {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .service-card {
    padding: 1.25rem;
  }

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

  .accordion-trigger {
    padding: 1rem 0;
    font-size: 0.95rem;
  }

  .accordion-item.open .accordion-panel {
    max-height: 500px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 1.5rem;
  }

  .footer-bottom > span:first-child,
  .footer-bottom > span:nth-child(2) {
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 0.75rem 2rem;
  }

  .hero.hero--home {
    min-height: clamp(280px, 44vh, 440px);
    padding: 5rem 0.75rem 1.75rem;
  }

  .hero.hero--short.hero--about,
  .hero.hero--short.hero--services,
  .hero.hero--short.hero--contact,
  .hero.hero--short.hero--blog {
    min-height: clamp(260px, 44vh, 400px);
    padding: 5rem 0.75rem 1.75rem;
  }

  .hero.hero--short {
    padding: 4rem 0.75rem 2rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero .btn {
    max-width: none;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.65rem 0.85rem;
  }

  .form-submit .btn {
    width: 100%;
  }
}
