:root {
  --sky-500: #58c9ec;
  --sky-400: #84dcf4;
  --sky-100: #e9f8fd;
  --blue-950: #07131d;
  --blue-900: #0b1c29;
  --blue-800: #123347;
  --blue-700: #1b506a;
  --gray-700: #53616d;
  --menu-gray: #686f76;
  --menu-gray-dark: #4f565d;
  --menu-line: #828a91;
  --gray-500: #7c8791;
  --gray-300: #d9e0e5;
  --gray-100: #f4f7f9;
  --white: #ffffff;
  --black: #05080b;
  --line: #dfe6eb;
  --shadow-sm: 0 12px 32px rgba(7, 19, 29, .08);
  --shadow-lg: 0 26px 80px rgba(7, 19, 29, .16);
  --radius-lg: 26px;
  --radius-md: 16px;
  --header-h: 76px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--blue-950);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.section { padding: 86px 0; scroll-margin-top: calc(var(--header-h) + 18px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  border-bottom: 1px solid #cfd5da;
  background: rgba(236,239,242,.97);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }
.brand img { width: 170px; height: auto; object-fit: contain; object-position: left center; filter: drop-shadow(0 5px 12px rgba(7,19,29,.10)); }
.nav-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid #bfc6cc;
  border-radius: 13px;
  background: #f7f8f9;
  color: var(--menu-gray-dark);
}
.nav-toggle span { width: 22px; height: 2px; display: block; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 10px);
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid #c6ccd1;
  border-radius: 18px;
  background: rgba(232,235,238,.99);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-link {
  position: relative;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--menu-gray-dark);
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--black); background: rgba(104,111,118,.08); }
.nav-link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 99px; background: var(--sky-500); }
.nav-cta { color: var(--blue-950); background: var(--sky-500); }
.nav-cta:hover { color: var(--blue-950); background: var(--sky-400); }

/* Hero */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); overflow: hidden; background: var(--blue-950); display: flex; align-items: stretch; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,10,15,.86) 0%, rgba(4,10,15,.66) 42%, rgba(4,10,15,.18) 82%), linear-gradient(0deg, rgba(4,10,15,.58), transparent 52%); }
.hero-content { position: relative; z-index: 3; min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 82px; padding-bottom: 130px; }
.hero .eyebrow { color: var(--sky-400); }
.hero h1 { max-width: 880px; margin: 0; color: var(--white); font-size: clamp(2.7rem, 7vw, 5.9rem); line-height: .98; letter-spacing: -.05em; }
.hero p { max-width: 680px; margin: 24px 0 30px; color: rgba(255,255,255,.87); font-size: clamp(1rem, 1.8vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-ghost { border: 1px solid rgba(255,255,255,.42); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--sky-400); background: rgba(88,201,236,.12); }
.hero-shape { position: absolute; z-index: 2; pointer-events: none; }
.hero-shape-one { right: -70px; top: -80px; width: 280px; height: 120%; background: linear-gradient(160deg, transparent 32%, rgba(88,201,236,.76) 32%, rgba(88,201,236,.76) 40%, transparent 40%); transform: skewX(-18deg); opacity: .75; }
.hero-shape-two { right: 50px; bottom: -100px; width: 170px; height: 220px; border-top: 2px solid rgba(132,220,244,.6); border-left: 2px solid rgba(132,220,244,.6); transform: skewX(-26deg) rotate(17deg); opacity: .7; }
.hero-bottom-note { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.16); }
.hero-bottom-note > div { min-height: 82px; padding: 17px max(16px, calc((100vw - var(--container)) / 2)); background: rgba(7,19,29,.62); backdrop-filter: blur(8px); }
.hero-bottom-note strong { display: block; color: var(--white); font-size: .93rem; }
.hero-bottom-note span { display: block; margin-top: 2px; color: rgba(255,255,255,.62); font-size: .75rem; }

/* Shared headings */
.section-heading { max-width: 820px; margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .contact-copy h2, .promise-copy h2 { margin: 0; color: var(--blue-950); font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.06; letter-spacing: -.035em; }
.section-heading > p:not(.eyebrow), .contact-copy > p:not(.eyebrow), .promise-copy > p:not(.eyebrow) { margin: 17px 0 0; color: var(--gray-700); font-size: 1.04rem; }

/* Conócenos */
.section-intro { background: linear-gradient(180deg, var(--gray-100) 0%, #fff 70%); }
.mission-grid { display: grid; gap: 22px; }
.value-card { padding: 30px 24px 27px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-image { width: 164px; aspect-ratio: 1; margin: 0 auto 22px; overflow: hidden; border: 8px solid var(--gray-100); border-radius: 50%; background: var(--blue-950); }
.value-image img { width: 100%; height: 100%; object-fit: cover; }
.card-kicker { display: block; margin-bottom: 6px; color: var(--blue-700); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.value-card h3 { margin: 0; font-size: 1.34rem; line-height: 1.18; }
.value-card p { margin: 12px 0 0; color: var(--gray-700); }
.differentiator { display: grid; gap: 20px; margin-top: 26px; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-950), var(--blue-800)); color: var(--white); box-shadow: var(--shadow-lg); }
.differentiator .eyebrow { color: var(--sky-400); }
.differentiator h3 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.12; }
.differentiator p { margin: 12px 0 0; color: rgba(255,255,255,.78); }
.differentiator-mark { width: max-content; padding: 8px 12px; border: 1px solid rgba(132,220,244,.34); border-radius: 999px; color: var(--sky-400); font-size: .75rem; font-weight: 900; letter-spacing: .18em; align-self: start; }

/* Products */
.products-section { background: var(--white); }
.products-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.product-card { min-height: 500px; perspective: 1400px; border-radius: var(--radius-lg); cursor: pointer; }
.product-card-inner { position: relative; width: 100%; min-height: 500px; transform-style: preserve-3d; transition: transform .65s cubic-bezier(.2,.75,.15,1); }
.product-card.is-flipped .product-card-inner { transform: rotateY(180deg); }
.product-face { position: absolute; inset: 0; min-height: 500px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.product-front { display: flex; flex-direction: column; }
.product-front img { width: 100%; height: 285px; object-fit: cover; background: var(--gray-100); }
.product-front-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px;text-align: center; }
.product-front-title { width: 100%; display: flex; justify-content: center; align-items: center; text-align: center;}
.product-front-content h3 {  width: 100%;max-width: 420px; margin: 0 auto; text-align: center; font-size: 1.18rem; line-height: 1.22; }
.product-number { display: inline-block; color: var(--blue-700); font-size: .72rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.flip-hint { color: var(--blue-700); font-size: .76rem; font-weight: 900; white-space: nowrap; }
.product-back { display: flex; flex-direction: column; padding: 27px; background: linear-gradient(160deg, var(--blue-950), var(--blue-800)); color: var(--white); transform: rotateY(180deg); }
.product-back .product-number { color: var(--sky-400); }
.product-back h3 { margin: 8px 0 12px; font-size: 1.5rem; line-height: 1.12; }
.product-back > p { margin: 0; color: rgba(255,255,255,.82); font-size: .92rem; }
.product-price-row { margin-top: auto; padding-top: 20px; }
.price-label { display: block; color: rgba(255,255,255,.52); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product-price { display: block; margin-top: 2px; color: var(--sky-400); font-size: 1.02rem; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--sky-400); font-weight: 900; }

/* Promesa */
.promise-section { background: var(--gray-100); }
.promise-grid { display: grid; gap: 34px; align-items: start; }
.promise-list { display: grid; gap: 10px; }
.promise-item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.promise-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-950); color: var(--sky-400); font-size: .72rem; font-weight: 900; }
.promise-item strong { display: block; line-height: 1.2; }
.promise-item p { margin: 5px 0 0; color: var(--gray-700); font-size: .9rem; }

/* Contacto */
.contact-section { background: linear-gradient(135deg, var(--sky-100), #fff); }
.contact-grid { display: grid; gap: 30px; align-items: start; }
.contact-email { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 13px; width: 100%; margin-top: 28px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.78); color: var(--blue-950); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.contact-email:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-950); color: var(--sky-400); font-weight: 900; }
.contact-email small { display: block; margin-bottom: 2px; color: var(--blue-700); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.form-card { padding: 25px; border: 1px solid rgba(7,19,29,.08); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.form-field { margin-bottom: 17px; }
.form-row { display: grid; gap: 17px; }
.form-field label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 800; }
.form-field input, .form-field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--blue-950); background: #fbfcfd; outline: none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #99a4ad; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--sky-500); background: var(--white); box-shadow: 0 0 0 4px rgba(88,201,236,.12); }
.form-field.has-error input, .form-field.has-error textarea { border-color: #bf3f39; box-shadow: 0 0 0 4px rgba(191,63,57,.08); }
.field-error { min-height: 18px; margin: 5px 2px 0; color: #9c302a; font-size: .76rem; }
.form-status { min-height: 24px; margin: 13px 2px 0; color: var(--blue-700); font-size: .86rem; font-weight: 800; }
.button-primary { display: inline-flex;align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1px solid #43b9df; border-radius: 8px;background: linear-gradient( 135deg, #58c9ec 0%, #3db5dc 100% ); color: #062333; font-size: 0.92rem; font-weight: 800; letter-spacing: 0.01em; box-shadow: 0 5px 14px rgba(25, 125, 160, 0.18), inset 0 1px 0 rgba(255,255,255,.28); transition: background .25s ease, box-shadow .25s ease, transform .25s ease, border-color .25s ease;}
.button-primary:hover { background: linear-gradient( 135deg, #69d3f1 0%, #48bddf 100% ); border-color: #48bddf; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(25, 125, 160, 0.24), inset 0 1px 0 rgba(255,255,255,.32); }
.button-primary:active { transform: translateY(0); box-shadow: 0 3px 8px rgba(25, 125, 160, 0.18); }
.button-primary:focus-visible { outline: 3px solid rgba(88, 201, 236, 0.35); outline-offset: 3px; }
.button-primary:disabled { opacity: .65; cursor: wait; transform: none;}
/* Footer */
.site-footer { padding: 38px 0; background: var(--menu-gray-dark); color: var(--black); }
.footer-inner { display: grid; gap: 28px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 185px; height: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.footer-brand p { margin: 10px 0 6px; color: rgba(255,255,255,.76); }
.footer-brand small { color: rgba(255,255,255,.48); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: rgba(255,255,255,.74); text-decoration: none; font-size: .86rem; font-weight: 700; }
.footer-nav a:hover { color: var(--sky-400); }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: var(--white); text-decoration: none; font-size: .72rem; font-weight: 900; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.socials a:hover { transform: translateY(-2px); border-color: rgba(132,220,244,.5); background: rgba(88,201,236,.08); }
.social-link { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(88, 201, 236, .25); border-radius: 50%; color: #58c9ec; background: rgba(88, 201, 236, .06); transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.social-link img { width: 19px; height: 19px; display: block; }
.social-link:hover { color: #062333; background: #58c9ec; border-color: #58c9ec; transform: translateY(-2px); }
.social-link:focus-visible { outline: 3px solid rgba(88, 201, 236, .35); outline-offset: 3px; }
/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 680px) {
  .container { width: min(var(--container), calc(100% - 44px)); }
  .mission-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: .93fr 1.07fr; }
  .promise-grid { grid-template-columns: .9fr 1.1fr; }
  .footer-inner { grid-template-columns: 1.4fr .9fr auto; align-items: end; }
}

@media (min-width: 980px) {
  .container { width: min(var(--container), calc(100% - 56px)); }
  .nav-toggle { display: none; }
  .main-nav { position: static; display: flex; align-items: center; gap: 4px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 10px 13px; }
  .mission-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .products-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .differentiator { grid-template-columns: auto 1fr; align-items: start; gap: 24px; padding: 34px; }
}


@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .section { padding: 70px 0; }
  .brand img { width: 142px; }
  .hero-content { min-height: calc(100svh - var(--header-h)); padding-top: 48px; padding-bottom: 158px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 4.15rem); }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,10,15,.9) 0%, rgba(4,10,15,.72) 64%, rgba(4,10,15,.36) 100%), linear-gradient(0deg, rgba(4,10,15,.74), transparent 58%); }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-shape-one { right: -105px; opacity: .45; }
  .hero-shape-two { right: -20px; opacity: .4; }
  .hero-bottom-note { grid-template-columns: 1fr; }
  .hero-bottom-note > div { min-height: auto; padding: 10px 16px; }
  .hero-bottom-note span { display: none; }
  .product-card, .product-card-inner, .product-face { min-height: 510px; }
  .product-front img { height: 295px; }
  .product-actions { align-items: stretch; flex-direction: column; }
  .button-small { width: 100%; }
  .contact-email { font-size: .86rem; overflow-wrap: anywhere; }
  .footer-inner { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Campo trampa invisible para reducir envíos automatizados */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

button:disabled {
  opacity: .7;
  cursor: wait;
}
