/* =====================================================
   TOKENS
   ===================================================== */
:root {
  --color-bg:          #f5f5ef;
  --color-bg-warm:     #fbf5ea;
  --color-bg-olive:    #EEF1DF;
  --color-bg-brown:    #F4ECE2;
  --color-white:       #ffffff;
  --color-dark:        #1a2a1a;
  --color-green:       #6D7F29;
  --color-green-dark:  #3D4A10;
  --color-brown:       #8B6538;
  --color-brown-dark:  #5A3A18;
  --color-orange:      #ff6105;
  --color-text:        #1e1e1e;
  --color-muted:       #6b7280;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Poppins', system-ui, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.10);
  --max-w:  1100px;
  --gap:    clamp(1rem, 4vw, 2.5rem);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-green-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.1rem); font-weight: 700; margin-bottom: 0.75rem; }
h3 { font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 600; margin-bottom: 0.4rem; }

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

a { color: var(--color-green); }

.container {
  width: min(var(--max-w), 100% - 2rem);
  margin-inline: auto;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-primary {
  background: var(--color-green);
  color: #fff;
  border-color: var(--color-green);
}
.btn-primary:hover { background: var(--color-green-dark); border-color: var(--color-green-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--color-green);
  border-color: var(--color-green);
}
.btn-outline:hover { background: var(--color-green); color: #fff; }

.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; min-height: 52px; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}

.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.2;
}
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-green-dark);
}
.logo-title {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--color-green); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-green-dark);
}

@media (max-width: 680px) {
  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 99;
  }
  .site-nav.nav-open { display: flex; }
  .nav-toggle { display: block; }
  .site-header { position: sticky; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,5,0.75) 0%, rgba(10,20,5,0.35) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
  line-height: 0;
  pointer-events: none;
}

.hero-content h1 { color: #fff; margin-bottom: 1rem; }

.hero-sub {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0;
}


/* =====================================================
   SECTIONS
   ===================================================== */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section-cream { background: var(--color-bg); }
.section-white { background: var(--color-white); }
.section-warm  { background: var(--color-bg-warm); }
.section-olive { background: var(--color-bg-olive); }
.section-brown { background: var(--color-bg-brown); }
.section-dark  { background: var(--color-green-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.88); }
.section-dark .hero-note { color: rgba(255,255,255,0.65); }

.section > .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }

.section-sub {
  max-width: 640px;
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-top: -1rem;
}

/* =====================================================
   SITUATIONS GRID (Sección 3)
   ===================================================== */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
}

.situation-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #eee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.situation-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
}

.situation-card p { margin-bottom: 0; font-size: 0.95rem; }

.check-icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

.situations-close {
  max-width: 600px;
  font-style: italic;
  color: var(--color-muted);
}

/* =====================================================
   SERVICES GRID (Sección 4)
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
}

.service-card {
  background: #f7f8f6;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: left;
  box-shadow: var(--shadow);
  border: 1px solid #e8e8e8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-brown);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.service-card h3 { color: var(--color-green-dark); }
.service-card p { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0; }

/* =====================================================
   APPROACH GRID (Sección 5)
   ===================================================== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.approach-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: left;
  box-shadow: var(--shadow);
  border: 1px solid #eee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.approach-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
}

.treatment-includes {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  text-align: left;
  box-shadow: var(--shadow);
}

.treatment-includes h3 {
  margin-bottom: 1rem;
  color: var(--color-green-dark);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}
.check-list .check-icon { width: 24px; height: 24px; }

/* =====================================================
   ABOUT (Sección 6)
   ===================================================== */
.container.about-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  text-align: left;
}

.about-photo img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 288px;
  object-fit: cover;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 3px solid var(--color-brown);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.credential-item {
  position: relative;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.credential-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-brown);
  box-shadow: 0 0 0 3px var(--color-bg);
}

.credential-org {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-green-dark);
}

.credential-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
}

@media (max-width: 720px) {
  .container.about-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-photo { display: flex; justify-content: center; }
  .about-text { text-align: left; }
  .credentials { margin: 1.5rem 0; }
}

/* =====================================================
   STEPS (Sección 7)
   ===================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  width: 100%;
  position: relative;
}

@media (min-width: 680px) {
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background: rgba(255,255,255,0.2);
  }
  .step-number { position: relative; z-index: 1; }
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* =====================================================
   CONTACT (Sección 7)
   ===================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  text-align: left;
  margin-top: 2rem;
}

.contact-photo {
  border-radius: var(--radius);
  width: 100%;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.15s;
}
.contact-info-item:hover { opacity: 0.7; }

.contact-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--color-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-social-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.contact-social-handle {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

@media (max-width: 680px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-photo { height: 220px; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--color-green-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 3rem;
}



.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}


/* =====================================================
   MOBILE TWEAKS
   ===================================================== */
@media (max-width: 480px) {
  .hero { min-height: 92vh; align-items: flex-end; }
  .section > .container { gap: 1.5rem; }
  .hero .btn-lg { width: 100%; justify-content: center; }
}
