/* =========================================================
   DRILLSED - main.css ARREGLADO
   Estructura esperada:
   /index.html
   /css/main.css
   /js/main.js
   /assets/img/hero-grava.jpg
   /assets/img/logo-drillsed.png
   ========================================================= */

/* -----------------------------
   1. RESET + BASE
----------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ds-ink);
  background: var(--ds-bg);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--ds-focus);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--ds-orange);
}

/* -----------------------------
   2. VARIABLES
----------------------------- */
:root {
  --ds-blue-950: #061629;
  --ds-blue-900: #08213d;
  --ds-blue-850: #0b2c52;
  --ds-blue-800: #103966;
  --ds-blue-700: #155184;
  --ds-blue-600: #1d6aa6;

  --ds-orange-700: #a53b18;
  --ds-orange-600: #c84b1b;
  --ds-orange: #e45822;
  --ds-orange-400: #f47a3f;
  --ds-orange-100: #fff0e9;

  --ds-green: #12a94f;
  --ds-green-dark: #0f8d43;
  --ds-green-soft: #e9f9ef;

  --ds-red: #d71920;
  --ds-red-dark: #a80f15;
  --ds-red-soft: #fff0f0;

  --ds-yellow: #f5b629;
  --ds-yellow-soft: #fff7dd;

  --ds-white: #ffffff;
  --ds-bg: #f5f7fa;
  --ds-surface: #ffffff;
  --ds-surface-2: #eef2f6;
  --ds-border: #dce3ec;
  --ds-border-strong: #b9c6d6;
  --ds-muted: #687689;
  --ds-ink: #101828;
  --ds-ink-soft: #26384d;

  --ds-success: #16a34a;
  --ds-warning: #f59e0b;
  --ds-danger: #dc2626;
  --ds-info: #0284c7;
  --ds-focus: rgba(228, 88, 34, 0.48);

  --ds-radius-xs: 8px;
  --ds-radius-sm: 12px;
  --ds-radius-md: 18px;
  --ds-radius-lg: 24px;
  --ds-radius-xl: 32px;
  --ds-radius-pill: 999px;

  --ds-shadow-xs: 0 4px 12px rgba(6, 22, 41, 0.08);
  --ds-shadow-sm: 0 10px 24px rgba(6, 22, 41, 0.10);
  --ds-shadow-md: 0 18px 45px rgba(6, 22, 41, 0.14);
  --ds-shadow-lg: 0 28px 70px rgba(6, 22, 41, 0.22);

  --ds-container: 1220px;
  --ds-page-pad: clamp(16px, 4vw, 48px);
  --ds-section-y: clamp(48px, 7vw, 96px);
  --ds-header-h: 84px;

  --ds-h1: clamp(2.15rem, 7vw, 5.75rem);
  --ds-h2: clamp(1.75rem, 4vw, 3rem);
  --ds-h3: clamp(1.25rem, 2.2vw, 1.75rem);
  --ds-lead: clamp(1rem, 1.8vw, 1.25rem);
}

/* -----------------------------
   3. UTILIDADES
----------------------------- */
.ds-container {
  width: min(100% - (var(--ds-page-pad) * 2), var(--ds-container));
  margin-inline: auto;
}

.ds-section {
  padding-block: var(--ds-section-y);
}

.ds-section--compact {
  padding-block: clamp(32px, 5vw, 64px);
}

.ds-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-orange);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ds-title {
  color: var(--ds-blue-950);
  font-size: var(--ds-h2);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.ds-title--center,
.ds-text-center {
  text-align: center;
}

.ds-subtitle {
  max-width: 780px;
  color: var(--ds-muted);
  font-size: var(--ds-lead);
  margin-top: 14px;
}

.ds-title-line {
  width: 54px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-orange);
}

.ds-grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
}

.ds-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ds-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ds-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ds-hidden {
  display: none !important;
}

.ds-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------
   4. BOTONES
----------------------------- */
.ds-btn {
  --btn-bg: var(--ds-blue-900);
  --btn-color: #fff;
  --btn-border: transparent;
  --btn-shadow: var(--ds-shadow-xs);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0.82rem 1.18rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--ds-radius-sm);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 900;
  font-size: 0.92rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.ds-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow-sm);
}

.ds-btn:active,
.ds-btn.is-active {
  transform: translateY(0);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.22);
}

.ds-btn:disabled,
.ds-btn.is-disabled {
  opacity: 0.52;
  pointer-events: none;
  cursor: not-allowed;
}

.ds-btn--primary { --btn-bg: var(--ds-blue-900); }
.ds-btn--orange { --btn-bg: var(--ds-orange); }
.ds-btn--whatsapp,
.ds-btn--success { --btn-bg: var(--ds-green); }
.ds-btn--whatsapp:hover,
.ds-btn--success:hover { --btn-bg: var(--ds-green-dark); }
.ds-btn--danger,
.ds-btn--alert { --btn-bg: var(--ds-danger); }
.ds-btn--warning { --btn-bg: var(--ds-warning); --btn-color: var(--ds-blue-950); }

.ds-btn--outline {
  --btn-bg: transparent;
  --btn-color: var(--ds-blue-900);
  --btn-border: var(--ds-border-strong);
  --btn-shadow: none;
}

.ds-btn--outline:hover,
.ds-btn--outline.is-active {
  --btn-bg: var(--ds-blue-900);
  --btn-color: #fff;
  --btn-border: var(--ds-blue-900);
}

.ds-btn--ghost {
  --btn-bg: transparent;
  --btn-color: var(--ds-blue-900);
  --btn-shadow: none;
}

.ds-btn--ghost:hover,
.ds-btn--ghost.is-active {
  --btn-bg: rgba(8, 33, 61, 0.08);
}

.ds-btn--light {
  --btn-bg: #fff;
  --btn-color: var(--ds-blue-900);
  --btn-border: #fff;
}

.ds-btn--dark { --btn-bg: #101820; }

.ds-btn--sm {
  min-height: 38px;
  padding: 0.62rem 0.9rem;
  font-size: 0.78rem;
  border-radius: 10px;
}

.ds-btn--lg {
  min-height: 58px;
  padding: 1rem 1.45rem;
  font-size: 1rem;
  border-radius: 15px;
}

.ds-btn--pill { border-radius: var(--ds-radius-pill); }
.ds-btn--full { width: 100%; }

.ds-btn__icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}

/* -----------------------------
   5. ALERTAS / BADGES
----------------------------- */
.ds-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--ds-border);
  border-left-width: 5px;
  border-radius: var(--ds-radius-md);
  background: #fff;
  box-shadow: var(--ds-shadow-xs);
  color: var(--ds-ink);
}

.ds-alert strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ds-blue-950);
}

.ds-alert--success { border-left-color: var(--ds-success); background: var(--ds-green-soft); }
.ds-alert--warning { border-left-color: var(--ds-warning); background: var(--ds-yellow-soft); }
.ds-alert--danger { border-left-color: var(--ds-danger); background: var(--ds-red-soft); }
.ds-alert--info { border-left-color: var(--ds-info); background: #eef8ff; }

.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 7px 11px;
  border-radius: var(--ds-radius-pill);
  color: var(--ds-blue-950);
  background: var(--ds-surface-2);
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ds-badge--orange { color: #fff; background: var(--ds-orange); }
.ds-badge--green { color: #fff; background: var(--ds-green); }
.ds-badge--blue { color: #fff; background: var(--ds-blue-900); }
.ds-badge--red { color: #fff; background: var(--ds-red); }

/* -----------------------------
   6. HEADER / LOGO / NAV
----------------------------- */
.ds-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--ds-header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 236, 0.9);
  backdrop-filter: blur(16px);
}

.ds-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ds-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.ds-logo__mark {
  width: 74px;
  height: 74px;
  object-fit: contain;
  flex-shrink: 0;
}

.ds-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ds-logo__name {
  color: var(--ds-blue-900);
  font-size: clamp(1.45rem, 2.15vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.ds-logo__tagline {
  margin-top: 6px;
  color: var(--ds-orange);
  font-size: clamp(0.58rem, 0.78vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ds-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.ds-nav__link {
  position: relative;
  color: var(--ds-blue-950);
  font-weight: 900;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 10px 0;
}

.ds-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 3px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-orange);
  transition: right 180ms ease;
}

.ds-nav__link:hover::after,
.ds-nav__link.is-active::after {
  right: 0;
}

.ds-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ds-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ds-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ds-blue-900);
  cursor: pointer;
}

.ds-menu-btn span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: currentColor;
}

/* -----------------------------
   7. HERO
   IMPORTANTE:
   Como main.css está en /css/main.css,
   el fallback correcto es ../assets/img/hero-grava.jpg
----------------------------- */
.ds-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--ds-header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;

  background-image:
    linear-gradient(90deg, rgba(6, 22, 41, 0.97) 0%, rgba(6, 22, 41, 0.88) 34%, rgba(6, 22, 41, 0.42) 68%, rgba(6, 22, 41, 0.78) 100%),
    var(--hero-img, url("../assets/img/hero-grava.jpg"));

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  padding-top: clamp(72px, 9vw, 118px);
  padding-bottom: clamp(72px, 9vw, 118px);
}

.ds-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(6, 22, 41, 0.95), transparent);
}

.ds-hero__content {
  width: min(760px, 100%);
}

.ds-hero__kicker {
  color: #fff;
  opacity: 0.92;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.ds-hero__title {
  font-size: var(--ds-h1);
  line-height: 0.93;
  font-weight: 950;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-wrap: balance;
}

.ds-hero__title span {
  color: var(--ds-orange-400);
}

.ds-hero__text {
  max-width: 660px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--ds-lead);
  font-weight: 650;
}

.ds-hero__features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.ds-hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.ds-hero-feature__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #fff;
}

.ds-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* -----------------------------
   8. CARDS DE PRODUCTO
----------------------------- */
.ds-product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: #fff;
  box-shadow: var(--ds-shadow-xs);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ds-product-card:hover {
  transform: translateY(-6px);
  border-color: var(--ds-border-strong);
  box-shadow: var(--ds-shadow-md);
}

.ds-product-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ds-surface-2);
}

.ds-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.ds-product-card:hover .ds-product-card__media img {
  transform: scale(1.06);
}

.ds-product-card__body {
  position: relative;
  padding: 48px clamp(18px, 2.5vw, 26px) 24px;
}

.ds-product-card__icon {
  position: absolute;
  top: -34px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--card-accent, var(--ds-blue-900));
  box-shadow: var(--ds-shadow-sm);
}

.ds-product-card__title {
  color: var(--card-accent, var(--ds-blue-900));
  font-size: 1.38rem;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.ds-product-card__desc {
  margin-top: 6px;
  color: var(--ds-ink-soft);
  font-weight: 700;
}

.ds-checklist {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ds-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--ds-ink-soft);
  font-weight: 600;
}

.ds-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--card-accent, var(--ds-blue-900));
  font-weight: 950;
}

.ds-product-card__footer {
  margin-top: 22px;
}

.ds-product-card--filter { --card-accent: var(--ds-blue-900); }
.ds-product-card--river { --card-accent: #7a4d2b; }
.ds-product-card--crushed { --card-accent: #222831; }

/* -----------------------------
   9. USOS
----------------------------- */
.ds-use-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  background: var(--ds-border);
  box-shadow: var(--ds-shadow-xs);
}

.ds-use-tile {
  min-height: 136px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px 12px;
  text-align: center;
  background: #fff;
}

.ds-use-tile__icon {
  width: 42px;
  height: 42px;
  color: var(--ds-orange);
}

.ds-use-tile__label {
  color: var(--ds-blue-950);
  font-weight: 900;
  line-height: 1.12;
}

/* -----------------------------
   10. KIT + BENEFICIOS
----------------------------- */
.ds-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
}

.ds-kit-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--ds-radius-lg);
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(6, 22, 41, 0.96) 0%, rgba(6, 22, 41, 0.88) 48%, rgba(6, 22, 41, 0.34) 100%),
    var(--kit-img, url("../assets/img/kit-pozo.jpg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--ds-shadow-md);
}

.ds-kit-card__title {
  max-width: 520px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.ds-kit-card__text {
  max-width: 470px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.ds-benefit-card {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  box-shadow: var(--ds-shadow-xs);
}

.ds-benefits {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.ds-benefit {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.ds-benefit__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--ds-orange);
  background: var(--ds-orange-100);
}

.ds-benefit__title {
  color: var(--ds-blue-950);
  font-weight: 950;
}

.ds-benefit__text {
  color: var(--ds-muted);
  font-size: 0.92rem;
}

/* -----------------------------
   11. PRESENTACIONES + ENTREGAS
----------------------------- */
.ds-panel {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  box-shadow: var(--ds-shadow-xs);
}

.ds-presentations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.ds-presentation {
  text-align: center;
}

.ds-presentation__img {
  width: min(118px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  object-fit: contain;
}

.ds-presentation__title {
  margin-top: 8px;
  color: var(--ds-blue-950);
  font-weight: 950;
}

.ds-presentation__text {
  color: var(--ds-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.ds-delivery {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.ds-delivery__list {
  display: grid;
  gap: 10px;
}

.ds-delivery__item {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--ds-blue-950);
  font-weight: 850;
}

.ds-delivery__pin {
  width: 18px;
  height: 18px;
  color: var(--ds-orange);
  flex: 0 0 auto;
}

.ds-map-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-radius: var(--ds-radius-md);
  color: var(--ds-muted);
  background:
    radial-gradient(circle at 65% 45%, rgba(228, 88, 34, 0.18), transparent 24%),
    linear-gradient(135deg, #eef2f6, #fff);
  border: 1px dashed var(--ds-border-strong);
}

/* -----------------------------
   12. CTA + FOOTER
----------------------------- */
.ds-cta-band {
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(6, 22, 41, 0.98), rgba(8, 33, 61, 0.92)),
    var(--cta-img, url("../assets/img/canto-rodado.jpg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-block: clamp(28px, 5vw, 48px);
}

.ds-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ds-cta-band__title {
  font-size: clamp(1.35rem, 3vw, 2.3rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.ds-cta-band__text {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
}

.ds-footer {
  color: #dce3ec;
  background: #06111f;
  padding-block: 28px;
}

.ds-footer__inner {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, auto);
  gap: 18px;
  align-items: center;
}

.ds-footer a:hover {
  color: #fff;
}

.ds-footer__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.ds-footer .ds-logo__name { color: #fff; }
.ds-footer .ds-logo__tagline { color: var(--ds-orange-400); }
.ds-footer .ds-logo__mark { width: 60px; height: 60px; }

.ds-socials {
  display: inline-flex;
  gap: 10px;
}

.ds-social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
}

.ds-social:hover {
  background: var(--ds-orange);
  border-color: var(--ds-orange);
}

/* -----------------------------
   13. FORMULARIOS
----------------------------- */
.ds-form {
  display: grid;
  gap: 16px;
}

.ds-field {
  display: grid;
  gap: 7px;
}

.ds-label {
  color: var(--ds-blue-950);
  font-weight: 900;
  font-size: 0.88rem;
}

.ds-input,
.ds-select,
.ds-textarea {
  width: 100%;
  border: 1px solid var(--ds-border-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--ds-ink);
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ds-textarea {
  min-height: 120px;
  resize: vertical;
}

.ds-input:focus,
.ds-select:focus,
.ds-textarea:focus {
  outline: none;
  border-color: var(--ds-orange);
  box-shadow: 0 0 0 4px var(--ds-focus);
}

.ds-input.is-error,
.ds-select.is-error,
.ds-textarea.is-error {
  border-color: var(--ds-danger);
}

.ds-help {
  color: var(--ds-muted);
  font-size: 0.82rem;
}

.ds-error-text {
  color: var(--ds-danger);
  font-size: 0.82rem;
  font-weight: 800;
}

/* -----------------------------
   14. WHATSAPP FLOTANTE
----------------------------- */
.ds-whatsapp-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 110;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  background: var(--ds-green);
  box-shadow: 0 14px 32px rgba(18, 169, 79, 0.36);
  transition: transform 160ms ease, background-color 160ms ease;
}

.ds-whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--ds-green-dark);
}

.ds-whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* -----------------------------
   15. RESPONSIVE
----------------------------- */
@media (max-width: 1180px) {
  .ds-nav { gap: 18px; }
  .ds-logo__tagline { display: none; }
  .ds-hero__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }
}

@media (max-width: 1024px) {
  :root { --ds-header-h: 76px; }

  .ds-logo__mark {
    width: 60px;
    height: 60px;
  }

  .ds-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .ds-product-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .ds-use-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ds-split { grid-template-columns: 1fr; }
  .ds-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .ds-nav,
  .ds-header__actions .ds-btn {
    display: none;
  }

  .ds-menu-btn {
    display: inline-block;
  }

  .ds-header.is-open .ds-nav {
    position: absolute;
    left: var(--ds-page-pad);
    right: var(--ds-page-pad);
    top: calc(var(--ds-header-h) + 10px);
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-md);
    background: #fff;
    box-shadow: var(--ds-shadow-md);
  }

  .ds-header.is-open .ds-nav__link {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .ds-header.is-open .ds-nav__link:hover {
    background: var(--ds-surface-2);
  }

  .ds-hero {
    min-height: auto;
    padding-block: 72px;
    background-image:
      linear-gradient(90deg, rgba(6, 22, 41, 0.94), rgba(6, 22, 41, 0.72)),
      var(--hero-img, url("../assets/img/hero-grava.jpg"));
  }

  .ds-cta-band__inner {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .ds-grid--2,
  .ds-grid--3,
  .ds-grid--4 {
    grid-template-columns: 1fr;
  }

  .ds-product-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .ds-hero__features {
    grid-template-columns: 1fr 1fr;
  }

  .ds-use-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-presentations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-delivery {
    grid-template-columns: 1fr;
  }

  .ds-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --ds-page-pad: 16px;
    --ds-header-h: 70px;
  }

  .ds-logo { gap: 10px; }

  .ds-logo__mark {
    width: 54px;
    height: 54px;
  }

  .ds-logo__name {
    font-size: 1.25rem;
  }

  .ds-logo__tagline {
    display: none;
  }

  .ds-hero {
    padding-block: 52px 64px;
    background-position: center right;
  }

  .ds-hero__title {
    font-size: clamp(2.25rem, 14vw, 4.1rem);
  }

  .ds-hero__features {
    grid-template-columns: 1fr;
  }

  .ds-hero__cta {
    display: grid;
  }

  .ds-btn {
    width: 100%;
  }

  .ds-use-strip {
    grid-template-columns: 1fr;
  }

  .ds-use-tile {
    min-height: 102px;
  }

  .ds-kit-card {
    min-height: 460px;
    background-image:
      linear-gradient(180deg, rgba(6, 22, 41, 0.98) 0%, rgba(6, 22, 41, 0.92) 55%, rgba(6, 22, 41, 0.45) 100%),
      var(--kit-img, url("../assets/img/kit-pozo.jpg"));
    background-position: center bottom;
  }

  .ds-presentations {
    grid-template-columns: 1fr 1fr;
  }

  .ds-whatsapp-float {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 380px) {
  :root { --ds-page-pad: 12px; }

  .ds-logo { gap: 8px; }

  .ds-logo__mark {
    width: 46px;
    height: 46px;
  }

  .ds-logo__name {
    font-size: 1.1rem;
  }

  .ds-menu-btn {
    width: 42px;
    height: 42px;
  }

  .ds-hero__title {
    letter-spacing: -0.055em;
  }

  .ds-hero__text {
    font-size: 0.96rem;
  }

  .ds-product-card__body {
    padding-inline: 16px;
  }

  .ds-presentations {
    grid-template-columns: 1fr;
  }

  .ds-btn {
    min-height: 46px;
    padding-inline: 0.9rem;
    font-size: 0.82rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  :root { --ds-header-h: 64px; }

  .ds-hero {
    min-height: auto;
    padding-block: 42px;
  }

  .ds-hero__features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
  }

  .ds-hero__cta {
    margin-top: 18px;
  }
}

@media (min-width: 1500px) {
  :root { --ds-container: 1360px; }
  .ds-hero__content { width: min(820px, 100%); }
}

@media (min-width: 1900px) {
  :root { --ds-container: 1480px; }
  .ds-hero { min-height: 820px; }
}

/* -----------------------------
   16. SAFE AREAS
----------------------------- */
@supports (padding: max(0px)) {
  .ds-header__inner,
  .ds-container {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* -----------------------------
   17. DARK MODE OPCIONAL
----------------------------- */
.ds-theme-dark {
  --ds-bg: #07111f;
  --ds-surface: #0b1728;
  --ds-surface-2: #101f33;
  --ds-border: rgba(255, 255, 255, 0.12);
  --ds-border-strong: rgba(255, 255, 255, 0.20);
  --ds-ink: #f7fafc;
  --ds-ink-soft: #d7e2ee;
  --ds-muted: #a7b4c5;
}

.ds-theme-dark .ds-header {
  background: rgba(6, 17, 31, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.ds-theme-dark .ds-nav__link,
.ds-theme-dark .ds-logo__name,
.ds-theme-dark .ds-title,
.ds-theme-dark .ds-label,
.ds-theme-dark .ds-product-card__desc,
.ds-theme-dark .ds-use-tile__label,
.ds-theme-dark .ds-benefit__title,
.ds-theme-dark .ds-presentation__title,
.ds-theme-dark .ds-delivery__item {
  color: #fff;
}

.ds-theme-dark .ds-product-card,
.ds-theme-dark .ds-use-tile,
.ds-theme-dark .ds-panel,
.ds-theme-dark .ds-benefit-card,
.ds-theme-dark .ds-input,
.ds-theme-dark .ds-select,
.ds-theme-dark .ds-textarea {
  background: var(--ds-surface);
}

/* -----------------------------
   18. ACCESIBILIDAD
----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* -----------------------------
   19. PRINT
----------------------------- */
@media print {
  .ds-header,
  .ds-whatsapp-float,
  .ds-menu-btn,
  .ds-cta-band,
  .ds-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .ds-section {
    padding-block: 24px;
  }

  .ds-product-card,
  .ds-panel,
  .ds-benefit-card {
    box-shadow: none;
    break-inside: avoid;
  }
}
.ds-hero--video {
  background: #061629;
}

.ds-hero__video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(6, 22, 41, 0.96) 0%,
      rgba(6, 22, 41, 0.88) 34%,
      rgba(6, 22, 41, 0.42) 68%,
      rgba(6, 22, 41, 0.82) 100%
    );
}

@media (max-width: 560px) {
  .ds-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(6, 22, 41, 0.96) 0%,
        rgba(6, 22, 41, 0.86) 100%
      );
  }
}