
:root {
  --bg-main: #050509;
  --bg-dark: #0c0c13;
  --bg-card: #151520;
  --bg-card-soft: #1f1f2b;
  --accent: #f4c048;
  --accent-soft: rgba(244,192,72,0.16);
  --text-main: #f7f7f7;
  --text-muted: #c3c3cf;
  --border-subtle: rgba(255,255,255,0.08);
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-soft: 0 18px 50px rgba(0,0,0,0.55);
  --shadow-soft-light: 0 10px 30px rgba(0,0,0,0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #181826 0, #050509 55%);
  color: var(--text-main);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 6vw;
  background: linear-gradient(to bottom, rgba(5,5,9,0.96), rgba(5,5,9,0.86));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-area img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(244,192,72,0.26);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.brand-name-strong {
  font-weight: 600;
  font-size: 1.02rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #ffefb5);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--text-main);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 1.3rem;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding: 2.5rem 6vw 3.5rem;
  min-height: 72vh;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(244,192,72,0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(105,92,255,0.26), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(5,5,10,0.96), rgba(5,5,10,0.65)),
    url("../img/portada-jardin.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  z-index: -2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(244,192,72,0.55);
  background: rgba(5,5,9,0.8);
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1 {
  font-size: clamp(2.3rem, 3.2vw + 1.2rem, 3.3rem);
  margin: 1rem 0 0.75rem;
  line-height: 1.05;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffe7a1);
  color: #3a2600;
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

.btn-outline {
  background: rgba(5,5,9,0.85);
  border-color: rgba(244,192,72,0.6);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(244,192,72,0.1);
}

.btn-full {
  width: 100%;
}

.hero-contact {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.hero-contact a:hover {
  text-decoration: underline;
}

.hero-media {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-video {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.14);
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Sections generics */

.section {
  padding: 3rem 6vw 3.2rem;
}

.section-dark {
  background: radial-gradient(circle at top, #161623 0, #050509 65%);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.1rem;
  text-align: center;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 2.2rem;
  align-items: center;
}

.text-block p {
  color: var(--text-muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
}

.check-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.75rem;
  transform: translateY(0.18rem);
}

.image-block {
  display: flex;
  justify-content: center;
}

.rounded-shadow {
  border-radius: var(--radius-xl);
  max-width: 100%;
  height: auto;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.12);
}

/* Cards / Paquetes */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.75rem;
}

.card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-soft));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft-light);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
}

.card-tag {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Galería */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-soft-light);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.gallery-item:hover {
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.05);
  box-shadow: var(--shadow-soft);
  border-color: rgba(244,192,72,0.7);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3,3,8,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 80;
  padding: 1.5rem;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(100%, 960px);
  max-height: 90vh;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.18);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(5,5,9,0.75);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Redes sociales */

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.8rem;
}

.social-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-soft));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft-light);
}

.social-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.social-header img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid var(--accent);
}

.social-card p {
  color: var(--text-muted);
}

/* Contacto */

.contact-grid {
  align-items: flex-start;
}

.contact-info {
  background: rgba(5,5,12,0.7);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.small {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-form-card {
  background: rgba(5,5,12,0.85);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem 1.7rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft-light);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.86rem;
}

input,
select,
textarea {
  background: #070710;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.55rem 0.7rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(244,192,72,0.5);
}

textarea {
  resize: vertical;
}

/* Footer */

.site-footer {
  padding: 1.6rem 6vw 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: #050509;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* WhatsApp flotante */

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.4rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #8df5b7);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 35px rgba(0,0,0,0.6);
  text-decoration: none;
  z-index: 60;
}

.whatsapp-float span {
  font-size: 1.7rem;
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
    padding-top: 2rem;
  }
  .hero-media {
    order: -1;
    justify-content: flex-start;
  }
  .hero-video {
    max-width: 100%;
  }
  .section-grid,
  .cards-grid,
  .social-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 4vw;
  }
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    padding: 0.9rem 6vw 1rem;
    background: rgba(5,5,9,0.96);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .hero {
    padding: 1.7rem 6vw 2.6rem;
    min-height: auto;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 480px) {
  .section {
    padding-inline: 5vw;
  }
  .gallery-item {
    max-height: 170px;
  }
}
