:root {
  --color-green: #003f2f;
  --color-green-2: #00513d;
  --color-green-3: #062f25;
  --color-cream: #f8f8f5;
  --color-white: #ffffff;
  --color-black: #101720;
  --color-text: #444750;
  --color-muted: #73746f;
  --color-line: #e5e3dc;
  --color-taupe: #958d81;
  --shadow-soft: 0 22px 65px rgba(0, 42, 31, 0.08);
  --shadow-strong: 0 28px 80px rgba(0, 42, 31, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 94px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

::selection {
  color: var(--color-white);
  background: var(--color-green);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--color-white);
  background: var(--color-green);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 16%, rgba(0, 63, 47, 0.08), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, var(--color-cream) 100%);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.top-bar {
  height: 18px;
  background: var(--color-green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 227, 220, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 36px rgba(0, 42, 31, 0.07);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-logo {
  height: auto;
  object-fit: contain;
}

.brand-logo--desktop {
  width: clamp(210px, 18vw, 270px);
}

.brand-logo--mobile {
  display: none;
  width: 166px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 750;
  color: var(--color-text);
}

.main-nav a {
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--color-green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-green);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--color-white) !important;
  background: var(--color-green);
  box-shadow: 0 14px 34px rgba(0, 63, 47, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-green-2);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 63, 47, 0.22);
}

.nav-cta::after {
  display: none;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: var(--color-white);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--color-green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-button.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-button.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section {
  position: relative;
  padding: clamp(62px, 8vw, 104px) 0 clamp(78px, 9vw, 112px);
}

.hero-section::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 140px;
  width: min(620px, 46vw);
  aspect-ratio: 1 / 0.78;
  background-image: url("imagenes/isotipo-licitum.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.045;
  pointer-events: none;
}

.corner-decoration {
  position: absolute;
  top: -18px;
  right: -26px;
  z-index: 1;
  width: 230px;
  height: 230px;
  pointer-events: none;
}

.corner-decoration::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 152px;
  height: 152px;
  background: var(--color-green);
}

.corner-decoration::after {
  content: "";
  position: absolute;
  top: 62px;
  right: 128px;
  width: 48px;
  height: 48px;
  background: var(--color-green);
  box-shadow:
    48px 48px 0 var(--color-white),
    -44px 92px 0 var(--color-taupe);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(42px, 5vw, 68px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero-content h1 {
  max-width: 780px;
  margin: 0;
  color: var(--color-green);
  font-size: clamp(46px, 6.9vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.brand-rule {
  width: 62px;
  height: 3px;
  margin: 30px 0 26px;
  background: var(--color-taupe);
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 34px;
  color: var(--color-text);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-green);
  box-shadow: 0 18px 45px rgba(0, 63, 47, 0.22);
}

.button-primary:hover {
  background: var(--color-green-2);
  box-shadow: 0 22px 55px rgba(0, 63, 47, 0.26);
}

.button-secondary {
  color: var(--color-green);
  background: var(--color-white);
  border-color: var(--color-line);
}

.button-secondary:hover {
  border-color: rgba(0, 63, 47, 0.22);
  box-shadow: 0 16px 40px rgba(0, 42, 31, 0.08);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.trust-item {
  min-height: 134px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(0, 42, 31, 0.04);
}

.trust-item strong {
  display: block;
  margin-bottom: 9px;
  color: var(--color-green);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.trust-item span {
  display: block;
  color: var(--color-text);
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-image-frame {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 30px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.hero-image-frame img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.hero-floating-card {
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: min(345px, calc(100% - 24px));
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(0, 81, 61, 0.98), rgba(0, 44, 33, 0.98));
  box-shadow: var(--shadow-strong);
}

.hero-floating-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--color-white);
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.18;
}

.hero-floating-card span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.4;
}

.section {
  padding: clamp(72px, 8vw, 104px) 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(248, 248, 245, 0.96));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2,
.process-copy h2,
.method-content h2 {
  margin: 0;
  color: var(--color-green);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p,
.method-content p {
  margin: 0;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.68;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  min-height: 282px;
  padding: 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 18px 48px rgba(0, 63, 47, 0.045);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 63, 47, 0.08);
}

.benefit-card img,
.line-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.benefit-card img {
  object-fit: contain;
}

.line-icon,
.service-icon {
  display: grid;
  place-items: center;
  border: 4px solid var(--color-green);
  color: var(--color-green);
}

.line-icon svg,
.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  margin: 0 0 12px;
  color: var(--color-green);
  font-size: 22px;
  letter-spacing: -0.025em;
}

.benefit-card p {
  margin: 0;
  line-height: 1.65;
}

.process-section {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 8vw, 106px) 0;
  color: var(--color-white);
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.12), transparent 27%),
    linear-gradient(135deg, var(--color-green), var(--color-green-3));
}

.process-section::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -160px;
  width: 540px;
  height: 540px;
  background-image: url("imagenes/isotipo-licitum.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  filter: grayscale(1) brightness(3.2);
  pointer-events: none;
}

.process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(40px, 5vw, 66px);
  align-items: center;
}

.process-copy h2 {
  color: var(--color-white);
}

.process-copy p {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.72;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.step-card span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--color-green);
  background: var(--color-white);
  font-weight: 900;
}

.step-card h3 {
  margin: 0 0 10px;
  color: var(--color-white);
  font-size: 20px;
}

.step-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.58;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.service-list {
  padding: 12px 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 18px 50px rgba(0, 42, 31, 0.045);
}

.service-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-line);
}

.service-item:last-child {
  border-bottom: 0;
}

.service-icon {
  width: 54px;
  height: 54px;
}

.service-item h3 {
  margin: 0 0 8px;
  color: var(--color-green);
  font-size: 21px;
  letter-spacing: -0.025em;
}

.service-item p {
  margin: 0;
  line-height: 1.6;
}

.why-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(135deg, var(--color-green), var(--color-green-3));
  box-shadow: var(--shadow-soft);
}

.why-card > img {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 14px;
  background: var(--color-white);
  object-fit: contain;
}

.why-card h3 {
  margin: 0 0 26px;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.why-point {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.why-point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.why-point span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.58;
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}

.method-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.method-visual > img {
  position: relative;
  z-index: 2;
  width: min(420px, 90%);
}

.method-watermark {
  position: absolute;
  right: -110px;
  bottom: -90px;
  width: 430px;
  height: 430px;
  background-image: url("imagenes/isotipo-licitum.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.055;
}

.method-content p {
  margin-top: 24px;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--color-text);
  line-height: 1.55;
}

.check-list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-green);
  font-weight: 900;
}

.contact-section {
  padding-top: clamp(56px, 7vw, 86px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  overflow: hidden;
  border: 2px solid var(--color-green);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.contact-brand {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 46px);
  color: var(--color-white);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, var(--color-green), var(--color-green-3));
}

.contact-brand::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 310px;
  height: 310px;
  background-image: url("imagenes/isotipo-licitum.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  filter: grayscale(1) brightness(3.2);
}

.contact-brand img {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 14px;
  background: var(--color-white);
  object-fit: contain;
}

.contact-brand h2 {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 0 16px;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.contact-brand p {
  position: relative;
  z-index: 2;
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.66;
}

.contact-info {
  padding: clamp(30px, 4vw, 46px);
}

.contact-info h3 {
  margin: 0 0 28px;
  color: var(--color-green);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.contact-links a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-weight: 750;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: var(--color-green);
}

.contact-links span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--color-green);
  font-weight: 900;
}

.contact-button {
  width: fit-content;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--color-line);
  background: var(--color-cream);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--color-muted);
  font-size: 14px;
}

.footer-inner img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

@media (max-width: 1060px) {
  .main-nav {
    gap: 18px;
  }

  .hero-grid,
  .process-grid,
  .services-layout,
  .method-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 760px;
  }

  .hero-image-frame img {
    min-height: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .services-layout {
    gap: 24px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 82px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .brand-logo--desktop {
    display: none;
  }

  .brand-logo--mobile {
    display: block;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 120;
  }

  .main-nav {
    position: fixed;
    top: calc(18px + 76px);
    left: 16px;
    right: 16px;
    z-index: 110;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 70px rgba(0, 42, 31, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
    backdrop-filter: blur(16px);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 15px 16px;
    border-radius: 14px;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .main-nav a:hover {
    background: var(--color-cream);
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero-section {
    padding-top: 54px;
  }

  .corner-decoration {
    opacity: 0.36;
  }

  .trust-row,
  .benefit-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-floating-card {
    left: 18px;
    bottom: -24px;
  }

  .method-visual {
    min-height: 330px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .top-bar {
    height: 14px;
  }

  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    top: calc(14px + 70px);
  }

  .hero-section {
    padding-top: 42px;
    padding-bottom: 72px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 13vw, 56px);
    letter-spacing: -0.06em;
  }

  .hero-copy,
  .section-heading p,
  .method-content p,
  .process-copy p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .trust-item {
    min-height: auto;
  }

  .hero-floating-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .hero-image-frame {
    border-radius: 22px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .process-copy h2,
  .method-content h2 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .benefit-card,
  .why-card,
  .contact-brand,
  .contact-info {
    padding: 26px;
  }

  .service-list {
    padding: 6px 22px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-steps {
    gap: 14px;
  }

  .step-card {
    min-height: auto;
  }

  .method-visual {
    min-height: 280px;
    padding: 34px;
  }

  .method-visual > img {
    width: 92%;
  }

  .check-list li {
    grid-template-columns: 30px 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}