/* =========================================================
   TECBOSOL — Sitio informativo / borrador comercial
   CSS puro, responsive, sin frameworks.
   ========================================================= */

:root {
  --navy-950: #071923;
  --navy-900: #0b2230;
  --navy-800: #123647;
  --teal-700: #087f91;
  --teal-600: #079aaa;
  --teal-500: #13b3bd;
  --green-600: #43a93f;
  --green-500: #5bc34b;
  --solar-500: #f7a51a;
  --solar-300: #ffd16d;
  --white: #ffffff;
  --ink: #112531;
  --muted: #60717b;
  --line: #dfe8eb;
  --soft: #f4f8f7;
  --soft-blue: #eef7f8;

  --container: 1180px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;

  --shadow-sm: 0 10px 30px rgba(5, 31, 42, .07);
  --shadow-md: 0 20px 60px rgba(5, 31, 42, .13);
  --shadow-lg: 0 30px 80px rgba(5, 31, 42, .20);

  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body.is-locked {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--navy-950);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

/* -------------------------
   Draft bar
   ------------------------- */

.draft-bar {
  position: relative;
  z-index: 1002;
  background: #fff5d8;
  border-bottom: 1px solid #f1d894;
  color: #765100;
  font-size: 13px;
}

.draft-bar[hidden] {
  display: none;
}

.draft-bar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.draft-bar__close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

/* -------------------------
   Header
   ------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(11, 34, 48, .07);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  width: 215px;
}

.brand img {
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav > a:not(.btn) {
  position: relative;
  padding-block: 12px;
  color: #334b57;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal-600), var(--green-500));
  transition: right var(--transition);
}

.main-nav > a:not(.btn):hover::after,
.main-nav > a:not(.btn).is-active::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy-900);
  transition: transform var(--transition), opacity var(--transition);
}

/* -------------------------
   Buttons / utility
   ------------------------- */

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.btn--small {
  min-height: 42px;
  padding-inline: 18px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-600), var(--green-600));
  box-shadow: 0 12px 26px rgba(8, 127, 145, .24);
}

.btn--primary:hover {
  box-shadow: 0 16px 34px rgba(8, 127, 145, .32);
}

.btn--ghost {
  color: var(--navy-900);
  background: rgba(255,255,255,.72);
  border-color: rgba(11,34,48,.14);
}

.btn--ghost-dark {
  background: #fff;
  color: var(--navy-900);
  border-color: #cbdadd;
}

.btn--white {
  color: var(--navy-900);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}

.btn--full {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--solar-500), var(--green-500));
}

.eyebrow--light {
  color: #a7eef1;
}

/* -------------------------
   Hero
   ------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 10%, rgba(19,179,189,.11), transparent 28%),
    linear-gradient(180deg, #fbfefe 0%, #f6fbfa 100%);
}

.hero__grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, .98fr);
  align-items: center;
  gap: 62px;
  padding-block: 76px 86px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(42px, 5.7vw, 76px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(110deg, var(--teal-600) 0%, var(--green-500) 72%, var(--solar-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: #4d626d;
  font-size: 19px;
}

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

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.hero__trust div {
  padding-top: 14px;
  border-top: 1px solid #d7e6e7;
}

.hero__trust strong,
.hero__trust span {
  display: block;
}

.hero__trust strong {
  color: var(--navy-900);
  font-size: 14px;
}

.hero__trust span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.hero__image-wrap {
  position: relative;
  min-height: 565px;
  overflow: hidden;
  border-radius: 38px;
  background: linear-gradient(145deg, #d5eeee, #edf6f4);
  box-shadow: var(--shadow-lg);
}

.hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,25,35,0) 45%, rgba(3,25,35,.28) 100%);
  pointer-events: none;
}

.hero__image-wrap img {
  width: 100%;
  height: 565px;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 22px;
  max-width: 285px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  color: #fff;
  background: rgba(7, 25, 35, .72);
  backdrop-filter: blur(14px);
}

.hero__badge-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #a75800;
  background: linear-gradient(180deg, #ffd87d, var(--solar-500));
  font-size: 22px;
}

.hero__badge small,
.hero__badge strong {
  display: block;
}

.hero__badge small {
  opacity: .8;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero__badge strong {
  margin-top: 1px;
  font-size: 14px;
  line-height: 1.2;
}

.hero__mini-card {
  position: absolute;
  left: -46px;
  bottom: 42px;
  z-index: 3;
  min-width: 230px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.hero__mini-card span,
.hero__mini-card strong {
  display: block;
}

.hero__mini-card span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero__mini-card strong {
  margin-top: 2px;
  color: var(--navy-900);
  font-size: 13px;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.hero__glow--one {
  width: 480px;
  height: 480px;
  right: -220px;
  top: 20px;
  background: rgba(91,195,75,.10);
}

.hero__glow--two {
  width: 300px;
  height: 300px;
  left: -180px;
  bottom: -120px;
  background: rgba(7,154,170,.10);
}

/* -------------------------
   Value strip
   ------------------------- */

.value-strip {
  position: relative;
  z-index: 5;
  margin-top: -34px;
}

.value-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #dce8e9;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.value-strip article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 26px 28px;
}

.value-strip article + article {
  border-left: 1px solid #e3ecee;
}

.value-strip__number {
  color: var(--teal-600);
  font-size: 12px;
  font-weight: 900;
}

.value-strip strong {
  display: block;
  color: var(--navy-900);
  font-size: 15px;
}

.value-strip p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* -------------------------
   Sections
   ------------------------- */

.section {
  padding-block: 108px;
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(19,179,189,.12), transparent 30%),
    linear-gradient(145deg, var(--navy-950), #0d2d3d 75%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading h2,
.about__copy h2,
.contact__copy h2,
.video-section__copy h2,
.cta-band h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-heading p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-heading--light h2 {
  color: #fff;
}

.section-heading--light p {
  color: #b8cbd1;
}

.section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 60px;
}

.section-heading--split p {
  margin: 0 0 5px;
}

/* -------------------------
   Solution cards
   ------------------------- */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid #dfe9ea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(5,31,42,.035);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: #bcdfe0;
  box-shadow: var(--shadow-md);
}

.solution-card--featured {
  grid-column: span 2;
  padding: 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
}

.solution-card__media {
  min-height: 380px;
  background: #e9f4f4;
}

.solution-card__media img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.solution-card__content {
  padding: 34px;
}

.solution-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 15px;
  color: var(--teal-700);
  background: linear-gradient(145deg, #e5f8f8, #f2fbf4);
  font-size: 22px;
  font-weight: 900;
}

.tag {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.solution-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 23px;
  line-height: 1.2;
}

.solution-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #36505d;
  font-size: 13px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: 900;
}

.check-list--large {
  gap: 12px;
}

.check-list--large li {
  font-size: 15px;
}

/* -------------------------
   Sectors
   ------------------------- */

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  overflow: hidden;
}

.sector-card {
  min-height: 250px;
  padding: 26px;
  background: rgba(255,255,255,.03);
}

.sector-card + .sector-card {
  border-left: 1px solid rgba(255,255,255,.12);
}

.sector-card:hover {
  background: rgba(255,255,255,.06);
}

.sector-card > span {
  color: #7de0d3;
  font-size: 12px;
  font-weight: 900;
}

.sector-card h3 {
  margin: 65px 0 0;
  color: #fff;
  font-size: 22px;
}

.sector-card p {
  margin: 10px 0 0;
  color: #b8cbd1;
  font-size: 13px;
}

/* -------------------------
   Process
   ------------------------- */

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: #d7e5e6;
}

.process__step {
  position: relative;
  z-index: 2;
  padding-right: 24px;
}

.process__step > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-600), var(--green-600));
  box-shadow: 0 0 0 1px #d7e5e6;
  font-size: 13px;
  font-weight: 900;
}

.process__step h3 {
  margin: 24px 0 8px;
  color: var(--navy-900);
  font-size: 19px;
}

.process__step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* -------------------------
   Gallery
   ------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  border: 0;
  border-radius: 18px;
  background: #dfe9e8;
  cursor: zoom-in;
  padding: 0;
}

.gallery__item:nth-child(1),
.gallery__item:nth-child(6) {
  grid-column: span 8;
}

.gallery__item:nth-child(1) {
  grid-row: span 2;
}

.gallery__item img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(5,28,37,.62));
  opacity: .78;
  transition: opacity var(--transition);
}

.gallery__item:hover img {
  transform: scale(1.035);
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__caption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  text-align: left;
}

.gallery__caption strong,
.gallery__caption span {
  display: block;
}

.gallery__caption strong {
  font-size: 14px;
}

.gallery__caption span {
  margin-top: 2px;
  opacity: .8;
  font-size: 11px;
}

.gallery__item.is-hidden {
  display: none;
}

.gallery__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* -------------------------
   Video
   ------------------------- */

.video-section {
  background:
    radial-gradient(circle at 15% 80%, rgba(91,195,75,.09), transparent 28%),
    #fff;
}

.video-section__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center;
}

.video-section__copy h2 {
  margin-bottom: 20px;
}

.video-section__copy > p {
  color: var(--muted);
  font-size: 16px;
}

.video-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 28px;
  background: #d8e8e8;
  box-shadow: var(--shadow-lg);
}

.video-card img {
  height: 460px;
  object-fit: cover;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,28,37,.05), rgba(5,28,37,.68));
}

.video-card__overlay {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 28px;
  display: grid;
  justify-items: start;
  color: #fff;
}

.play-button {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.play-button:hover {
  transform: scale(1.07);
  background: rgba(255,255,255,.25);
}

.play-button span {
  transform: translateX(2px);
  font-size: 21px;
}

.video-card__overlay strong {
  font-size: 18px;
}

.video-card__overlay small {
  margin-top: 4px;
  opacity: .78;
}

/* -------------------------
   About
   ------------------------- */

.about {
  background: #f9fbfb;
}

.about__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 76px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media > img {
  height: 610px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.about__stamp {
  position: absolute;
  right: -24px;
  bottom: 34px;
  max-width: 240px;
  padding: 19px 22px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-700), var(--green-600));
  box-shadow: var(--shadow-md);
}

.about__stamp strong,
.about__stamp span {
  display: block;
}

.about__stamp strong {
  font-size: 17px;
}

.about__stamp span {
  margin-top: 3px;
  opacity: .82;
  font-size: 11px;
}

.about__copy h2 {
  margin-bottom: 22px;
}

.about__copy > p {
  color: var(--muted);
  font-size: 16px;
}

.about__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.about__points div {
  padding: 17px;
  border: 1px solid #dfe8e9;
  border-radius: 16px;
  background: #fff;
}

.about__points strong,
.about__points span {
  display: block;
}

.about__points strong {
  color: var(--navy-900);
  font-size: 13px;
}

.about__points span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

/* -------------------------
   CTA
   ------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 0%, rgba(255,209,109,.25), transparent 24%),
    linear-gradient(120deg, var(--teal-700), #0e9b85 56%, var(--green-600));
}

.cta-band__inner {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-block: 54px;
}

.cta-band h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 50px);
}

/* -------------------------
   Contact
   ------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 70px;
  align-items: start;
}

.contact__copy h2 {
  margin-bottom: 18px;
}

.contact__copy > p {
  color: var(--muted);
  font-size: 16px;
}

.contact__cards {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px;
  border: 1px solid #dfe8e9;
  border-radius: 14px;
  background: #fff;
  transition: border-color var(--transition), transform var(--transition);
}

a.contact-card:hover {
  transform: translateX(4px);
  border-color: #a7d9dc;
}

.contact-card span {
  color: var(--muted);
  font-size: 12px;
}

.contact-card strong {
  color: var(--navy-900);
  font-size: 14px;
}

.contact__note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--solar-500);
  background: #fff9e9;
  color: #775d23 !important;
  font-size: 12px !important;
}

.lead-form {
  padding: 34px;
  border: 1px solid #dfe8e9;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.lead-form__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e5ecee;
}

.lead-form__head span {
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.lead-form__head strong {
  color: var(--navy-900);
  font-size: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid label {
  display: grid;
  gap: 7px;
}

.form-grid label > span {
  color: #425965;
  font-size: 12px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #d7e2e4;
  border-radius: 12px;
  outline: none;
  background: #fbfdfd;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-grid input,
.form-grid select {
  min-height: 48px;
  padding: 0 14px;
}

.form-grid textarea {
  padding: 13px 14px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(19,179,189,.10);
}

.form-grid__full {
  grid-column: 1 / -1;
}

.lead-form .btn {
  margin-top: 22px;
}

.form-disclaimer {
  display: block;
  margin-top: 12px;
  color: #7b8a91;
  text-align: center;
  font-size: 10px;
}

/* -------------------------
   Footer
   ------------------------- */

.site-footer {
  padding-top: 66px;
  color: #c5d4d9;
  background: var(--navy-950);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .7fr;
  gap: 70px;
  padding-bottom: 48px;
}

.footer__brand img {
  width: 220px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}

.footer__brand p {
  max-width: 470px;
  margin: 18px 0 0;
  color: #91a8b1;
  font-size: 13px;
}

.footer__grid > div:not(.footer__brand) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer__grid strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
}

.footer__grid a,
.footer__grid span {
  color: #99adb5;
  font-size: 12px;
}

.footer__grid a:hover {
  color: #fff;
}

.footer__bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #7f959e;
  font-size: 11px;
}

/* -------------------------
   WhatsApp float
   ------------------------- */

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  color: #fff;
  background: #1aa75b;
  box-shadow: 0 12px 36px rgba(8,60,34,.25);
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #118147;
  background: #fff;
  font-size: 10px;
  font-weight: 900;
}

.whatsapp-float strong {
  font-size: 12px;
}

/* -------------------------
   Modal / lightbox
   ------------------------- */

.lightbox,
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3,17,24,.92);
  backdrop-filter: blur(8px);
}

.lightbox.is-open,
.video-modal.is-open {
  display: flex;
}

.lightbox figure {
  width: min(100%, 1120px);
  margin: 0;
  text-align: center;
}

.lightbox figure img {
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox figcaption {
  margin-top: 12px;
  color: #d9e6e9;
  font-size: 13px;
}

.lightbox__close,
.video-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-size: 28px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  font-size: 32px;
}

.lightbox__nav--prev {
  left: 22px;
}

.lightbox__nav--next {
  right: 22px;
}

.video-modal__panel {
  position: relative;
  width: min(100%, 1050px);
  min-height: 300px;
}

.video-modal video {
  width: 100%;
  max-height: 78vh;
  border-radius: 16px;
  background: #000;
}

.video-modal__fallback {
  display: none;
  min-height: 320px;
  place-items: center;
  align-content: center;
  padding: 30px;
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 16px;
  color: #fff;
  text-align: center;
  background: rgba(255,255,255,.04);
}

.video-modal__fallback.is-visible {
  display: grid;
}

.video-modal__fallback p {
  color: #adbec4;
  font-size: 13px;
}

.video-modal__fallback code {
  color: #fff;
}

/* -------------------------
   Toast
   ------------------------- */

.toast {
  position: fixed;
  z-index: 3000;
  left: 50%;
  bottom: 28px;
  max-width: min(90vw, 520px);
  transform: translate(-50%, 30px);
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  font-size: 12px;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* -------------------------
   Reveal
   ------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.media-missing {
  position: relative;
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(7,154,170,.12), rgba(91,195,75,.12)),
    #eef7f7;
}

.media-missing::before {
  content: "Imagen editable";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #68818a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* -------------------------
   Responsive
   ------------------------- */

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .hero__mini-card {
    left: -20px;
  }

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

  .sector-card:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .sector-card:nth-child(5) {
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 22px;
  }

  .process::before {
    display: none;
  }

  .about__grid,
  .contact__grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header__inner {
    min-height: 72px;
  }

  .brand {
    width: 185px;
  }

  .brand img {
    height: 50px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 0;
    padding: 0 15px;
    border-bottom: 1px solid transparent;
    background: rgba(255,255,255,.98);
    opacity: 0;
    pointer-events: none;
    transition: max-height 300ms ease, opacity var(--transition), padding var(--transition);
  }

  .main-nav.is-open {
    max-height: 480px;
    padding-top: 14px;
    padding-bottom: 18px;
    border-bottom-color: #dfe8e9;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 13px 4px !important;
  }

  .main-nav .btn {
    margin-top: 8px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    padding-block: 64px 80px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .hero__image-wrap,
  .hero__image-wrap img {
    min-height: 500px;
    height: 500px;
  }

  .hero__mini-card {
    left: 20px;
  }

  .value-strip {
    margin-top: -20px;
  }

  .value-strip__grid {
    grid-template-columns: 1fr;
  }

  .value-strip article + article {
    border-left: 0;
    border-top: 1px solid #e3ecee;
  }

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

  .solution-card--featured {
    grid-column: 1 / -1;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery {
    grid-auto-rows: 220px;
  }

  .video-section__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .video-section__copy,
  .contact__copy {
    max-width: 720px;
  }

  .about__media {
    max-width: 720px;
  }

  .about__stamp {
    right: 20px;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .draft-bar {
    font-size: 11px;
  }

  .draft-bar__inner {
    justify-content: space-between;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(39px, 13vw, 58px);
  }

  .hero__lead {
    font-size: 16px;
  }

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

  .hero__trust div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
  }

  .hero__trust span {
    margin: 0;
  }

  .hero__image-wrap,
  .hero__image-wrap img {
    min-height: 430px;
    height: 430px;
  }

  .hero__badge {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hero__mini-card {
    display: none;
  }

  .section {
    padding-block: 78px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .about__copy h2,
  .contact__copy h2,
  .video-section__copy h2,
  .cta-band h2 {
    font-size: clamp(31px, 9vw, 42px);
  }

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

  .solution-card--featured {
    grid-template-columns: 1fr;
  }

  .solution-card__media,
  .solution-card__media img {
    min-height: 330px;
  }

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

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

  .sector-card + .sector-card,
  .sector-card:nth-child(4),
  .sector-card:nth-child(5) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .sector-card h3 {
    margin-top: 28px;
  }

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

  .process__step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 4px 18px;
    padding-right: 0;
  }

  .process__step > span {
    grid-row: span 2;
  }

  .process__step h3 {
    margin: 5px 0 4px;
  }

  .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 210px;
  }

  .gallery__item,
  .gallery__item:nth-child(1),
  .gallery__item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery__item:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .video-card,
  .video-card img {
    min-height: 380px;
    height: 380px;
  }

  .about__media > img {
    height: 480px;
  }

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

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

  .form-grid__full {
    grid-column: auto;
  }

  .lead-form {
    padding: 24px 18px;
  }

  .lead-form__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 24px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-float strong {
    display: none;
  }

  .whatsapp-float {
    padding-right: 9px;
  }
}

@media (max-width: 440px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery__item,
  .gallery__item:nth-child(1) {
    grid-column: 1;
    grid-row: span 1;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
