/* ==========================================================================
   SerinSL — Servicios e Insecticidas S.L.
   Hoja de estilos principal
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic-latin.woff2") format("woff2");
  font-weight: 500 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-950: #071b11;
  --green-900: #0b2818;
  --green-800: #103a23;
  --green-700: #175431;
  --green-600: #226b41;
  --green-500: #2f8451;
  --lime: #c9e77d;
  --lime-soft: #e2f4ad;
  --gold: #c7a257;
  --cream: #f2ecdf;
  --cream-soft: #f8f5ed;
  --cream-white: #fcfaf4;
  --ink: #14231a;
  --ink-soft: #4b5b50;
  --ink-muted: #65736a;
  --white: #ffffff;
  --line: rgba(20, 35, 26, 0.14);
  --line-soft: rgba(20, 35, 26, 0.08);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 24px 70px rgba(10, 40, 24, 0.08);
  --shadow-card: 0 16px 40px rgba(7, 27, 17, 0.16);
  --radius: 22px;
  --container: 1240px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: var(--green-950);
}

img,
svg,
iframe {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
address,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

em {
  font-style: italic;
}

:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 4px;
}

.section--dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.mobile-menu :focus-visible {
  outline-color: var(--lime);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green-950);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

/* --------------------------------------------------------------------------
   Micro-componentes
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--green-700);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 36px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow--light {
  color: var(--lime);
}

.section {
  position: relative;
  padding: clamp(82px, 9vw, 136px) 0;
}

section[id],
main[id] {
  scroll-margin-top: 100px;
}

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

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

.section-title {
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(2.55rem, 4.4vw, 4.3rem);
  letter-spacing: -0.035em;
}

.section-title em {
  color: var(--green-700);
}

.section-title--light {
  color: var(--cream-soft);
}

.section-title--light em {
  color: var(--lime);
}

.section-lead {
  max-width: 660px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.3vw, 1.15rem);
  line-height: 1.72;
}

.section-head {
  margin-bottom: clamp(44px, 5.5vw, 68px);
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(36px, 6vw, 90px);
}

.section-head__intro {
  max-width: 430px;
  justify-self: end;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
}

.btn svg {
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--lg {
  min-height: 54px;
  padding: 16px 30px;
  font-size: 14px;
}

.btn--primary {
  background: var(--green-800);
  color: var(--cream-soft);
}

.btn--primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(10, 44, 26, 0.2);
}

.btn--lime {
  background: var(--lime);
  color: var(--green-950);
}

.btn--lime:hover {
  background: var(--lime-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 231, 125, 0.18);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--green-900);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.link-arrow svg {
  transition: transform 0.25s ease;
}

.link-arrow:hover {
  color: var(--green-900);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Topbar y cabecera
   -------------------------------------------------------------------------- */

.topbar {
  position: relative;
  z-index: 60;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__note svg {
  color: var(--lime);
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}

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

.topbar__links svg {
  color: var(--lime);
  opacity: 0.85;
}

.topbar__sep {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(20, 35, 26, 0.08);
  background: rgba(252, 250, 244, 0.94);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(252, 250, 244, 0.98);
  box-shadow: 0 10px 30px rgba(10, 40, 24, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__bull {
  width: 132px;
  height: auto;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.brand__name span {
  color: var(--green-600);
}

.brand__tagline {
  color: var(--ink-muted);
  font-size: 7.4px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.brand--light .brand__bull {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.brand--light .brand__name {
  color: var(--cream-soft);
}

.brand--light .brand__name span {
  color: var(--lime);
}

.brand--light .brand__tagline {
  color: rgba(255, 255, 255, 0.5);
}

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

.nav__link {
  position: relative;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: color 0.2s ease;
}

.nav__link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1.5px;
  background: var(--green-600);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--green-800);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  flex: 0 0 auto;
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--green-900);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   Menú móvil
   -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 26px 28px 32px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 231, 125, 0.13), transparent 38%),
    var(--green-950);
  color: var(--cream-soft);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}

.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--cream-soft);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu__nav a:hover {
  padding-left: 6px;
  color: var(--lime);
}

.mobile-menu__nav span {
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 34px;
}

.mobile-menu__label {
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mobile-menu__phone {
  display: block;
  width: fit-content;
  color: var(--cream-soft);
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
}

.mobile-menu__mail {
  display: block;
  width: fit-content;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.mobile-menu__address {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
  line-height: 1.65;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 710px;
  max-height: 960px;
  overflow: hidden;
  background: var(--green-950);
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../media/hero-cultivos-1200.jpg");
  background-image: -webkit-image-set(
    url("../media/hero-cultivos-1200.jpg") 1x,
    url("../media/hero-cultivos.jpg") 2x
  );
  background-image: image-set(
    url("../media/hero-cultivos-1200.jpg") 1x,
    url("../media/hero-cultivos.jpg") 2x
  );
  background-position: center 55%;
  background-size: cover;
  transform: scale(1.015);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 23, 14, 0.94) 0%, rgba(5, 23, 14, 0.79) 36%, rgba(5, 23, 14, 0.3) 72%, rgba(5, 23, 14, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 23, 14, 0.82) 0%, rgba(5, 23, 14, 0.05) 46%, rgba(5, 23, 14, 0.18) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  align-items: end;
  gap: 58px;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 118px;
}

.hero__content {
  max-width: 800px;
}

.hero__title {
  max-width: 790px;
  margin-top: 25px;
  font-size: clamp(3.45rem, 6.9vw, 7rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero__title em {
  color: var(--lime);
}

.hero__lead {
  max-width: 610px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.3vw, 1.14rem);
  line-height: 1.75;
}

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

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11.5px;
  font-weight: 600;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust svg {
  color: var(--lime);
}

.hero__aside {
  position: relative;
  margin-bottom: 12px;
  padding: 27px 27px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(7, 32, 19, 0.52);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero__aside::before {
  position: absolute;
  top: 31px;
  right: 27px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(201, 231, 125, 0.12);
  content: "";
}

.hero__aside-label {
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__aside-title {
  max-width: 240px;
  margin-top: 12px;
  color: var(--cream-soft);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.13;
}

.hero__aside-item {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 11px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.67);
  font-size: 10.8px;
  line-height: 1.6;
}

.hero__aside-item svg {
  margin-top: 1px;
  color: var(--lime);
}

.hero__aside-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
}

.hero__aside-link svg {
  color: var(--lime);
  transition: transform 0.2s ease;
}

.hero__aside-link:hover svg {
  transform: translateX(3px);
}

.hero__scroll {
  position: absolute;
  right: 30px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll span {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--lime), transparent);
}

/* Franja de categorías */

.category-strip {
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream-white);
}

.category-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 70px;
  padding: 0 24px;
  color: var(--green-800);
  white-space: nowrap;
}

.category-strip__inner span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: -0.02em;
}

.category-strip__inner i {
  color: var(--gold);
  font-size: 9px;
  font-style: normal;
}

/* --------------------------------------------------------------------------
   Empresa
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.about__visual {
  position: relative;
  padding: 0 42px 44px 0;
}

.about__figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: var(--green-900);
  box-shadow: 0 30px 70px rgba(10, 40, 24, 0.16);
}

.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  overflow: hidden;
  aspect-ratio: 1;
  border: 7px solid var(--cream);
  border-radius: 20px;
  background: var(--green-900);
  box-shadow: 0 18px 46px rgba(10, 40, 24, 0.2);
}

.about__inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  top: 24px;
  left: -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  padding: 16px;
  border: 1px solid rgba(201, 231, 125, 0.38);
  border-radius: 50%;
  background: var(--green-900);
  color: var(--lime);
  text-align: center;
  box-shadow: 0 16px 30px rgba(6, 27, 16, 0.22);
  transform: rotate(-7deg);
}

.about__badge-top {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about__badge-line {
  width: 24px;
  height: 1px;
  margin: 8px 0;
  background: currentColor;
  opacity: 0.55;
}

.about__badge-bottom {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.about__cif {
  position: absolute;
  bottom: 25px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(20, 35, 26, 0.12);
  border-radius: 999px;
  background: rgba(252, 250, 244, 0.94);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(10, 40, 24, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.about__cif strong {
  color: var(--green-800);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.about__content .section-title {
  max-width: 620px;
}

.about__text {
  max-width: 620px;
  margin-top: 19px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.8;
}

.about__list {
  display: grid;
  gap: 14px;
  max-width: 620px;
  margin-top: 30px;
}

.about__list li {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.about__list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: rgba(34, 107, 65, 0.1);
  color: var(--green-700);
}

.about__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.about__signature {
  color: var(--ink-muted);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-style: italic;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Productos
   -------------------------------------------------------------------------- */

.section--products {
  overflow: hidden;
  background: var(--cream-white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 25px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card--lg {
  grid-column: span 7;
  min-height: 520px;
}

.product-card--md {
  grid-column: span 5;
  min-height: 520px;
}

.product-card--sm {
  grid-column: span 4;
  min-height: 385px;
}

.product-card__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.product-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(5, 20, 12, 0.08) 0%,
    rgba(5, 20, 12, 0.22) 38%,
    rgba(5, 20, 12, 0.72) 76%,
    rgba(5, 20, 12, 0.94) 100%
  );
}

.product-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.product-card__number {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(5, 20, 12, 0.22);
  color: rgba(255, 255, 255, 0.8);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.product-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease,
    transform 0.3s ease;
}

.product-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
  padding-top: 90px;
}

.product-card__kicker {
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-card__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.product-card--sm .product-card__title {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
}

.product-card__desc {
  max-width: 470px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
  line-height: 1.62;
}

.product-card--sm .product-card__desc {
  font-size: 0.79rem;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.product-card__tags span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-card__link span {
  transition: transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(8, 32, 20, 0.24);
}

.product-card:hover .product-card__img {
  transform: scale(1.055);
}

.product-card:hover .product-card__arrow {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--green-950);
  transform: rotate(5deg);
}

.product-card:hover .product-card__link span {
  transform: translateX(4px);
}

.products__note {
  max-width: 790px;
  margin-top: 27px;
  color: var(--ink-muted);
  font-size: 0.74rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Valores / asesoramiento
   -------------------------------------------------------------------------- */

.values {
  overflow: hidden;
  background: var(--green-950);
  color: var(--white);
}

.values__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 231, 125, 0.13) 0%, transparent 64%);
  pointer-events: none;
}

.values__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 120px);
}

.values__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.values__lead {
  max-width: 440px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  line-height: 1.75;
}

.values__list {
  border-top: 1px solid var(--line-light);
}

.value-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line-light);
}

.value-item__number {
  padding-top: 6px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.value-item h3 {
  color: var(--cream-soft);
  font-size: clamp(1.6rem, 2.2vw, 1.95rem);
  letter-spacing: -0.025em;
}

.value-item p {
  max-width: 510px;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  background: var(--cream);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(46px, 8vw, 112px);
}

.faq__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq__text {
  max-width: 410px;
  margin-top: 25px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.75;
}

.faq__contact {
  margin-top: 28px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--green-700);
}

.faq-item[open] summary {
  color: var(--green-700);
}

.faq-item__icon {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(20, 35, 26, 0.19);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon {
  border-color: var(--green-700);
  background: var(--green-700);
  color: var(--cream-soft);
}

.faq-item[open] .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
  padding: 0 52px 24px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-item__answer a {
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 10vw, 140px) 0;
  background: var(--green-950);
  color: var(--white);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  background-image: url("../media/cta-campo.jpg");
  background-position: center;
  background-size: cover;
}

.cta-band__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 23, 14, 0.93) 0%, rgba(5, 23, 14, 0.68) 52%, rgba(5, 23, 14, 0.24) 100%),
    linear-gradient(0deg, rgba(5, 23, 14, 0.5), transparent 60%);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
}

.cta-band__title {
  max-width: 740px;
  margin-top: 20px;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.cta-band__title em {
  color: var(--lime);
}

.cta-band__text {
  max-width: 520px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.75;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}

.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.cta-band__phone svg {
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */

.contact__head {
  margin-bottom: 50px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: 24px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 36px 36px 0;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 231, 125, 0.12), transparent 36%),
    var(--green-900);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.contact-card__eyebrow {
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-card__title {
  max-width: 340px;
  margin-top: 10px;
  color: var(--cream-soft);
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.contact-item {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-item:first-of-type {
  margin-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-item__icon {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 2px;
  color: var(--lime);
}

.contact-item__label {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-item address,
.contact-item__phones,
.contact-item__mail {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-style: normal;
  line-height: 1.6;
}

.contact-item__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 18px;
}

.contact-item__phones a,
.contact-item__mail {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact-item__phones a:hover,
.contact-item__mail:hover {
  color: var(--lime);
  text-decoration-color: var(--lime);
}

.contact-item__link {
  display: inline-block;
  margin-top: 6px;
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 700;
}

.hours {
  display: grid;
  gap: 5px;
}

.hours div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
}

.hours dt {
  color: rgba(255, 255, 255, 0.55);
}

.hours dd {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-align: right;
}

.hours div:last-child dd {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.contact-card__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 18px 0 22px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-map {
  position: relative;
  margin: 6px -36px 0;
  height: 220px;
  background: var(--green-800);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.8) contrast(0.95);
}

.contact-map__link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--cream-white);
  color: var(--green-900);
  font-size: 9.5px;
  font-weight: 700;
  box-shadow: 0 5px 18px rgba(7, 27, 17, 0.22);
}

.contact-form-card {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.contact-form-card__head {
  margin-bottom: 27px;
}

.contact-form-card__eyebrow {
  color: var(--green-700);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-form-card__head h3 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.contact-form-card__head p {
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.contact-form-card__head p span {
  color: var(--green-700);
}

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.req {
  color: var(--green-600);
}

.field__optional {
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(20, 35, 26, 0.14);
  border-radius: 10px;
  outline: none;
  background: #f8f5ed;
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa39c;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(20, 35, 26, 0.25);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(34, 107, 65, 0.11);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.6;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 42px;
  appearance: none;
  cursor: pointer;
}

.select-wrap__icon {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--green-700);
  pointer-events: none;
  transform: translateY(-50%);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: end;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.captcha__field > label,
.captcha__label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.captcha__row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.captcha__image {
  width: 210px;
  max-width: 100%;
  height: 82px;
  border: 1px solid rgba(20, 35, 26, 0.15);
  border-radius: 9px;
  background: var(--cream);
  object-fit: contain;
}

.captcha__reload {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--green-700);
  font-size: 8.5px;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.captcha__reload:hover {
  border-color: var(--line);
  background: var(--cream);
}

.captcha__reload svg {
  transition: transform 0.3s ease;
}

.captcha__reload:hover svg {
  transform: rotate(45deg);
}

.captcha__hint {
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.captcha__hint a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 22px;
}

.consent input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0;
  accent-color: var(--green-700);
  cursor: pointer;
}

.consent label {
  color: var(--ink-muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.consent a,
.form-privacy a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: rgba(34, 107, 65, 0.22);
  background: rgba(34, 107, 65, 0.08);
  color: var(--green-800);
}

.form-status.is-error {
  border-color: rgba(148, 52, 42, 0.22);
  background: rgba(148, 52, 42, 0.06);
  color: #7c2d26;
}

.form-status strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

.form-status ul {
  margin: 5px 0 0 16px;
  list-style: disc;
}

.contact-form__submit {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.contact-form__submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.contact-form__submit.is-loading .contact-form__submit-label {
  opacity: 0.55;
}

.contact-form__submit.is-loading > svg {
  display: none;
}

.contact-form__spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: serin-spin 0.75s linear infinite;
}

.contact-form__submit.is-loading .contact-form__spinner {
  display: inline-block;
}

@keyframes serin-spin {
  to {
    transform: rotate(360deg);
  }
}

.form-privacy {
  margin-top: 12px;
  color: #6f7a72;
  font-size: 0.66rem;
  line-height: 1.6;
}

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

.site-footer {
  padding: 76px 0 25px;
  background: var(--green-950);
  color: var(--white);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(0, 0.75fr)) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px);
}

.footer__tagline {
  max-width: 345px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  line-height: 1.75;
}

.footer__cif {
  display: inline-block;
  margin-top: 17px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__heading {
  margin-bottom: 18px;
  color: var(--lime);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__nav a,
.footer__contact a,
.footer__contact address {
  display: block;
  width: fit-content;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer__contact address {
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 11px 28px;
  margin-top: 55px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.65rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__legal a {
  transition: color 0.2s ease;
}

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

.footer__credits {
  color: rgba(255, 255, 255, 0.26);
}

/* --------------------------------------------------------------------------
   Página legal
   -------------------------------------------------------------------------- */

.legal-header {
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream-white);
}

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

.legal-hero {
  padding: clamp(70px, 9vw, 110px) 0 clamp(60px, 7vw, 88px);
  background:
    radial-gradient(circle at 85% 0%, rgba(201, 231, 125, 0.13), transparent 36%),
    var(--green-950);
  color: var(--white);
}

.legal-hero h1 {
  max-width: 900px;
  margin-top: 22px;
  color: var(--cream-soft);
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.legal-hero__meta {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.legal-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: clamp(45px, 8vw, 110px);
  padding-top: clamp(55px, 7vw, 90px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

.legal-nav {
  position: sticky;
  top: 30px;
  align-self: start;
}

.legal-nav__title {
  margin-bottom: 12px;
  color: var(--green-700);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-nav > a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 0.82rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.legal-nav > a:hover {
  padding-left: 4px;
  color: var(--green-700);
}

.legal-nav__contact {
  margin-top: 27px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: var(--cream);
}

.legal-nav__contact p {
  margin-bottom: 7px;
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.legal-nav__contact a {
  display: block;
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
}

.legal-content {
  max-width: 820px;
}

.legal-content > section {
  padding-bottom: clamp(38px, 5vw, 58px);
  margin-bottom: clamp(38px, 5vw, 58px);
  border-bottom: 1px solid var(--line-soft);
}

.legal-content > section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
}

.legal-content h3 {
  margin: 28px 0 7px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 8px 0 18px 20px;
  padding: 0;
  list-style: disc;
}

.legal-content li {
  margin: 4px 0;
}

.legal-content a {
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-content code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--green-800);
  font-size: 0.82em;
}

.legal-note {
  margin: 18px 0 24px;
  padding: 17px 20px;
  border-left: 3px solid var(--green-600);
  border-radius: 0 9px 9px 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.75;
}

.legal-note strong {
  color: var(--green-800);
}

.legal-footer {
  padding: 27px 0;
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.4);
}

.legal-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px 30px;
  font-size: 0.66rem;
}

.legal-footer__inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.legal-footer a:hover {
  color: var(--lime);
}

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

  .legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .legal-nav__title {
    width: 100%;
  }

  .legal-nav > a {
    padding: 7px 0;
    border-bottom: 0;
  }

  .legal-nav__contact {
    width: 100%;
    margin-top: 12px;
  }
}

@media (max-width: 620px) {
  .legal-header__inner {
    min-height: 76px;
  }

  .legal-header .btn {
    padding: 10px 16px;
    font-size: 11px;
  }

  .legal-header .brand__bull {
    width: 92px;
  }

  .legal-header .brand__name {
    font-size: 1.3rem;
  }

  .legal-header .brand__tagline {
    font-size: 6px;
  }

  .legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Página 404
   -------------------------------------------------------------------------- */

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.notfound__links {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line-light);
}

.notfound__links a {
  width: fit-content;
  color: var(--cream-soft);
}

.notfound__links a:hover {
  color: var(--lime);
}

@media (max-width: 480px) {
  .notfound__actions {
    flex-direction: column;
  }

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

/* --------------------------------------------------------------------------
   Animaciones de entrada
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1160px) {
  .header__inner {
    gap: 22px;
  }

  .nav {
    gap: 20px;
  }

  .brand__bull {
    width: 116px;
  }

  .brand__name {
    font-size: 1.55rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }

  .hero__aside {
    padding: 23px;
  }

  .about__grid {
    gap: 60px;
  }
}

@media (max-width: 1060px) {
  .nav,
  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 680px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 140px;
    padding-bottom: 110px;
  }

  .hero__content {
    max-width: 820px;
  }

  .hero__aside {
    display: none;
  }

  .hero__scroll {
    right: 20px;
  }

  .values__intro,
  .faq__intro {
    position: static;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .contact-card {
    padding-left: 28px;
    padding-right: 28px;
  }

  .contact-map {
    margin-right: -28px;
    margin-left: -28px;
  }
}

@media (max-width: 920px) {
  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .section-head__intro {
    justify-self: start;
    max-width: 600px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .about__visual {
    max-width: 530px;
    padding-right: 62px;
  }

  .about__content {
    max-width: 680px;
  }

  .product-card--lg,
  .product-card--md,
  .product-card--sm {
    grid-column: span 6;
    min-height: 430px;
  }

  .product-card--lg {
    grid-column: span 12;
  }

  .product-card--lg .product-card__title {
    font-size: 3rem;
  }

  .values__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .values__lead {
    max-width: 600px;
  }

  .values__list {
    max-width: 680px;
  }

  .faq__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .faq__intro {
    max-width: 620px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card {
    padding-left: 34px;
    padding-right: 34px;
  }

  .contact-map {
    margin-right: -34px;
    margin-left: -34px;
    height: 250px;
  }

  .contact-card__title {
    max-width: 470px;
  }

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

  .footer__contact {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer__contact .footer__heading {
    width: 100%;
    margin-bottom: 5px;
  }

  .footer__contact address {
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .topbar__note {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__links {
    gap: 13px;
  }

  .header__inner {
    min-height: 76px;
  }

  .brand__bull {
    width: 103px;
  }

  .brand__name {
    font-size: 1.42rem;
  }

  .brand__tagline {
    font-size: 6.4px;
  }

  .hero {
    min-height: 0;
  }

  .hero__inner {
    padding-top: 112px;
    padding-bottom: 88px;
  }

  .hero__title {
    font-size: clamp(3.15rem, 12vw, 4.7rem);
  }

  .hero__lead {
    margin-top: 23px;
    font-size: 0.96rem;
  }

  .hero__actions {
    margin-top: 28px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__trust {
    gap: 10px 18px;
    margin-top: 29px;
    font-size: 10.5px;
  }

  .hero__scroll {
    display: none;
  }

  .category-strip__inner {
    justify-content: flex-start;
    gap: 18px;
    min-height: 60px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-strip__inner::-webkit-scrollbar {
    display: none;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-title {
    font-size: clamp(2.3rem, 9.8vw, 3.25rem);
  }

  .about__visual {
    max-width: 450px;
    padding-right: 34px;
    padding-bottom: 34px;
  }

  .about__inset {
    width: 43%;
    border-width: 5px;
  }

  .about__badge {
    top: 16px;
    left: -11px;
    width: 101px;
    height: 101px;
    padding: 12px;
  }

  .about__badge-top {
    font-size: 1.08rem;
  }

  .about__badge-bottom {
    font-size: 5.5px;
  }

  .about__cif {
    bottom: 18px;
    left: 14px;
  }

  .about__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .about__signature {
    text-align: left;
  }

  .products-grid {
    gap: 12px;
  }

  .product-card--lg,
  .product-card--md,
  .product-card--sm {
    grid-column: span 12;
    min-height: 400px;
    padding: 22px;
  }

  .product-card--lg .product-card__title,
  .product-card--sm .product-card__title {
    font-size: 2.45rem;
  }

  .product-card__desc,
  .product-card--sm .product-card__desc {
    max-width: 440px;
    font-size: 0.82rem;
  }

  .product-card__body {
    padding-top: 70px;
  }

  .value-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 0 26px;
  }

  .value-item h3 {
    font-size: 1.55rem;
  }

  .faq-item summary {
    gap: 15px;
    font-size: 0.92rem;
  }

  .faq-item__answer {
    padding-right: 0;
  }

  .cta-band {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .cta-band__title {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .cta-band__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .contact-card {
    padding: 28px 22px 0;
  }

  .contact-map {
    margin-right: -22px;
    margin-left: -22px;
    height: 220px;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

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

  .field--full {
    grid-column: auto;
  }

  .captcha {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .captcha__image {
    width: 210px;
    height: 82px;
  }

  .captcha .field {
    max-width: 210px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }

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

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

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 40px;
  }

  .footer__credits {
    order: 3;
  }
}

@media (max-width: 480px) {
  .topbar {
    font-size: 10.5px;
  }

  .topbar__links a:last-child {
    display: none;
  }

  .topbar__sep {
    display: none;
  }

  .brand {
    gap: 9px;
  }

  .brand__bull {
    width: 91px;
  }

  .brand__name {
    font-size: 1.28rem;
  }

  .brand__tagline {
    max-width: 96px;
    font-size: 5.9px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 13vw, 3.6rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    display: grid;
    gap: 7px;
  }

  .section-head {
    margin-bottom: 37px;
  }

  .about__visual {
    padding-right: 22px;
  }

  .about__badge {
    width: 88px;
    height: 88px;
  }

  .about__badge-top {
    font-size: 0.95rem;
  }

  .about__badge-line {
    margin: 5px 0;
  }

  .about__badge-bottom {
    font-size: 4.8px;
  }

  .product-card {
    min-height: 370px !important;
  }

  .product-card__title,
  .product-card--lg .product-card__title,
  .product-card--sm .product-card__title {
    font-size: 2.2rem;
  }

  .product-card__tags {
    gap: 5px;
  }

  .product-card__tags span {
    font-size: 8px;
  }

  .contact-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
  }

  .hours div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .hours dd {
    text-align: left;
  }

  .captcha__row {
    align-items: flex-start;
    flex-direction: column;
  }

  .captcha__reload {
    flex-direction: row;
    padding-left: 0;
  }

  .footer__legal {
    gap: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__bg,
  .product-card__img {
    transform: none !important;
  }
}
