/* =====================================================================
   PEREZ LANDSCAPING HARDSCAPING — Core Stylesheet
   Palette: Green · Brown · White  |  Modern, 3D, immersive
   ===================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand colors */
  --green:        #2f7d32;
  --green-dark:   #1b5e20;
  --green-deep:   #0f3d16;
  --green-light:  #66bb6a;
  --green-glow:   #8bc34a;

  --brown:        #5d3a1a;
  --brown-mid:    #7a4d26;
  --brown-light:  #a9773f;
  --brown-soft:   #c9a884;

  --white:        #ffffff;
  --cream:        #f7f4ee;
  --cream-2:      #efe9df;
  --sand:         #e7dccb;

  --ink:          #1f2a1c;
  --ink-soft:     #40483b;
  --muted:        #6d7568;

  /* Functional */
  --bg:           #ffffff;
  --card:         #ffffff;
  --line:         rgba(93, 58, 26, .14);

  /* Gradients */
  --grad-green:   linear-gradient(135deg, #2f7d32 0%, #1b5e20 55%, #0f3d16 100%);
  --grad-brown:   linear-gradient(135deg, #7a4d26 0%, #5d3a1a 100%);
  --grad-hero:    linear-gradient(120deg, rgba(15,61,22,.86) 0%, rgba(27,94,32,.55) 45%, rgba(93,58,26,.72) 100%);
  --grad-earth:   linear-gradient(135deg, #1b5e20 0%, #2f7d32 40%, #5d3a1a 100%);

  /* Shadows (layered for depth) */
  --sh-sm:  0 2px 6px rgba(31,42,28,.08);
  --sh-md:  0 10px 30px rgba(31,42,28,.12);
  --sh-lg:  0 24px 60px rgba(31,42,28,.18);
  --sh-green: 0 18px 40px rgba(27,94,32,.28);
  --sh-brown: 0 18px 40px rgba(93,58,26,.28);

  /* Type */
  --f-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Metrics */
  --nav-h: 124px;
  --container: 1200px;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-back: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { font-family: var(--f-head); line-height: 1.12; font-weight: 700; color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; border-radius: 6px; }

/* ---------- 3. Layout helpers ---------- */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section--tint { background: var(--cream); }
.section--dark { background: var(--grad-green); color: #eaf3ea; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--brown-light); display: inline-block; }
.section--dark .eyebrow { color: var(--green-glow); }

.h-title { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
.h-title .accent { color: var(--green); }
.section--dark .h-title .accent { color: var(--green-glow); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 62ch; }
.section--dark .lead { color: #cfe3cf; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- 4. Buttons (3D press) ---------- */
.btn {
  --btn-bg: var(--grad-green);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.8rem;
  font-family: var(--f-head); font-weight: 600; font-size: .98rem;
  color: var(--btn-fg); background: var(--btn-bg);
  border-radius: 999px;
  box-shadow: var(--sh-green), inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(0);
  transition: transform .25s var(--ease-back), box-shadow .25s var(--ease), filter .25s;
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-4px); filter: saturate(1.08); box-shadow: 0 26px 50px rgba(27,94,32,.36), inset 0 1px 0 rgba(255,255,255,.3); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn--brown { --btn-bg: var(--grad-brown); box-shadow: var(--sh-brown), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--ghost {
  --btn-fg: #fff; background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.55); box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.2); box-shadow: none; }
.btn--outline {
  --btn-fg: var(--green-dark); background: #fff;
  border: 1.5px solid var(--line); box-shadow: var(--sh-sm);
}
.btn--outline:hover { box-shadow: var(--sh-md); }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* ---------- 5. Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: height .3s var(--ease), background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav__inner { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav.scrolled {
  height: 100px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 6px 26px rgba(31,42,28,.10);
  border-bottom: 1px solid rgba(93,58,26,.08);
}
.nav__logo { display: flex; align-items: center; gap: .7rem; z-index: 2; }
.nav__logo img { height: 110px; width: auto; transition: height .3s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,0,0,.12)); }
.nav.scrolled .nav__logo img { height: 84px; }
/* readability scrim behind the transparent (hero) navbar */
.nav:not(.scrolled)::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; background: linear-gradient(180deg, rgba(15,25,15,.42), transparent); pointer-events: none; z-index: -1; }
/* logo text visibility over transparent (hero) header */
.nav:not(.scrolled) .nav__link { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.nav:not(.scrolled) .nav__logo { filter: none; }
.nav:not(.scrolled) .lang-switch { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.45); }
.nav:not(.scrolled) .lang-switch__opt { color: rgba(255,255,255,.9); }
.nav:not(.scrolled) .lang-switch__opt.active { color: #fff; }
.nav:not(.scrolled) .lang-switch__opt:not(.active):hover { color: #fff; }
.nav:not(.scrolled) .nav__burger span { background: #fff; }

.nav__menu { display: flex; align-items: center; gap: .35rem; }
.nav__link {
  position: relative; font-family: var(--f-head); font-weight: 500; font-size: .96rem;
  color: var(--ink); padding: .5rem .9rem; border-radius: 10px; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: .28rem; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--green); border-radius: 2px; transition: width .28s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { width: 42%; }
.nav:not(.scrolled) .nav__link::after { background: var(--green-glow); }
.nav__link.active { color: var(--green); }
.nav:not(.scrolled) .nav__link.active { color: #fff; }

.nav__right { display: flex; align-items: center; gap: .8rem; }
/* Language switch (sliding EN / ES) */
.lang-switch { position: relative; display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: rgba(93,58,26,.07); border: 1.5px solid var(--line); user-select: none; }
.lang-switch__opt { position: relative; z-index: 2; flex: 1 0 auto; min-width: 40px; text-align: center; font-family: var(--f-head); font-weight: 700; font-size: .8rem; letter-spacing: .04em; padding: .34rem .62rem; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; transition: color .28s var(--ease); }
.lang-switch__opt.active { color: #fff; }
.lang-switch__opt:not(.active):hover { color: var(--green-dark); }
.lang-switch__knob { position: absolute; z-index: 1; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--grad-green); box-shadow: 0 2px 8px rgba(27,94,32,.35); transform: translateX(0); transition: transform .32s var(--ease-back); }

.nav__cta { display: inline-flex; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px; justify-content: center; z-index: 2; }
.nav__burger span { display: block; height: 2.6px; width: 100%; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), opacity .2s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,8,.55) 0%, rgba(8,10,8,.44) 35%, rgba(8,10,8,.82) 100%); }
.hero__glow { position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,195,74,.28), transparent 68%); filter: blur(30px);
  top: -10%; right: -8%; pointer-events: none; animation: float 14s ease-in-out infinite; }
.hero__inner { color: #fff; padding-top: var(--nav-h); max-width: 780px; }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.03em; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.hero__title .hl { color: var(--green-glow); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: #e9f2e6; margin: 1.4rem 0 2.2rem; max-width: 56ch; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 3rem; }
.hero__badge { display: flex; align-items: center; gap: .7rem; color: #eef4ec; font-weight: 500; }
.hero__badge svg { width: 26px; height: 26px; color: var(--green-glow); flex: none; }
.hero__badge b { font-family: var(--f-head); font-size: 1.35rem; display: block; line-height: 1; }
.hero__badge small { font-size: .8rem; opacity: .85; }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); color: #fff; opacity: .8; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll .mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 3px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* Page hero (interior, lighter) */
.phero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,8,.58) 0%, rgba(8,10,8,.50) 40%, rgba(8,10,8,.86) 100%); }
.phero__inner { color: #fff; padding: 0 0 clamp(2.4rem, 5vw, 4rem); padding-top: var(--nav-h); }
.phero__title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.02em; text-shadow: 0 6px 24px rgba(0,0,0,.45); }
.phero__crumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: #d8e6d6; margin-bottom: 1rem; font-weight: 500; }
.phero__crumb a:hover { color: #fff; }
.phero__sub { color: #e6f0e4; font-size: 1.1rem; max-width: 60ch; margin-top: .8rem; }

/* ---------- 7. Cards & grids ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.tilt { transform-style: preserve-3d; transition: transform .3s var(--ease); will-change: transform; }

.card {
  background: var(--card); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--sh-md); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-green); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(47,125,50,.14), rgba(102,187,106,.1));
  color: var(--green-dark); margin-bottom: 1.2rem; transform: translateZ(30px);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.3rem; margin-bottom: .6rem; transform: translateZ(20px); }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-family: var(--f-head); font-weight: 600; color: var(--green-dark); font-size: .92rem; }
.card__link svg { width: 1em; height: 1em; transition: transform .25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* Feature (image + text) rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--sh-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media .frame { position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--green-light); border-radius: var(--radius-lg); z-index: -1; }
.split__float {
  position: absolute; bottom: -22px; left: -22px; background: #fff; border-radius: 18px; padding: 1rem 1.3rem;
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: .9rem; border: 1px solid var(--line);
}
.split__float .n { font-family: var(--f-head); font-weight: 800; font-size: 1.8rem; color: var(--green); line-height: 1; }
.split__float small { font-size: .78rem; color: var(--muted); }

.tick { display: grid; gap: .9rem; margin: 1.6rem 0; }
.tick li { display: flex; gap: .8rem; align-items: flex-start; }
.tick li svg { width: 24px; height: 24px; color: var(--green); flex: none; margin-top: 1px; }
.tick li b { font-family: var(--f-head); }

/* ---------- 8. Stats / counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; }
.stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.section:not(.section--dark) .stat { background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.stat__n { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem); background: var(--grad-earth); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.section--dark .stat__n { background: linear-gradient(135deg,#8bc34a,#c9a884); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { font-size: .9rem; color: var(--muted); margin-top: .5rem; font-weight: 500; }
.section--dark .stat__l { color: #cfe3cf; }

/* ---------- 9. Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 2.2rem 1.4rem 1.6rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--sh-md); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -18px; left: 1.4rem; font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; color: #fff; background: var(--grad-brown); width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; box-shadow: var(--sh-brown); }
.step h4 { margin: 1rem 0 .5rem; font-size: 1.15rem; }
.step p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- 10. Services (detailed) ---------- */
.svc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-lg); background: #fff; border: 1px solid var(--line); }
.svc--rev { grid-template-columns: 1fr 1.1fr; }
.svc--rev .svc__img { order: 2; }
.svc__img { position: relative; min-height: 340px; overflow: hidden; }
.svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__img img { transform: scale(1.07); }
.svc__img .tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92); color: var(--green-dark); font-family: var(--f-head); font-weight: 700; font-size: .8rem; padding: .4rem .9rem; border-radius: 999px; box-shadow: var(--sh-sm); }
.svc__body { padding: clamp(1.8rem, 3.5vw, 3rem); }
.svc__body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .8rem; }
.svc__body h3 .accent { color: var(--green); }
.svc__body .price { display: inline-block; margin: 1rem 0; font-family: var(--f-head); font-weight: 600; color: var(--brown); font-size: .95rem; background: var(--cream); padding: .4rem 1rem; border-radius: 999px; }

/* ---------- 11. Gallery ---------- */
.gallery { columns: 4; column-gap: 1.2rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1.2rem; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--sh-md); cursor: zoom-in; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gallery__item img, .gallery__item video { width: 100%; display: block; transition: transform .6s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,61,22,.55)); opacity: 0; transition: opacity .35s; }
.gallery__item .zoom { position: absolute; inset: auto 1rem 1rem auto; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--green-dark); transform: scale(.6); opacity: 0; transition: transform .35s var(--ease-back), opacity .3s; z-index: 2; }
.gallery__item:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .zoom { transform: scale(1); opacity: 1; }
.gallery__item .badge-video { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: rgba(15,61,22,.8); color:#fff; font-size:.72rem; font-weight:600; font-family:var(--f-head); padding:.3rem .7rem; border-radius:999px; display:flex; align-items:center; gap:.35rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(10,20,10,.92); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 2rem; opacity: 0; transition: opacity .3s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox__stage { max-width: 92vw; max-height: 86vh; }
.lightbox__stage img, .lightbox__stage video { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__btn { position: fixed; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__prev { left: 1.4rem; } .lightbox__next { right: 1.4rem; }
.lightbox__close { position: fixed; top: 1.4rem; right: 1.4rem; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover { background: rgba(255,255,255,.28); }
.lightbox__count { position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--f-head); font-size: .9rem; letter-spacing: .1em; }

/* ---------- 12. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s; margin-bottom: 1rem; }
.info-card:hover { transform: translateX(6px); box-shadow: var(--sh-md); }
.info-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-green); color: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--sh-green); }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h4 { font-size: 1rem; margin-bottom: .15rem; }
.info-card a, .info-card p { color: var(--ink-soft); font-size: .95rem; }
.info-card a:hover { color: var(--green); }

.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--sh-lg); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; position: relative; }
.field label { display: block; font-family: var(--f-head); font-weight: 500; font-size: .88rem; margin-bottom: .45rem; color: var(--ink-soft); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; font-family: var(--f-body); font-size: .98rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid transparent; border-radius: 12px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(47,125,50,.12); }
.field.err input, .field.err select, .field.err textarea { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.1); }
.field .msg { font-size: .78rem; color: #c0392b; margin-top: .35rem; display: none; }
.field.err .msg { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.form__status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; font-weight: 500; display: none; }
.form__status.show { display: block; }
.form__status.ok { background: rgba(47,125,50,.12); color: var(--green-dark); border: 1px solid rgba(47,125,50,.3); }
.form__status.bad { background: rgba(192,57,43,.1); color: #922b21; border: 1px solid rgba(192,57,43,.3); }
.form__status.load { background: var(--cream); color: var(--ink-soft); }
.btn.loading { pointer-events: none; opacity: .8; }
.btn .spin { width: 1.05em; height: 1.05em; border: 2.4px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.loading .spin { display: inline-block; }
.btn.loading .btn__label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); position: relative; }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; filter: saturate(1.05); }

/* ---------- 13. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.6rem, 6vw, 4.5rem); background: var(--grad-earth); color: #fff; text-align: center; box-shadow: var(--sh-lg); isolation: isolate; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.cta-band::before { width: 320px; height: 320px; background: radial-gradient(circle, rgba(139,195,74,.35), transparent 70%); top: -120px; right: -80px; }
.cta-band::after { width: 280px; height: 280px; background: radial-gradient(circle, rgba(201,168,132,.3), transparent 70%); bottom: -120px; left: -60px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { color: #e7f2e5; max-width: 56ch; margin: 1rem auto 2rem; }
.cta-band .btn--outline { --btn-fg: var(--green-dark); }

/* ---------- 14. Footer ---------- */
.footer { background: linear-gradient(180deg, #efe7d6 0%, #ded2ba 100%); color: var(--ink-soft); padding: clamp(2.2rem,4.5vw,3.2rem) 0 0; position: relative; border-top: 4px solid var(--green); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 1.8rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); align-items: start; }
.footer__logo { display:inline-block; margin-bottom: .5rem; }
.footer__logo img { height: 152px; width: auto; margin-top: -18px; }
.footer p { font-size: .92rem; color: var(--muted); }
.footer h5 { font-family: var(--f-head); color: var(--green-dark); font-size: 1.02rem; margin-bottom: .85rem; }
.footer__links { display: grid; gap: .5rem; }
.footer__links a { font-size: .92rem; color: var(--ink-soft); transition: color .2s, padding .2s; display: inline-flex; align-items:center; gap:.5rem; }
.footer__links a::before { content: "›"; color: var(--brown-light); font-weight: 700; }
.footer__links a:hover { color: var(--green-dark); padding-left: 4px; }
.footer__contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; margin-bottom: .6rem; color: var(--ink-soft); }
.footer__contact svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 2px; }
.footer__contact a:hover { color: var(--green-dark); }
.footer__social { display: flex; gap: .6rem; margin-top: .9rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-green); display: grid; place-items: center; color: #fff; box-shadow: var(--sh-sm); transition: transform .25s var(--ease-back), box-shadow .25s; }
.footer__social a:hover { transform: translateY(-4px); box-shadow: var(--sh-green); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-size: .84rem; color: var(--muted); }
.footer__bottom a:hover { color: var(--green-dark); }
.footer__bottom .credit { color: var(--green-dark); font-weight: 600; transition: color .2s; }
.footer__bottom .credit:hover { color: var(--brown); text-decoration: underline; }

/* ---------- 15. Floating bubbles ---------- */
.floaties { position: fixed; right: 22px; bottom: 24px; z-index: 800; display: flex; flex-direction: column; gap: 14px; }
.floatie { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.22); position: relative; transition: transform .3s var(--ease-back), box-shadow .3s; }
.floatie svg { width: 32px; height: 32px; }
.floatie:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 26px rgba(0,0,0,.28); }
.floatie--wa { background: #25d366; }
.floatie--fb { background: #1877f2; }
/* single soft attention pulse on WhatsApp only */
.floatie--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.45); animation: pulse 2.8s ease-out infinite; }
.floatie__tip { position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(6px); background: var(--ink); color: #fff; font-size: .78rem; font-weight: 500; padding: .45rem .8rem; border-radius: 9px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--sh-md); }
.floatie__tip::after { content:""; position:absolute; right:-4px; top:50%; transform:translateY(-50%) rotate(45deg); width:9px; height:9px; background:var(--ink); }
.floatie:hover .floatie__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- 16. Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.9); }
[data-reveal].in { transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

/* ---------- 17. Animations ---------- */
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-26px) } }
@keyframes ripple { 0%{ transform: scale(1); opacity:.5 } 100%{ transform: scale(1.7); opacity: 0 } }
.blob { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }

/* decorative section shape */
.shape-divider { position: absolute; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 1; }
.shape-divider--bottom { bottom: -1px; }
.shape-divider svg { position: relative; display: block; width: calc(100% + 1.3px); height: 60px; }

/* ---------- 18. Toast (form / lang) ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--ink); color: #fff; padding: .9rem 1.4rem; border-radius: 12px; box-shadow: var(--sh-lg); z-index: 1300; font-size: .92rem; font-weight: 500; transition: transform .4s var(--ease-back); display: flex; align-items: center; gap: .6rem; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 20px; height: 20px; color: var(--green-glow); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .stats, .steps { grid-template-columns: repeat(2,1fr); }
  .gallery { columns: 3; }
}
@media (max-width: 880px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .3rem;
    background: #fff; padding: calc(var(--nav-h) + 1rem) 1.6rem 2rem; box-shadow: -20px 0 60px rgba(0,0,0,.2);
    transform: translateX(100%); transition: transform .38s var(--ease); z-index: 1;
  }
  .nav__menu.open { display: flex; transform: translateX(0); }
  .nav__menu .nav__link { color: var(--ink) !important; text-shadow: none !important; width: 100%; padding: .9rem .6rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__menu .nav__link::after { display: none; }
  .nav__menu .btn { width: 100%; justify-content: center; margin-top: 1rem; }
  .grid--3, .grid--2, .split, .svc, .svc--rev, .contact-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .svc--rev .svc__img { order: 0; }
  .split__float { left: 12px; }
}
@media (max-width: 640px) {
  .grid--4, .stats, .steps { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .form__row { grid-template-columns: 1fr; }
  .hero__badges { gap: 1rem 1.6rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .gallery { columns: 1; }
  .footer__top { grid-template-columns: 1fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
