/* ==========================================================================
   ALVAREZ JARDINES · estilos
   ========================================================================== */

:root {
  --brote: #A8DCAB;
  --rocio: #DDF1DE;
  --niebla: #F4FAF4;
  --pasto: #2F7A45;
  --pasto-osc: #245F36;
  --tinta: #16321F;
  --tinta-suave: #4A6350;
  --blanco: #ffffff;
  --sol: #F2C14E;
  --wa: #25D366;

  --r-leaf: 64px 14px 64px 14px;

  --shadow:
    0 1px 2px rgba(22, 50, 31, .06),
    0 14px 34px -14px rgba(22, 50, 31, .28);

  --shadow-up:
    0 2px 4px rgba(22, 50, 31, .06),
    0 26px 46px -18px rgba(22, 50, 31, .38);

  --font-display:
    'Bricolage Grotesque',
    'Trebuchet MS',
    system-ui,
    sans-serif;

  --font-body:
    'Figtree',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;

  --wrap: 1180px;
  --header-h: 72px;

  --video-ratio: 4 / 5;
}


/* ==========================================================================
   BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  vertical-align: middle;
}

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

button,
input {
  font: inherit;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
}

h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--tinta);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: 12px;
  transition: top .2s;
}

.skip-link:focus {
  top: 1rem;
}


/* ==========================================================================
   ICONOS
   ========================================================================== */

.icon,
.icon-fill {
  width: 22px;
  height: 22px;
  flex: none;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}


/* ==========================================================================
   FORMA HOJA
   ========================================================================== */

.leaf {
  border-radius: var(--r-leaf);
}


/* ==========================================================================
   BOTONES
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-body);
  cursor: pointer;
  transition:
    transform .25s cubic-bezier(.2, .8, .2, 1),
    background-color .25s,
    color .25s,
    box-shadow .25s,
    border-color .25s;
}

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

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn .icon,
.btn .icon-fill {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: var(--pasto);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(47, 122, 69, .8);
}

.btn-primary:hover {
  background: var(--pasto-osc);
}

.btn-dark {
  background: var(--tinta);
  color: #fff;
}

.btn-dark:hover {
  background: #0e2115;
}

.btn-ghost {
  border-color: var(--tinta);
  color: var(--tinta);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--tinta);
  color: #fff;
}

.btn-wa {
  background: var(--wa);
  color: #05301a;
  box-shadow: 0 12px 26px -10px rgba(18, 140, 70, .8);
}

.btn-wa:hover {
  background: #1fbd5b;
}

.btn-sm {
  padding: .6rem 1.1rem;
  font-size: .95rem;
}

.btn-lg {
  padding: 1.1rem 1.9rem;
  font-size: 1.08rem;
}

.btn-block {
  width: 100%;
}


/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition:
    background-color .3s,
    box-shadow .3s;
}

.site-header.scrolled,
.menu-open .site-header {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(22, 50, 31, .08);
}

.menu-open .site-header {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: var(--p, 0%);
  background: var(--pasto);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.logo b {
  font-weight: 800;
}

.logo-text {
  font-weight: 500;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--pasto);
  color: var(--brote);
  border-radius: 50% 10px 50% 10px;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  --vein: var(--pasto);
}

.logo:hover .logo-mark {
  transform: rotate(-12deg) scale(1.06);
}

.logo-mark .icon-fill {
  width: 24px;
  height: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a:not(.btn) {
  position: relative;
  font-weight: 600;
  padding: .3rem 0;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--pasto);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    transform .3s cubic-bezier(.2, .8, .2, 1);
}

.nav a:not(.btn):hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.nav a.active {
  color: var(--pasto-osc);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: var(--tinta);
  border-radius: 2px;
  transition: transform .3s, top .3s;
}

.nav-toggle span:nth-child(1) {
  top: 18px;
}

.nav-toggle span:nth-child(2) {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 22px;
  transform: rotate(-45deg);
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(100svh, 920px);
  padding:
    calc(var(--header-h) + 2.5rem)
    0
    clamp(120px, 17vw, 220px);

  background:
    radial-gradient(
      70% 60% at 85% 15%,
      rgba(255, 255, 255, .55) 0%,
      transparent 65%
    ),
    radial-gradient(
      60% 50% at 0% 100%,
      rgba(255, 255, 255, .25) 0%,
      transparent 70%
    ),
    var(--brote);
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(0, .9fr);

  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);

  position: relative;
  z-index: 1;
}

.hero h1 .line {
  display: block;
  animation:
    rise .95s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay:
    calc(var(--i) * .13s + .15s);
}

.lead {
  max-width: 34rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--tinta);

  animation:
    rise .95s cubic-bezier(.2, .8, .2, 1) .55s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.8rem;

  animation:
    rise .95s cubic-bezier(.2, .8, .2, 1) .7s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(38px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   FOTO HERO
   ========================================================================== */

.hero-arch {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;

  border-radius: 230px 230px 30px 30px;
  overflow: hidden;
  background: #fff;

  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 14px;

  box-shadow:
    0 30px 60px -28px rgba(22, 50, 31, .55);

  margin-bottom: -60px;

  animation:
    arch-in 1.1s cubic-bezier(.2, .8, .2, 1) .3s both;
}

@keyframes arch-in {
  from {
    opacity: 0;
    transform: translateY(50px) scale(.94);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ph {
  position: absolute;
  inset: 0;
  z-index: 0;

  display: grid;
  place-content: center;
  justify-items: center;
  gap: .6rem;

  text-align: center;
  padding: 1rem;

  color: var(--pasto);

  background:
    linear-gradient(
      160deg,
      #EAF7EB,
      #BFE5C2
    );

  --vein: #EAF7EB;
}

.ph .icon,
.ph .icon-fill {
  width: 54px;
  height: 54px;
  opacity: .85;
}

.ph .icon {
  stroke-width: 1.4;
}

.ph span {
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.35;
  color: var(--tinta-suave);
}

.hero-arch .ph {
  background:
    linear-gradient(
      180deg,
      #F4FBF4 0%,
      #CDEBCF 60%,
      #8FCB95 100%
    );
}

.hero-arch img,
.pc-media img,
.ba-layer img {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* ==========================================================================
   PASTO
   ========================================================================== */

.grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;

  height: clamp(120px, 17vw, 220px);

  pointer-events: none;
}

.grass::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;

  height: 16px;

  background: #fff;
}

.blade {
  position: absolute;
  bottom: 0;
  left: var(--x);

  width: var(--w);
  height: var(--h);

  background: var(--c);
  clip-path: var(--shape);
}


/* ==========================================================================
   SECCIONES
   ========================================================================== */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-tint {
  background: var(--niebla);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-head p {
  font-size: 1.15rem;
  color: var(--tinta-suave);
  margin: 0;
}


/* ==========================================================================
   SERVICIOS
   ========================================================================== */

.card-services {
  display: grid;
  grid-template-columns:
    minmax(0, .82fr)
    minmax(0, 1.18fr);

  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cs-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;

  padding: clamp(2rem, 4vw, 3.5rem);

  background: var(--brote);
}

.cs-side h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.cs-side p {
  font-size: 1.1rem;
  margin: 0;
}

.cs-side .btn {
  align-self: flex-start;
}

.cs-list {
  list-style: none;
  padding:
    clamp(1.2rem, 3vw, 2.4rem)
    clamp(1.4rem, 3.5vw, 3rem);
}

.cs-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;

  padding: .95rem 0;

  border-bottom: 1px solid var(--rocio);

  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;

  transition:
    transform .3s cubic-bezier(.2, .8, .2, 1);
}

.cs-list li:last-child {
  border-bottom: 0;
}

.cs-list li:hover {
  transform: translateX(8px);
}

.ico .icon {
  width: 26px;
  height: 26px;
}

.ico {
  display: grid;
  place-items: center;

  flex: none;

  width: 48px;
  height: 48px;

  background: var(--rocio);
  color: var(--pasto);

  border-radius: 50% 10px 50% 10px;

  transition:
    background-color .3s,
    color .3s,
    border-radius .4s;
}

.cs-list li:hover .ico {
  background: var(--pasto);
  color: #fff;
  border-radius: 10px 50% 10px 50%;
}


/* ==========================================================================
   NOSOTROS
   ========================================================================== */

.card-about {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, .85fr);

  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);

  background: #fff;
  box-shadow: var(--shadow);

  padding: clamp(1.6rem, 4.5vw, 4rem);
}

.about-copy p {
  font-size: 1.12rem;
}

.checks {
  list-style: none;
  display: grid;
  gap: .8rem;
  margin-top: 1.5rem;
}

.checks li {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.checks li span {
  display: grid;
  place-items: center;

  width: 30px;
  height: 30px;

  flex: none;

  background: var(--brote);

  border-radius: 50% 6px 50% 6px;

  color: var(--tinta);
}

.checks .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}


/* ==========================================================================
   VIDEOS
   ========================================================================== */

.video-carousel {
  width: 100%;
  max-width: 420px;
  justify-self: center;
}

.video-track {
  display: flex;

  overflow-x: auto;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;

  border-radius: 170px 170px 28px 28px;

  background: var(--tinta);

  box-shadow:
    0 30px 60px -30px rgba(22, 50, 31, .6);
}

.video-track::-webkit-scrollbar {
  display: none;
}

.video-slide {
  position: relative;

  flex: 0 0 100%;

  scroll-snap-align: center;
  scroll-snap-stop: always;

  aspect-ratio: var(--video-ratio);
}

.video-slide video {
  width: 100%;
  height: 100%;

  object-fit: contain;

  background: var(--tinta);
}

.video-empty {
  display: none;

  position: absolute;
  inset: 0;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 1rem;

  padding: 3rem 1.5rem 2rem;

  text-align: center;

  background:
    linear-gradient(
      180deg,
      var(--rocio),
      var(--brote)
    );

  color: var(--tinta);
}

.video-empty > .icon {
  width: 56px;
  height: 56px;
  stroke-width: 1.4;
  color: var(--pasto);
}

.video-empty p {
  margin: 0;
  font-size: .95rem;
}

.video-empty code {
  font-size: .85rem;
  background: rgba(255, 255, 255, .6);
  padding: .1rem .4rem;
  border-radius: 6px;
}

.video-empty .btn:focus-within {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
}

.is-empty .video-empty {
  display: flex;
}

.is-empty video {
  display: none;
}

.vc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.vc-btn {
  display: grid;
  place-items: center;

  width: 44px;
  height: 44px;

  background: #fff;
  color: var(--tinta);

  border: 2px solid var(--brote);
  border-radius: 50%;

  cursor: pointer;

  transition:
    background-color .25s,
    transform .25s,
    opacity .25s;
}

.vc-btn:hover:not(:disabled) {
  background: var(--brote);
  transform: scale(1.08);
}

.vc-btn:disabled {
  opacity: .35;
  cursor: default;
}

.vc-dots {
  display: flex;
  gap: .5rem;
}

.vc-dots button {
  width: 10px;
  height: 10px;

  padding: 0;

  border: 0;
  border-radius: 999px;

  background: var(--brote);

  cursor: pointer;

  transition:
    width .3s,
    background-color .3s;
}

.vc-dots button.active {
  width: 28px;
  background: var(--pasto);
}

.vc-hint {
  margin: .9rem 0 0;

  text-align: center;

  font-size: .92rem;
  color: var(--tinta-suave);
}

.video-carousel.single .vc-nav,
.video-carousel.single .vc-hint {
  display: none;
}


/* ==========================================================================
   TRABAJOS Y PRECIOS
   ========================================================================== */

.price-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fill,
      minmax(
        min(100%, 320px),
        1fr
      )
    );

  gap: 1.8rem;
}

.price-card {
  display: flex;
  flex-direction: column;

  background: #fff;

  box-shadow: var(--shadow);

  overflow: hidden;

  transition:
    transform .4s cubic-bezier(.2, .8, .2, 1),
    box-shadow .4s;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-up);
}

.price-card.featured {
  background: var(--brote);
}

.pc-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pc-media img {
  transition:
    transform .9s cubic-bezier(.2, .8, .2, 1);
}

.price-card:hover .pc-media img {
  transform: scale(1.07);
}

.price-card:nth-child(2) .ph {
  background:
    linear-gradient(
      160deg,
      #F1F8E4,
      #CFE7A8
    );
}

.price-card:nth-child(3) .ph {
  background:
    linear-gradient(
      160deg,
      #EEF6EF,
      #B9D9BD
    );
}

.price-card:nth-child(4) .ph {
  background:
    linear-gradient(
      160deg,
      #F4FBF4,
      #A8DCAB
    );
}

.price-card:nth-child(5) .ph {
  background:
    linear-gradient(
      160deg,
      #FDF1F3,
      #F3CDD5
    );
}

.price-card:nth-child(6) .ph {
  background:
    linear-gradient(
      160deg,
      #E8F5EE,
      #9FD3B2
    );
}

.price-card.featured .ph {
  background:
    linear-gradient(
      160deg,
      #F4FBF4,
      #D8EFD9
    );
}

.pc-body {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: 1.6rem 1.7rem 1.8rem;
}

.pc-body h3 {
  margin-bottom: .5rem;
}

.pc-body p {
  color: var(--tinta-suave);
  font-size: 1rem;
}

.featured .pc-body p {
  color: var(--tinta);
}

.pc-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem;

  margin: auto 0 1.2rem;
  padding-top: .4rem;
}

.pc-price small {
  font-weight: 600;
  color: var(--tinta-suave);
}

.pc-price strong {
  font-family: var(--font-display);

  font-size: 2.1rem;
  font-weight: 800;

  letter-spacing: -0.02em;

  color: var(--pasto);

  line-height: 1;
}

.pc-price span {
  color: var(--tinta-suave);
}

.featured .pc-price strong {
  color: var(--tinta);
}

.featured .pc-price small,
.featured .pc-price span {
  color: var(--tinta);
}

.price-note {
  margin: 1.8rem 0 0;

  font-size: .95rem;
  color: var(--tinta-suave);
}


/* ==========================================================================
   ANTES Y DESPUÉS
   ========================================================================== */

.ba {
  --pos: 50%;

  position: relative;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: var(--r-leaf);

  box-shadow: var(--shadow-up);

  user-select: none;
  -webkit-user-select: none;

  background: #ddd;
}

.ba-layer {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}

.ba-after {
  z-index: 1;
}

.ba-before {
  z-index: 2;

  clip-path:
    inset(
      0
      calc(100% - var(--pos))
      0
      0
    );
}

.ba-layer img {
  position: absolute;
  inset: 0;
  z-index: 1;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.ba-layer .ph {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ba .ph-after {
  background:
    linear-gradient(
      160deg,
      #CDEBCF,
      #5FAE66
    );

  color: #fff;

  --vein: #CDEBCF;
}

.ba .ph-after span {
  color: #fff;
}

.ba .ph-before {
  background:
    linear-gradient(
      160deg,
      #E6DDBC,
      #B9A776
    );

  color: #6b5a2b;

  --vein: #E6DDBC;
}

.ba .ph-before span {
  color: #4d4120;
}

.ba-label {
  position: absolute;

  top: 1.2rem;

  z-index: 6;

  padding: .4rem 1rem;

  border-radius: 999px;

  font-weight: 700;
  font-size: .95rem;

  background: rgba(255, 255, 255, .92);
  color: var(--tinta);

  pointer-events: none;
}

.ba-label-before {
  left: 1.6rem;
}

.ba-label-after {
  right: 1.6rem;
}

.ba-handle {
  position: absolute;

  top: 0;
  bottom: 0;
  left: var(--pos);

  z-index: 7;

  width: 3px;

  background: #fff;

  transform: translateX(-50%);

  pointer-events: none;

  box-shadow:
    0 0 14px rgba(0, 0, 0, .25);
}

.knob {
  position: absolute;

  top: 50%;
  left: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 2px;

  width: 58px;
  height: 58px;

  background: #fff;
  color: var(--pasto);

  border-radius: 50%;

  transform: translate(-50%, -50%);

  box-shadow:
    0 8px 22px rgba(22, 50, 31, .35);
}

.knob .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2.6;
}

.ba input[type="range"] {
  position: absolute;

  inset: 0;
  z-index: 10;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  opacity: 0;

  cursor: ew-resize;

  touch-action: pan-y;
}

.ba:has(input:focus-visible) {
  outline: 3px solid var(--tinta);
  outline-offset: 4px;
}


/* ==========================================================================
   CÓMO TRABAJAMOS
   ========================================================================== */

.steps {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 1.5rem;

  list-style: none;
}

.step {
  position: relative;

  padding: 2rem 1.5rem;

  background: #fff;

  border: 1px solid var(--rocio);

  border-radius: 24px;

  box-shadow: var(--shadow);
}

.step .n {
  display: grid;
  place-items: center;

  width: 48px;
  height: 48px;

  margin-bottom: 1.3rem;

  background: var(--brote);
  color: var(--tinta);

  border-radius: 50% 10px 50% 10px;

  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.step h3 {
  margin-bottom: .6rem;
}

.step p {
  margin: 0;
  color: var(--tinta-suave);
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  max-width: 900px;
}

.faq details {
  border-bottom: 1px solid #cfe6d1;
}

.faq summary {
  position: relative;

  padding: 1.3rem 2.8rem 1.3rem 0;

  cursor: pointer;

  list-style: none;

  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

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

.faq summary::after {
  content: "+";

  position: absolute;
  right: .2rem;
  top: 50%;

  transform: translateY(-50%);

  font-size: 1.6rem;
  font-weight: 400;

  color: var(--pasto);

  transition: transform .25s;
}

.faq details[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 2rem 1.2rem 0;

  color: var(--tinta-suave);
}

.faq-body p {
  margin: 0;
}


/* ==========================================================================
   CONTACTO
   ========================================================================== */

.contact {
  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 2rem;

  padding: clamp(2rem, 5vw, 4rem);

  background: var(--brote);

  box-shadow: var(--shadow);
}

.contact-leaf {
  width: 64px;
  height: 64px;

  color: var(--pasto);
}

.contact-copy h2 {
  margin-bottom: .5rem;
}

.contact-copy p {
  margin: 0;
  max-width: 600px;
}

.contact-actions {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: .7rem;
}

.phone {
  margin: 0;

  font-weight: 700;
  color: var(--tinta);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 4rem 0 1.5rem;

  background: var(--tinta);
  color: #fff;
}

.foot-grid {
  display: grid;

  grid-template-columns:
    1fr
    auto;

  align-items: center;

  gap: 2rem;
}

.logo-light {
  color: #fff;
}

.foot-tag {
  margin: .6rem 0 0;

  color: #bdd2c1;
}

.foot-links {
  display: flex;

  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 1.4rem;

  font-weight: 600;
}

.foot-links a {
  transition: color .2s;
}

.foot-links a:hover {
  color: var(--brote);
}

.foot-copy {
  margin-top: 3rem;

  padding-top: 1.2rem;

  border-top: 1px solid rgba(255,255,255,.12);

  color: #9eb6a3;

  font-size: .9rem;
}


/* ==========================================================================
   BOTONES FLOTANTES
   ========================================================================== */

.float-stack {
  position: fixed;

  right: 1.4rem;
  bottom: 1.4rem;

  z-index: 40;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: .8rem;
}

.fab {
  display: grid;
  place-items: center;

  width: 56px;
  height: 56px;

  border-radius: 50%;

  box-shadow:
    0 12px 28px rgba(22, 50, 31, .25);

  transition:
    transform .25s,
    box-shadow .25s;
}

.fab:hover {
  transform: translateY(-4px) scale(1.04);

  box-shadow:
    0 16px 32px rgba(22, 50, 31, .3);
}

.fab .icon,
.fab .icon-fill {
  width: 26px;
  height: 26px;
}

.fab-ig {
  background: #fff;
  color: #111;
}

.fab-wa {
  background: var(--wa);
  color: #05301a;
}

.wa-wrap {
  position: relative;
}

.wa-tip {
  position: absolute;

  right: calc(100% + .8rem);
  bottom: 50%;

  width: max-content;
  max-width: 230px;

  padding: .65rem .9rem;

  background: #fff;

  border-radius: 12px;

  box-shadow:
    0 10px 28px rgba(22, 50, 31, .2);

  font-size: .88rem;
  font-weight: 600;

  opacity: 0;
  visibility: hidden;

  transform:
    translateY(50%)
    translateX(8px);

  transition:
    opacity .3s,
    transform .3s,
    visibility .3s;
}

.wa-tip.show {
  opacity: 1;
  visibility: visible;

  transform:
    translateY(50%)
    translateX(0);
}


/* ==========================================================================
   ANIMACIONES DE REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0;

  transform:
    translateY(30px);
}

[data-reveal].in {
  animation:
    reveal-in .75s cubic-bezier(.2, .8, .2, 1)
    calc(var(--i) * .08s) both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1100px) {

  .wrap {
    width: min(100% - 2rem, var(--wrap));
  }

  .nav {
    gap: 1rem;
  }

  .nav a:not(.btn) {
    font-size: .95rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .card-about {
    gap: 2.5rem;
  }

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

}


/* ==========================================================================
   TABLET / CELULAR GRANDE
   ========================================================================== */

@media (max-width: 900px) {

  :root {
    --header-h: 68px;
  }

  .wrap {
    width: min(100% - 2rem, var(--wrap));
  }


  /* HEADER */

  .nav-toggle {
    display: block;
    z-index: 3;
  }

  .nav {
    position: fixed;

    top: var(--header-h);
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: .8rem 1rem 1.2rem;

    background: #fff;

    border-top: 1px solid rgba(22, 50, 31, .08);

    box-shadow:
      0 18px 35px rgba(22, 50, 31, .12);

    transform: translateY(-120%);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
      transform .3s ease,
      opacity .25s ease,
      visibility .25s ease;
  }

  .nav.open {
    transform: translateY(0);

    opacity: 1;
    visibility: visible;

    pointer-events: auto;
  }

  .nav a:not(.btn) {
    display: flex;
    align-items: center;

    min-height: 50px;

    padding: .75rem .5rem;

    font-size: 1rem;

    border-bottom: 1px solid var(--rocio);
  }

  .nav a:not(.btn)::after {
    display: none;
  }

  .nav .btn {
    width: 100%;

    margin-top: .8rem;
  }


  /* HERO */

  .hero {
    min-height: auto;

    padding:
      calc(var(--header-h) + 3rem)
      0
      150px;
  }

  .hero-grid {
    grid-template-columns: 1fr;

    gap: 3rem;

    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    max-width: 700px;
  }

  .lead {
    max-width: 650px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-arch {
    justify-self: center;

    width: min(75vw, 400px);

    margin-bottom: 0;

    outline-offset: 10px;
  }


  /* SERVICIOS */

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

  .cs-side {
    padding: 2.5rem;
  }


  /* NOSOTROS */

  .card-about {
    grid-template-columns: 1fr;

    padding: 2.5rem;
  }

  .video-carousel {
    max-width: 430px;
    width: min(100%, 430px);
  }


  /* PASOS */

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


  /* CONTACTO */

  .contact {
    grid-template-columns: auto 1fr;
  }

  .contact-actions {
    grid-column: 1 / -1;

    align-items: flex-start;

    flex-direction: row;
    flex-wrap: wrap;
  }


  /* FOOTER */

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

  .foot-links {
    justify-content: flex-start;
  }

}


/* ==========================================================================
   CELULAR
   ========================================================================== */

@media (max-width: 600px) {

  :root {
    --header-h: 64px;
    --r-leaf: 38px 10px 38px 10px;
  }

  body {
    font-size: 1rem;
  }

  .wrap {
    width: calc(100% - 2rem);
  }

  .section {
    padding: 64px 0;
  }


  /* HEADER */

  .site-header {
    height: var(--header-h);
  }

  .header-in {
    gap: .5rem;
  }

  .logo {
    font-size: 1.08rem;
  }

  .logo-text {
    white-space: nowrap;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }


  /* HERO */

  .hero {
    padding:
      calc(var(--header-h) + 2.5rem)
      0
      120px;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  h3 {
    font-size: 1.3rem;
  }

  .lead {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero-actions {
    width: 100%;

    flex-direction: column;

    gap: .7rem;

    margin-top: 1.5rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-arch {
    width: min(78vw, 340px);

    aspect-ratio: 4 / 5;

    border-radius:
      170px 170px 24px 24px;

    outline-offset: 7px;
  }

  .grass {
    height: 125px;
  }


  /* SERVICIOS */

  .card-services {
    border-radius:
      38px 10px 38px 10px;
  }

  .cs-side {
    padding: 2rem 1.4rem;
  }

  .cs-side h2 {
    font-size: 2rem;
  }

  .cs-side p {
    font-size: 1rem;
  }

  .cs-side .btn {
    width: 100%;
  }

  .cs-list {
    padding: 1rem 1.2rem;
  }

  .cs-list li {
    gap: .8rem;

    padding: .9rem 0;

    font-size: 1rem;
  }

  .ico {
    width: 42px;
    height: 42px;
  }

  .ico .icon {
    width: 23px;
    height: 23px;
  }


  /* NOSOTROS */

  .card-about {
    padding: 1.5rem 1.2rem;

    gap: 2rem;

    border-radius:
      38px 10px 38px 10px;
  }

  .about-copy p {
    font-size: 1rem;
  }

  .checks {
    gap: .7rem;
  }

  .checks li {
    align-items: flex-start;

    font-size: .95rem;
  }

  .checks li span {
    width: 28px;
    height: 28px;
  }

  .video-carousel {
    width: 100%;
  }

  .video-track {
    border-radius:
      120px 120px 20px 20px;
  }

  .video-empty {
    padding:
      2rem 1rem;
  }


  /* TRABAJOS */

  .section-head {
    margin-bottom: 1.8rem;
  }

  .section-head p {
    font-size: 1rem;
  }

  .price-grid {
    grid-template-columns: 1fr;

    gap: 1.3rem;
  }

  .price-card {
    border-radius:
      30px 10px 30px 10px;
  }

  .pc-media {
    aspect-ratio: 4 / 3;
  }

  .pc-body {
    padding:
      1.35rem 1.25rem 1.4rem;
  }

  .pc-body p {
    font-size: .96rem;
  }

  .pc-price strong {
    font-size: 1.9rem;
  }

  .price-note {
    font-size: .88rem;
  }


  /* ANTES Y DESPUÉS */

  .ba {
    aspect-ratio: 4 / 3;

    border-radius:
      38px 10px 38px 10px;
  }

  .ba-label {
    top: .8rem;

    padding: .3rem .7rem;

    font-size: .78rem;
  }

  .ba-label-before {
    left: .8rem;
  }

  .ba-label-after {
    right: .8rem;
  }

  .knob {
    width: 50px;
    height: 50px;
  }

  .knob .icon {
    width: 15px;
    height: 15px;
  }


  /* PASOS */

  .steps {
    grid-template-columns: 1fr;

    gap: 1rem;
  }

  .step {
    padding: 1.4rem;

    border-radius: 22px;
  }


  /* FAQ */

  .faq summary {
    padding:
      1.15rem 2.3rem
      1.15rem 0;

    font-size: 1rem;
  }

  .faq-body {
    padding:
      0 0 1rem;

    font-size: .95rem;
  }


  /* CONTACTO */

  .contact {
    display: flex;
    flex-direction: column;

    align-items: stretch;

    gap: 1.3rem;

    padding: 2rem 1.3rem;

    text-align: center;

    border-radius:
      38px 10px 38px 10px;
  }

  .contact-leaf {
    width: 52px;
    height: 52px;

    margin-inline: auto;
  }

  .contact-copy h2 {
    font-size: 1.9rem;
  }

  .contact-copy p {
    font-size: .98rem;
  }

  .contact-actions {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    width: 100%;

    gap: .7rem;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .phone {
    text-align: center;

    font-size: .95rem;
  }


  /* FOOTER */

  .site-footer {
    padding:
      3rem 0 1.3rem;
  }

  .foot-grid {
    gap: 1.5rem;
  }

  .foot-links {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: .8rem;

    font-size: .9rem;
  }

  .foot-copy {
    margin-top: 2rem;

    font-size: .78rem;
  }


  /* BOTONES FLOTANTES */

  .float-stack {
    right: .8rem;
    bottom: .8rem;

    gap: .6rem;
  }

  .fab {
    width: 50px;
    height: 50px;
  }

  .fab .icon,
  .fab .icon-fill {
    width: 23px;
    height: 23px;
  }

  .wa-tip {
    right: calc(100% + .6rem);

    max-width: 190px;

    font-size: .78rem;
  }


  /* DESACTIVAR EFECTOS QUE MOLESTAN EN CELULAR */

  .price-card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  .price-card:hover .pc-media img {
    transform: none;
  }

  .cs-list li:hover {
    transform: none;
  }

}


/* ==========================================================================
   CELULARES MUY CHICOS
   ========================================================================== */

@media (max-width: 380px) {

  .wrap {
    width: calc(100% - 1.4rem);
  }

  .logo {
    font-size: 1rem;
  }

  .hero {
    padding-bottom: 105px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-arch {
    width: 82vw;
  }

  .cs-side {
    padding: 1.7rem 1.1rem;
  }

  .cs-list {
    padding-inline: .9rem;
  }

  .pc-body {
    padding-inline: 1rem;
  }

  .contact {
    padding-inline: 1rem;
  }

  .foot-links {
    grid-template-columns: 1fr;
  }

}


/* ==========================================================================
   REDUCIR MOVIMIENTO
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}