:root {
  --bg: #fff8f6;
  --bg-alt: #fff1ee;
  --card: #ffffff;
  --text: #2f2f2f;
  --muted: #6b6b6b;
  --accent: #ff385c;
  --accent-dark: #ffffff;
  --line: #f2d7dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #ffe8ec 0%, var(--bg) 42%);
  line-height: 1.65;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.hero {
  min-height: 78vh;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(45, 32, 24, .38), rgba(28, 20, 14, .68)),
              url('images/hero-mirador-2025.jpeg') center 76%/cover;
  filter: blur(2.8px);
  transform: scale(1.03);
  z-index: 0;
}

.hero .nav,
.hero .hero-content {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  color: #eef6ef;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .4px;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
}

.nav ul {
  display: flex;
  gap: .9rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: #e7f0e8;
  text-decoration: none;
  padding: .35rem .55rem;
  border-radius: .5rem;
}

.nav a:hover { background: rgba(255,255,255,.08); }

.nav .cta,
.btn {
  background: var(--accent);
  color: var(--accent-dark);
  padding: .58rem .95rem;
  border-radius: .65rem;
  font-weight: 800;
}

.hero-content {
  padding: 5.2rem 0 3.2rem;
  max-width: 730px;
}

.eyebrow {
  display: inline-block;
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff1f4;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
  margin-bottom: .45rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 .75rem;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .55);
}

.hero p {
  font-size: 1.08rem;
  color: #fff4f6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
  margin: 0 0 1.25rem;
}

.section { padding: 4rem 0; }
.section h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}
.section-alt {
  background: linear-gradient(180deg, var(--bg-alt), #ffe6ea);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

a { color: #e03150; }

.map-open {
  background: rgba(255, 56, 92, .12);
  color: #b81f40;
  border: 1px solid rgba(255, 56, 92, .35);
  border-radius: .5rem;
  padding: .15rem .45rem;
  font: inherit;
  cursor: pointer;
}

.map-open:hover {
  background: rgba(255, 56, 92, .2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}

.chips span {
  background: rgba(255, 56, 92, .1);
  color: #6f1d2c;
  border: 1px solid rgba(255, 56, 92, .25);
  border-radius: 999px;
  padding: .38rem .72rem;
  font-size: .92rem;
}

.services-highlight {
  margin-top: 1.35rem;
  background: linear-gradient(180deg, #fff, #fff4f6);
  border: 1px solid #f2d7dc;
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 10px 24px rgba(224, 49, 80, .08);
}

.services-kicker {
  margin: 0;
  color: #b81f40;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
}

.services-highlight h3 {
  margin: .2rem 0 .8rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

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

.service-item {
  background: #fff;
  border: 1px solid #f1d1d8;
  border-radius: .9rem;
  padding: .9rem;
}

.service-emoji {
  font-size: 1.4rem;
  margin: 0 0 .25rem;
}

.service-item h4 {
  margin: 0;
  font-size: 1.05rem;
}

.service-item p {
  margin: .35rem 0 0;
  color: #555;
}

.route-grid {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 1.1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: 1rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: .5rem;
}

.refs {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.map-wrap {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.map-wrap iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

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

.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: .85rem;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  cursor: zoom-in;
  transition: transform .2s ease;
}

.gallery img:hover {
  transform: scale(1.015);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 9999;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1400px, 99vw);
  max-height: 96vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: .8rem;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}

.lightbox-close {
  position: absolute;
  top: .8rem;
  right: 1rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: .55rem;
  padding: .35rem .6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  border-radius: 999px;
  width: 54px;
  height: 54px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }

.lightbox-counter {
  position: absolute;
  top: calc(50% + min(46vh, 460px));
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 999px;
  padding: .3rem .78rem;
  font-size: .92rem;
  z-index: 2;
}

.map-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10000;
}

.map-modal.open { display: flex; }

.map-modal-content {
  width: min(1200px, 98vw);
  height: min(86vh, 820px);
  background: #fff;
  border-radius: .9rem;
  padding: .8rem;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: .5rem;
}

.map-modal-content h3 {
  margin: .2rem 2.5rem .2rem .2rem;
  color: #222;
}

.map-modal-close {
  position: absolute;
  top: .55rem;
  right: .6rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: .5rem;
  cursor: pointer;
  width: 34px;
  height: 34px;
}

.map-modal-frame-wrap,
.map-modal-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: .7rem;
}

@media (max-width: 760px) {
  .lightbox-nav {
    width: 46px;
    height: 46px;
    font-size: 1.7rem;
  }

  .lightbox-prev { left: .6rem; }
  .lightbox-next { right: .6rem; }

  .lightbox-counter {
    top: auto;
    bottom: .7rem;
  }
}

.footer {
  padding: 1.5rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .nav { flex-direction: column; }
  .hero-content { padding-top: 4.2rem; }
}
