/* Jardinería VerdeOliva — landing editorial con secciones */
:root {
  color-scheme: light;
  --ink: #1b2e23;
  --olive: #2d6a4f;
  --deep: #173b2b;
  --cream: #f8f8f1;
  --paper: #fffef9;
  --mist: #edf1e9;
  --muted: #53645a;
  --line: #d7dfd3;
  --warm: #f2ecdc;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

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

html {
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
}

:focus-visible {
  outline: 3px solid #a64d1d;
  outline-offset: 4px;
}

a {
  color: inherit;
}

.demo-ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  margin: 0;
  padding: 0.35rem 1rem;
  background: var(--deep);
  color: #f8f8f1;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-align: center;
}

.demo-ribbon strong {
  color: #c9dcaa;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-shell {
  width: min(100% - 3rem, 1320px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(215, 223, 211, 0.9);
  background: rgba(248, 248, 241, 0.96);
  box-shadow: 0 8px 22px rgba(27, 46, 35, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--deep);
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-category {
  align-self: flex-end;
  margin: 0 0 0.2rem 0.05rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #344a3a;
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover {
  color: #8a4b22;
}

.brand-location {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(540px, 68svh, 710px);
  align-items: center;
  overflow: hidden;
  border-radius: 22px;
  background: #243b2c;
  color: #fffef9;
  box-shadow: 0 22px 56px rgba(27, 46, 35, 0.14);
}

.hero-image,
.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 54%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 28, 20, 0.76) 0%, rgba(15, 34, 23, 0.66) 34%, rgba(15, 34, 23, 0.25) 62%, rgba(15, 34, 23, 0.02) 100%),
    linear-gradient(0deg, rgba(10, 26, 18, 0.28) 0%, transparent 38%);
}

.hero-copy {
  width: min(670px, 62%);
  padding: clamp(2rem, 6.5vw, 5.5rem);
}

.hero-kicker,
.section-kicker {
  margin: 0 0 1.1rem;
  color: #edf2e4;
  font-size: 0.73rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.kicker-line {
  width: 28px;
  height: 1px;
  flex: none;
  background: #d6dfc5;
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  color: #fffef9;
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 5.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-description {
  max-width: 39ch;
  margin: 1.3rem 0 1.7rem;
  color: rgba(255, 254, 249, 0.92);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 0.8rem 1.25rem 0.8rem 1.45rem;
  border: 1px solid rgba(255, 254, 249, 0.8);
  border-radius: 3px;
  background: var(--warm);
  color: var(--deep);
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: #fffef9;
}

.hero-cta span {
  font-size: 1.05rem;
  line-height: 1;
}

.hero-footnote {
  margin: 0.85rem 0 0;
  color: rgba(255, 254, 249, 0.83);
  font-size: 0.82rem;
}

.image-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.7rem;
  margin: 0;
  color: rgba(255, 254, 249, 0.8);
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.section-inner {
  width: min(100% - 3rem, 1160px);
  margin-inline: auto;
}

.services-section,
.about-section,
.contact-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--olive);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 3rem;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--deep);
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.2vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}

.section-heading > p:last-child,
.about-copy > p:not(.section-kicker),
.contact-copy > p:not(.section-kicker) {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.section-heading > p:last-child {
  margin: 1rem 0 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #c9d3c5;
  border-bottom: 1px solid #c9d3c5;
}

.service-item {
  min-height: 220px;
  padding: 1.35rem 1.35rem 1.7rem 0;
}

.service-item + .service-item {
  padding-left: 1.35rem;
  border-left: 1px solid #c9d3c5;
}

.service-number {
  color: #8a9a82;
  font-family: var(--font-serif);
  font-size: 1rem;
}

.service-item h3 {
  max-width: 18ch;
  margin: 1.4rem 0 0.65rem;
  color: var(--deep);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.service-item p {
  max-width: 31ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.about-section {
  background: var(--mist);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.about-copy h2 {
  max-width: 13ch;
}

.about-copy > p:not(.section-kicker) {
  margin: 1.1rem 0 0;
}

.about-note {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--deep);
  color: #f6f6ee;
}

.note-label {
  margin: 0 0 1.15rem;
  color: #d2dfbf;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-note ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-note li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fffef9;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.35;
}

.fiction-note {
  margin: 1rem 0 0;
  color: #d2dfbf;
  font-size: 0.72rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.contact-copy h2 {
  max-width: 11ch;
}

.contact-copy > p:not(.section-kicker) {
  margin: 1.1rem 0 0;
}

.contact-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.contact-card-label {
  margin: 0 0 1.1rem;
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card > p:not(.contact-card-label, .contact-disclaimer) {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.contact-card > p strong {
  color: var(--deep);
  font-size: 0.8rem;
}

.contact-card > p span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-card .contact-disclaimer {
  margin: 1rem 0 0;
  color: #637066;
  font-size: 0.77rem;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.15rem max(1.5rem, calc((100% - 1160px) / 2)) 1.35rem;
  background: var(--deep);
  color: #f2f3eb;
  font-size: 0.72rem;
}

@media (max-width: 960px) {
  .site-header {
    gap: 1rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .brand-location {
    display: none;
  }

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

  .service-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #c9d3c5;
  }

  .service-item:nth-child(4) {
    border-top: 1px solid #c9d3c5;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 1.5rem, 1320px);
  }

  .site-header {
    min-height: 70px;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 0.2rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-category {
    font-size: 0.63rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    min-height: 40px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 560px;
    border-radius: 16px;
  }

  .hero-image {
    object-position: 28% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 28, 20, 0.82) 0%, rgba(15, 34, 23, 0.66) 56%, rgba(15, 34, 23, 0.28) 100%),
      linear-gradient(0deg, rgba(10, 26, 18, 0.48) 0%, transparent 70%);
  }

  .hero-copy {
    width: 100%;
    padding: 2rem clamp(1.25rem, 6vw, 2rem) 2.5rem;
  }

  .hero-kicker {
    max-width: 29ch;
    margin-bottom: 1.1rem;
    font-size: 0.69rem;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 10vw, 4rem);
    line-height: 1.01;
  }

  .hero-description {
    max-width: 31ch;
    margin: 1.1rem 0 1.35rem;
    font-size: 1rem;
  }

  .section-inner {
    width: min(100% - 1.5rem, 1160px);
  }

  .services-section,
  .about-section,
  .contact-section {
    padding-block: 4rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.15rem, 8vw, 3.1rem);
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-item {
    min-height: 0;
    padding: 1.1rem 1rem 1.2rem 0;
  }

  .service-item + .service-item {
    padding-left: 1rem;
  }

  .service-item:nth-child(3) {
    padding-left: 0;
  }

  .service-item h3 {
    margin-top: 0.9rem;
    font-size: 1.26rem;
  }

  .service-item p {
    font-size: 0.83rem;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.4rem;
    padding-inline: 1rem;
  }
}

@media (max-width: 420px) {
  .page-shell {
    width: min(100% - 1.25rem, 1320px);
  }

  .brand {
    gap: 0.35rem;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-category {
    display: none;
  }

  .demo-ribbon {
    gap: 0.35rem;
    font-size: 0.64rem;
  }

  .hero {
    min-height: 540px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 10.5vw, 3.2rem);
  }

  .hero-copy {
    padding-inline: 1.1rem;
  }

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

  .service-item,
  .service-item + .service-item,
  .service-item:nth-child(3),
  .service-item:nth-child(4) {
    padding: 1.1rem 0;
    border-top: 1px solid #c9d3c5;
    border-left: 0;
  }

  .service-item:first-child {
    border-top: 0;
  }
}

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

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