:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #1d1f1c;
  --muted: #5e615b;
  --line: #d7d3c8;
  --accent: #7d8568;
  --accent-dark: #5e6650;
  --shadow: 0 14px 30px rgba(31, 34, 28, 0.08);
  --radius: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(125, 133, 104, 0.18), transparent),
    radial-gradient(900px 500px at -20% 20%, rgba(190, 177, 145, 0.18), transparent),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

#contenido {
  flex: 1 0 auto;
  margin-top: 0;
}

.site-footer {
  flex-shrink: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(125, 133, 104, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 133, 104, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 0.7rem;
  top: -3rem;
  z-index: 999;
  background: #111;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 0.7rem;
}

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 5.6rem;
}

.kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.2;
  font-family: "Outfit", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
}

h3 {
  font-size: 1.3rem;
}

.site-header {
  position: sticky;
  top: 0;
  margin: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(246, 244, 239, 0.9);
  border-bottom: 1px solid rgba(215, 211, 200, 0.85);
}
.page-shell .nav-wrap,
  .page-services .nav-wrap {
    min-height: 52px;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
  }

  .page-shell .brand img,
  .page-services .brand img {
    height: 28px;
  }

  .page-shell .brand span,
  .page-services .brand span {
    font-size: 1.1rem;
  }

.site-header.scrolled {
  box-shadow: 0 10px 24px rgba(22, 24, 21, 0.09);
}

.top-bar {
  border-bottom: 1px solid rgba(215, 211, 200, 0.75);
  background: rgba(248, 246, 240, 0.92);
}

.top-bar-inner {
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.top-bar-inner p {
  margin: 0;
}

.top-bar-inner a {
  font-weight: 700;
}
/* Header unificado global - Control total de tamaño */
header, 
header .nav-wrap, 
.catalog-page .nav-wrap, 
.page-contact .nav-wrap,
.nav-wrap {
  min-height: 52px !important;
  height: 52px !important;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  display: flex !important;
  align-items: center !important;
}

/* ACÁ ESTÁ EL ARREGLO PARA EL LOGO Y EL TEXTO */
header .brand,
.brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important; /* Espacio entre el sillón y la palabra Tapisur */
}

header .brand img, 
.brand img {
  height: 28px !important;
  width: auto !important; /* Evita que el logo se deforme */
}

header .brand span, 
.brand span {
  font-size: 1.1rem !important;
  margin: 0 !important; /* Quita márgenes viejos que tiren el texto abajo */
}

header .site-nav a, 
.site-nav a {
  font-size: 0.88rem !important;
}

/* Empujar el menú hacia la derecha */
header .container,
.nav-wrap .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

header .site-nav, 
.site-nav {
  margin-left: auto !important; /* Fuerza al menú a irse a la derecha */
  display: flex !important;
  gap: 1.5rem !important; /* Espaciado entre los links (Inicio, Catálogo, etc.) */
}

.site-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a.active {
  color: var(--text);
  font-weight: 700;
}

.nav-cta {
  padding-inline: 0.95rem;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.55rem;
  padding: 0.45rem 0.75rem;
  font: inherit;
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  place-items: center;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 19, 17, 0.7), rgba(18, 19, 17, 0.22)),
    url("../img/catalogo/page11_img03.jpeg") center 22% / cover no-repeat;
  transform: scale(1.02);
  transition: transform 0.35s ease-out;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12rem;
  background: linear-gradient(180deg, transparent, rgba(246, 244, 239, 0.95));
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.42;
  mix-blend-mode: screen;
  animation: drift 12s ease-in-out infinite;
}

.hero-orb-left {
  width: 18rem;
  height: 18rem;
  top: 10%;
  left: -4rem;
  background: radial-gradient(circle, rgba(209, 181, 143, 0.75), transparent 65%);
}

.hero-orb-right {
  width: 14rem;
  height: 14rem;
  right: 8%;
  bottom: 16%;
  background: radial-gradient(circle, rgba(147, 162, 123, 0.6), transparent 65%);
  animation-duration: 14s;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: #fff;
  padding: 4rem 0;
}

.hero-content p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.9);
}

.hero .kicker {
  color: #d2d8c8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.hero-meta span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  color: #f8f4ea;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.hero-proof-card {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(16, 18, 15, 0.16);
}

.hero-proof-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
}

.hero-proof-card p {
  margin: 0;
  font-size: 0.88rem;
}

.motion-strip {
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(122, 101, 82, 0.2);
    border-bottom: 2px solid rgba(122, 101, 82, 0.2);
    background: linear-gradient(90deg, #3b2a1a, #5a3e28, #3b2a1a);
  }

  .motion-strip::before,
  .motion-strip::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
  }

  .motion-strip::before {
    left: 0;
    background: linear-gradient(to right, #3b2a1a, transparent);
  }

  .motion-strip::after {
    right: 0;
    background: linear-gradient(to left, #3b2a1a, transparent);
  }

.motion-strip-track {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  gap: 1.8rem;
  padding: 0.75rem 0;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.motion-strip-track span {
    position: relative;
    padding-left: 1.2rem;
    color: #f5ddb8;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.82rem;
  }

  .motion-strip-track span::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: rgba(196, 154, 42, 0.7);
    font-size: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

.motion-strip-track span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #c8ac8b;
}

.page-hero {
  padding: 4.8rem 0 2.6rem;
  position: relative;
  overflow: hidden;
}

.page-shell .page-hero::before {
  content: "";
  position: absolute;
  top: -5rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 172, 139, 0.24), transparent 68%);
}

.page-shell .page-hero::after {
  content: "";
  position: absolute;
  left: -5rem;
  bottom: -6rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 133, 104, 0.16), transparent 70%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
}

.page-hero-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 133, 104, 0.16);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 22px rgba(31, 34, 28, 0.05);
  color: var(--accent-dark);
  font-size: 0.83rem;
  font-weight: 700;
}

.hero-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8ac8b, #7d8568);
  box-shadow: 0 0 0 5px rgba(200, 172, 139, 0.12);
}

.page-hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.page-kpi {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(125, 133, 104, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 239, 228, 0.84));
  box-shadow: 0 14px 28px rgba(31, 34, 28, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-kpi:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(31, 34, 28, 0.09);
  border-color: rgba(125, 133, 104, 0.3);
}

.page-kpi strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  color: var(--accent-dark);
}

.page-kpi span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.page-hero-media img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero-frame {
  position: relative;
}

.page-hero-frame::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(200, 172, 139, 0.2), rgba(125, 133, 104, 0.12));
  z-index: -1;
}

.page-shell.page-services .page-hero::before {
  background: radial-gradient(circle, rgba(200, 172, 139, 0.3), transparent 68%);
}

.page-shell.page-entregas .page-hero::before {
  background: radial-gradient(circle, rgba(125, 133, 104, 0.24), transparent 68%);
}

.page-shell.page-nosotros .page-hero::before {
  background: radial-gradient(circle, rgba(142, 120, 95, 0.22), transparent 68%);
}

.page-shell.page-services .page-hero-frame::before {
  background: linear-gradient(135deg, rgba(200, 172, 139, 0.26), rgba(125, 133, 104, 0.14));
}

.page-shell.page-entregas .page-hero-frame::before {
  background: linear-gradient(135deg, rgba(125, 133, 104, 0.2), rgba(103, 110, 95, 0.08));
}

.page-shell.page-nosotros .page-hero-frame::before {
  background: linear-gradient(135deg, rgba(164, 143, 118, 0.24), rgba(125, 133, 104, 0.12));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.74rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.26), transparent 82%);
  transform: translateX(-120%);
  transition: transform 0.4s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #8a9274, #6f775d);
  color: #fff;
  box-shadow: 0 14px 28px rgba(93, 102, 80, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #7a8367, #5d6650);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(93, 102, 80, 0.28);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  box-shadow: 0 10px 22px rgba(24, 26, 22, 0.08);
}

.about .btn-secondary,
.catalog .btn-secondary,
.instagram .btn-secondary,
.module-card .btn-secondary,
.cta-panel .btn-secondary,
.page-hero .btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.about-image img,
.materials-image img,
.map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.section-intro {
  color: var(--muted);
  max-width: 64ch;
}

.section-sm {
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.trust-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #c8ac8b, #7d8568);
}

.trust-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(125, 133, 104, 0.3);
  box-shadow: 0 16px 30px rgba(31, 34, 28, 0.08);
}

.trust-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.growth-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, #f4efe4, #fcfaf5);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.growth-box::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 133, 104, 0.12), transparent 70%);
}

.growth-box h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.growth-box p {
  margin: 0;
  color: var(--muted);
}

.module-nav-grid,
.info-grid,
.policy-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }
  
.module-card,
.info-card,
.policy-card,
.service-card,
.timeline-card,
.cta-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 12px 24px rgba(31, 34, 28, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
  overflow: hidden;
}

.module-card::before,
.info-card::before,
.policy-card::before,
.service-card::before,
.timeline-card::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #c8ac8b, #7d8568);
  opacity: 0.82;
}

.module-card::after,
.info-card::after,
.policy-card::after,
.service-card::after,
.timeline-card::after {
  content: "";
  position: absolute;
  right: -1.3rem;
  top: -1.3rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 172, 139, 0.12), transparent 72%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.module-card:hover,
.info-card:hover,
.policy-card:hover,
.service-card:hover,
.timeline-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(31, 34, 28, 0.1);
  border-color: rgba(125, 133, 104, 0.28);
}

.module-card:hover::after,
.info-card:hover::after,
.policy-card:hover::after,
.service-card:hover::after,
.timeline-card:hover::after {
  transform: scale(1.15);
  opacity: 0.95;
}

.module-card h3,
.info-card h3,
.policy-card h3,
.service-card h3,
.timeline-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.module-card p,
.info-card p,
.policy-card p,
.service-card p,
.timeline-card p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.module-card .btn,
.cta-panel .btn {
  margin-top: 0.95rem;
}

.service-card ul,
.policy-card ul,
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card li,
.policy-card li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.service-card li::before,
.policy-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-card strong {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-tone {
  position: relative;
}

.section-tone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 239, 228, 0.72), rgba(255, 255, 255, 0.2));
  pointer-events: none;
}

.section-tone > .container,
.section-tone > .container > * {
  position: relative;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: stretch;
}

.editorial-panel {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  background: linear-gradient(145deg, #f8f4ec, #fffdf8);
  padding: 1.3rem;
  box-shadow: 0 20px 38px rgba(31, 34, 28, 0.08);
}

.editorial-panel h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  margin-bottom: 0.6rem;
}

.editorial-panel p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.editorial-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.editorial-points li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
}

.editorial-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8ac8b, #7d8568);
}

.glow-card {
  position: relative;
  overflow: hidden;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 172, 139, 0.2), transparent 70%);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spotlight-card {
  padding: 1.15rem;
  border-radius: calc(var(--radius) + 0.1rem);
  border: 1px solid rgba(215, 211, 200, 0.85);
  background: linear-gradient(155deg, #ffffff, #f5f1e7);
  box-shadow: 0 16px 32px rgba(31, 34, 28, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 38px rgba(31, 34, 28, 0.09);
}

.spotlight-card strong {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}

.spotlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.spotlight-card p {
  margin: 0;
  color: var(--muted);
}

.quote-panel {
  position: relative;
  padding: 1.4rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background: linear-gradient(145deg, #756d60, #4d5246);
  color: #fff;
  box-shadow: 0 24px 40px rgba(31, 34, 28, 0.16);
}

.quote-panel::before {
  content: "\"";
  position: absolute;
  top: 0.3rem;
  left: 0.8rem;
  font-family: "Outfit", sans-serif;
  font-size: 4rem;
  line-height: 1;
  opacity: 0.16;
}

.quote-panel p {
  position: relative;
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.92);
}

.quote-panel strong {
  position: relative;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-strip {
  margin-top: -0.4rem;
  border-top: 1px solid rgba(215, 211, 200, 0.55);
  border-bottom: 1px solid rgba(215, 211, 200, 0.55);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(8px);
}

.feature-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
}

.feature-lead,
.feature-stat {
  border-radius: calc(var(--radius) + 0.1rem);
  border: 1px solid rgba(215, 211, 200, 0.9);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 228, 0.82));
  box-shadow: 0 16px 30px rgba(31, 34, 28, 0.06);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.feature-lead::after,
.feature-stat::after {
  content: "";
  position: absolute;
  inset: auto -1.5rem -1.5rem auto;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 172, 139, 0.16), transparent 72%);
}

.feature-lead h3,
.feature-stat strong {
  font-family: "Outfit", sans-serif;
}

.feature-lead h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
}

.feature-lead p,
.feature-stat p {
  margin: 0;
  color: var(--muted);
}

.feature-stat strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
  color: var(--accent-dark);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, #f2ede2, #fbfaf6);
}

.cta-panel-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.grid-cards {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.7rem;
  margin-bottom: 0.85rem;
}

.card p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.card small {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 500;
}

.materials-wrap {
  grid-template-columns: 0.9fr 1.1fr;
}

.materials-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: center;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 1.1rem 0 0;
  gap: 0.55rem;
}

.chips li {
  background: #ece8dd;
  color: #34382f;
  border: 1px solid #d7d3c8;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.84rem;
}

.works-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 0.9rem;
}

.work-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.work-item:hover img {
  transform: scale(1.05);
}

.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(17, 18, 16, 0.2));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.work-item:hover::after {
  opacity: 1;
}

.work-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.insta-box {
  background: linear-gradient(130deg, #fefdf9, #f2ede2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.insta-box::before {
  content: "";
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 172, 139, 0.18), transparent 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: stretch;
}

.contact-list {
  padding: 0;
  margin: 1.1rem 0 1.5rem;
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.55rem;
}

.contact-list a {
  text-decoration: underline;
  text-decoration-color: #9da58a;
}

.map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 1.2rem;
  background: linear-gradient(160deg, #f2eee4, #f8f6f0);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.2rem;
  padding-bottom: 1rem;
}

.footer-brand {
  margin-bottom: 0.8rem;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.footer-grid p {
  margin: 0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-list li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.footer-icon {
  position: relative;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  color: rgba(255, 250, 244, 0.86);
}

.footer-icon-location::before {
  content: "";
  position: absolute;
  inset: 0.08rem 0.22rem 0.2rem;
  border: 1.7px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.footer-icon-location::after {
  content: "";
  position: absolute;
  top: 0.34rem;
  left: 0.39rem;
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: currentColor;
}

.footer-icon-truck::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: 0.28rem;
  width: 0.62rem;
  height: 0.42rem;
  border: 1.7px solid currentColor;
}

.footer-icon-truck::after {
  content: "";
  position: absolute;
  right: 0.03rem;
  top: 0.4rem;
  width: 0.34rem;
  height: 0.3rem;
  border: 1.7px solid currentColor;
  border-left: 0;
  box-shadow: -0.62rem 0.36rem 0 -0.25rem currentColor, -0.06rem 0.36rem 0 -0.25rem currentColor;
}

.footer-icon-whatsapp {
  background: url("/img/whatsapp-icon-white.svg") center / contain no-repeat;
}

.footer-icon-instagram::before {
  content: "";
  position: absolute;
  inset: 0.1rem;
  border: 1.7px solid currentColor;
  border-radius: 0.28rem;
}

.footer-icon-instagram::after {
  content: "";
  position: absolute;
  top: 0.38rem;
  left: 0.38rem;
  width: 0.24rem;
  height: 0.24rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  box-shadow: 0.24rem -0.24rem 0 -0.08rem currentColor;
}

.footer-icon-clock::before {
  content: "";
  position: absolute;
  inset: 0.08rem;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.footer-icon-clock::after {
  content: "";
  position: absolute;
  left: 0.48rem;
  top: 0.25rem;
  width: 0.26rem;
  height: 0.34rem;
  border-left: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(215, 211, 200, 0.85);
  padding-top: 1rem;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.module-nav-grid .reveal:nth-child(2),
.works-grid .reveal:nth-child(2),
.service-grid .reveal:nth-child(2),
.info-grid .reveal:nth-child(2),
.policy-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.module-nav-grid .reveal:nth-child(3),
.works-grid .reveal:nth-child(3),
.service-grid .reveal:nth-child(3),
.info-grid .reveal:nth-child(3),
.policy-grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.module-nav-grid .reveal:nth-child(4),
.works-grid .reveal:nth-child(4),
.service-grid .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.module-nav-grid .reveal:nth-child(5),
.works-grid .reveal:nth-child(5),
.service-grid .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

@media (max-width: 980px) {
  .nav-cta {
    display: none;
  }

  .page-hero-grid,
  .page-hero-kpis,
  .module-nav-grid,
  .info-grid,
  .policy-grid,
  .service-grid,
  .editorial-grid,
  .spotlight-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 200px;
  }

  .work-item-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 0.75rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 760px) {
  .top-bar {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1.25rem;
    right: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0.8rem;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav.open {
    display: flex;
  }

  .grid-cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-content {
    padding: 3.3rem 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-badge-row {
    gap: 0.45rem;
  }

  .hero-meta {
    gap: 0.5rem;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .map iframe {
    min-height: 300px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .work-item-large {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 70svh;
  }

  .hero-content {
    padding: 2.7rem 0;
  }

  .hero-proof-card {
    padding: 0.9rem;
  }

  }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .motion-strip-track,
  .hero-orb {
    animation: none;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1rem, -1rem, 0) scale(1.06);
  }
}

/* Nuevo diseno Front - identidad visual Tapisur */
.motion-strip {
    background: linear-gradient(90deg, #3b2a1a, #5a3e28, #3b2a1a);
    border-color: rgba(122, 101, 82, 0.2);
  }

body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbf7f0 0%, #f8f1e7 44%, #fbf7f0 100%);
}

body::before,
.hero-orb,
.page-shell .page-hero::before,
.page-shell .page-hero::after,
.module-card::after,
.info-card::after,
.policy-card::after,
.service-card::after,
.timeline-card::after,
.growth-box::after,
.insta-box::before,
.glow-card::after,
.feature-lead::after,
.feature-stat::after {
  display: none;
}

h1,
h2,
h3,
.brand,
.feature-lead h3,
.feature-stat strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.5rem, 4.25vw, 4.1rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.35rem;
}

.container {
  width: min(1360px, calc(100% - 3.5rem));
}

.site-header {
  background: rgba(255, 250, 244, 0.96);
  border-bottom: 1px solid rgba(91, 73, 56, 0.15);
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(38, 54, 30, 0.12);
}

.home-page .top-bar {
  display: none;
}

.top-bar {
  background: linear-gradient(90deg, #26361e, #40522f);
  border: 0;
}

.top-bar-inner {
  min-height: 2.35rem;
  color: #fffaf4;
  font-size: 0.85rem;
}

/* Header unificado para todas las vistas */
.nav-wrap {
  min-height: 52px;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.brand img {
  height: 28px;
}

.brand span {
  font-size: 1.1rem;
}

.site-nav a {
  font-size: 0.88rem;
}

.brand {
  gap: 0.85rem;
  color: var(--brand);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}

.brand img {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0;
  object-fit: cover;
  object-position: top center;
}

.brand span {
  display: inline;
}

.footer-brand {
  color: #fffaf4;
  font-size: 2rem;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

.site-nav {
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  font-size: 1rem;
  font-weight: 700;
}

.site-nav a {
  color: #17120e;
  padding: 0.3rem 0;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  border-radius: 8px;
  border-color: var(--line);
  background: #fffaf4;
}

.kicker {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.btn {
  min-height: 3rem;
  border-radius: 6px;
  padding: 0.78rem 1.4rem;
  font-weight: 800;
  letter-spacing: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #4d6338, #3d512d);
  box-shadow: 0 12px 24px rgba(50, 70, 35, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #41552f, #2e411f);
}

.btn-secondary,
.about .btn-secondary,
.catalog .btn-secondary,
.instagram .btn-secondary,
.module-card .btn-secondary,
.cta-panel .btn-secondary,
.page-hero .btn-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid #6c604f;
}

.hero {
  min-height: min(60svh, 560px);
  place-items: stretch;
  background: #f8f0e7;
}

.hero-bg {
  left: 34%;
  background:
    linear-gradient(90deg, rgba(248, 243, 235, 1) 0%, rgba(248, 243, 235, 0.88) 12%, rgba(248, 243, 235, 0.08) 42%),
    url("../img/catalogo/page11_img03.jpeg") center / cover no-repeat;
  transform: none !important;
}

.hero::after {
  display: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  color: var(--text);
  padding: 4rem 0;
}

.hero-content p {
  color: #342920;
  font-size: 1.06rem;
}

.hero h1 {
  max-width: 15ch;
}

.hero h1::after {
  content: " transformar tus espacios.";
  color: var(--accent);
}

.hero .kicker {
  color: var(--accent);
  font-weight: 700;
}

.hero-meta,
.hero-proof-grid {
  display: none;
}

.hero-cta {
  margin-top: 1.4rem;
}

.hero-cta .btn-primary::after,
.cta-panel-actions .btn-primary::after {
  content: "";
}

.motion-strip {
  background: rgba(255, 250, 244, 0.75);
  border-color: rgba(104, 83, 65, 0.16);
}

.motion-strip-track {
  animation: none;
  justify-content: center;
  width: 100%;
  gap: 2.2rem;
}

.motion-strip-track span {
  color: var(--accent-dark);
}

.trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.trust-grid article {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 1.25rem 1.4rem;
}

.trust-grid article:first-child::after,
.module-card::after,
.service-card::after,
.info-card::after {
  content: "";
}

.trust-grid article::before {
  position: static;
  display: block;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: #e7e2d3;
  border: 1px solid #d5c9b7;
}

.section,
.section-sm {
  padding: 2.8rem 0;
}

.module-nav-grid,
.service-grid,
.info-grid,
.policy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.module-card,
.info-card,
.policy-card,
.service-card,
.timeline-card,
.cta-panel,
.editorial-panel,
.spotlight-card,
.feature-lead,
.feature-stat,
.growth-box,
.insta-box {
  border: 1px solid rgba(122, 101, 82, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.86);
  box-shadow: none;
}

.module-card::before,
.info-card::before,
.policy-card::before,
.service-card::before,
.timeline-card::before,
.cta-panel::before {
  display: none;
}

.works-grid {
  grid-template-columns: 0.9fr repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 1rem;
}

.work-item {
  border-radius: 8px;
}

.work-item-large {
  grid-column: auto;
  grid-row: auto;
}

.materials-wrap,
.split {
  gap: 2.2rem;
}

.about-image img,
.materials-image img,
.page-hero-media img,
.map iframe {
  border-radius: 8px;
  box-shadow: none;
}

.page-hero {
  padding: 3.4rem 0 2.8rem;
  background: #f8f0e7;
}

.page-hero-grid {
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
}

.page-hero-copy {
  align-self: center;
}

.page-hero-copy p {
  font-size: 1.08rem;
}

.page-hero h1 {
  max-width: 12ch;
}

.page-hero-media img {
  min-height: 360px;
}

.page-hero-frame::before {
  display: none;
}

.page-hero h1 strong,
.page-hero h1 em {
  color: var(--accent);
}

.hero-badge-row,
.page-hero-kpis {
  display: none;
}

.page-services .page-hero h1::after {
  content: " para cada necesidad";
  color: var(--accent);
}

.page-nosotros .page-hero h1::after {
  content: ", dedicacion y pasion.";
  color: var(--accent);
}

.page-strip {
  margin-top: 0;
}

.feature-band {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.cta-panel {
  background: linear-gradient(90deg, rgba(236, 227, 214, 0.92), rgba(248, 243, 235, 0.92));
  align-items: center;
}

.contact-grid {
  gap: 1.8rem;
}

.contact-list a {
  text-decoration: none;
  font-weight: 800;
}

.page-contact .page-hero {
  background: #fbf7f0;
}

.page-contact .page-hero-grid {
  grid-template-columns: 0.72fr 1.28fr;
}

.page-contact .page-hero h1 {
  color: var(--text);
}

.page-contact .page-hero h1::first-line {
  color: var(--text);
}

.page-contact .page-hero h1 {
  max-width: 9ch;
}

.page-contact .page-hero h1::after {
  content: "";
}

.page-hero-map iframe {
  min-height: 360px;
  border-radius: 8px;
}

.page-contact .info-card {
  padding: 2rem;
}

.page-contact .contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(122, 101, 82, 0.12);
}

.site-footer {
  margin-top: 0;
  padding: 2rem 0 0;
  background: linear-gradient(135deg, #26361e, #40522f);
  color: #fffaf4;
  border: 0;
}

.footer-grid {
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.7rem;
}

.footer-grid h3,
.footer-grid p,
.footer-list,
.footer-list a {
  color: #fffaf4;
}

.footer-list {
  opacity: 0.92;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 250, 244, 0.18);
  padding: 0.85rem 0;
  text-align: center;
  background: rgba(24, 34, 18, 0.24);
}

@media (max-width: 1100px) {
  .trust-grid,
  .module-nav-grid,
  .service-grid,
  .info-grid,
  .policy-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }
}

@media (max-width: 980px) {
  .hero-bg {
    left: 0;
    opacity: 0.28;
  }

  .page-hero-grid,
  .page-contact .page-hero-grid,
  .feature-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1.4rem, 1360px);
  }

  .nav-wrap {
    min-height: 4.2rem;
  }

  .brand {
    gap: 0.45rem;
    font-size: 1.55rem;
  }

  .brand img {
    width: 2.25rem;
    height: 2.25rem;
  }

  .menu-toggle {
    display: inline-flex;
    padding: 0.4rem 0.58rem;
    font-size: 0.9rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1.25rem;
    right: 1.25rem;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    background: #fffaf4;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    min-height: 640px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .trust-grid,
  .module-nav-grid,
  .service-grid,
  .info-grid,
  .policy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  }

/* Inicio segun referencia visual */
.home-reference .site-header {
  position: sticky;
  background: rgba(255, 250, 244, 0.98);
}

.home-reference #contenido {
  flex: 0 0 auto;
}

.home-reference .nav-wrap {
  min-height: 82px;
}

.home-reference .brand {
  font-size: clamp(2.1rem, 3vw, 2.9rem);
}

.home-reference .brand img {
  width: 3.55rem;
  height: 3.55rem;
}

.home-reference .site-nav {
  gap: clamp(2rem, 3.8vw, 4.2rem);
}

.home-reference .home-hero {
  height: 420px;
  min-height: 0;
  margin-top: 0;
  display: block;
  background: #f7efe6;
  overflow: hidden;
}

.home-reference .home-hero .hero-bg {
  left: 33%;
  background:
    linear-gradient(90deg, rgba(248, 243, 235, 1) 0%, rgba(248, 243, 235, 0.78) 14%, rgba(248, 243, 235, 0.08) 31%, rgba(248, 243, 235, 0) 55%),
    url("../img/home-hero-reference.png") center / cover no-repeat;
}

.home-reference .hero-content {
  width: min(1360px, calc(100% - 3.5rem));
  height: 420px;
  min-height: 0;
  max-width: none;
  margin: 0 auto;
  justify-content: flex-start;
  padding: 1.75rem 0 2rem;
}

.home-reference .hero .kicker {
  margin-bottom: 0.65rem;
  font-size: 0.98rem;
}

.home-reference .hero h1 {
  max-width: 16.5ch;
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 2.6vw, 2.9rem);
  line-height: 1.02;
}

.home-reference .hero-content p {
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-reference .hero-cta {
  margin-top: 1.05rem;
}

.home-reference .hero-cta .btn {
  min-width: 180px;
  min-height: 46px;
}

.home-benefits {
  background: rgba(255, 250, 244, 0.82);
  border-top: 1px solid rgba(122, 101, 82, 0.12);
  border-bottom: 1px solid rgba(122, 101, 82, 0.12);
}

.home-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.home-benefit {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 74px;
  padding: 0.65rem 1.1rem;
  border-right: 1px solid rgba(122, 101, 82, 0.2);
}

.home-benefit:last-child {
  border-right: 0;
}

.home-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.home-benefit:last-child .home-icon {
  width: 50px;
  height: 50px;
  margin-left: -4px;
}

.home-benefit h3 {
  margin: 0 0 0.25rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.home-benefit p {
  margin: 0;
  color: #342920;
  font-size: 0.78rem;
  line-height: 1.35;
}

.home-process {
  padding: 1rem 0 0.65rem;
}

.home-process-panel {
  padding: 0.8rem 1.5rem 1rem;
  border-radius: 8px;
  background: rgba(239, 231, 220, 0.76);
}

.home-process-panel h2 {
  margin-bottom: 0.75rem;
  text-align: center;
  font-size: clamp(1.5rem, 1.9vw, 1.85rem);
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.home-process-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 3.8rem 2rem minmax(0, 1fr);
  column-gap: 0.72rem;
  row-gap: 0.15rem;
  align-items: start;
}

.home-process-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.95rem;
  width: 2.1rem;
  border-top: 2px dotted var(--accent);
  opacity: 0.9;
  transform: translateY(-50%);
}

.home-process-grid article:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -1.05rem;
  width: 0.42rem;
  height: 0.42rem;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.home-process-icon {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  grid-row: span 2;
  border: 1px solid rgba(122, 101, 82, 0.24);
  border-radius: 999px;
  background: #e9dfcd;
  color: var(--accent);
  font-size: 1.34rem;
  line-height: 1;
}

.home-process-grid span {
  display: grid;
  place-items: start center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.72rem;
  line-height: 1;
  font-weight: 700;
}

.home-process-grid h3 {
  grid-column: 3;
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: #241a12;
  font-size: 0.96rem;
  line-height: 1.25;
  font-weight: 800;
}

.home-process-grid p {
  grid-column: 3;
  margin: 0;
  color: #342920;
  font-size: 0.76rem;
  line-height: 1.38;
}

.home-works {
  padding: 0.45rem 0 0.65rem;
}

.home-works-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.home-works-copy {
  align-self: center;
  padding-right: 0.8rem;
}

.home-works-copy h2 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.home-works-copy p {
  margin: 0;
  color: #342920;
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-works figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #eee6dc;
}

.home-works img {
  width: 100%;
  height: 138px;
  object-fit: cover;
}

.home-contact-strip {
  padding: 0 0 0.7rem;
}

.home-contact-panel {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.3rem;
  border-radius: 8px;
  background: rgba(236, 231, 216, 0.92);
}

.home-contact-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #3f6a36;
  color: #fffaf4;
  font-size: 1.75rem;
  line-height: 1;
}

.home-reference .btn {
  overflow: visible;
}

.home-reference .btn::after {
  display: none;
}

.btn-arrow,
.btn-whatsapp {
  gap: 0.7rem;
}

.btn-arrow-icon {
  position: relative;
  width: 1.3rem;
  height: 0.9rem;
  flex: 0 0 1.3rem;
}

.btn-arrow-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.08rem;
  width: 1rem;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}

.btn-arrow-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.08rem;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.btn-whatsapp-icon {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  color: currentColor;
  font-size: 1.25rem;
  line-height: 1;
}

.home-contact-panel h2 {
  margin: 0 0 0.25rem;
  font-size: 1.65rem;
}

.home-contact-panel p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
}

.home-reference .site-footer {
  padding-top: 1.35rem;
}

.home-reference .footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  align-items: start;
  padding-bottom: 1.25rem;
}

.home-reference .footer-brand img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
}

.footer-legal {
  background: rgba(24, 34, 18, 0.26);
  border-top: 1px solid rgba(255, 250, 244, 0.14);
}

.footer-legal-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 2.25rem;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 250, 244, 0.92);
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-legal-links a {
  color: rgba(255, 250, 244, 0.92);
  font-size: 0.82rem;
}

.footer-legal-links a + a::before {
  content: "|";
  margin-right: 0.6rem;
  color: rgba(255, 250, 244, 0.5);
}

@media (max-width: 980px) {
  .home-benefits-grid,
  .home-process-grid,
  .home-works-grid,
  .home-contact-panel,
  .home-reference .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-process-grid article::before,
  .home-process-grid article::after {
    display: none;
  }

  .home-process-grid article {
    grid-template-columns: 3.35rem 1.8rem minmax(0, 1fr);
    column-gap: 0.65rem;
  }

  .home-process-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
  }

  .home-benefit {
    border-right: 0;
    border-bottom: 1px solid rgba(122, 101, 82, 0.16);
  }

  .home-works img {
    height: 220px;
  }
}

@media (max-width: 760px) {
  .home-reference .nav-wrap {
    min-height: 68px;
  }

  .home-reference .brand {
    font-size: 1.7rem;
  }

  .home-reference .brand img {
    width: 2.4rem;
    height: 2.4rem;
  }

  .home-reference .menu-toggle {
    display: inline-flex !important;
    position: absolute;
    right: 0.7rem;
    top: 0.9rem;
    z-index: 40;
    visibility: visible;
    opacity: 1;
    margin-left: auto;
  }

  .home-reference .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1.25rem;
    right: 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .home-reference .site-nav.open {
    display: flex;
  }

  .home-reference .home-hero,
  .home-reference .hero-content {
    height: auto;
    min-height: 600px;
  }

  .home-reference .home-hero {
    width: 100%;
  }

  .home-reference .hero-content {
    width: min(calc(100% - 2.5rem), 300px);
    max-width: 300px;
    margin-inline: auto;
    padding-top: 1.7rem;
  }

  .home-reference .home-benefits-grid,
  .home-reference .home-process-panel,
  .home-reference .home-works-grid,
  .home-reference .home-contact-panel,
  .home-reference .footer-grid,
  .home-reference .footer-legal-inner {
    width: min(calc(100% - 1.4rem), 300px);
  }

  .home-reference .home-hero .hero-bg {
    left: 0;
    opacity: 0.22;
  }

  .home-reference .hero .kicker {
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .home-reference .hero h1 {
    max-width: 9.5ch;
    font-size: clamp(1.9rem, 8.8vw, 2.2rem);
    overflow-wrap: break-word;
  }

  .home-reference .hero-content p {
    max-width: 100%;
    font-size: 0.86rem;
  }

  .home-reference .hero-cta,
  .home-reference .hero-cta .btn {
    width: 100%;
  }

  .home-reference .hero-cta .btn {
    min-width: 0;
  }
}

/* Header/footer shared polish */
.site-header {
  z-index: 60;
}

.menu-toggle {
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.8rem;
  padding: 0.55rem 0.85rem;
  color: var(--accent);
  font-weight: 800;
}

.menu-toggle .bi {
  font-size: 1.35rem;
  line-height: 1;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(199, 154, 120, 0.16), transparent 24rem),
    linear-gradient(135deg, #203319 0%, #304925 50%, #26381f 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.04), transparent 42%);
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.28fr) minmax(160px, 0.75fr) minmax(250px, 1fr) minmax(220px, 0.9fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3.3rem) 1.8rem;
}

.footer-about,
.footer-column {
  min-width: 0;
}

.footer-about p {
  max-width: 27rem;
  margin: 1.05rem 0 1.25rem;
  color: rgba(255, 250, 244, 0.84);
  line-height: 1.65;
}

.footer-column h3 {
  display: flex;
  align-items: center;
  min-height: 3.4rem;
  margin: 0 0 0.75rem;
  color: #fffaf4;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.footer-column:not(:last-child) {
  border-right: 1px solid rgba(255, 250, 244, 0.16);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.footer-list {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li,
.footer-list a,
.footer-site-link {
  min-width: 0;
}

.footer-list li {
  display: grid;
  grid-template-columns: 1.7rem minmax(0, 1fr);
  gap: 0.62rem;
  align-items: start;
  color: rgba(255, 250, 244, 0.88);
  line-height: 1.48;
}

.footer-nav-list li {
  display: block;
}

.footer-list a,
.footer-site-link {
  color: rgba(255, 250, 244, 0.9);
  text-decoration: none;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.footer-list .bi {
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid rgba(255, 250, 244, 0.22);
  border-radius: 999px;
  color: #f3dac3;
  font-size: 0.95rem;
  line-height: 1;
}

.footer-nav-list .bi {
  border-color: transparent;
  background: rgba(255, 250, 244, 0.08);
}

.footer-site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 250, 244, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.08);
  font-weight: 800;
}

.footer-site-link .bi {
  color: #f3dac3;
  font-size: 1.15rem;
}

.footer-list a:hover,
.footer-list a:focus-visible,
.footer-site-link:hover,
.footer-site-link:focus-visible,
.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: #fffaf4;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.footer-legal {
  background: rgba(18, 26, 14, 0.34);
  border-top: 1px solid rgba(255, 250, 244, 0.16);
}

.footer-legal-inner {
  min-height: 3rem;
}

.footer-legal-links a + a::before {
  color: rgba(255, 250, 244, 0.42);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-column:not(:last-child) {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .menu-toggle span {
    font-size: 0.92rem;
  }

  .footer-grid,
  .home-reference .footer-grid {
    width: min(calc(100% - 1.4rem), 420px);
    grid-template-columns: 1fr;
    gap: 1.45rem;
    padding-block: 1.8rem 1.4rem;
  }

  .footer-column h3 {
    min-height: auto;
    margin-bottom: 0.55rem;
  }

  .footer-about p {
    margin-bottom: 1rem;
  }

  .footer-legal-inner,
  .home-reference .footer-legal-inner {
    width: min(calc(100% - 1.4rem), 420px);
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.7rem;
    padding-block: 0.85rem;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .home-reference .menu-toggle,
  .menu-toggle {
    right: 1rem;
    min-width: 3rem;
    padding-inline: 0.7rem;
  }
}

@media (max-width: 760px) {
  .home-reference .menu-toggle,
  .menu-toggle {
    right: 1.1rem !important;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0;
  }

  .menu-toggle span {
    display: none;
  }
}

@media (max-width: 760px) {
  .page-contact .page-hero-copy,
  .page-contact .info-card,
  .page-contact .contact-list,
  .page-contact .contact-list li,
  .page-contact .contact-list a,
  .page-contact .address-text {
    min-width: 0;
    max-width: 100%;
  }

  .page-contact .page-hero-copy > p {
    max-width: 100%;
  }

  .page-contact .contact-list li {
    display: grid;
    grid-template-columns: 7.2rem minmax(0, 1fr);
    justify-content: start;
    gap: 0.7rem;
  }

  .page-contact .contact-list li > :last-child {
    overflow-wrap: anywhere;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .page-contact .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 760px) {
  .page-contact .page-hero-grid,
  .page-contact .contact-grid {
    width: min(calc(100% - 2rem), 420px);
  }

  .page-contact .hero-cta,
  .page-contact .hero-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .page-contact .info-card {
    padding: 1.45rem;
  }
}

/* Footer refined reference */
.site-footer-refined {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  color: #fffaf4;
  background:
    radial-gradient(circle at 12% 22%, rgba(112, 154, 87, 0.22), transparent 24rem),
    radial-gradient(circle at 78% 30%, rgba(199, 154, 120, 0.1), transparent 22rem),
    linear-gradient(135deg, #1f3519 0%, #314f27 50%, #1d3217 100%);
}

.site-footer-refined::after {
  content: "";
  position: absolute;
  right: -2.5rem;
  top: 1.2rem;
  width: 14rem;
  height: 14rem;
  pointer-events: none;
  opacity: 0.16;
  border: 2px solid rgba(210, 231, 197, 0.42);
  border-left: 0;
  border-bottom: 0;
  border-radius: 70% 0 0 0;
  transform: rotate(8deg);
}

.footer-main-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(260px, 1.05fr) minmax(230px, 0.9fr) minmax(180px, 0.65fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  min-height: 16.5rem;
  padding-block: clamp(2.4rem, 5vw, 4.2rem);
}

.footer-brand-block,
.footer-contact-block,
.footer-hours-block,
.footer-social-block {
  min-width: 0;
}

.footer-contact-block,
.footer-hours-block,
.footer-social-block {
  position: relative;
  display: grid;
  gap: 1.7rem;
}

.footer-contact-block::before,
.footer-hours-block::before,
.footer-social-block::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.6rem, 4vw, 3.4rem) * -0.5);
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 250, 244, 0.16);
}

.footer-brand-block .footer-brand {
  display: inline-flex;
  gap: 0.9rem;
  color: #fffaf4;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.footer-brand-block .footer-brand img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  filter: brightness(0) invert(1) sepia(0.15) saturate(1.1);
}

.footer-brand-block p {
  max-width: 25rem;
  margin: 1.55rem 0 0;
  color: rgba(255, 250, 244, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-item,
.footer-social-link {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
  color: rgba(255, 250, 244, 0.92);
  text-decoration: none;
}

.footer-item a,
.footer-social-link {
  color: rgba(255, 250, 244, 0.92);
}

.footer-icon-pill,
.footer-social-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 250, 244, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.04);
  color: #d8d7bd;
  font-size: 1.25rem;
}

.footer-hours-item strong,
.footer-hours-detail strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fffaf4;
  font-weight: 800;
}

.footer-hours-detail {
  margin-left: 4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 250, 244, 0.18);
  color: rgba(255, 250, 244, 0.9);
}

.footer-social-block {
  justify-content: start;
}

.footer-social-link {
  grid-template-columns: 3rem auto;
  font-size: 1.02rem;
  font-weight: 600;
}

.footer-social-whatsapp .footer-social-icon {
  border-color: rgba(112, 223, 119, 0.65);
  color: #7ee082;
}

.footer-social-instagram .footer-social-icon {
  border-color: rgba(255, 112, 140, 0.78);
  color: #ff708c;
}

.footer-item a:hover,
.footer-item a:focus-visible,
.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #fffaf4;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.footer-legal-refined {
  position: relative;
  z-index: 1;
  background: rgba(14, 25, 12, 0.38);
  border-top: 1px solid rgba(255, 250, 244, 0.14);
}

.footer-legal-refined .footer-legal-inner {
  min-height: 3.6rem;
}

.footer-legal-refined p,
.footer-legal-refined a {
  color: rgba(255, 250, 244, 0.88);
}

@media (max-width: 1100px) {
  .footer-main-panel {
    grid-template-columns: 1fr 1fr;
  }

  .footer-hours-block::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .footer-main-panel,
  .home-reference .footer-main-panel {
    width: min(calc(100% - 2rem), 420px);
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.55rem;
    min-height: 0;
    padding-block: 2.1rem;
  }

  .footer-contact-block::before,
  .footer-hours-block::before,
  .footer-social-block::before {
    display: none;
  }

  .footer-contact-block,
  .footer-hours-block,
  .footer-social-block {
    gap: 1rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 250, 244, 0.14);
  }

  .footer-brand-block .footer-brand {
    font-size: 2.1rem;
  }

  .footer-brand-block .footer-brand img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .footer-brand-block p {
    margin-top: 1rem;
    font-size: 0.96rem;
  }

  .footer-item,
  .footer-social-link {
    grid-template-columns: 2.7rem minmax(0, 1fr);
    gap: 0.8rem;
  }

  .footer-hours-detail {
    margin-left: 3.5rem;
  }

  .footer-legal-refined .footer-legal-inner,
  .home-reference .footer-legal-refined .footer-legal-inner {
    width: min(calc(100% - 2rem), 420px);
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.7rem;
    padding-block: 0.9rem;
  }
}

@media (max-width: 760px) {
  .footer-item,
  .footer-item > *,
  .footer-social-link,
  .footer-brand-block p {
    min-width: 0;
    max-width: 100%;
  }

  .footer-item span:last-child,
  .footer-item a,
  .footer-social-link span:last-child,
  .footer-brand-block p {
    overflow-wrap: anywhere;
  }
}

/* Mobile minimal footer + scroll top */
.footer-mobile-minimal {
  display: none;
}

.scroll-top-btn {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid rgba(255, 250, 244, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #465f37, #2d4425);
  color: #f3dac3;
  box-shadow: 0 18px 34px rgba(24, 32, 20, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn .bi {
  font-size: 1.85rem;
  line-height: 1;
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
  color: #fffaf4;
  background: linear-gradient(135deg, #526f42, #344e2b);
}

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 100;
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(15, 35, 22, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.whatsapp-float .bi {
  font-size: 1.95rem;
  line-height: 1;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  background: #1fc45d;
  transform: translateY(-0.12rem);
  box-shadow: 0 18px 36px rgba(15, 35, 22, 0.34);
}

@media (max-width: 760px) {
  .site-footer-refined {
    display: none;
  }

  .footer-mobile-minimal {
    display: block;
    position: relative;
    overflow: hidden;
    color: #fffaf4;
    background:
      radial-gradient(circle at 16% 18%, rgba(101, 135, 76, 0.24), transparent 16rem),
      radial-gradient(circle at 90% 86%, rgba(255, 250, 244, 0.08), transparent 12rem),
      linear-gradient(145deg, #14271e 0%, #203b2b 52%, #172c20 100%);
  }

  .footer-mobile-minimal::after {
    content: "";
    position: absolute;
    right: -4.5rem;
    bottom: 1.2rem;
    width: 11rem;
    height: 11rem;
    pointer-events: none;
    border: 1px solid rgba(224, 212, 188, 0.16);
    border-radius: 999px;
  }

  .footer-mobile-inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 1.15rem;
    width: min(calc(100% - 2rem), 420px);
    margin-inline: auto;
    padding: 2.05rem 0 calc(2.2rem + env(safe-area-inset-bottom));
    text-align: center;
  }

  .footer-mobile-location,
  .footer-mobile-copy {
    margin: 0;
  }

  .footer-mobile-location {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fffaf4;
    font-size: 1.38rem;
    font-weight: 500;
    line-height: 1.2;
  }

  .footer-mobile-location .bi {
    color: #e8ccb4;
    font-size: 1.72rem;
  }

  .footer-mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: 22rem;
  }

  .footer-mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.25rem;
    padding: 0 0.85rem;
    border: 1px solid rgba(224, 212, 188, 0.28);
    border-radius: 8px;
    color: #fffaf4;
    background: rgba(255, 250, 244, 0.035);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
  }

  .footer-mobile-action .bi {
    font-size: 1.58rem;
    line-height: 1;
  }

  .footer-mobile-whatsapp .bi {
    color: #7ee082;
  }

  .footer-mobile-instagram .bi {
    color: #ff708c;
  }

  .footer-mobile-action:hover,
  .footer-mobile-action:focus-visible {
    color: #fffaf4;
    border-color: rgba(224, 212, 188, 0.44);
    background: rgba(255, 250, 244, 0.08);
  }

  .footer-mobile-rule {
    width: min(100%, 22rem);
    height: 1px;
    margin-top: 0.2rem;
    background: rgba(224, 212, 188, 0.22);
  }

  .footer-mobile-copy {
    color: rgba(255, 250, 244, 0.95);
    font-size: 1rem;
  }

  .footer-mobile-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.62rem;
    color: #e8ccb4;
    font-size: 0.96rem;
  }

  .footer-mobile-legal a {
    color: #e8ccb4;
    text-decoration: none;
  }

  .footer-mobile-legal a:hover,
  .footer-mobile-legal a:focus-visible {
    color: #fffaf4;
    text-decoration: underline;
    text-underline-offset: 0.22rem;
  }

  .scroll-top-btn {
    right: 1.05rem;
    bottom: calc(5.05rem + env(safe-area-inset-bottom));
    width: 3.25rem;
    height: 3.25rem;
    background: linear-gradient(135deg, #4d6338, #334b28);
  }

  .whatsapp-float {
    right: 1.05rem;
    bottom: calc(1.05rem + env(safe-area-inset-bottom));
    width: 3.35rem;
    height: 3.35rem;
  }

  .whatsapp-float .bi {
    font-size: 1.8rem;
  }

  .scroll-top-btn .bi {
    font-size: 1.65rem;
  }
}

@media (max-width: 360px) {
  .footer-mobile-actions {
    grid-template-columns: 1fr;
    max-width: 17rem;
  }
}

@media (max-width: 760px) {
  .footer-mobile-actions {
    max-width: 20rem;
    gap: 0.6rem;
  }

  .footer-mobile-action {
    min-height: 3rem;
    padding-inline: 0.65rem;
    font-size: 0.92rem;
  }

  .footer-mobile-action .bi {
    font-size: 1.42rem;
  }
}

@media (max-width: 380px) {
  .footer-mobile-actions {
    max-width: 18.5rem;
  }

  .footer-mobile-action {
    gap: 0.42rem;
    padding-inline: 0.55rem;
    font-size: 0.88rem;
  }
}

@media (min-width: 761px) {
  .scroll-top-btn,
  .scroll-top-btn.is-visible {
    display: none !important;
  }
}

/* Header hard reset: keeps the shared header flush and visually clean. */
.site-header,
.home-reference .site-header {
  top: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 0;
  outline: 0;
  background: #fffaf4;
}

.site-header .nav-wrap {
  margin-top: 0;
  margin-bottom: 0;
}

/* Informative legal pages */
.legal-info-page .section,
.legal-info-page .section-sm {
  position: relative;
}

.legal-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 2.2rem;
  background: linear-gradient(180deg, #fffaf4 0%, #f7efe6 100%);
}

.legal-hero h1 {
  max-width: 14ch;
  margin-bottom: 1rem;
}

.legal-lead {
  max-width: 58rem;
  margin: 0;
  color: #45392f;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.legal-summary-card,
.legal-info-card,
.legal-content-panel,
.legal-note {
  border: 1px solid rgba(122, 101, 82, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.86);
}

.legal-summary-card {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  box-shadow: 0 16px 34px rgba(38, 54, 30, 0.08);
}

.legal-summary-card i,
.legal-info-card > i,
.legal-note > i {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #e8dccd;
  color: var(--accent);
  font-size: 1.45rem;
}

.legal-summary-card strong,
.legal-summary-card span {
  display: block;
}

.legal-summary-card strong {
  margin-bottom: 0.2rem;
  font-size: 1.08rem;
}

.legal-summary-card span {
  color: #65584d;
  line-height: 1.5;
}

.legal-info-section {
  padding-top: 1.4rem;
}

.legal-info-card {
  padding: 1.35rem;
}

.legal-info-card h2 {
  margin: 1rem 0 0.55rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
}

.legal-info-card p,
.legal-content-panel p {
  margin: 0;
  color: #45392f;
  line-height: 1.72;
}

.legal-content-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.legal-content-panel h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.legal-content-panel h3 {
  margin-bottom: 0.65rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.legal-content-panel p + p {
  margin-top: 0.95rem;
}

.legal-light-panel {
  background: rgba(247, 239, 230, 0.74);
}

.legal-check-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-check-list li {
  position: relative;
  padding-left: 2rem;
  color: #342920;
  line-height: 1.62;
}

.legal-check-list li::before {
  content: "\F26E";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: "bootstrap-icons";
  color: var(--accent);
}

.legal-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
}

.legal-note p {
  flex: 1 1 auto;
  margin: 0;
  color: #45392f;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .legal-hero {
    padding-top: 2.2rem;
  }

  .legal-summary-card,
  .legal-note {
    align-items: flex-start;
  }

  .legal-note {
    flex-direction: column;
  }

.legal-note .btn {
    width: 100%;
  }
}

/* Delivery page: lighter informational layout */
.delivery-hero h1 {
  max-width: 17ch;
}

.delivery-highlight {
  display: grid;
  gap: 0.55rem;
  padding: 1.4rem;
  border-left: 4px solid var(--accent);
  background: rgba(255, 250, 244, 0.74);
}

.delivery-highlight i {
  color: var(--accent);
  font-size: 2rem;
}

.delivery-highlight strong,
.delivery-highlight span {
  display: block;
}

.delivery-highlight strong {
  font-size: 1.18rem;
}

.delivery-highlight span {
  color: #5f5147;
  line-height: 1.55;
}

.delivery-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  padding-block: 0.5rem;
}

.delivery-step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.delivery-step > span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #d9dfcc;
  color: #26361e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.delivery-step h2 {
  margin: 0 0 0.45rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.delivery-step p,
.delivery-options p,
.delivery-note p {
  margin: 0;
  color: #45392f;
  line-height: 1.68;
}

.delivery-options {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 8px;
  background: rgba(247, 239, 230, 0.78);
}

.delivery-options h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.delivery-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-list li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.delivery-list i {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fffaf4;
  color: var(--accent);
}

.delivery-list strong {
  color: #2c231c;
}

.delivery-note {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(122, 101, 82, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.9);
}

.delivery-note i {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #e8dccd;
  color: var(--accent);
  font-size: 1.45rem;
}

.delivery-note h2 {
  margin: 0 0 0.25rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .delivery-flow,
  .delivery-options {
    grid-template-columns: 1fr;
  }

  .delivery-note {
    grid-template-columns: 1fr;
  }

  .delivery-note .btn {
    width: 100%;
  }
}

/* Contact reference redesign */
.contact-reference-page #contenido {
  background: linear-gradient(180deg, #fffaf4 0%, #f8f1e7 100%);
}

.contact-reference {
  padding: clamp(2.2rem, 5vw, 3.7rem) 0 1.4rem;
}

.contact-reference-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.55fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
}

.contact-copy h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  color: #2c2019;
  font-size: clamp(2.45rem, 4.7vw, 4rem);
  line-height: 0.98;
}

.contact-copy h1::first-line {
  color: #2c2019;
}

.contact-copy p {
  max-width: 31rem;
  margin: 0 0 0.8rem;
  color: #463a31;
  line-height: 1.65;
}

.contact-visit-cta {
  display: grid;
  grid-template-columns: 2.9rem minmax(0, 1fr) 1.6rem;
  align-items: center;
  gap: 0.85rem;
  max-width: 25.5rem;
  min-height: 5rem;
  margin-top: 1.35rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  color: #fffaf4;
  background: linear-gradient(135deg, #3a552d, #263d1e);
  box-shadow: 0 18px 32px rgba(38, 54, 30, 0.2);
}

.contact-visit-cta:hover,
.contact-visit-cta:focus-visible {
  color: #fffaf4;
  transform: translateY(-1px);
}

.contact-visit-cta > span:first-child {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 250, 244, 0.42);
  border-radius: 8px;
  font-size: 1.3rem;
}

.contact-visit-cta-copy {
  display: block;
  min-width: 0;
}

.contact-visit-cta strong,
.contact-visit-cta small {
  display: block;
}

.contact-visit-cta strong {
  line-height: 1.2;
}

.contact-visit-cta small {
  margin-top: 0.15rem;
  color: rgba(255, 250, 244, 0.78);
  line-height: 1.3;
}

.contact-visit-cta > .bi-arrow-right {
  justify-self: end;
  font-size: 1.12rem;
}

.contact-map {
  min-height: 23.5rem;
  border: 1px solid rgba(122, 101, 82, 0.13);
  border-radius: 8px;
  overflow: hidden;
  background: #efe7dc;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 23.5rem;
  border: 0;
  filter: saturate(0.8) contrast(0.98);
}

.contact-reference-bottom {
  padding: 0.6rem 0 clamp(2.4rem, 5vw, 4rem);
}

.contact-channels-panel,
.contact-visit-panel {
  height: 100%;
  border: 1px solid rgba(122, 101, 82, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.86);
  box-shadow: 0 18px 42px rgba(70, 48, 30, 0.06);
}

.contact-channels-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 0.9fr);
  gap: clamp(1rem, 2.4vw, 1.45rem);
  align-items: center;
  padding: clamp(1.25rem, 2.4vw, 1.65rem);
}

.contact-channels-panel h2 {
  grid-column: 1 / -1;
  margin: 0 0 0.15rem;
  font-size: 1.35rem;
}

.contact-channel-row {
  display: grid;
  gap: 0.92rem;
}

.contact-channel {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 2.8rem;
}

.contact-channel i {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  color: #fff;
  background: #4d6338;
  font-size: 1.18rem;
  box-shadow: 0 8px 18px rgba(77, 99, 56, 0.18);
}

.contact-channel.instagram-link i {
  background: #c88f68;
}

.contact-channel small,
.contact-channel strong {
  display: block;
}

.contact-channel small {
  color: #6d6258;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.contact-channel strong {
  color: #2c2019;
  font-size: 1.02rem;
  line-height: 1.2;
}

.contact-phone-note {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  justify-items: stretch;
  gap: 0.95rem;
  align-items: center;
  min-height: 100%;
  padding-left: clamp(0.95rem, 2.4vw, 1.25rem);
  border-left: 1px solid rgba(122, 101, 82, 0.2);
}

.contact-phone-note i {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  color: #3a552d;
  background: #e5e0d3;
  font-size: 1.35rem;
}

.contact-phone-note strong {
  display: block;
  color: #2c2019;
  max-width: 15rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.contact-phone-note p {
  margin: 0.35rem 0 0;
  color: #6c5e53;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-visit-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.78fr);
  gap: clamp(1rem, 2.5vw, 1.45rem);
  align-items: center;
  padding: clamp(1.25rem, 2.4vw, 1.65rem);
  background: linear-gradient(135deg, rgba(250, 245, 238, 0.94), rgba(239, 231, 220, 0.78));
}

.contact-visit-icon {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  color: #263d1e;
  background: #ddd9ca;
  font-size: 1.45rem;
}

.contact-visit-panel h2 {
  margin: 0 0 0.55rem;
  max-width: 21rem;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.12;
}

.contact-visit-panel p {
  margin: 0 0 1rem;
  color: #4a3e35;
  line-height: 1.55;
}

.contact-visit-panel ul {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3b3028;
  font-size: 0.92rem;
}

.contact-visit-panel li {
  display: flex;
  align-items: center;
  gap: 0.62rem;
}

.contact-visit-panel li i {
  color: #4d6338;
  font-size: 1rem;
}

.contact-visit-panel img {
  width: 100%;
  min-height: 14rem;
  max-height: 16.5rem;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(70, 48, 30, 0.13);
}

@media (max-width: 980px) {
  .contact-reference-grid,
  .contact-channels-panel,
  .contact-visit-panel {
    grid-template-columns: 1fr;
  }

  .contact-phone-note {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    justify-items: stretch;
    padding: 1rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(122, 101, 82, 0.2);
  }

  .contact-phone-note i {
    width: 3.2rem;
    height: 3.2rem;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .contact-channels-panel {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.82fr);
  }

  .contact-visit-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.7fr);
  }

  .contact-visit-panel img {
    min-height: 12.5rem;
  }
}

@media (max-width: 640px) {
  .contact-reference {
    padding-top: 1.7rem;
  }

  .contact-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 13vw, 3rem);
  }

  .contact-map,
  .contact-map iframe {
    min-height: 18rem;
  }

  .contact-visit-cta,
  .contact-channels-panel,
  .contact-visit-panel {
    width: 100%;
  }

  .contact-channel strong {
    font-size: 0.96rem;
  }
}

/* About reference redesign */
.about-reference-page #contenido {
  background: linear-gradient(180deg, #fffaf4 0%, #f8f1e7 48%, #fffaf4 100%);
}

.about-reference-hero {
  padding: clamp(2rem, 4vw, 3rem) 0 1.2rem;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: stretch;
}

.about-hero-copy {
  align-self: center;
}

.about-hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  color: #2c2019;
  font-size: clamp(2.45rem, 4.7vw, 4rem);
  line-height: 0.98;
}

.about-hero-copy h1::first-line {
  color: #2c2019;
}

.about-hero-copy h1 {
  color: #4d6338;
}

.about-hero-copy p {
  max-width: 37rem;
  margin: 0 0 0.8rem;
  color: #463a31;
  line-height: 1.68;
}

.about-care-card {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  max-width: 28rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(239, 231, 220, 0.78);
}

.about-care-card > span {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  color: #fffaf4;
  background: #4d6338;
  font-size: 1.45rem;
}

.about-care-card strong,
.about-care-card small {
  display: block;
}

.about-care-card strong {
  color: #2c2019;
  line-height: 1.2;
}

.about-care-card small {
  margin-top: 0.25rem;
  color: #5f5147;
  line-height: 1.45;
}

.about-hero-media {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  border-radius: 0 0 0 8px;
}

.about-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 250, 244, 0.62), rgba(255, 250, 244, 0) 34%);
  pointer-events: none;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
}

.about-quote-card {
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  bottom: 1.25rem;
  z-index: 2;
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  max-width: 30rem;
  padding: 0.95rem 1.1rem;
  border-radius: 8px;
  color: #fffaf4;
  background: rgba(55, 81, 42, 0.92);
  box-shadow: 0 16px 34px rgba(38, 54, 30, 0.2);
}

.about-quote-card i {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.16);
  font-size: 1.35rem;
}

.about-quote-card p {
  margin: 0;
  color: rgba(255, 250, 244, 0.92);
  line-height: 1.45;
}

.about-values-section {
  padding: 1.4rem 0 1.2rem;
  border-top: 1px solid rgba(122, 101, 82, 0.12);
  border-bottom: 1px solid rgba(122, 101, 82, 0.12);
  background: rgba(255, 250, 244, 0.74);
}

.about-values-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.about-values-title span {
  height: 1px;
  background: rgba(122, 101, 82, 0.22);
}

.about-values-title h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.about-values-grid article {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  min-height: 6.4rem;
  padding: 0.75rem 1rem;
  border-right: 1px solid rgba(122, 101, 82, 0.14);
}

.about-values-grid article:last-child {
  border-right: 0;
}

.about-values-grid i {
  color: #7b6b55;
  font-size: 2rem;
  line-height: 1;
}

.about-values-grid h3 {
  margin: 0 0 0.25rem;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
}

.about-values-grid p {
  margin: 0;
  color: #5f5147;
  font-size: 0.8rem;
  line-height: 1.35;
}

.about-workshop-section {
  padding: clamp(1.4rem, 4vw, 2.6rem) 0 clamp(2.4rem, 5vw, 4rem);
}

.about-workshop-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(1.4rem, 4vw, 2.4rem);
  align-items: stretch;
}

.about-workshop-grid figure {
  min-height: 20rem;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.about-workshop-grid figure img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.about-workshop-copy {
  display: grid;
  align-content: center;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(122, 101, 82, 0.12);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.82);
}

.about-workshop-copy h2 {
  max-width: 18ch;
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.about-workshop-copy p {
  max-width: 52rem;
  margin: 0;
  color: #463a31;
  line-height: 1.7;
}

.about-workshop-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin-top: 1.4rem;
}

.about-workshop-points span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #332820;
  font-weight: 700;
  line-height: 1.35;
}

.about-workshop-points i {
  color: #7b6b55;
  font-size: 1.3rem;
}

@media (max-width: 980px) {
  .about-hero-grid,
  .about-workshop-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-media,
  .about-hero-media img {
    min-height: 20rem;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-values-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(122, 101, 82, 0.12);
  }
}

@media (max-width: 640px) {
  .about-reference-hero {
    padding-top: 1.6rem;
  }

  .about-hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 13vw, 3rem);
  }

  .about-quote-card {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .about-values-title {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .about-values-title span {
    display: none;
  }

  .about-values-grid,
  .about-workshop-points {
    grid-template-columns: 1fr;
  }
}

.service-card {
    border-radius: 16px;
    padding: 1.6rem 1.4rem;
    border: 1px solid rgba(122, 101, 82, 0.12);
  }

  .service-card h3 {
    font-size: 1rem;
    color: #2c1f12;
    margin-bottom: 0.75rem;
  }

  .service-card ul {
    padding-left: 1rem;
    color: #6b4f35;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(31, 34, 28, 0.09);
    border-color: rgba(122, 101, 82, 0.28);
  }

  /* --- ANIMACIÓN CARRUSEL INFINITO --- */

/* Asegura que el contenedor oculte lo que se desborda */
.motion-strip {
  overflow: hidden;
  width: 100%;
  display: flex;
}

/* El track que contiene los textos y se va a mover */
.motion-strip-track {
  display: flex;
  white-space: nowrap;
  gap: 2rem; /* Espaciado entre palabras */
  padding: 0.5rem 0;
  animation: carruselInfinito 20s linear infinite; /* Activa el movimiento continuo */
}

/* Forzar que las palabras mantengan el formato en fila */
.motion-strip-track span {
  display: inline-block;
  flex-shrink: 0;
}

/* Los @keyframes que crean el efecto de bucle sin saltos */
@keyframes carruselInfinito {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Se desplaza exactamente la mitad (el bloque repetido) */
  }
}

/* --- DISEÑO ARMONIOSO PARA EL CARRUSEL --- */

/* Color de fondo sutil para la tira */
.motion-strip {
  background: #fcfcfb !important; /* Un crema clarito muy limpio */
  border-top: 1px solid rgba(122, 101, 82, 0.15) !important; /* Línea superior muy suave */
  border-bottom: 1px solid rgba(122, 101, 82, 0.15) !important; /* Línea inferior muy suave */
  position: relative;
}

/* Estilo de los textos dentro de la tira */
.motion-strip-track span {
  color: #6b4f35 !important; /* El mismo tono marrón suave que el resto de la web */
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

/* El truco de los degradados transparentes en los extremos para que no tenga cortes bruscos */
.motion-strip::before,
.motion-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

/* Degradado izquierdo (se funde desde el fondo hacia transparente) */
.motion-strip::before {
  left: 0;
  background: linear-gradient(90deg, #fbf7f0 0%, rgba(251, 247, 240, 0) 100%) !important;
}

/* Degradado derecho (se funde desde transparente hacia el fondo) */
.motion-strip::after {
  right: 0;
  background: linear-gradient(-90deg, #fbf7f0 0%, rgba(251, 247, 240, 0) 100%) !important;
}

/* FIX SERVICIOS - hero title position */
.page-hero {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.page-hero-grid {
  align-items: center;
  min-height: 0;
}

/* FIX CONTACTO - channels panel */
.contact-channels-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: stretch;
}

.contact-phone-note {
  min-height: auto;
  border-left: none;
  border-top: 1px solid rgba(122, 101, 82, 0.2);
  padding-left: 0;
  padding-top: 1rem;
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
}
/* FIX SERVICIOS */
.page-hero {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.page-hero-grid {
  align-items: center;
  min-height: 0;
}

.page-hero-media img {
  min-height: 0;
  max-height: 420px;
}

/* FIX CONTACTO */
.contact-channels-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.2rem !important;
  align-items: stretch !important;
}

.contact-phone-note {
  min-height: auto !important;
  border-left: none !important;
  border-top: 1px solid rgba(122, 101, 82, 0.2) !important;
  padding-left: 0 !important;
  padding-top: 1rem !important;
  display: grid !important;
  grid-template-columns: 3.35rem minmax(0, 1fr) !important;
  gap: 0.95rem !important;
  align-items: start !important;
}
/* FIX NOSOTROS - valores */
.about-values-grid article {
  grid-template-columns: 2.7rem 1fr !important;
  grid-template-rows: auto auto !important;
}

.about-values-grid article p {
  grid-column: 2 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  white-space: normal !important;
}

@media (max-width: 760px) {
  .site-header .nav-wrap {
    position: relative;
  }

  .site-header .site-nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 1rem;
    right: 1rem;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background: #fffaf4;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    transition: max-height 180ms ease, padding 180ms ease, opacity 160ms ease, visibility 160ms ease;
  }

  .site-header .site-nav.open {
    max-height: 24rem;
    padding: 0.7rem;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    border: 1px solid rgba(122, 101, 82, 0.18);
    box-shadow: 0 18px 34px rgba(47, 39, 31, 0.14);
  }

  .home-reference .site-header {
    z-index: 140;
    background: #fffaf4;
  }

  .home-reference .nav-wrap {
    min-height: 52px !important;
    height: 52px !important;
  }

  .home-reference .menu-toggle {
    top: 50% !important;
    transform: translateY(-50%);
  }

  .home-reference #contenido {
    padding-top: 0.75rem;
  }
}
