/* === Catálogo de materiales === */
.catalogo-materiales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0 1.5rem 0;
}
.material-categoria-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  overflow: hidden;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 260px;
}
.material-categoria-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.material-categoria-card span {
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  padding: 1.1rem 0.5rem 1.2rem 0.5rem;
  text-align: center;
}
.material-categoria-card:hover,
.material-categoria-card:focus-visible {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}

/* Modal de materiales */
.modal-material {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal-material[hidden] {
  display: none !important;
}
.modal-material-content {
  background: #fff;
  border-radius: 18px;
  max-width: 600px;
  width: 95vw;
  padding: 2.2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  transition: color 0.18s;
}
.modal-close:hover,
.modal-close:focus-visible {
  color: #eab308;
}
.material-gallery {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.material-gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
}
.material-gallery-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.material-gallery-item span {
  margin-top: 0.5rem;
  font-size: 0.98rem;
  color: #333;
  text-align: center;
}
/* === Video Section Grid === */
.video-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}
.video-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.video-col video {
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}
.cards-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 1.5rem;
  margin-bottom: 0;
  max-width: 100%;
  word-break: break-word;
}
.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}
.info-card p {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .video-section-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cards-col {
    gap: 1rem;
  }
}
:root {
  --color-bg: #fcfbf8;
  --color-surface: #ffffff;
  --color-surface-muted: #f1ede7;
  --color-text: #121212;
  --color-text-soft: #55504a;
  --color-dark: #050505;
  --color-accent: #ef7d12;
  --color-accent-strong: #d86b05;
  --color-border: rgba(18, 18, 18, 0.1);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 25px 60px rgba(0, 0, 0, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--color-text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(239, 125, 18, 0.12), transparent 26%),
    linear-gradient(180deg, #fffcf7 0%, #f6f2eb 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: -12%;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* Main marble veins layer */
body::before {
  opacity: 0.52;
  background:
    radial-gradient(120% 82% at 18% 22%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(108% 70% at 78% 66%, rgba(255, 245, 230, 0.72) 0%, rgba(255, 245, 230, 0) 68%),
    repeating-linear-gradient(
      123deg,
      rgba(130, 118, 106, 0) 0 22px,
      rgba(130, 118, 106, 0.12) 22px 24px,
      rgba(130, 118, 106, 0) 24px 44px,
      rgba(239, 125, 18, 0.09) 44px 46px,
      rgba(130, 118, 106, 0) 46px 76px
    );
  background-size: 170% 170%, 160% 160%, 180% 180%;
  filter: blur(0.45px) saturate(1.04);
  animation: marbleVeinsFlow 24s ease-in-out infinite alternate;
}

/* Secondary fine veins + depth */
body::after {
  opacity: 0.34;
  background:
    repeating-linear-gradient(
      -58deg,
      rgba(255, 255, 255, 0) 0 16px,
      rgba(255, 255, 255, 0.35) 16px 17px,
      rgba(255, 255, 255, 0) 17px 32px,
      rgba(119, 110, 101, 0.08) 32px 33px,
      rgba(255, 255, 255, 0) 33px 52px
    ),
    radial-gradient(95% 72% at 12% 78%, rgba(230, 218, 200, 0.48) 0%, rgba(230, 218, 200, 0) 70%);
  background-size: 150% 150%, 170% 170%;
  mix-blend-mode: multiply;
  animation: marbleVeinsDrift 32s linear infinite;
}

@keyframes marbleVeinsFlow {
  0% {
    background-position: 0% 0%, 100% 0%, 0% 0%;
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    background-position: 40% 20%, 70% 40%, 22% 34%;
    transform: translate3d(-1.1%, 0.8%, 0) scale(1.02);
  }
  100% {
    background-position: 90% 80%, 30% 85%, 70% 75%;
    transform: translate3d(1.1%, -1%, 0) scale(1.03);
  }
}

@keyframes marbleVeinsDrift {
  0% {
    background-position: 0% 0%, 0% 0%;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    background-position: 130% 70%, 80% 100%;
    transform: translate3d(0.8%, -0.8%, 0) rotate(0.3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(252, 251, 248, 0.9);
  border-bottom: 1px solid rgba(18, 18, 18, 0.06);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}

.brand-text strong {
  font-size: 0.92rem;
  color: var(--color-dark);
}

.brand-text span {
  color: var(--color-accent-strong);
  margin-top: 0.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-accent-strong);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  text-align: center;
  line-height: 1.1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
  box-shadow: 0 16px 35px rgba(216, 107, 5, 0.28);
}

.button-secondary {
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(18, 18, 18, 0.1);
}

.button-dark {
  color: #fff;
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.hero {
  padding: 1.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.6fr);
  gap: 1rem;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.feature-grid h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}


.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  padding: 0;
  color: var(--color-dark);
  width: 100%;
  max-width: 100%;
  word-break: break-word;
}


.hero-typing {
  display: block;
  width: 100%;
  min-height: unset;
  height: auto;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  transition: font-size 0.6s cubic-bezier(.4,1.6,.6,1);
}
.hero-typing.typing-finished {
  font-size: clamp(1.54rem, 3.5vw, 2.45rem) !important;
}

.hero-typing::after {
  content: "";
  display: inline-block;
  width: 0.07em;
  height: 1em;
  margin-left: 0.05em;
  background: currentColor;
  vertical-align: -0.06em;
  opacity: 0;
  font-size: clamp(3.2rem, 7vw, 5.2rem) !important;
}

.hero-typing.typing-active::after {
  opacity: 1;
  animation: typeCaretBlink 820ms steps(1, end) infinite;
}

@keyframes typeCaretBlink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-accent-strong);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: rgba(18, 18, 18, 0.7);
}

.hero-text,
.section-heading p,
.material-card p,
.service-card p,
.gallery-copy p,
.feature-list p,
.contact-copy p,
.site-footer p,
.trust-grid p {
  color: var(--color-text-soft);
  line-height: 1.75;
}

.hero-text {
  max-width: 60ch;
  margin: 1.4rem 0 0;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero-points li {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(18, 18, 18, 0.08);
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 1rem;
}

.hero-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.hero-card span,
.contact-cards span {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-card strong,
.contact-cards strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.2;
}

.hero-card p {
  margin: 0.9rem 0 0;
  line-height: 1.7;
}

.hero-card-dark {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 50%),
    linear-gradient(180deg, #151515 0%, #000000 100%);
}

.hero-card-accent {
  background: linear-gradient(160deg, #fff4e8 0%, #f4b069 100%);
  color: var(--color-dark);
}

.trust-strip {
  padding: 1rem 0 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-grid article {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(18, 18, 18, 0.06);
}

.trust-grid strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.section {
  padding: 5.5rem 0;
}

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(239, 125, 18, 0.22), transparent 20%),
    linear-gradient(180deg, #111111 0%, #050505 100%);
}

.section-accent {
  background: transparent;
}

.section-accent .eyebrow-dark,
.section-accent h2,
.section-accent h3,
.section-accent p {
  color: var(--color-text);
}

.section-accent .feature-list article {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(18, 18, 18, 0.1);
  backdrop-filter: blur(4px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.feature-grid h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
}

.section-heading.light p,
.section-heading.light h2,
.section-dark .material-card p,
.section-dark .material-card h3 {
  color: #fff;
}

.narrow {
  max-width: 640px;
}

.cards-grid,
.material-grid,
.gallery-grid,
.feature-list,
.footer-grid,
.contact-grid,
.contact-cards {
  display: grid;
  gap: 1.25rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.material-card,
.gallery-card,
.contact-form,
.contact-cards article {
  border-radius: var(--radius-md);
}

.service-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.metrics-strip {
  padding: 1.2rem 0 0.4rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  position: relative;
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 237, 224, 0.88) 100%);
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: auto -20% 0 auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 125, 18, 0.26) 0%, rgba(239, 125, 18, 0) 72%);
  pointer-events: none;
}

.metric-card strong {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1;
  color: var(--color-dark);
  letter-spacing: -0.03em;
}

.metric-card span {
  display: block;
  margin-top: 0.52rem;
  color: var(--color-text-soft);
  font-weight: 600;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.14);
}

.js-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.service-card.js-animate:nth-child(2),
.service-card.js-animate:nth-child(5),
.gallery-card.js-animate:nth-child(2),
.gallery-card.js-animate:nth-child(6),
.quality-card.js-animate:nth-child(2),
.quality-card.js-animate:nth-child(4) {
  transition-delay: 90ms;
}

.service-card.js-animate:nth-child(3),
.service-card.js-animate:nth-child(6),
.gallery-card.js-animate:nth-child(3),
.gallery-card.js-animate:nth-child(7),
.quality-card.js-animate:nth-child(3) {
  transition-delay: 160ms;
}

.service-card h3,
.material-card h3,
.gallery-copy h3,
.process-card h3,
.quality-card h3,
.feature-list h3,
.site-footer h3,
.site-footer h4 {
  margin: 0 0 0.65rem;
}

.process-section {
  background: transparent;
}

.process-grid,
.quality-grid {
  display: grid;
  gap: 1.25rem;
}

.process-grid {
  grid-template-columns: 1.15fr 1fr;
}

.process-card,
.quality-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.process-steps {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.85rem;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.process-steps strong {
  color: var(--color-dark);
}

.quality-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quality-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(239, 125, 18, 0.16);
  color: var(--color-accent-strong);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.material-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.material-card {
  min-height: 240px;
  padding: 1.7rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== COLLAGE GALLERY ===== */
.gallery-section {
  background: var(--color-dark);
  padding-bottom: 0;
}

.gallery-section .section-heading h2,
.gallery-section .section-heading p,
.gallery-section .eyebrow {
  color: #fff;
}

.gallery-section .eyebrow {
  color: rgba(239, 125, 18, 0.9);
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 4px;
  margin-top: 2rem;
}

.collage-item {
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #111;
  display: block;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease, filter 420ms ease;
}

.collage-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.7);
}

.collage-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.8rem;
  opacity: 0;
  background: rgba(0,0,0,0.25);
  transition: opacity 320ms ease;
  pointer-events: none;
}

.collage-item:hover .collage-overlay,
.collage-item:focus-visible .collage-overlay {
  opacity: 1;
}

/* Distribución artística asimétrica */
.ci-1  { grid-column: span 2; grid-row: span 2; }
.ci-2  { grid-column: span 2; grid-row: span 1; }
.ci-3  { grid-column: span 2; grid-row: span 1; }
.ci-4  { grid-column: span 1; grid-row: span 2; }
.ci-5  { grid-column: span 3; grid-row: span 2; }
.ci-6  { grid-column: span 2; grid-row: span 1; }
.ci-7  { grid-column: span 2; grid-row: span 2; }
.ci-8  { grid-column: span 2; grid-row: span 1; }
.ci-9  { grid-column: span 2; grid-row: span 1; }
.ci-10 { grid-column: span 2; grid-row: span 2; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 5, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  animation: lb-in 220ms ease;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lb-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
}

.lb-img {
  max-width: 100%;
  max-height: calc(90vh - 60px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: lb-zoom 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lb-zoom {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.lb-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0;
  padding-top: 0;
  margin-top: 0 !important;
}

.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  display: grid;
  place-items: center;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  backdrop-filter: blur(4px);
}

.lb-close {
  top: 1.2rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.3rem;
}

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

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--color-accent);
}

.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }
/* ===== FIN COLLAGE / LIGHTBOX ===== */


.feature-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.feature-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-list article {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(18, 18, 18, 0.08);
}

/* ===== FINANCIACIÓN ===== */
.financing-section {
  background: transparent;
}

  .financing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    margin-top: 2.4rem;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    width: 100%;
  }
  @media (max-width: 700px) {
    .financing-grid {
      grid-template-columns: 1fr;
    }
  }

  .financing-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.9rem 1.6rem;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform 320ms ease, box-shadow 320ms ease;
    min-width: 0;
    min-height: 320px;
    height: 100%;
    box-sizing: border-box;
  }

.financing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.12);
}

.financing-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 76px;
  border-radius: 12px;
}

.fin-addi {
  background: #fff;
  border: 1.5px solid rgba(0, 196, 140, 0.35);
}

.fin-siste {
  background: #fff;
  border: 1.5px solid rgba(26, 58, 143, 0.3);
  height: 110px;
}

.fin-cards {
  background: #fff;
  border: 1.5px solid rgba(18, 18, 18, 0.12);
  gap: 1rem;
}

.fin-logo-img {
  max-height: 52px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

.fin-siste .fin-logo-img {
  max-height: 80px;
  max-width: 85%;
  width: auto;
}

.fin-icon-visa {
  font-size: 3.1rem;
  color: #1a72e8;
}

.fin-icon-mc {
  font-size: 3.1rem;
  color: #eb001b;
}

.financing-info h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
/* --- Medios de pago: grid de 4 columnas --- */
  .financing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
    margin-top: 2.4rem;
    align-items: stretch;
  }
  @media (max-width: 900px) {
    .financing-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (max-width: 600px) {
    .financing-grid {
      grid-template-columns: 1fr;
    }
  }
  line-height: 1.65;
}

.fin-badge {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(239, 125, 18, 0.14);
  color: var(--color-accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.financing-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.financing-note a {
  color: var(--color-accent-strong);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* ===== FIN FINANCIACIÓN ===== */

.contact-section {
  background: transparent;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  align-items: start;
}

.contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.contact-cards article {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
}

.location-card {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.location-card-full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr) auto;
  gap: 1rem;
  align-items: end;
}

.location-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--color-accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.location-copy h3 {
  margin: 0;
  font-size: 1.35rem;
}

.location-copy p {
  margin: 0.7rem 0 1rem;
}

.map-frame-wrapper {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 18, 18, 0.1);
}

.map-frame {
  display: block;
  margin-top: 0 !important;
  padding-top: 0 !important;
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(18, 18, 18, 0.08);
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 18, 18, 0.12);
  background: #fcfbf8;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(239, 125, 18, 0.28);
  border-color: var(--color-accent);
}

.site-footer {
  padding: 2.2rem 0;
  color: #d8d8d8;
  background: #050505;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}


.float-up {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent, #eab308);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  font-size: 1.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  border: none;
  outline: none;
  padding: 0;
  gap: 0.2em;
}

.float-up:hover,
.float-up:focus-visible {
  background: var(--color-accent-dark, #c27803);
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.28);
}

.social-float {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.social-link {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  isolation: isolate;
}

.social-link::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 0.7rem);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: 18px;
  opacity: 0.62;
  filter: blur(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.social-icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: grid;
  place-items: center;
  font-size: 1.26rem;
  background: rgba(255, 255, 255, 0.15);
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateX(-4px) scale(1.03);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  filter: saturate(1.08);
}

.social-link:hover::before,
.social-link:focus-visible::before {
  opacity: 0.92;
  transform: scale(1.04);
}

.social-link:hover::after,
.social-link:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.social-facebook {
  background: linear-gradient(155deg, #1877f2 0%, #0a3f9a 100%);
}

.social-facebook::before {
  background: radial-gradient(circle, rgba(24, 119, 242, 0.75) 0%, rgba(24, 119, 242, 0) 68%);
}

.social-tiktok {
  background: #010101;
  border-color: rgba(255, 255, 255, 0.15);
}

.social-tiktok .social-icon {
  background: transparent;
  background-image:
    drop-shadow(-2px 2px 0px #EE1D52)
    drop-shadow(2px -2px 0px #69C9D0);
  filter:
    drop-shadow(-2px 2px 0px #EE1D52)
    drop-shadow(2px -2px 0px #69C9D0);
}

.social-tiktok::before {
  background: radial-gradient(circle, rgba(238, 29, 82, 0.5) 0%, rgba(105, 201, 208, 0.3) 50%, transparent 70%);
}

.social-instagram {
  background: linear-gradient(155deg, #c837ab 0%, #ef7d12 100%);
}

.social-instagram::before {
  background: radial-gradient(circle, rgba(200, 55, 171, 0.72) 0%, rgba(239, 125, 18, 0) 72%);
}

.social-email {
  background: linear-gradient(155deg, #ef7d12 0%, #c85900 100%);
}

.social-email::before {
  background: radial-gradient(circle, rgba(239, 125, 18, 0.78) 0%, rgba(239, 125, 18, 0) 72%);
}

.social-phone {
  background: linear-gradient(155deg, #2979ff 0%, #1140b0 100%);
}

.social-phone::before {
  background: radial-gradient(circle, rgba(41, 121, 255, 0.7) 0%, rgba(41, 121, 255, 0) 68%);
}

.social-whatsapp {
  background: linear-gradient(155deg, #25d366 0%, #0f8d44 100%);
}

.social-whatsapp::before {
  background: radial-gradient(circle, rgba(37, 211, 102, 0.78) 0%, rgba(37, 211, 102, 0) 70%);
}

@media (max-width: 1100px) {
  .hero-grid,
  .feature-grid,
  .contact-grid,
  .process-grid,
  .quality-grid,
  .services-grid,
  .metrics-grid,
  .material-grid,
  .feature-list,
  .footer-grid,
  .contact-cards,
  .trust-grid,
  .financing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collage-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
  }

  .ci-1  { grid-column: span 2; grid-row: span 2; }
  .ci-2  { grid-column: span 2; grid-row: span 1; }
  .ci-3  { grid-column: span 2; grid-row: span 1; }
  .ci-4  { grid-column: span 1; grid-row: span 2; }
  .ci-5  { grid-column: span 3; grid-row: span 2; }
  .ci-6  { grid-column: span 2; grid-row: span 1; }
  .ci-7  { grid-column: span 2; grid-row: span 1; }
  .ci-8  { grid-column: span 2; grid-row: span 1; }
  .ci-9  { grid-column: span 2; grid-row: span 1; }
  .ci-10 { grid-column: span 4; grid-row: span 1; }

  .location-card-full {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .social-float {
    right: 0.8rem;
  }
}

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

  .nav-bar,
  .site-nav,
  .hero-actions,
  .hero-points,
  .hero-grid,
  .services-grid,
  .metrics-grid,
  .material-grid,
  .feature-grid,
  .feature-list,
  .contact-grid,
  .process-grid,
  .quality-grid,
  .contact-cards,
  .footer-grid,
  .trust-grid,
  .financing-grid {
    grid-template-columns: 1fr;
  }

  .collage-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .ci-1, .ci-2, .ci-3, .ci-4, .ci-5,
  .ci-6, .ci-7, .ci-8, .ci-9, .ci-10 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .ci-1, .ci-5, .ci-7, .ci-10 {
    grid-column: span 2;
  }

  .nav-bar,
  .site-nav {
    display: grid;
    justify-content: start;
  }

  .desktop-cta {
    display: none;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .metric-card {
    padding: 1.15rem 1rem;
  }

  .social-float {
    right: 0.65rem;
    bottom: 0.7rem;
    top: auto;
    transform: none;
    gap: 0.4rem;
  }

  .social-link,
  .social-link:hover,
  .social-link:focus-visible {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    transform: none;
  }

  .social-icon {
    font-size: 1.02rem;
  }

  .social-link::after {
    display: none;
  }

  .float-up {
    left: 0.65rem;
    bottom: 0.7rem;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
.float-up i {
  margin: 0;
  font-size: 1.5em;
  line-height: 1;
}
}