:root {
  --verde: #1B5E20;
  --verde-oscuro: #15491a;
  --verde-marca: #3C503D;
  --verde-claro: #E8F5E9;
  --crema: #F4F2E0;
  --texto: #212121;
  --gris-claro: #F5F5F5;
  --borde: #D6D6D6;
  --radio: 14px;
  --sombra: 0 6px 18px rgba(33, 33, 33, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 64px 0;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  color: var(--verde-oscuro);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 0.4em;
  display: block;
}

.lead {
  font-size: 1.1rem;
  max-width: 640px;
  color: #3a3a3a;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--crema);
  border-bottom: 1px solid var(--borde);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--verde-marca);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--texto);
}

.nav-links a:hover {
  color: var(--verde);
}

.nav-links a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--verde);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a.nav-cta:hover {
  background: var(--verde-oscuro);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--verde-oscuro);
}

/* Hero */
.hero {
  position: relative;
  padding: 0;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/img/elevacion-de-copa.jpg");
  background-size: cover;
  background-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 36, 23, 0.78), rgba(21, 36, 23, 0.86));
}

.hero-content {
  position: relative;
  padding: 100px 0 90px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-content .eyebrow {
  color: #cfe9d2;
}

.hero-content h1 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  margin-bottom: 0.3em;
}

.hero-content p {
  font-size: 1.15rem;
  color: #e9f2ea;
  max-width: 560px;
  margin: 0 auto 2em;
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: #25D366;
  color: #0b2e12;
}

.btn-primary:hover {
  background: #1ebd59;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Servicios */
.servicios {
  background: var(--crema);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.servicio-card {
  background: var(--verde-claro);
  border-radius: var(--radio);
  padding: 26px 22px;
  box-shadow: var(--sombra);
}

.servicio-card .icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  display: block;
}

.servicio-card h3 {
  font-size: 1.05rem;
  color: var(--verde-oscuro);
  margin-bottom: 6px;
}

.servicio-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #3f4a3f;
}

/* Precios */
.precios {
  background: var(--verde-claro);
}

.precios-table-wrap {
  overflow-x: auto;
  margin-top: 28px;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
}

table.precios-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 560px;
}

.precios-table th,
.precios-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--borde);
  font-size: 0.95rem;
}

.precios-table thead th {
  background: var(--verde);
  color: #fff;
  font-weight: 700;
}

.precios-table tbody tr:nth-child(even) {
  background: var(--gris-claro);
}

.precios-table td.precio {
  font-weight: 700;
  color: var(--verde-oscuro);
  white-space: nowrap;
}

.precios-nota {
  margin-top: 18px;
  font-size: 0.9rem;
  color: #4a4a4a;
  max-width: 680px;
}

/* Galeria */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.galeria-grid figure {
  margin: 0;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  position: relative;
}

.galeria-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeria-grid figure:hover img {
  transform: scale(1.04);
}

.galeria-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Diferenciador */
.diferenciador {
  background: var(--verde-oscuro);
  color: #fff;
  text-align: center;
}

.diferenciador .container {
  max-width: 760px;
}

.diferenciador .eyebrow {
  color: #a8d6ac;
}

.diferenciador h2 {
  color: #fff;
}

.diferenciador p {
  font-size: 1.15rem;
  color: #e7f1e8;
}

.diferenciador .nota-extra {
  margin-top: 18px;
  font-size: 0.95rem;
  color: #cfe3d1;
}

/* Contacto */
.contacto {
  background: var(--crema);
  text-align: center;
}

.contacto .container {
  max-width: 640px;
}

.contacto-info {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.contacto-info .zona {
  color: #4a4a4a;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--verde-marca);
  color: #e9f2ea;
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* Responsive nav */
@media (max-width: 760px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--crema);
    border-bottom: 1px solid var(--borde);
    flex-direction: column;
    gap: 0;
    display: none;
    padding: 10px 20px 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 10px 0;
    border-bottom: 1px solid var(--borde);
  }

  .nav-links li:last-child {
    border-bottom: none;
    padding-top: 14px;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  section {
    padding: 48px 0;
  }

  .hero-content {
    padding: 70px 0 60px;
  }
}
