:root {
  --ink: #07111f;
  --navy: #0a1b33;
  --navy-2: #102845;
  --royal: #163b66;
  --gold: #b89555;
  --gold-soft: #ead8b7;
  --ivory: #f7f2e8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --muted: #6f7887;
  --line: rgba(13, 27, 49, 0.12);
  --shadow-soft: 0 18px 50px rgba(7, 17, 31, 0.10);
  --shadow-strong: 0 35px 95px rgba(7, 17, 31, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(rgba(7, 17, 31, 0.76), rgba(7, 17, 31, 0.92)),
    linear-gradient(135deg, #07111f 0%, #0a1b33 48%, #163b66 100%);
  overflow: hidden;
  position: relative;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.navbar {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  padding: 6px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  color: var(--white);
  background: transparent;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.78rem;
}

.lang-btn.active {
  background: var(--white);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  cursor: pointer;
  z-index: 20;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 70px;
  align-items: center;
  padding: 92px 0 130px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--gold-soft);
  background: rgba(184, 149, 85, 0.12);
  border: 1px solid rgba(234, 216, 183, 0.26);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.section-kicker {
  color: var(--gold);
  background: rgba(184, 149, 85, 0.10);
  border-color: rgba(184, 149, 85, 0.20);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.3rem);
  line-height: 0.92;
  margin: 26px 0;
  letter-spacing: 0;
  max-width: 850px;
}

.hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 14px 22px;
  min-height: 54px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff, #ecd9b7);
  box-shadow: 0 18px 42px rgba(184, 149, 85, 0.28);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.20);
}

.trust-row {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 690px;
  gap: 14px;
}

.trust-row div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.trust-row strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold-soft);
}

.trust-row span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.visual-card {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-strong);
}

.visual-card-main {
  height: 500px;
  position: relative;
}

.visual-card-main img,
.mini-photo img,
.gallery-item img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-overlay {
  position: absolute;
  inset: auto 22px 22px 22px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.visual-overlay span {
  display: block;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.visual-overlay strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.visual-stack {
  position: absolute;
  right: -22px;
  top: 55px;
  display: grid;
  gap: 18px;
}

.mini-photo {
  width: 180px;
  height: 150px;
  border-radius: 28px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-strong);
  background: var(--ivory);
}

.mini-photo.offset {
  transform: translateX(-42px);
}

.hero-quality-card {
  position: absolute;
  left: -28px;
  bottom: 36px;
  width: 210px;
  padding: 22px;
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-strong);
}

.hero-quality-card span {
  display: block;
  color: var(--gold);
  font-size: 3rem;
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-quality-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.image-missing {
  background:
    linear-gradient(135deg, rgba(184, 149, 85, 0.18), rgba(10, 27, 51, 0.10)),
    var(--ivory);
  min-height: 160px;
  position: relative;
}

.image-missing img,
.image-missing .visual-overlay {
  display: none;
}

.image-missing::after {
  content: "Imagen pendiente";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.section {
  padding: 110px 0;
}

.section-light {
  background: var(--ivory);
}

.section-navy {
  background: linear-gradient(135deg, var(--ink), var(--navy));
  color: var(--white);
}

.gallery-section {
  background: var(--paper);
}

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

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2,
.about-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  margin: 18px 0;
}

.section-heading p,
.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading.light p {
  color: rgba(255, 255, 255, 0.72);
}

.benefit-grid,
.product-grid,
.sector-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.benefit-card,
.product-card,
.about-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.benefit-card {
  padding: 30px;
}

.icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--ivory);
  color: var(--gold);
  font-weight: 950;
  margin-bottom: 22px;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3,
.product-card h3,
.sector-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.benefit-card p,
.product-card p,
.sector-card p {
  margin: 0;
  color: var(--muted);
}

.product-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(7, 17, 31, 0.14);
}

.product-image {
  height: 210px;
  background: var(--ivory);
}

.product-content {
  padding: 22px;
}

.product-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 230px;
  gap: 22px;
}

.gallery-item {
  border-radius: 28px;
  overflow: hidden;
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.gallery-item.large {
  grid-row: span 2;
}

.sector-card {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.14);
}

.sector-card p {
  color: rgba(255, 255, 255, 0.72);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.about-points {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
}

.about-panel {
  padding: 42px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.88), rgba(16, 40, 69, 0.88)),
    url("images/facebook/taller.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.18));
}

.about-panel h3,
.about-panel p {
  position: relative;
  z-index: 2;
}

.about-panel h3 {
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.about-panel p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.quote-cta {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(10, 27, 51, 0.94)),
    url("images/facebook/hero-blancos.jpg");
  background-size: cover;
  background-position: center;
}

.quote-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
}

.quote-cta .section-kicker {
  color: var(--gold-soft);
  background: rgba(234, 216, 183, 0.10);
  border-color: rgba(234, 216, 183, 0.22);
}

.quote-cta h2 {
  max-width: 760px;
  margin: 18px 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.quote-cta p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.quote-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer {
  background: #07111f;
  color: var(--white);
  padding-top: 62px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr 0.7fr;
  gap: 42px;
  align-items: start;
}

.footer h2 {
  margin: 0 0 12px;
  font-size: 2.1rem;
  letter-spacing: 0;
}

.footer h3 {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer p,
.footer-contact,
.footer-links {
  color: rgba(255, 255, 255, 0.70);
}

.footer-brand p {
  max-width: 360px;
}

.footer-contact,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-contact strong {
  color: var(--white);
}

.footer-contact a,
.footer-links a {
  color: var(--gold-soft);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-whatsapp-btn {
  margin-top: 22px;
}

.footer-bottom {
  margin-top: 52px;
  padding: 22px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.52);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.38);
  z-index: 50;
  font-weight: 950;
}

.process-section {
  background: var(--paper);
}

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

.process-card {
  position: relative;
  padding: 30px;
  min-height: 260px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.process-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.process-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: 0;
}

.process-card p {
  margin: 0;
  color: var(--muted);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1020px) {
  .hero,
  .about-layout,
  .quote-cta-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .quote-cta-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    min-height: 540px;
  }

  .benefit-grid,
  .sector-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .gallery-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .container,
  .navbar,
  .hero {
    width: min(100% - 28px, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    background: rgba(7, 17, 31, 0.98);
    padding: 96px 26px 30px;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    z-index: 10;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .language-switch {
    width: fit-content;
  }

  .hero {
    padding: 58px 0 86px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 16vw, 4.8rem);
  }

  .trust-row,
  .product-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-card-main {
    height: 390px;
  }

  .visual-stack,
  .hero-quality-card {
    position: static;
    margin-top: 18px;
  }

  .visual-stack {
    grid-template-columns: 1fr 1fr;
  }

  .mini-photo,
  .mini-photo.offset,
  .hero-quality-card {
    width: 100%;
    transform: none;
  }

  .section {
    padding: 78px 0;
  }

  .quote-cta {
    padding: 78px 0;
  }

  .quote-cta-actions .btn {
    width: 100%;
  }

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

  .process-card {
    min-height: auto;
  }
}
