/* ==========================================================================
   GAVIA REALTY GROUP - Hoja de estilos principal
   Diseño moderno 2026 - Cancún, México
   ========================================================================== */

/* ----- Variables de marca ----- */
:root {
  --blue-900: #0b1e4d;
  --blue-800: #112a6a;
  --blue-700: #1e3a8a;
  --blue-600: #1e40af;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  --white: #ffffff;
  --black: #000000;

  --gradient-primary: linear-gradient(135deg, #0b1e4d 0%, #1e3a8a 50%, #2563eb 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(11,30,77,.55) 0%, rgba(30,58,138,.75) 100%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 6px 18px rgba(11,30,77,.10);
  --shadow-lg: 0 18px 40px rgba(11,30,77,.18);
  --shadow-xl: 0 24px 60px rgba(11,30,77,.22);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --container: 1240px;
  --transition: all .35s cubic-bezier(.4,0,.2,1);

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----- Reset / Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--gray-900);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4vw + 1rem, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.6rem); font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-400); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

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

/* ----- Botones ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-transform: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue-700);
}
.btn-light {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-ghost {
  background: var(--blue-50);
  color: var(--blue-700);
  border-color: var(--blue-100);
}
.btn-ghost:hover { background: var(--blue-100); }

/* ----- Top bar ----- */
.topbar {
  background: var(--blue-900);
  color: var(--blue-100);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--blue-100); }
.topbar a:hover { color: var(--white); }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
}
.topbar-social a:hover { background: var(--blue-500); }

/* ----- Navbar ----- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  color: var(--blue-700);
  letter-spacing: .12em;
}
.nav-logo svg { width: 44px; height: 44px; }
.nav-logo span small {
  display: block;
  font-size: 11px;
  letter-spacing: .25em;
  font-weight: 400;
  color: var(--gray-500);
  margin-top: -2px;
}
.nav-menu {
  display: flex; align-items: center; gap: 4px;
}
.nav-menu > li > a {
  padding: 10px 14px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--blue-700);
  background: var(--blue-50);
}
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.nav-item:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: 14px;
}
.nav-dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--blue-700);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    var(--gradient-overlay),
    url("https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center;
  z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 20% 30%, rgba(37,99,235,.35), transparent 70%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(4px);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-300); box-shadow: 0 0 0 4px rgba(96,165,250,.25);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue-200), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 38px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 560px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Hero search card */
.hero-search {
  background: var(--white);
  color: var(--gray-800);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}
.hero-search h3 {
  color: var(--gray-900);
  margin-bottom: 6px;
}
.hero-search p { color: var(--gray-500); font-size: 14px; margin-bottom: 20px; }
.search-tabs {
  display: flex; gap: 4px;
  background: var(--gray-100);
  padding: 4px; border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.search-tabs button {
  flex: 1;
  padding: 10px 16px;
  border: 0; background: transparent; cursor: pointer;
  border-radius: var(--radius-full);
  font-weight: 600; font-size: 14px;
  color: var(--gray-600);
  transition: var(--transition);
}
.search-tabs button.active {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}
.search-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}
.search-fields .full { grid-column: 1 / -1; }
.search-fields label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.search-fields select,
.search-fields input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
}
.search-fields select:focus,
.search-fields input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.search-fields .btn { padding: 14px; width: 100%; }

/* ----- Sección base ----- */
section { padding: 90px 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 14px;
}
.section-head h2 { color: var(--gray-900); }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }

/* ----- Trust bar ----- */
.trustbar {
  padding: 50px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  text-align: center;
}
.trustbar-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.trustbar-item strong {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
  color: var(--blue-700);
  line-height: 1;
}
.trustbar-item span { color: var(--gray-600); font-size: 14px; }

/* ----- Beneficios ----- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-lg);
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.benefit-card p { font-size: .95rem; color: var(--gray-600); margin: 0; }

/* ----- Servicios destacados ----- */
.services-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  isolation: isolate;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.service-card a { color: inherit; display: block; }
.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-media img { transform: scale(1.08); }
.service-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,30,77,.7) 100%);
}
.service-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.95);
  color: var(--blue-700);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  z-index: 1;
}
.service-body { padding: 22px 24px 26px; }
.service-body h3 { font-size: 1.15rem; color: var(--gray-900); margin-bottom: 8px; }
.service-body p { font-size: .9rem; color: var(--gray-600); margin-bottom: 14px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .9rem;
  color: var(--blue-600);
}
.service-link::after {
  content: "→"; transition: var(--transition);
}
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ----- Property listings ----- */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.prop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prop-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.prop-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.prop-card:hover .prop-media img { transform: scale(1.06); }
.prop-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue-600); color: var(--white);
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.prop-badge.rent { background: var(--gray-800); }
.prop-fav {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.95);
  border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--gray-700);
  transition: var(--transition);
}
.prop-fav:hover { color: #ef4444; }
.prop-body { padding: 22px 24px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.prop-price {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 4px;
}
.prop-title {
  font-size: 1.05rem; font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.prop-loc {
  font-size: .9rem; color: var(--gray-500);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}
.prop-features {
  display: flex; flex-wrap: wrap; gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  font-size: .85rem; color: var(--gray-700);
  margin-top: auto;
}
.prop-features span { display: inline-flex; align-items: center; gap: 5px; }

/* ----- Slide / Carousel banner ----- */
.slider-section {
  padding: 0;
  background: var(--blue-900);
  position: relative;
  overflow: hidden;
}
.slider {
  position: relative;
  height: 480px;
}
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease;
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,30,77,.85), rgba(30,58,138,.7));
}
.slide-content {
  position: relative; z-index: 1;
  max-width: 880px;
}
.slide-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw + 1rem, 3.2rem);
  margin-bottom: 16px;
}
.slide-content h2 .accent { color: var(--blue-300); }
.slide-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.slider-controls {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 2;
}
.slider-controls button {
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: 0;
  cursor: pointer; transition: var(--transition);
  padding: 0;
}
.slider-controls button.active {
  background: var(--white); width: 38px; border-radius: 7px;
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.slider-arrow:hover { background: var(--white); color: var(--blue-700); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ----- Zonas / Locations ----- */
.zones-section { background: var(--white); }
.zones-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 20px;
}
.zone-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: var(--transition);
}
.zone-card:hover { transform: scale(1.02); }
.zone-card:nth-child(1) { grid-row: 1 / 3; }
.zone-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.zone-card:hover img { transform: scale(1.08); }
.zone-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11,30,77,.9) 100%);
}
.zone-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 30px 24px;
  color: var(--white);
  z-index: 1;
}
.zone-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.zone-overlay span {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 6px;
}

/* ----- Sobre nosotros / CTA Block ----- */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.about-badge strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--blue-700);
  display: block;
}
.about-badge span { font-size: 13px; color: var(--gray-600); }

.about-content ul.checklist {
  margin: 20px 0 32px;
}
.about-content ul.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--gray-700);
}
.about-content ul.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 14px;
  margin-top: 2px;
}

/* ----- CTA Banner ----- */
.cta-banner {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 60%);
  border-radius: 50%;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
  margin: 0 0 8px;
}
.cta-banner p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin: 0;
  max-width: 600px;
}
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----- Testimonials ----- */
.testimonials-section { background: var(--gray-50); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  position: relative;
}
.testimonial::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--blue-100);
  position: absolute;
  top: 8px; left: 22px;
  line-height: 1;
}
.testimonial p {
  font-style: italic;
  color: var(--gray-700);
  font-size: 1rem;
  position: relative;
  margin-bottom: 22px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
}
.testimonial-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gray-900);
  font-size: .95rem;
}
.testimonial-author span {
  font-size: .85rem; color: var(--gray-500);
}
.stars {
  color: #fbbf24;
  margin-bottom: 14px;
}

/* ----- Blog preview ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-body { padding: 24px 26px 28px; }
.blog-meta {
  display: flex; gap: 12px; font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.blog-meta .tag {
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.blog-card h3 {
  font-size: 1.1rem; line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card h3 a { color: var(--gray-900); }
.blog-card h3 a:hover { color: var(--blue-600); }
.blog-card p {
  font-size: .92rem;
  color: var(--gray-600);
  margin-bottom: 16px;
}

/* ----- Contact ----- */
.contact-section { background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info ul {
  display: grid; gap: 20px;
  margin-top: 30px;
}
.contact-info li {
  display: flex; gap: 16px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.contact-info .icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-info strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gray-900);
  margin-bottom: 4px;
}
.contact-info a, .contact-info span { color: var(--gray-600); font-size: .95rem; }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.contact-form h3 { margin-bottom: 4px; }
.contact-form > p { color: var(--gray-600); margin-bottom: 28px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px; font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px;
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
  resize: vertical;
}
.form-group textarea { min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-actions { margin-top: 20px; }
.form-actions .btn { width: 100%; padding: 16px; font-size: 16px; }
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-500);
}
.form-message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}
.form-message.success {
  background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
}
.form-message.error {
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
}

/* ----- Footer ----- */
.footer {
  background: var(--blue-900);
  color: var(--blue-100);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.footer p { color: rgba(255,255,255,.7); font-size: .95rem; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}
.footer ul li a:hover { color: var(--white); }
.footer-social {
  display: flex; gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--blue-500); transform: translateY(-2px); }
.footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
}
.footer-contact .icon {
  color: var(--blue-300);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
}
.footer-bar a { color: rgba(255,255,255,.7); }
.footer-bar a:hover { color: var(--white); }

/* ----- Inner pages: page header ----- */
.page-header {
  position: relative;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center;
  opacity: .25;
  z-index: -1;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
}
.breadcrumbs a { color: rgba(255,255,255,.8); }
.breadcrumbs a:hover { color: var(--white); }

/* ----- WhatsApp Floating ----- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  z-index: 99;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(37,211,102,.5);
}
.whatsapp-float svg { width: 32px; height: 32px; }

/* ----- Articles (Blog single) ----- */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  padding: 70px 0;
}
.article-content { max-width: 760px; }
.article-content h2 { margin-top: 40px; }
.article-content h3 { margin-top: 32px; }
.article-content img {
  border-radius: var(--radius-md);
  margin: 22px 0;
  box-shadow: var(--shadow-md);
}
.article-meta {
  display: flex; gap: 20px; font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.article-sidebar > div {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 24px;
  position: sticky; top: 110px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .benefits-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .props-grid, .blog-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .about-block { grid-template-columns: 1fr; gap: 40px; }
  .about-media { aspect-ratio: 16/10; max-width: 600px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-wrap { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar > div { position: static; }
  .zones-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 220px);
  }
  .zones-grid .zone-card:nth-child(1) { grid-column: 1 / -1; grid-row: 1; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .topbar { display: none; }
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 86%; max-width: 360px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 24px 24px;
    gap: 6px;
    box-shadow: var(--shadow-xl);
    transition: right .35s ease;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li > a { padding: 14px 16px; font-size: 16px; }
  .nav-dropdown {
    position: static; box-shadow: none; opacity: 1; visibility: visible;
    transform: none; padding-left: 16px; border: 0; background: transparent;
    margin-top: 4px;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta .btn { display: none; }

  .hero { min-height: auto; padding: 30px 0 60px; }
  .hero-grid { padding: 30px 0; gap: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-search { padding: 22px; }

  .benefits-grid, .services-grid, .props-grid,
  .blog-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .trustbar-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .zones-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  .zones-grid .zone-card:nth-child(1) { grid-column: 1; grid-row: 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-bar { flex-direction: column; text-align: center; gap: 10px; }

  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }

  .slider { height: 380px; }
  .slider-arrow { display: none; }

  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}

/* ----- Animations ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s ease forwards; }
.delay-1 { animation-delay: .1s; opacity: 0; }
.delay-2 { animation-delay: .25s; opacity: 0; }
.delay-3 { animation-delay: .4s; opacity: 0; }
