
:root {
  --bg: #f2ede8;
  --surface: #fffdfa;
  --surface-alt: #e9ddd3;
  --ink: #231d19;
  --muted: #6c6158;
  --primary: #8d3a2b;
  --secondary: #33261f;
  --accent: #dc8d42;
  --accent-soft: rgba(141, 58, 43, 0.14);
  --topbar: #33261f;
  --nav-bg: rgba(255,252,248,0.92);
  --hero-bg: linear-gradient(134deg, #33261f 0%, #8d3a2b 58%, #dc8d42 100%);
  --hero-card-bg: rgba(255,255,255,0.09);
  --ring: rgba(51,38,31,0.12);
  --shadow-xl: 0 24px 70px rgba(51, 38, 31, 0.2);
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.09);
  --radius-lg: 20px;
  --radius-md: 20px;
  --hero-after: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,.1) 14px 28px), linear-gradient(90deg, transparent 0 50%, rgba(220,141,66,.18) 50% 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.92), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.3) 0%, transparent 18%),
    var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
iframe { display: block; width: 100%; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.topbar {
  background: var(--topbar);
  color: #fff;
  font-size: .92rem;
}
.topbar .container,
.nav-inner,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-strip,
.hero-actions,
.stats,
.nav-links,
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
}
.topbar .container { padding: .7rem 0; flex-wrap: wrap; }
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .05);
}
.nav-inner { padding: 1rem 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  font-family: 'Arial Narrow', 'Segoe UI', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand span {
  max-width: 25rem;
  line-height: 1.15;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
  padding: .15rem;
  box-shadow: var(--shadow-sm);
}
.nav-links a {
  padding: .55rem .95rem;
  border-radius: 999px;
  transition: background-color .25s ease, transform .25s ease, color .25s ease;
}
.nav-links a:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}
.lang-link,
.button,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  font-weight: 700;
}
.lang-link {
  padding: .6rem 1rem;
  background: var(--accent-soft);
  color: var(--secondary);
}
.button {
  padding: .95rem 1.3rem;
}
.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
}
.button-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
}
.pill {
  padding: .55rem .95rem;
  background: var(--accent-soft);
  color: var(--secondary);
}
.hero {
  padding: 4rem 0 2.5rem;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--hero-bg);
  color: #fff;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-after);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem;
}
.hero-copy {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}
.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 800;
}
h1, h2, h3 {
  margin: 0;
  font-family: 'Arial Narrow', 'Segoe UI', sans-serif;
  line-height: 1.08;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 14ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.1rem; }
.lead {
  max-width: 64ch;
  font-size: 1.08rem;
  color: rgba(255,255,255,.86);
}
.stats {
  margin-top: .4rem;
}
.stat {
  min-width: 122px;
  padding: .95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.stat strong {
  display: block;
  font-size: 1.15rem;
}
.stat span {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: .92rem;
}
.hero-media {
  position: relative;
  min-height: 390px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--hero-card-bg);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 7rem;
  height: 7rem;
  border-radius: 28px;
  background: rgba(255,255,255,.1);
  filter: blur(2px);
  z-index: 1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section {
  padding: 1.2rem 0 1.6rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}
.section-head p {
  margin: .6rem 0 0;
  color: var(--muted);
  max-width: 70ch;
}
.highlight,
.card,
.process-card,
.contact-card,
.cta-banner,
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  border: 1px solid var(--ring);
  box-shadow: var(--shadow-sm);
}
.highlight,
.contact-card,
.cta-banner {
  border-radius: var(--radius-md);
  padding: 1.35rem;
}
.highlight ul {
  margin: 0;
  padding-left: 1.1rem;
}
.highlight li + li {
  margin-top: .55rem;
}
.card-grid,
.mini-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.faq-list {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  overflow: hidden;
  border-radius: var(--radius-md);
}
.card img {
  aspect-ratio: 1.22;
  object-fit: cover;
}
.card h3,
.card p,
.card .pill {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}
.card h3 { margin-top: 1rem; }
.card p { color: var(--muted); }
.card .pill {
  margin-top: .25rem;
  margin-bottom: 1.15rem;
}
.process-card,
.faq-item {
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.process-card h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--secondary);
  margin-bottom: .9rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .92fr);
  gap: 1rem;
  align-items: stretch;
}
.map-frame {
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--ring);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe {
  min-height: 100%;
}
.faq-item p,
.contact-card p,
.cta-banner p {
  margin: .55rem 0 0;
  color: var(--muted);
}
.footer {
  padding: 2.5rem 0 3rem;
}
.footer-grid {
  align-items: start;
}
.footer-col {
  flex: 1;
  min-width: 220px;
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--ring);
}
.footer-col p,
.footer-col small {
  color: var(--muted);
}
.page-hero {
  padding: 2rem 0 .6rem;
}
.page-hero .highlight {
  background: var(--surface);
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 960px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    min-height: 320px;
  }
  .section-head,
  .footer-grid,
  .topbar .container,
  .nav-inner {
    align-items: start;
    flex-direction: column;
  }
}
@media (max-width: 720px) {
  .container {
    width: min(100% - 1.2rem, 1180px);
  }
  .hero {
    padding-top: 2.5rem;
  }
  .hero-grid {
    padding: 1.35rem;
    gap: 1.25rem;
  }
  .button,
  .lang-link,
  .pill,
  .nav-links a {
    width: 100%;
  }
  .stats {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.eyebrow {{
  background: rgba(220,141,66,.18);
}}
.card,
.process-card,
.faq-item {{
  background: linear-gradient(180deg, rgba(255,250,245,.98), rgba(248,240,232,.95));
}}
.card h3,
.process-card h3 {{
  text-transform: uppercase;
  letter-spacing: .02em;
}}


/* Ajustes de auditoría: imágenes enmarcadas, sin recorte y bloques más estables */
.brand img { object-fit: contain !important; }
.hero-media img,
.service-card img,
.zone-card img,
.gallery img,
figure img,
.card img,
.media img,
img.cover,
img.hero-image {
  width: 100%;
  height: auto;
  object-fit: contain !important;
  background: #fff;
}
.hero-media,
.service-card figure,
.zone-card figure,
.gallery figure,
.media,
figure {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--ring);
}
.section, section { scroll-margin-top: 100px; }
.nav-links a, .button, .btn { word-break: normal; }
.hero-copy .lead, .section-intro, .contact-card p, .service-card p { max-width: 68ch; }
