:root{
  --bg:#ffffff; 
  --text:#0f172a; 
  --muted:#5b677a; 
  --panel:#ffffff; 
  --line:#e6eaf0;
  --brand:#3b82f6; 
  --brand2:#22c55e; 
  --brand-soft:#e8f0ff; 
  --brand-grad:linear-gradient(135deg,#60a5fa,#22d3ee);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:16px;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}

/* ------------------- */
/* NAVBAR */
/* ------------------- */

.nav {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.nav-logo img {
  height: 42px;
  object-fit: contain;
  cursor: pointer;
}

/* Links desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  font-size: 0.95rem;
  text-decoration: none;
  color: #2d3550;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: 0.18s ease;
}

.nav-link:hover {
  background: #edf1ff;
  color: #1c2a69;
}

.nav-btn {
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.58rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3d68ff, #5c8bff);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(61, 104, 255, 0.25);
  transition: 0.18s ease;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(61, 104, 255, 0.3);
}

/* Botón hamburguesa (mobile) */
.nav-toggle {
  display:none;
  border:none;
  background:transparent;
  cursor:pointer;
  padding:0;
}

.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  border-radius:999px;
  background:#111827;
  margin:4px 0;
  transition:0.2s;
}

/* estado abierto */
.nav-toggle.is-open span:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2){
  opacity:0;
}
.nav-toggle.is-open span:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------- */
/* HERO */
/* ------------------- */

.hero {
  padding: 4.5rem 1.5rem 3.5rem;
  background: radial-gradient(1200px 500px at 10% -50%,rgba(96,165,250,.15),transparent),
              radial-gradient(1200px 500px at 90% -50%,rgba(34,197,94,.12),transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #6b76a0;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  color: #1f2540;
  margin-bottom: 0.9rem;
}

.hero-title span {
  color: #3d68ff;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: #5b6478;
  max-width: 480px;
  margin-bottom: 1.6rem;
}

/* Botones hero */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.btn{
  border:none;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  transition:.2s box-shadow,.2s transform,.2s background,.2s color;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:0.95rem;
}

.btn.small{padding:8px 12px;font-weight:600}

.btn.primary,
.btn-primary{
  color:#fff;
  background:var(--brand-grad);
}
.btn.primary:hover,
.btn-primary:hover{
  box-shadow:0 10px 20px rgba(59,130,246,.2), 0 4px 10px rgba(34,211,238,.15);
  transform:translateY(-1px);
}

.btn.ghost{
  background:#fff;
  border:1px solid var(--line);
  color:var(--text);
}
.btn.ghost:hover{
  box-shadow:0 10px 20px rgba(0,0,0,.05);
}

.btn-secondary{
  background:#eef2ff;
  color:#36406a;
}
.btn-secondary:hover{
  background:#e0e6ff;
}

/* Métricas hero */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.hero-meta-number {
  margin: 0;
  font-weight: 600;
  font-size: 1.3rem;
  color: #273152;
}

.hero-meta-label {
  margin: 0;
  font-size: 0.8rem;
  color: #7a8498;
}

/* Columna visual hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  border-radius: 24px;
  padding: 1.4rem 1.5rem 1.2rem;
  box-shadow: 0 24px 60px rgba(21, 33, 68, 0.25);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-card-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2740;
}

.hero-card-status {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #e4f8ec;
  color: #198754;
}

.hero-card-body {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hero-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8bb0, #ffb5d0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
}

.hero-card-info p {
  margin: 0;
}

.hero-pro-name {
  font-size: 0.98rem;
  color: #20263d;
  font-weight: 600;
}

.hero-pro-spec {
  font-size: 0.8rem;
  color: #7a8499;
}

.hero-pro-time {
  font-size: 0.8rem;
  color: #3d68ff;
  margin-top: 0.3rem;
}

.hero-card-footer {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.hero-card-btn {
  flex: 1;
  border-radius: 999px;
  border: none;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  background: #3d68ff;
  color: #ffffff;
  cursor: pointer;
}

.hero-card-link {
  border-radius: 999px;
  border: none;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  background: #f2f4ff;
  color: #3c4570;
  cursor: pointer;
}

.hero-card-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #848ea4;
}

.hero-card-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d68ff;
}

/* Pill flotante */
.hero-pill {
  position: absolute;
  bottom: -14px;
  right: 8px;
  background: rgba(15, 25, 58, 0.9);
  color: #f5f7ff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ae38a;
}

/* ------------------- */
/* DIRECTORIO */
/* ------------------- */

.directory{
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-title{
  margin:0 0 4px;
  font-size:1.4rem;
}

.section-subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font-size:0.95rem;
}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

.filters{margin:24px 0}
.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width:800px){.grid-3{grid-template-columns:1fr}}

.field label{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}
.field input,
.field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  outline:none;
  font-family:inherit;
  resize:vertical;
}
.field input:focus,
.field textarea:focus{
  border-color:#c6d5ff;
  box-shadow:0 0 0 4px #e8f0ff;
}

.actions{
  display:flex;
  gap:8px;
  justify-content:flex-end;
  margin-top:10px;
}

.loading{margin:8px 0;color:var(--muted)}

.grid-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
@media (max-width:980px){.grid-cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.grid-cards{grid-template-columns:1fr}}

.pro-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow:0 12px 26px rgba(15,23,42,.06);
}
.pro-card h3{
  margin:0 0 6px 0;
  font-size:18px;
}
.bio{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}
.meta-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:6px;
  margin-top:6px;
}
.meta{
  font-size:13px;
  color:#0f172a;
  background:#f7f9ff;
  border:1px dashed #dbe3ff;
  border-radius:10px;
  padding:6px 8px;
}

/* ------------------- */
/* TESTIMONIOS (CARRUSEL) */
/* ------------------- */

.testimonials {
  padding: 4rem 1rem;
  background: #f7f9fc;
}

.testimonials-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.4rem;
  color: #1e2640;
}

.testimonials-subtitle {
  text-align: center;
  color: #6f7a8a;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel-window {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

/* Header */
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f8cff, #3467e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.testimonial-name {
  margin: 0;
  color: #1d2438;
  font-size: 1.1rem;
}

.testimonial-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #7a8499;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #3b4456;
  margin-bottom: 1rem;
}

.testimonial-rating {
  color: #f3b700;
}

/* Nav buttons */
.carousel-btn {
  border: none;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 1.3rem;
  color: #2d3954;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: 0.2s;
}

.carousel-btn:hover {
  transform: scale(1.07);
  background: #eef3ff;
}

/* Dots */
.carousel-dots {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  background: #c8d0dd;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.dot.active {
  width: 24px;
  border-radius: 20px;
  background: #3d68ff;
}

/* ------------------- */
/* SECCIÓN SOY PSICO */
/* ------------------- */

.soy-psico{
  background:#fafcff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:32px 0 40px;
}
.soy-psico-inner{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:24px;
  align-items:flex-start;
}
.soy-psico-copy h2{
  margin-top:0;
  margin-bottom:8px;
}
.soy-psico-copy p{
  margin-top:0;
  margin-bottom:12px;
  color:var(--muted);
}
.soy-psico-list{
  margin:0;
  padding-left:18px;
  color:#4b5563;
  font-size:0.95rem;
}
.soy-psico-list li{
  margin-bottom:4px;
}

.soy-psico-form{
  background:#fff;
  border-radius:18px;
  padding:16px 16px 18px;
  box-shadow:0 15px 35px rgba(15,23,42,.08);
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.soy-psico-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:6px;
}
.soy-psico-whatsapp{
  text-decoration:none;
  font-size:0.9rem;
  padding:0.6rem 1rem;
  border-radius:999px;
  background:#e9fbe7;
  color:#166534;
  border:1px solid #bbf7d0;
}

/* ------------------- */
/* TRUST + FOOTER (DE TU CSS ORIGINAL) */
/* ------------------- */

.trust{
  background:#fafcff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-top:20px;
}
.trust .wrap{padding:24px 16px}
.trust h2{margin:0 0 12px}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chip{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 12px;
  color:#334155;
  font-weight:600;
}
.chip:hover{
  border-color:#c6d5ff;
  background:#f3f7ff;
}

.footer{
  border-top:1px solid var(--line);
  margin-top:40px;
  padding:24px 0;
  color:#6b7280;
  text-align:center;
}

/* ------------------- */
/* RESPONSIVE NAV + HERO */
/* ------------------- */

@media (max-width: 900px){
  .hero-grid{
    grid-template-columns:minmax(0, 1fr);
    gap:2.5rem;
  }
  .hero{
    padding-top:3.2rem;
  }
}

@media (max-width: 700px){
  .nav-container{
    padding-inline:1rem;
  }
  .nav-toggle{
    display:block;
  }
  .nav-links{
    position:absolute;
    right:1rem;
    top:56px;
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 18px 35px rgba(15,23,42,.2);
    padding:0.5rem;
    flex-direction:column;
    min-width:170px;
    display:none;
  }
  .nav-links.is-open{
    display:flex;
  }
  .nav-link,
  .nav-btn{
    width:100%;
    justify-content:flex-start;
  }

  .soy-psico-inner{
    grid-template-columns:1fr;
  }

  .testimonial-carousel{
    gap:0.5rem;
  }
}
/* ==== MODO PALERMO: minimal, cálido, sobrio ==== */
:root{
  --bg: #F7F5F2;             /* Fondo general cálido */
  --text: #2F3A3A;           /* Verde grisáceo para texto */
  --muted: #6C6F72;          /* Gris pizarra suave */
  --panel: #FFFFFF;          /* Paneles blancos limpios */
  --line: #E2DED7;           /* Bordes cálidos suaves */
  --brand: #2F4F4F;          /* Verde botella */
  --brand2: #CD853F;         /* Terracota suave */
  --brand-soft: #F3E6D9;     /* Terracota muy clara */
  --brand-grad: linear-gradient(135deg,#2F4F4F,#3C5F5F);
}

/* Fondo general */
body{
  background: var(--bg);
  color: var(--text);
}

/* NAV más plana, menos “tech” */
.nav{
  background: #F7F5F2EE;
  border-bottom: 1px solid var(--line);
}
.nav-link{
  color: var(--text);
}
.nav-link:hover{
  background: #ECE6DD;
  color: var(--brand);
}
.nav-btn{
  background: var(--brand);
  box-shadow: 0 6px 18px rgba(47,79,79,0.18);
}
.nav-btn:hover{
  box-shadow: 0 12px 26px rgba(47,79,79,0.2);
  transform: translateY(-1px);
}

/* HERO muy aireado */
.hero{
  background:
    radial-gradient(900px 400px at 10% -40%, rgba(47,79,79,0.12), transparent),
    radial-gradient(900px 400px at 90% -40%, rgba(205,133,63,0.08), transparent),
    #F7F5F2;
}
.hero-title{
  color: var(--text);
}
.hero-title span{
  color: var(--brand);
}
.hero-subtitle{
  color: var(--muted);
}

/* Botones más sobrios */
.btn.primary,
.btn-primary{
  background: var(--brand);
}
.btn.primary:hover,
.btn-primary:hover{
  box-shadow: 0 10px 24px rgba(47,79,79,0.25);
}
.btn-secondary{
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(47,79,79,0.25);
}
.btn-secondary:hover{
  background: rgba(47,79,79,0.04);
}

/* Métricas tipo clínica cool */
.hero-meta-number{
  color: var(--text);
}
.hero-meta-label{
  color: #8A8D90;
}

/* Tarjeta hero más calma */
.hero-card{
  box-shadow: 0 20px 45px rgba(47,79,79,0.18);
  border: 1px solid #E2DED7;
}
.hero-pro-time{
  color: var(--brand2);
}
.hero-card-status{
  background: #E6F0EC;
  color: #2F4F4F;
}

/* Pill de seguridad discreto */
.hero-pill{
  background: rgba(47,79,79,0.96);
}
.hero-dot{
  background: #CD853F;
}

/* DIRECTORIO – menos tech, más cálido */
.pro-card{
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(47,79,79,0.12);
}
.meta{
  background: #F5EEE6;
  border-color: #E1D4C4;
  color: #4B4F50;
}

/* Filas de inputs */
.field input,
.field textarea{
  background:#FCFBFA;
  border-color:#DCD6CC;
}
.field input:focus,
.field textarea:focus{
  border-color:#C8B9A6;
  box-shadow:0 0 0 3px rgba(205,133,63,0.18);
}

/* TESTIMONIOS – look revista */
.testimonials{
  background: #F4F1ED;
}
.testimonials-title{
  color: var(--text);
}
.testimonials-subtitle{
  color: var(--muted);
}
.testimonial-card{
  border-radius: 18px;
  border: 1px solid #E0D8CF;
  box-shadow: 0 16px 40px rgba(47,79,79,0.14);
  background: #FFFFFF;
}
.testimonial-avatar{
  background: radial-gradient(circle at 20% 20%, #CD853F, #2F4F4F);
}
.carousel-btn{
  background: #FFFFFF;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(47,79,79,0.18);
}
.carousel-btn:hover{
  background: #F0E8DE;
}

/* SOY PSICO – como folletito lindo */
.soy-psico{
  background: #F2ECE5;
}
.soy-psico-copy p{
  color: var(--muted);
}
.soy-psico-list li{
  color: #55524D;
}
.soy-psico-form{
  border-color: #E0D3C4;
  box-shadow: 0 20px 50px rgba(47,79,79,0.16);
}
.soy-psico-whatsapp{
  background: #E6F0EC;
  border-color: #C7DED3;
  color: #2F4F4F;
}

/* FOOTER */
.footer{
  background:#F7F5F2;
  color:#8A8D90;
}
/* ==== BANDA ORGÁNICA CON HOJAS ==== */
.leaf-band{
  position: relative;
  height: 180px;
  margin-top: -60px;   /* se mete un poco bajo la sección anterior */
  margin-bottom: -40px;/* y se mete un poco encima de la siguiente */
  z-index: 0;
  overflow: visible;
}

/* La “panza” curva */
.leaf-band::before{
  content: "";
  position: absolute;
  inset: 40px 0 0;
  background: #2F4F4F;            /* verde profundo */
  border-radius: 60% 60% 0 0 / 90% 90% 0 0;
}

/* Hojas */
.leaf{
  position: absolute;
  bottom: 0;
  pointer-events: none;
}

.leaf-left{
  left: 4%;
  height: 160px;    /* ajustá según tu PNG/SVG */
}

.leaf-right{
  right: 4%;
  height: 180px;
}

/* Que la sección siguiente quede por encima del verde */
.hero,
.directory,
.testimonials,
.soy-psico,
.footer{
  position: relative;
  z-index: 1;
}

/* Si querés todo más continuo, bajamos cortes fuertes */
.directory,
.testimonials,
.soy-psico{
  border-top: none;
  border-bottom: none;
  background: transparent;   /* el fondo general manda */
}

.leaf-band{
  position: relative;
  height: 190px;
  margin-top: -70px;
  margin-bottom: -40px;
  z-index: 0;
  overflow: visible;
}

.leaf-band::before{
  content: "";
  position: absolute;
  inset: 50px 0 0;
  background: #2F4F4F; /* verde profundo */
  border-radius: 60% 60% 0 0 / 90% 90% 0 0;
}

/* Hojas */
.leaf{
  position: absolute;
  bottom: 0;
  pointer-events: none;
}

.leaf-left{
  left: 4%;
  height: 170px;
}

.leaf-right{
  right: 4%;
  height: 180px;
  transform: scaleX(-1);
  transform-origin: center bottom;
}

/* Secciones encima del verde */
.hero,
.directory,
.testimonials,
.soy-psico,
.footer{
  position: relative;
  z-index: 1;
}


body{
  background:#F7F5F2;   /* mismo tono */
}

.directory,
.testimonials,
.soy-psico{
  background:transparent;   /* o el mismo #F7F5F2 */
  border-top:none;
  border-bottom:none;
}

.leaf-band-c{
  height:210px;
  margin-top:-90px;
  margin-bottom:-50px;
}

/* Onda diagonal con clip-path */
.leaf-band-c::before{
  content:"";
  position:absolute;
  inset:60px -10% 0;
  background:#2F4F4F;
  /* diagonal suave */
  clip-path: path("M 0 80 C 80 40 160 20 260 40 C 340 60 420 110 480 160 L 480 200 L 0 200 Z");
  box-shadow:0 20px 50px rgba(47,79,79,0.28);
}

/* Hojas se mueven un poquito hacia la pendiente */
.leaf-left{
  left:5%;
  height:160px;
}
.leaf-right{
  right:10%;
  height:190px;
  transform:scaleX(-1);
}


.directory {
  background: #2F4F4F; /* Fondo igual a la ola */
  padding-top: 120px;  /* espacio para que no tape el formulario */
  padding-bottom: 120px;
  position: relative;
  z-index: 1;
}

/* VARIANTE B — panza hacia ABAJO */
.leaf-band-b {
  height: 220px;
  margin-top: -40px;
  margin-bottom: -100px;
}

.leaf-band-b::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 60px;  /* antes era top, ahora bottom */
  height: 140px;
  background: #EAE2D8;
  border-radius: 0 0 15% 50% / 0 0 70% 70%;
}

.leaf-band-b::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 40px; /* igual, ahora usa bottom */
  height: 150px;
  background: #2F4F4F;
  border-radius: 0 0 55% 55% / 0 0 85% 85%;
  box-shadow: 0 -20px 45px rgba(47,79,79,0.28);
}

.directory{
  background:#2F4F4F;      /* mismo color que la ola */
  padding:64px 0 72px;     /* bastante menos alto */
  position:relative;
  z-index:1;
}


/* Título de sección dentro del fondo verde */
.directory .section-title {
  color: #F8F8F8;  /* Blanco roto cálido */
  font-weight: 600;
}

/* Subtítulo */
.directory .section-subtitle {
  color: #E4E4E4;  /* Gris claro */
  opacity: 0.9;
}
.directory label {
  color: #EAEAEA;
  font-weight: 500;
}
.directory .card {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
}

/* La ola */
.leaf-band-b {
  position: relative;
  z-index: 10; /* baja */
}

/* Sección testimonios */
.testimonials {
  position: relative;
  z-index: 20; /* más alto */
}

/* El diván */
.divan {
  position: relative;
  z-index: 30; /* más alto que todo */
}

.leaf{
  position:absolute;
  bottom:0;
  pointer-events:none;
  /* base transform + parallax */
  transform: var(--leaf-base-transform, translateY(0)) translateY(var(--leaf-offset, 0px));
}

/* hoja derecha espejada */
.leaf-right{
  --leaf-base-transform: scaleX(-1);
}

/* VARIANTE B — panza hacia ABAJO que sube desde el borde inferior */
.leaf-band-b {
  height: 190px;
  margin-top: -40px;
  margin-bottom: -40px;  /* ya no empuja tanto hacia abajo */
}


/* “sombra” beige de fondo */
.leaf-band-b::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 0;              /* arranca desde el borde inferior */
  height: 180px;
  background: #EAE2D8;
  border-radius: 0 0 55% 55% / 0 0 80% 80%;
}

/* ola verde principal */
.leaf-band-b::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 40px;           /* la levantamos un poco dentro del beige */
  height: 210px;
  background: #2F4F4F;
  border-radius: 0 0 55% 55% / 0 0 90% 90%;
  box-shadow: 0 -20px 45px rgba(47,79,79,0.28);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 24px 0;
  color: #6b7280;
  text-align: center;
  background: #F7F5F2;
}

/* Nuevo layout footer */
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer small{
  font-size: 0.85rem;
}

/* Redes sociales */
.footer-social{
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-link{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #F7F5F2;
  transition: 0.2s background, 0.2s transform, 0.2s box-shadow, 0.2s border-color;
}

.footer-icon{
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
}

/* Para los iconos que son “rellenos” (ej: X) */
.footer-icon path{
  fill: var(--text);
  stroke: none;
}

/* Hover suave */
.footer-social-link:hover{
  background: #ECE6DD;
  border-color: rgba(47,79,79,0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(47,79,79,0.18);
}

.footer-social-link:hover .footer-icon{
  stroke: var(--brand);
}

.footer-social-link:hover .footer-icon path{
  fill: var(--brand);
}

/* Mobile: centramos todo */
@media (max-width: 600px){
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* Mensaje cuando falla la carga de profesionales */
.meta-error{
  max-width: 360px;
  margin: 16px auto 0;
  text-align: center;
  background: #FFF7E6;
  border-color: #FACC6B;
}
