/* ===== Variables & reset ===== */
:root {
  --ink: #15171a;
  --graphite: #2a2d31;
  --teal: #1fb6c4;
  --teal-dark: #13909c;
  --grey: #6b7177;
  --line: #e7e9ec;
  --bg: #ffffff;
  --bg-soft: #f5f7f8;
  --radius: 16px;
  --shadow: 0 18px 40px -20px rgba(20, 23, 26, .35);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Montserrat', system-ui, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px
}

.brand-logo {
  height: 62px;
  width: auto;
  transition: height 0.25s ease
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px
}

.nav a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--graphite);
  transition: color .2s
}

.nav a:hover {
  color: var(--teal-dark)
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--teal-dark);
  color: #fff !important
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .15s ease, background .2s, color .2s;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--teal);
  color: #fff
}

.btn-primary:hover {
  background: var(--teal-dark)
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, .8);
  color: #fff
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12)
}

.btn-lg {
  padding: 16px 38px;
  font-size: 1.05rem
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 96px
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(31, 182, 196, .35), transparent 60%),
    linear-gradient(135deg, #15171a 0%, #23272c 55%, #13909c 140%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 15% 110%, rgba(31, 182, 196, .25), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}

.hero-title span {
  background: linear-gradient(90deg, #5fe0ec, #1fb6c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .85);
  max-width: 600px;
  margin-bottom: 32px
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges li {
  font-size: .82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 16px;
  border-radius: 999px;
  color: #eaffff;
}

/* ===== Sections ===== */
.section {
  padding: 88px 0
}

.section-alt {
  background: var(--bg-soft)
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.01em;
  text-align: center;
  margin-bottom: 16px;
}

.section-title--light {
  color: #fff
}

.section-subtitle {
  text-align: center;
  color: var(--grey);
  max-width: 620px;
  margin: 0 auto 48px;
  font-size: 1.05rem
}

.section-subtitle--light {
  color: rgba(255, 255, 255, .75)
}

.section-text {
  color: var(--grey);
  font-size: 1.1rem;
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center
}

.intro .section-text {
  text-align: center
}

/* ===== Products grid ===== */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow)
}

.card-media {
  background: var(--bg-soft);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.card-media--dark {
  background: #1b1d20
}

.card-media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply
}

.card-media--dark img {
  mix-blend-mode: normal
}

.card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1
}

.card-body h3 {
  font-size: 1.18rem;
  font-weight: 700
}

.card-body p {
  font-size: .92rem;
  color: var(--grey);
  flex: 1
}

.tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--teal-dark);
  background: rgba(31, 182, 196, .12);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ===== Split section ===== */
.section-split {
  background: #fff
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center
}

.split-text .section-title {
  text-align: left
}

.split-text .section-text {
  text-align: left;
  margin-left: 0
}

.split-media {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}

.split-media img {
  margin: 0 auto;
  max-height: 420px;
  width: auto;
  mix-blend-mode: multiply
}

.stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap
}

.stat {
  display: flex;
  flex-direction: column
}

.stat strong {
  font-size: 1.7rem;
  color: var(--teal-dark);
  font-weight: 800;
  line-height: 1
}

.stat span {
  font-size: .85rem;
  color: var(--grey);
  margin-top: 6px
}

/* ===== Video section ===== */
.section-video {
  background: linear-gradient(160deg, #15171a 0%, #23272c 100%);
}

.video-wrap {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .7);
  border: 1px solid rgba(255, 255, 255, .08);
  background: #000;
}

.video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover
}

/* ===== CTA ===== */
.section-cta {
  background:
    radial-gradient(900px 400px at 50% -40%, rgba(31, 182, 196, .18), transparent 70%),
    var(--bg-soft);
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto
}

.cta-inner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 14px
}

.cta-inner p {
  color: var(--grey);
  font-size: 1.1rem;
  margin-bottom: 30px
}

.contacto-iframe {
  width: 100%;
  max-width: 650px;
  height: 980px;
  /* Altura por defecto */
  border: none;
  overflow: hidden;
  margin-top: 32px;
  background: transparent;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 54px 0
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px
}

.footer-logo {
  height: 40px;
  filter: invert(1) brightness(2)
}

.site-footer p {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem
}

.footer-mini {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45)
}

/* ===== Responsive ===== */
@media (max-width:980px) {
  .grid-products {
    grid-template-columns: repeat(2, 1fr)
  }

  .split {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .split-media {
    order: -1
  }
}

@media (max-width:620px) {
  .nav {
    gap: 14px
  }

  .nav a:not(.nav-cta) {
    display: none
  }

  .hero {
    padding: 90px 0 70px
  }

  .grid-products {
    grid-template-columns: 1fr
  }

  .section {
    padding: 64px 0
  }

  .hero-actions .btn {
    flex: 1;
    text-align: center
  }
}