:root {
  --texto: var(--petroleo);
  --font-display: var(--f-titulo);
  --font-body: var(--f-texto);
  --contenido: var(--ancho);
  --sombra-suave: var(--sombra);
  --mk-primario: var(--petroleo);
  --mk-secundario: var(--esmeralda);
  --mk-fondo: var(--crema);
  --mk-texto: var(--petroleo);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blanco);
  color: var(--texto);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

body,
button,
input {
  font-family: var(--font-body);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: pretty;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.65rem, 8vw, 5.7rem);
  letter-spacing: -0.02em;
}

h2 {
  max-width: 19ch;
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--violeta);
  outline-offset: 4px;
}

.section-shell {
  width: min(var(--contenido), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem max(1.5rem, calc((100% - var(--contenido)) / 2));
  border-bottom: 1px solid rgb(31 78 95 / 10%);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.logo-mark {
  position: relative;
  display: block;
  width: 6.5rem;
  height: 4.5rem;
  flex: 0 0 auto;
}

.logo {
  gap: 0.5rem;
}

.logo .logo-mark .logo-symbol {
  display: block;
  width: 100%;
  height: 100%;
}

.logo .logo-nombre {
  font-size: 2.2rem;
}

.logo .logo-apellido {
  font-size: 1.2rem;
  letter-spacing: 0.22em;
}

.boton {
  min-height: 3.25rem;
  font-size: 1.2rem;
}

.boton-compacto {
  min-height: 2.9rem;
  padding-inline: 1.05rem;
}

.boton-cotizar {
  width: 100%;
  margin-top: 1rem;
}

.hero {
  display: grid;
  min-height: min(760px, calc(100svh - 5rem));
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3rem, 8vw, 7rem);
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--petroleo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-summary {
  max-width: 42rem;
  margin-bottom: 0.75rem;
  color: var(--texto-suave);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-location {
  margin-bottom: 1rem;
  color: var(--petroleo);
  font-weight: 700;
}

.hero-tagline {
  max-width: 30rem;
  margin: 1.5rem 0;
  color: var(--petroleo);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.7vw, 1.85rem);
  font-weight: 700;
  line-height: 1.28;
}

.hero-whatsapp {
  margin: 0.75rem 0 0;
  color: var(--texto-suave);
  font-size: 0.95rem;
}

.hero-whatsapp a {
  color: var(--petroleo);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
}

.photo-placeholder {
  display: grid;
  min-height: 18rem;
  place-items: center;
  padding: 2rem;
  border: 1px dashed rgb(31 78 95 / 35%);
  border-radius: var(--radio);
  background: var(--crema);
  color: var(--petroleo);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.hero-photo {
  min-height: clamp(22rem, 45vw, 34rem);
  box-shadow: var(--sombra-suave);
}

.hero-photo-carousel {
  position: relative;
  width: 100%;
  height: clamp(22rem, 45vw, 34rem);
  overflow: hidden;
  border-radius: var(--radio);
  box-shadow: var(--sombra-suave);
  background: var(--crema);
}

.hero-photo-grid {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-landscape-art {
  height: clamp(4rem, 10vw, 8rem);
  margin-top: -7rem;
  overflow: hidden;
}

.hero-landscape-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.route-divider {
  max-width: 46rem;
  margin-block: 1rem 0;
  opacity: 0.9;
}

.route-divider picture {
  display: block;
}

.route-divider img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section-cream {
  background: var(--crema);
}

.section-intro {
  max-width: 47rem;
  margin-bottom: 2rem;
  color: var(--texto-suave);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.alternatives-note {
  max-width: 48rem;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--coral);
  border-radius: var(--radio);
  background: var(--blanco);
  color: var(--petroleo);
  font-weight: 700;
  text-align: center;
}

.experiences-note {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
}

.alternatives-note-followup {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
}

.service-card {
  overflow: hidden;
  border: 1px solid rgb(31 78 95 / 12%);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: var(--sombra-suave);
}

.service-card .photo-placeholder {
  min-height: 13rem;
  border: 0;
  border-bottom: 1px dashed rgb(31 78 95 / 35%);
  border-radius: 0;
}

.service-card .map-card {
  display: flex;
  height: 13rem;
  min-height: 13rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  background: linear-gradient(135deg, #e8f1ec, #f6f2ea);
  color: var(--petroleo);
}

.map-route {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
}

.map-card a {
  color: var(--petroleo);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.map-card .map-card-link {
  position: relative;
  display: block;
  width: 100%;
  height: 13rem;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px dashed rgb(31 78 95 / 35%);
  border-radius: calc(var(--radio) - 0.25rem);
  color: var(--blanco);
  text-decoration: none;
}

.map-card-link::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgb(31 78 95 / 94%));
  content: "";
}

.map-card-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-card-link .map-card-cta {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 3.4rem;
  left: 1rem;
  color: var(--blanco);
}

.map-card-link .map-card-note {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.6rem;
  left: 1rem;
  color: var(--crema);
  font-size: 0.76rem;
  line-height: 1.25;
}

.service-card .service-photo-wrap {
  position: relative;
  min-width: 0;
  height: 13rem;
}

.service-card .service-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-bottom: 1px dashed rgb(31 78 95 / 35%);
  object-fit: cover;
  object-position: center 65%;
}

.service-card .service-photo-contain {
  object-fit: contain;
  object-position: center;
  background: var(--crema);
}

.service-copy {
  padding: 1.5rem;
}

.service-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-heading h3 {
  max-width: 17ch;
}

.service-tag {
  flex: 0 0 auto;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #EAF2ED;
  color: var(--petroleo);
  font-size: 0.76rem;
  font-weight: 700;
}

.service-copy p {
  color: var(--texto-suave);
}

.service-price {
  margin: 1.25rem 0 0.25rem;
  color: var(--petroleo) !important;
  font-size: 1.05rem;
  font-weight: 700;
}

.pending-note,
.price-disclaimer {
  color: var(--texto-suave);
  font-size: 0.82rem;
}

.price-disclaimer {
  max-width: 64rem;
  margin: 1.5rem 0 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.step-card {
  padding: 1.5rem;
  border-top: 2px solid var(--coral);
}

.step-number {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--violeta);
  font-family: var(--font-display);
  font-size: 2rem;
}

.step-card p {
  margin: 0.8rem 0 0;
  color: var(--texto-suave);
}

.section-petrol {
  background: var(--petroleo);
  color: var(--blanco);
}

.section-petrol h2,
.section-petrol h3 {
  color: var(--blanco);
}

.section-petrol em {
  color: #E4A4D7;
}

.section-petrol .eyebrow {
  color: #C0E3D7;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 7rem);
}

.quote-intro {
  position: sticky;
  top: 7rem;
}

.quote-intro p:last-child {
  max-width: 33rem;
  color: #E2ECEC;
}

.quote-form {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radio);
  background: var(--blanco);
  color: var(--petroleo);
  box-shadow: 0 22px 65px rgb(0 0 0 / 15%);
}

.quote-form > label,
.quote-form legend {
  display: block;
  margin: 1.2rem 0 0.55rem;
  color: var(--petroleo);
  font-weight: 700;
}

.quote-form > label:first-child {
  margin-top: 0;
}

.quote-form input[type="number"],
.quote-form input[type="date"] {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #80969B;
  border-radius: 0.55rem;
  background: var(--blanco);
  color: var(--petroleo);
}

.quote-form small {
  display: block;
  margin-top: 0.35rem;
  color: var(--texto-suave);
}

.quote-form fieldset {
  min-width: 0;
  margin: 1.2rem 0 0;
  padding: 0;
  border: 0;
}

.quote-form legend {
  margin-top: 0;
}

.options-list {
  display: grid;
  gap: 0.65rem;
}

.option-card {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--borde);
  border-radius: 0.7rem;
  cursor: pointer;
}

.option-card:has(input:checked) {
  border-color: var(--esmeralda);
  background: #F0F6F2;
}

.option-card input {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  accent-color: var(--esmeralda);
}

.option-content {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.option-name {
  font-weight: 700;
}

.option-price {
  color: var(--texto-suave);
  font-size: 0.84rem;
  text-align: right;
}

.estimate-box {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.4rem;
  padding: 1rem;
  border-radius: 0.8rem;
  background: var(--crema);
}

.estimate-label {
  font-size: 0.85rem;
  font-weight: 700;
}

.estimate-box strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1.15;
}

.estimate-breakdown {
  color: var(--texto-suave);
  font-size: 0.86rem;
}

.button-quote {
  width: 100%;
  margin-top: 1rem;
}

.quote-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  color: var(--petroleo);
  font-size: 0.9rem;
  font-weight: 600;
}

.whatsapp-fallback {
  margin: 0.5rem 0 0;
  color: var(--texto-suave);
  font-size: 0.9rem;
}

.whatsapp-fallback strong {
  color: var(--petroleo);
  white-space: nowrap;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.trust-stat {
  max-width: 21ch;
  margin: 1.5rem 0;
  color: var(--esmeralda);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.7vw, 2.45rem);
  line-height: 1.2;
}

.trust-pending {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.2rem;
}

.trust-photo-carousel {
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
}

.trust-photo-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 16rem;
  overflow: hidden;
  border: 5px solid var(--blanco);
  border-radius: var(--radio);
  background: var(--crema);
  box-shadow: var(--sombra-suave);
}

.trust-photo-card,
.hero-photo-card {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 650ms ease;
}

.trust-photo-card.is-active,
.hero-photo-card.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-photo-card img,
.trust-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-photo-card img {
  object-fit: contain;
  background: var(--crema);
}

.trust-photo-card img {
  object-fit: cover;
}

.carousel-controls,
.carousel-buttons {
  display: flex;
  align-items: center;
}

.carousel-controls {
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.hero-photo-carousel .carousel-controls {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  left: 0.8rem;
  margin-top: 0;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
}

.carousel-buttons {
  gap: 0.45rem;
}

.carousel-control,
.carousel-toggle {
  min-height: 2.5rem;
  border: 1px solid var(--borde);
  border-radius: 999px;
  background: var(--blanco);
  color: var(--petroleo);
  cursor: pointer;
  font: inherit;
}

.carousel-control {
  width: 2.5rem;
  font-size: 1.25rem;
}

.carousel-toggle {
  padding-inline: 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.carousel-status {
  color: var(--texto-suave);
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .trust-photo-card,
  .hero-photo-card {
    transition: none;
  }
}

.faq-shell {
  max-width: 900px;
}

.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--borde);
}

.faq-item {
  border-bottom: 1px solid var(--borde);
}

.faq-item summary {
  position: relative;
  padding: 1.15rem 2.2rem 1.15rem 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: 0.25rem;
  content: "+";
  color: var(--petroleo);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 70ch;
  margin-bottom: 1.25rem;
  color: var(--texto-suave);
}

.closing {
  padding-block: clamp(4rem, 9vw, 7rem);
  padding-top: clamp(7.5rem, 10vw, 8rem);
  text-align: center;
}

.closing-inner {
  display: grid;
  justify-items: center;
}

.closing-bird {
  width: clamp(9rem, 14vw, 11rem);
  height: auto;
  margin-bottom: 1.25rem;
}

.closing h2 {
  max-width: 17ch;
}

.closing p {
  max-width: 43rem;
  color: #E2ECEC;
}

.site-footer {
  padding-block: 3rem 5rem;
  background: var(--petroleo);
  color: var(--blanco);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.footer-logo {
  display: block;
  width: min(16rem, 70%);
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-contact {
  color: #F3C1B9;
  font-weight: 700;
}

.mobile-quote-bar {
  display: none;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-photo {
    min-height: 20rem;
  }

  .hero-photo-carousel {
    height: 20rem;
  }

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

  .service-card {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.2fr);
  }

  .service-card .photo-placeholder {
    min-height: 100%;
    border-right: 1px dashed rgb(31 78 95 / 35%);
    border-bottom: 0;
  }

  .service-card .map-card {
    height: auto;
    min-height: 100%;
    border-right: 1px dashed rgb(31 78 95 / 35%);
    border-bottom: 0;
  }

  .map-card .map-card-link {
    border-bottom: 0;
  }

  .service-card .service-photo-wrap {
    height: 100%;
    min-height: 13rem;
    border-right: 1px dashed rgb(31 78 95 / 35%);
  }

  .service-card .service-photo {
    min-height: 100%;
    border-bottom: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .quote-layout,
  .trust-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-intro {
    position: static;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 4.7rem;
    font-size: 0.98rem;
  }

  .section-shell {
    width: min(100% - 2rem, var(--contenido));
  }

  .site-header {
    min-height: 5rem;
    padding-inline: 1rem;
  }

  .logo img {
    height: 38px;
  }

  .logo-mark {
    width: 4.75rem;
    height: 3.3rem;
  }

  .logo .logo-mark .logo-symbol {
    height: 100%;
  }

  .logo .logo-nombre {
    font-size: 1.8rem;
  }

  .logo .logo-apellido {
    font-size: 0.96rem;
    letter-spacing: 0.16em;
  }

  .site-header .boton {
    min-height: 2.75rem;
    padding-inline: 0.85rem;
    font-size: 1.2rem;
  }

  .site-header > .boton {
    display: none;
  }

  .hero {
    gap: 1.5rem;
    padding-block: 3rem 3.5rem;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .hero-photo {
    min-height: 16rem;
  }

  .hero-photo-carousel {
    height: min(78vw, 20rem);
    min-height: 16rem;
  }

  .hero-landscape-art {
    height: 3.5rem;
    margin-top: -3.5rem;
  }

  .section {
    padding-block: 3.75rem;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card .photo-placeholder {
    min-height: 12rem;
    border-right: 0;
    border-bottom: 1px dashed rgb(31 78 95 / 35%);
  }

  .service-card .map-card {
    height: 12rem;
    min-height: 12rem;
    border-right: 0;
  }

  .map-card .map-card-link {
    height: 12rem;
    min-height: 0;
  }

  .map-card-link img {
    height: 100%;
  }

  .service-card .service-photo-wrap {
    height: 12rem;
    min-height: 12rem;
    border-right: 0;
    border-bottom: 1px dashed rgb(31 78 95 / 35%);
  }

  .service-card .service-photo {
    min-height: 100%;
    border-bottom: 1px dashed rgb(31 78 95 / 35%);
  }

  .trust-photo-grid {
    min-height: 0;
  }

  .service-copy {
    padding: 1.2rem;
  }

  .quote-form {
    padding: 1.1rem;
  }

  .option-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.1rem;
  }

  .option-price {
    text-align: left;
  }

  .mobile-quote-bar {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgb(31 78 95 / 14%);
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(12px);
  }

  .mobile-quote-bar .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}
