/* ═══════════════════════════════════════════════════════════
   VERDE & FLOR  –  Main Stylesheet
   Palette: whites, creams & greens  |  Fonts: Playfair + Lato
═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --green-dark:    #2D5A3D;
  --green-mid:     #4A7C59;
  --green-soft:    #6B9E78;
  --green-light:   #C8E6C9;
  --green-pale:    #E8F5E9;
  --cream:         #FAFAF5;
  --white:         #FFFFFF;
  --text-dark:     #1E2A22;
  --text-body:     #3D4C40;
  --text-muted:    #7A8C80;
  --border:        #D6E8D8;
  --shadow-sm:     0 2px 12px rgba(45,90,61,0.08);
  --shadow-md:     0 6px 28px rgba(45,90,61,0.12);
  --shadow-lg:     0 16px 50px rgba(45,90,61,0.16);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Typography helpers ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--green-dark);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo-leaf {
  color: var(--green-mid);
  font-size: 1.1rem;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.main-nav ul li a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-body);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--green-dark);
  background: var(--green-pale);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   PAGE LOADER
═══════════════════════════════════════════════════════════ */
.page-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  font-size: 3rem;
  color: var(--green-mid);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.45);
  transition: transform 0.8s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.02); }

/* Placeholder gradient when no image */
.hero-bg.no-image {
  background: linear-gradient(145deg, var(--green-dark) 0%, #1a3825 50%, #0e2218 100%);
  filter: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,34,20,0.6) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--white);
}
.hero-content .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-content h1 {
  color: var(--white);
  max-width: 680px;
  margin-bottom: 1.25rem;
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 2.25rem;
  font-weight: 300;
}

/* ─ Inner page hero (shorter) ─ */
.hero-section.hero-inner {
  min-height: 42vh;
}
.hero-inner .hero-content h1 { font-size: clamp(1.8rem, 4vw, 3rem); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-outline-green {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-mid);
}
.btn-outline-green:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════════════════ */
.section { padding: 6rem 0; }
.section-alt { background: var(--white); }
.section-green { background: var(--green-pale); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-soft));
  border-radius: 2px;
  margin: 1.25rem auto 0;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  gap: 2rem;
}
.cards-grid-2 { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card-img {
  aspect-ratio: 16 / 9;
  background: var(--green-light);
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--green-soft);
  background: var(--green-pale);
  flex-direction: column;
  gap: 0.5rem;
}
.card-img.placeholder span.ph-label {
  font-size: 0.7rem;
  font-family: 'Lato', sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 { margin-bottom: 0.65rem; }
.card-body p  { color: var(--text-muted); font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════
   HOME PAGE – ABOUT SPLIT
═══════════════════════════════════════════════════════════ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-split img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-split .img-placeholder {
  aspect-ratio: 4/3;
  background: var(--green-pale);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-soft);
  font-size: 4rem;
  gap: 0.75rem;
}
.about-split .img-placeholder span.ph-label {
  font-size: 0.72rem;
  font-family: 'Lato', sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-text .section-label { text-align: left; display: block; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════════════
   HERO CTA GROUP
═══════════════════════════════════════════════════════════ */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  justify-content: center;
}
@media (max-width: 520px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   INICIO CONTACT BAR
═══════════════════════════════════════════════════════════ */
.inicio-contact {
  background: var(--green-pale);
  padding: 3rem 0;
}
.inicio-contact-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.inicio-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.inicio-contact-item .detail-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.inicio-contact-item .detail-body strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.inicio-contact-item .detail-body span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
}
@media (max-width: 600px) {
  .inicio-contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--green-dark);
  padding: 3.5rem 0;
}
.stats-bar .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stat-item .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.4rem;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES PREVIEW (HOME)
═══════════════════════════════════════════════════════════ */
.service-preview-card {
  cursor: pointer;
  text-align: center;
}
.service-preview-card .card-body h3 { font-size: 1.2rem; }
.service-preview-card:hover h3 { color: var(--green-mid); }

/* ═══════════════════════════════════════════════════════════
   INTRO SECTION (text + optional image)
═══════════════════════════════════════════════════════════ */
.intro-section {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.intro-section h2 { margin-bottom: 1.25rem; }
.intro-section p  { color: var(--text-muted); font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════════════
   PROCESS STEPS
═══════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}
.step-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.step-item:hover { transform: translateY(-4px); }
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step-item h3 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--green-dark); }
.step-item p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ═══════════════════════════════════════════════════════════
   MAINTENANCE PLANS
═══════════════════════════════════════════════════════════ */
.plan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}
.plan-card:hover {
  border-color: var(--green-mid);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.plan-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.plan-header h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.3rem; }
.plan-frequency {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 0.2rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.plan-body { padding: 1.75rem 1.5rem; }
.plan-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.plan-features { padding: 0; }
.plan-features li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.plan-features li::before {
  content: '✓';
  color: var(--green-mid);
  font-weight: 700;
  flex-shrink: 0;
}
.plan-features li:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.detail-icon {
  width: 42px;
  height: 42px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--green-dark);
}
.detail-body strong { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
.detail-body span   { font-size: 0.95rem; color: var(--text-dark); }

/* Contact page – no hero, extra top spacing */
.contact-page {
  padding-top: 6rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 1.75rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-message {
  margin-top: 1.25rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  display: none;
}
.form-message.success { background: #E8F5E9; color: var(--green-dark); border: 1px solid var(--green-light); }
.form-message.error   { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#site-footer {
  background: var(--green-dark);
  color: var(--white);
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .site-logo,
.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.3rem;
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-contact h4,
.footer-nav h4 {
  color: var(--green-light);
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-contact p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.footer-nav ul li { margin-bottom: 0.6rem; }
.footer-nav ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 1140px;
  margin: 0 auto;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   PAGE TRANSITION
═══════════════════════════════════════════════════════════ */
.page-enter {
  animation: fadeInUp 0.45s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .cards-grid-2 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1rem;
  }
  .main-nav ul li a {
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    border-radius: var(--radius);
  }

  .hero-section { min-height: 70vh; }
  .hero-section.hero-inner { min-height: 35vh; }

  .about-split,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-split img { order: -1; }

  .cards-grid-2,
  .cards-grid-3,
  .cards-grid-4 { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }

  .form-row { grid-template-columns: 1fr; }

  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 1.25rem; }
  .container    { padding: 0 1.25rem; }
  .hero-content { padding: 0 1.25rem; }
  .contact-form { padding: 1.75rem 1.25rem; }
}


/* -----------------------------------------------------------
   HORIZONTAL & ZIG-ZAG LAYOUTS
----------------------------------------------------------- */
.cards-grid-horizontal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.card-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.card-horizontal .card-img {
  flex: 0 0 40%;
  aspect-ratio: 4 / 3;
}
.card-horizontal .card-body {
  flex: 1;
  padding: 2rem;
}
@media (max-width: 768px) {
  .card-horizontal { flex-direction: column; }
  .card-horizontal .card-img { flex: 0 0 auto; width: 100%; }
}

.plans-zigzag {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.zigzag-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}
.zigzag-item.zigzag-reverse {
  flex-direction: row-reverse;
}
.zigzag-img {
  flex: 0 0 50%;
  aspect-ratio: auto;
  min-height: 100%;
}
.zigzag-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.zigzag-item .plan-header {
  background: var(--green-dark);
  color: var(--white);
  padding: 2rem;
  text-align: left;
}
.zigzag-item .plan-body {
  padding: 2rem;
}
@media (max-width: 768px) {
  .zigzag-item, .zigzag-item.zigzag-reverse {
    flex-direction: column;
  }
  .zigzag-img {
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO SUBMENU (in-page navigation)
═══════════════════════════════════════════════════════════ */
.hero-submenu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.hero-submenu-link {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 30px;
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.hero-submenu-link:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
@media (max-width: 520px) {
  .hero-submenu {
    gap: 0.4rem;
  }
  .hero-submenu-link {
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
  }
  .hero-section.hero-inner {
    min-height: 50vh;
    padding-bottom: 2rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   DROPDOWN NAV
═══════════════════════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a .dropdown-arrow {
  font-size: 0.65em;
  margin-left: 0.2rem;
  opacity: 0.6;
  transition: transform var(--transition);
}
.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  display: none;
  flex-direction: row;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 0.5rem 0.5rem;
  z-index: 950;
  animation: dropdownFade 0.2s ease;
  gap: 0;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown.open > .dropdown-menu {
  display: flex;
}
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem !important;
  font-size: 0.82rem !important;
  text-transform: none !important;
  font-weight: 600 !important;
  color: var(--text-body);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1.2rem;
    transform: none;
    background: transparent;
    flex-direction: column;
  }
  .nav-dropdown.open > .dropdown-menu {
    display: flex;
  }
  .dropdown-menu li a {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
  }
  .dropdown-menu {
    padding-bottom: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   ASISTENCIA 3×2 GRID
═══════════════════════════════════════════════════════════ */
.asist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.asist-cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  background: var(--green-dark);
}
.asist-cell-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease, opacity 1s ease;
}
.asist-cell-bg.asist-rotating {
  transition: transform 0.5s ease, filter 0.4s ease, opacity 1.2s ease;
}
.asist-cell:hover .asist-cell-bg {
  transform: scale(1.08);
  filter: brightness(0.5);
}
.asist-cell-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--green-dark), #1a3825);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--green-light);
  transition: filter 0.4s ease;
}
.asist-cell:hover .asist-cell-placeholder {
  filter: brightness(0.6);
}

/* Title strip – top 20% */
.asist-cell-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20%;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 2;
}
.asist-cell-title h3 {
  color: var(--white);
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Hover overlay – slides up */
.asist-cell-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(45, 90, 61, 0.88);
  color: var(--white);
  opacity: 0;
  transform: translateY(20%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 3;
}
.asist-cell:hover .asist-cell-overlay {
  opacity: 1;
  transform: translateY(0);
}
.asist-cell-overlay p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.asist-cell-cta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--green-light);
  padding-bottom: 2px;
}

/* Responsive grid */
@media (max-width: 900px) {
  .asist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .asist-grid {
    grid-template-columns: 1fr;
  }
  .asist-cell {
    aspect-ratio: 16 / 9;
  }
}

/* ═══════════════════════════════════════════════════════════
   SERVICE SUBPAGE – GALLERY + DESCRIPTION
═══════════════════════════════════════════════════════════ */
.subpage-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.subpage-desc {
  position: sticky;
  top: 100px;
}
.subpage-desc .section-label {
  display: block;
  margin-bottom: 0.5rem;
}
.subpage-desc h2 {
  margin-bottom: 0;
}
.subpage-desc p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Artistic masonry gallery */
.subpage-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.subpage-gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-pale);
}
.subpage-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.subpage-gallery-item:hover img {
  transform: scale(1.05);
}

/* Artistic sizing variations */
.subpage-gallery-item.gi-0 {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.subpage-gallery-item.gi-1 {
  aspect-ratio: 1 / 1;
}
.subpage-gallery-item.gi-2 {
  aspect-ratio: 1 / 1;
}
.subpage-gallery-item.gi-3 {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

@media (max-width: 900px) {
  .subpage-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .subpage-desc {
    position: static;
    order: -1;
  }
}
@media (max-width: 520px) {
  .subpage-gallery {
    grid-template-columns: 1fr;
  }
  .subpage-gallery-item.gi-0,
  .subpage-gallery-item.gi-3 {
    grid-column: auto;
  }
}
