:root {
  --paper: #f2ede6;
  --ink: #1f1a17;
  --gold: #cfa968;
  --gold-dark: #b89255;
  --shadow: 0 20px 60px rgba(0, 0, 0, .25);
  --radius: 18px;
  --max: 1100px;


}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(40, 30, 25, .10);
}

.nav__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand__name {
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 18px;
}

.brand__pipe {
  opacity: .55;
  padding: 0 6px;
}

.brand__accent {
  color: var(--gold-dark);
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}

.menu__link {
  position: relative;
  padding: 8px 2px;
  color: #2b221d;
  opacity: .9;
}

.menu__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: transparent;
  transform: scaleX(0);
  transform-origin: left;
  transition: .25s ease;
}

.menu__link:hover::after,
.menu__link.is-active::after {
  background: var(--gold);
  transform: scaleX(1);
}

/* BOTONES - VERSION ORIGINAL (sin cambios) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  transition: .25s ease;
  border: 1px solid transparent;
}

.btn--pill {
  border-radius: 999px;
  padding: 12px 22px;
}

.btn--gold {
  background: var(--gold);
  color: #231b15;
  box-shadow: 0 10px 30px rgba(197, 154, 74, .28);
}

.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(18, 12, 10, .28);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.btn--ghost:hover {
  background: rgba(18, 12, 10, .38);
  transform: translateY(-1px);
}

.btn--small {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
}

/* HERO - AJUSTADO PARA MOSTRAR MÁS IMAGEN */
.hero {
  position: relative;
  min-height: 620px;
  /* Aumentado de 520px */
  height: 85vh;
  /* Aumentado de 70vh */
  max-height: 950px;
  /* Aumentado de 760px */
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.0);
  /* Cambiado de 1.02 a 1.0 para no recortar */
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1600px 800px at 50% 50%, rgba(0, 0, 0, .02), rgba(0, 0, 0, .35)),
    /* Menos opacidad */
    linear-gradient(to bottom, rgba(20, 14, 10, .03), rgba(20, 14, 10, .45));
  /* Más transparente */
  /* Más transparente arriba */
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: clamp(90px, 15vh, 160px);
  /* Más padding superior */
  text-align: center;
  color: #fff;
}

.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  opacity: .95;
  /* Más visible */
  margin: 0 0 15px;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.hero__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(56px, 8vw, 92px);
  /* Más grande aún */
  line-height: 1.0;
  margin: 0 0 25px;
  text-shadow: 0 16px 50px rgba(0, 0, 0, .65);
  letter-spacing: -1px;
}

.hero__lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  /* Un poco más grande */
  line-height: 1.85;
  opacity: .95;
  text-shadow: 0 10px 35px rgba(0, 0, 0, .5);
  margin-bottom: 40px;
  /* Más espacio antes de botones */
  font-weight: 400;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 25px;
  /* Más espacio entre botones */
  flex-wrap: wrap;
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(to bottom,
      transparent,
      /* Transparente arriba */
      #c9b5a7 80%
      /* Tu color beige/marrón claro */
    );
  z-index: 3;
}

/* SECTION PAPER - COLOR CREMA/BEIGE COMO EN LA IMAGEN */
.section--paper {
  background: #c9b5a7;
  /* Color crema/beige suave */
  padding: 42px 0 70px;
}

/* TÍTULO DE SECCIÓN */
.section__title {
  font-family: "Playfair Display", serif;
  text-align: center;
  font-size: clamp(32px, 4vw, 48px);
  margin: 20px 0 50px;
  color: #2a211c;
  line-height: 1.15;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* CARDS CON DOS PARTES */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
  height: 500px;
  /* Altura total aumentada */
}

/* PARTE SUPERIOR: Imagen del servicio */
.card__service-img {
  position: relative;
  height: 45%;
  /* 45% de la card para la imagen del servicio */
  overflow: hidden;
}

.card__service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__service-img img {
  transform: scale(1.05);
}

.card__service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
}

/* PARTE INFERIOR: Contenido sobre imagen de fondo */
.card__content {
  position: relative;
  height: 55%;
  /* 55% de la card para el contenido */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.card__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(36, 20, 13, 1),
      /* Tu color #c9b5a7 con opacidad */
      rgba(77, 54, 39, 0.7) 100%);
}

.card__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #2a211c;
  width: 100%;
}

.card__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 15px;
  color: #d9a878;
}

.card__text {
  margin: 0 auto 25px;
  max-width: 280px;
  color: #c0b1a2;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* BOTONES EN CARDS */
.card .btn--small {
  background: var(--gold);
  color: #231b15;
  box-shadow: 0 8px 20px rgba(197, 154, 74, 0.3);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  min-width: 140px;
}

.card .btn--small:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(197, 154, 74, 0.4);
}

/* BANNER */
.banner {
  position: relative;
  background: #111;
  overflow: hidden;
  min-height: 360px;
}

.banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.06) saturate(1.05);
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 50% 30%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .72)),
    linear-gradient(to bottom, rgba(16, 10, 8, .22), rgba(16, 10, 8, .78));
}

.banner__content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0;
  text-align: center;
  color: #fff;
}

.banner__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 12px;
  text-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}

.banner__text {
  max-width: 720px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .88);
}

/* BRAND STRIP */
.brandstrip {
  position: relative;
  overflow: hidden;
  background: #0f0b09;
  min-height: 170px;
}

.brandstrip__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) contrast(1.05);
}

.brandstrip__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 8, 7, .86), rgba(12, 8, 7, .65));
}

.brandstrip__content {
  position: relative;
  z-index: 2;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0;
}

.mark {
  text-align: center;
  color: #e9d2a5;
  letter-spacing: .6px;
}

.mark__icon {
  font-size: 18px;
  opacity: .9;
  margin-bottom: 8px;
}

.mark__name {
  font-weight: 700;
  font-size: 22px;
}

.mark__sub {
  font-size: 11px;
  opacity: .85;
  margin-top: 4px;
}

/* FOOTER */
.foot {
  background: #14100e;
  color: rgba(255, 255, 255, .85);
  padding: 40px 0 16px;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 30px;
}

.foot__brand {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.foot__muted {
  margin: 0 0 6px;
  opacity: .85;
}

.foot__title {
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.foot__links {
  display: grid;
  gap: 10px;
}

.foot__links a {
  opacity: .85;
  transition: .2s ease;
}

.foot__links a:hover {
  opacity: 1;
  color: #e3c27a;
}

.foot__copy {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  text-align: center;
  font-size: 12px;
  opacity: .85;
}

/* ANCHORS */
.spacer {
  height: 1px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 74vh;
  }

  .foot__grid {
    grid-template-columns: 1fr;
  }

  /* Ajustes responsive para botones */
  .btn {
    padding: 14px 24px;
    min-width: 140px;
  }

  .hero__actions {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* CARRUSEL DE SERVICIOS */
.services-carousel {
  overflow-x: auto;
  padding-bottom: 10px;
}

.cards--carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 22px;
  /* padding-bottom: 20px; */
  scroll-snap-type: x mandatory;
   border: none;
  outline: none;
}

.cards--carousel .card {
  scroll-snap-align: start;
}


/* Scroll invisible pero funcional */
.services-carousel {
  scrollbar-width: none; /* Firefox */
}

.services-carousel::-webkit-scrollbar {
  display: none; /* Chrome / Safari */
}



.services-hint{
  text-align:center;
  font-size:13px;
  opacity:.6;
  margin-top:10px;
}

/* LIMPIEZA VISUAL DEL CARRUSEL */
.services-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-left: 0;
  margin-left: 0;
}



/* ================================
   FIX DEFINITIVO CARRUSEL SERVICIOS
   ================================ */

.cards--carousel{
  display: flex !important;     /* mata el grid */
  flex-direction: row;
  gap: 22px;
  padding: 0;
  margin: 0;
  scroll-snap-type: x mandatory;
}

/* ancho fijo por card */
.cards--carousel .card{
  flex: 0 0 320px;              /* puedes probar 300 / 340 / 360 */
  max-width: 320px;
  scroll-snap-align: start;
}

/* evita espacios fantasmas */
.services-carousel{
  overflow-x: auto;
  overflow-y: hidden;
  background: #c9b5a7;          /* mismo fondo que la sección */
}

/* elimina cualquier pseudo-elemento raro */
.cards--carousel::before,
.cards--carousel::after{
  content: none !important;
}

