@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --forest: #0b2e20;
  --forest-2: #143d2c;
  --olive: #4f7048;
  --sage: #8fac79;
  --cream: #f7f4ec;
  --bone: #e8e4d8;
  --white: #ffffff;
  --ink: #1e2a23;
  --muted: #667169;
  --line: rgba(11, 46, 32, .13);
  --shadow: 0 22px 60px rgba(11, 46, 32, .14);
  --radius: 24px;
  --max: 1220px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(91%, var(--max));
  margin-inline: auto;
}

.section { padding: 118px 0; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -.04em;
}

h2 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -.035em;
}

h3 { font-size: 1.55rem; }

p { max-width: 68ch; }

.eyebrow {
  margin-bottom: 18px;
  color: var(--olive);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.light { color: #c9d9b7; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  color: var(--white);
  background: var(--olive);
  font-weight: 700;
  transition: .25s ease;
  box-shadow: 0 12px 30px rgba(11, 46, 32, .16);
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--forest);
  border-color: var(--forest);
}

.btn-small { min-height: 44px; padding: 10px 20px; font-size: .9rem; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.75); }
.btn-outline:hover { color: var(--forest); background: white; border-color: white; }
.btn-light { color: var(--forest); background: var(--bone); border-color: var(--bone); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  transition: .3s ease;
}

.site-header.scrolled {
  background: rgba(247,244,236,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(11,46,32,.07);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 185px;
  height: 72px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: .88rem;
  font-weight: 700;
}

.site-header:not(.scrolled) .main-nav a { color: white; }
.site-header:not(.scrolled) .header-phone { background: rgba(79,112,72,.92); }
.main-nav a:hover { color: var(--sage); }

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 6px 0;
  background: var(--forest);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(5,30,20,.96) 0%, rgba(5,30,20,.80) 42%, rgba(5,30,20,.20) 78%),
    url("imagenes/hero.webp") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 20%, rgba(255,255,255,.13), transparent 35%),
    linear-gradient(180deg, transparent 55%, rgba(4,22,15,.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 100px;
}

.hero h1 span { color: #99bd75; }

.hero-copy {
  max-width: 650px;
  margin: 28px 0 36px;
  color: rgba(255,255,255,.86);
  font-size: 1.08rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 25px;
  z-index: 3;
  transform: translateX(-50%);
  color: white;
  font-size: 1.8rem;
  animation: bob 1.8s infinite;
}

@keyframes bob {
  0%,100% { transform: translate(-50%,0); }
  50% { transform: translate(-50%,8px); }
}

/* Intro */
.intro { background: var(--cream); }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.intro-copy h2 { margin-bottom: 24px; }
.intro-copy p { margin-bottom: 18px; color: var(--muted); }

.text-link {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 5px;
  color: var(--forest);
  font-weight: 800;
  border-bottom: 2px solid var(--sage);
}

.intro-image { position: relative; }
.intro-image::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 58%;
  height: 58%;
  border: 1px solid rgba(11,46,32,.25);
  border-radius: var(--radius);
}
.intro-image img {
  position: relative;
  min-height: 540px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Services */
.services { background: white; }

.section-heading {
  max-width: 790px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-heading h2 { margin-bottom: 18px; }
.section-heading p:last-child { margin-inline: auto; color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 285px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition: .28s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-7px);
  color: white;
  background: var(--forest);
  box-shadow: var(--shadow);
}

.service-number {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--olive);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.service-card h3 { margin-bottom: 15px; }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-number { color: white; }

.image-card { padding: 0; background: var(--forest); color: white; }
.image-card img { height: 140px; object-fit: cover; }
.image-card div { padding: 24px 30px 28px; }
.image-card .service-number { margin-bottom: 12px; color: #bfd49f; }
.image-card p { color: rgba(255,255,255,.75); }

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--forest);
}

.about-image img {
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.about-copy {
  padding: clamp(70px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.about-copy h2 { margin-bottom: 26px; color: white; }
.about-copy > p:not(.eyebrow) { color: rgba(255,255,255,.76); }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 34px;
}

.values div {
  padding-top: 16px;
  text-align: center;
  border-top: 2px solid var(--sage);
}

.values strong,
.values span { display: block; }
.values span { color: rgba(255,255,255,.65); font-size: .78rem; }

/* Gallery */
.gallery { background: #f1ede3; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-auto-rows: 260px;
  gap: 20px;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(11,46,32,.10);
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-large { grid-row: span 2; }
.gallery-wide { grid-column: 2; }

/* Process */
.process { background: var(--cream); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.process-grid article {
  padding: 25px 16px;
  text-align: center;
}

.process-grid span {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--forest);
  font-weight: 800;
}

.process-grid h3 { margin-bottom: 10px; }
.process-grid p { color: var(--muted); font-size: .9rem; }

/* Contact */
.contact {
  padding: 78px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(5,30,20,.96), rgba(5,30,20,.82)),
    url("imagenes/jardin-servicio.webp") center / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 45px;
}

.contact h2 { margin-bottom: 12px; color: white; }
.contact p { color: rgba(255,255,255,.74); }

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-data a:hover { color: #afd389; }

/* Footer */
.footer { background: var(--cream); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 60px;
  padding: 62px 0;
}

.footer-brand img {
  width: 220px;
  height: 100px;
  object-fit: contain;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer h3 {
  margin-bottom: 10px;
  font-family: "Inter", Arial, sans-serif;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

.footer-bottom {
  padding: 18px 0;
  color: rgba(255,255,255,.66);
  background: var(--forest);
  font-size: .82rem;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 190;
  padding: 14px 20px;
  border-radius: 999px;
  color: white;
  background: #1f9d5a;
  font-weight: 800;
  box-shadow: var(--shadow);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .main-nav {
    position: fixed;
    inset: 92px 0 auto 0;
    display: none;
    padding: 24px 5%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open { display: flex; }
  .main-nav a,
  .site-header:not(.scrolled) .main-nav a { color: var(--ink); }
  .menu-toggle { display: block; }
  .header-phone { display: none; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-image img { min-height: 480px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; text-align: center; }
  .contact-data { align-items: center; }
}

@media (max-width: 760px) {
  .section { padding: 82px 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-image { order: -1; }
  .intro-image img { min-height: 380px; }
  .service-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-large, .gallery-wide { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 78px; }
  .brand img { width: 150px; height: 60px; }
  .main-nav { inset: 78px 0 auto 0; }

  .hero {
    min-height: auto;
    text-align: center;
    background-position: 62% center;
  }

  .hero-content { padding: 130px 0 95px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .about-copy { padding: 65px 7%; }
  .process-grid { grid-template-columns: 1fr; }
  .contact { padding: 62px 0; }
  .whatsapp { right: 12px; bottom: 12px; padding: 12px 16px; font-size: .82rem; }
}
