/* ===== Reset básico & tokens ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

:root{
  --ink:#0f172a;
  --muted:#475569;
  --bg:#FAFDFB;
  --panel:#ffffff;
  --brd:#e6eef0;
  --brand:#0E7C66;          /* verde-teal principal */
  --brand-2:#FFB703;        /* acento cálido */
  --chip:#eef7f4;
  --radius:16px;
  --shadow:0 6px 24px rgba(15,23,42,.08);
}

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4{
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
  margin: 0 0 .5rem;
  color: var(--ink);
}
h1{ font-size: clamp(32px, 5vw, 56px); }
h2{ font-size: clamp(26px, 3.5vw, 36px); margin-bottom: .75rem; }
h3{ font-size: 22px; }

p{ margin: 0 0 1rem; color: var(--muted); }
.lead{ font-size: clamp(16px, 2.2vw, 20px); color: var(--ink); }
.center{ text-align:center; }

.container{ width: min(1120px, 92%); margin-inline: auto; }
.narrow{ width: min(900px, 92%); margin-inline: auto; }

.btn{
  display:inline-block; padding: 12px 20px;
  background: var(--brand); color:#fff; border-radius: 999px;
  text-decoration:none; font-weight: 700; box-shadow: var(--shadow);
  transition:.2s transform ease, .2s filter ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.btn.ghost{ background: transparent; color: var(--brand); border:2px solid var(--brand); }
.btn.block{ display:block; text-align:center; }
.btn.sm{ padding: 10px 14px; font-weight: 600; }

.chip{ background: var(--chip); color: var(--brand); padding:6px 10px; border-radius:999px; font-weight:600; font-size:14px; }
.chips{ display:flex; flex-wrap:wrap; gap:10px; }

.ticks{ list-style:none; padding:0; margin:1rem 0; }
.ticks li{ padding-left:28px; position:relative; }
.ticks li::before{ content:"✅"; position:absolute; left:0; top:2px; }

/* ===== Header ===== */
.skip{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip:focus{ position:static; width:auto; height:auto; padding:8px; background:#fff; }

.header{
  position: sticky; top:0; z-index:1000;
  backdrop-filter: saturate(1.2) blur(8px);
  background: rgba(250,253,251,.75);
  border-bottom:1px solid var(--brd);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:16px; }
.logo{ display:flex; align-items:center; text-decoration:none; color:var(--ink); gap:10px; font-weight:700; }
.logo-mark{ font-size:24px; }
.logo-text strong{ color: var(--brand); }

.menu{ display:flex; align-items:center; gap:18px; }
.menu a{ text-decoration:none; color:var(--ink); font-weight:600; }
.menu a:hover{ color: var(--brand); }

/* Burger */
.burger{ display:none; width:44px; height:44px; border:0; background:transparent; padding:8px; border-radius:10px; }
.burger span{ display:block; height:2px; background:var(--ink); margin:6px 0; transition:.2s; }

/* ===== Hero ===== */
.hero{
  position: relative;
  background: radial-gradient(1200px 500px at 10% 10%, #d8f5ec 0, transparent 60%),
              radial-gradient(1200px 500px at 90% 0%, #ffecc7 0, transparent 60%);
}
.hero-inner{ display:grid; grid-template-columns: 1.1fr .9fr; gap:36px; align-items:center; padding:64px 0; }
.hero-copy h1 .accent{ color: var(--brand); position:relative; }
.hero-copy h1 .accent::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:10px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity:.25; border-radius:10px; transform: translateY(6px);
}
.hero-photo img{ border-radius: var(--radius); box-shadow: var(--shadow); }

.cta-row{ display:flex; gap:12px; margin: 18px 0 10px; flex-wrap:wrap; }
.trust{ display:flex; gap:16px; flex-wrap:wrap; padding:0; margin:18px 0 0; list-style:none; color:#0b3d33; }

/* ===== About ===== */
.section{ padding:64px 0; }
.about-grid{ display:grid; grid-template-columns: 220px 1fr; gap:32px; align-items:center; }
.avatar{ width:220px; height:220px; border-radius:50%; object-fit:cover; box-shadow: var(--shadow); }

/* ===== Focus / Cards ===== */
.cards{ display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; margin-top:24px; }
.card{
  background: var(--panel); border:1px solid var(--brd); border-radius:14px; padding:18px;
  box-shadow: var(--shadow); transition:.2s transform ease;
}
.card:hover{ transform: translateY(-2px); }

/* ===== Timeline ===== */
.timeline{ list-style:none; padding:0; margin:22px 0 0; counter-reset: step; }
.timeline li{ background:#fff; border:1px solid var(--brd); border-radius:14px; padding:14px 16px; margin:10px 0; box-shadow: var(--shadow); }

/* ===== Planes ===== */
.plans{ background: linear-gradient(180deg, #f6fbf9, transparent); }
.plan-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.plan{
  background:#fff; border:1px solid var(--brd); border-radius:14px; padding:20px;
  box-shadow: var(--shadow);
}
.plan ul{ padding-left:18px; }
.plan .price{ font-size:28px; font-weight:800; color:var(--brand); margin:.25rem 0 .75rem; }
.plan.featured{ border:2px solid var(--brand); position:relative; }
.plan .badge{
  position:absolute; top:-10px; right:14px; background:var(--brand); color:#fff;
  padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700;
}

/* ===== Testimonios ===== */
.testimonials{ background:#fff; }
.quotes{ display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; }
.quotes figure{ background:#fff; border:1px solid var(--brd); border-radius:14px; padding:18px; box-shadow: var(--shadow); }
.quotes blockquote{ margin:0 0 .5rem; font-size:18px; color:#111827; }

/* ===== FAQ ===== */
.faq details{
  background:#fff; border:1px solid var(--brd); border-radius:14px; padding:14px 16px; margin:10px 0; box-shadow: var(--shadow);
}
.faq summary{ cursor:pointer; font-weight:700; color:#111827; }

/* ===== Contacto ===== */
.contact-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:22px; }
.form{ background:#fff; border:1px solid var(--brd); border-radius:14px; padding:18px; box-shadow: var(--shadow); }
.form label{ display:block; font-weight:700; margin:10px 0 6px; }
.form input, .form textarea{
  width:100%; padding:12px 14px; border:1px solid var(--brd); border-radius:12px; font-size:16px;
}
.form input:focus, .form textarea:focus{ outline:2px solid var(--brand); border-color:transparent; }
.fine{ font-size:12px; color:var(--muted); margin-top:8px; }
.contact-card{
  background: linear-gradient(180deg, #e8f6f1, #ffffff);
  border:1px solid var(--brd); border-radius:14px; padding:18px; box-shadow: var(--shadow);
}
.contact-card ul{ margin:0 0 14px; padding-left:18px; }
.mini-map img{ border-radius:12px; }

/* ===== Footer ===== */
.footer{ border-top:1px solid var(--brd); background:#fff; }
.foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 0; flex-wrap:wrap; }
.social a{ margin-left:14px; text-decoration:none; color:var(--brand); font-weight:700; }

/* ===== WhatsApp flotante ===== */
.whats{
  position:fixed; right:18px; bottom:18px; width:54px; height:54px; line-height:54px; text-align:center;
  border-radius:50%; background:#25D366; color:#fff; font-size:26px; text-decoration:none; box-shadow: var(--shadow);
}

/* ===== Responsive ===== */
@media (max-width: 1000px){
  .hero-inner{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; text-align:center; }
  .avatar{ margin: 0 auto; }
  .cards{ grid-template-columns: repeat(2,1fr); }
  .plan-grid{ grid-template-columns: 1fr; }
  .quotes{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .menu{ position: fixed; inset:64px 0 auto 0; background:#fffffffa; border-bottom:1px solid var(--brd); padding:14px 5%; display:none; flex-direction:column; gap:14px; }
  .burger{ display:block; }
  .hero{ padding-top:8px; }
}

/* Mostrar menú en móvil cuando activo */
.menu.open{ display:flex; }

/* Pequeños detalles extra */
.accent{ color: var(--brand); }

.whats{
  position:fixed; right:18px; bottom:18px;
  width:auto; height:auto; border-radius:0;
  background:transparent; box-shadow:none; text-decoration:none;
}

/* ===== About slider (Sobre mí) FINAL ===== */
#sobre-mi .about-grid{ align-items: start; }

.about-slider{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--brd);
  border-radius: 22px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  background: #fff;
}

.about-slider .slides{ position:absolute; inset:0; }

.about-slider .slide{
  position:absolute; inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .65s ease;
}
.about-slider .slide.is-active{ opacity:1; transform:scale(1); }

.about-slider::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg,
    rgba(250,253,251,.06) 0%,
    rgba(250,253,251,.18) 55%,
    rgba(250,253,251,.35) 100%);
  z-index: 1;
  pointer-events:none;
}
.about-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(227,239,233,.95);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: #123b34;
  transition: .15s ease;
}
.about-nav:hover{ transform: translateY(-50%) scale(1.03); }
.about-nav.prev{ left: 12px; }
.about-nav.next{ right: 12px; }

.about-slider .dots{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:3;
}
.about-slider .dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(18,122,99,.35);
  background: rgba(255,255,255,.75);
  cursor:pointer;
}
.about-slider .dot.is-active{ background: rgba(18,122,99,.9); }

/* ====== Tokens ====== */
:root {
  --ink: #0f2d28;
  --muted: #4b5f5b;
  --bg: #f7fbf9;
  --panel: #ffffff;
  --brd: #e3efe9;
  --brand: #127a63;
  --mint: #dff5ec;
  --mint-2: #edf9f4;
  --shadow: 0 14px 40px rgba(16, 45, 40, .10);
  --radius: 18px;
  --radius-lg: 28px;
  --speed: .5s;
}

*{ box-sizing:border-box; }
html, body{ margin:0; }
img{ max-width:100%; display:block; }

body{
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

h1, h2, h3{
  font-family: Fraunces, Georgia, serif;
  margin: .2rem 0 .6rem;
  line-height: 1.15;
}
h1{ font-size: clamp(36px, 5.2vw, 60px); }
h2{ font-size: clamp(26px, 3.3vw, 38px); }
h3{ font-size: 22px; }

p{ margin:0 0 1rem; color: var(--muted); }

.container{ width: min(1120px, 92%); margin-inline:auto; }
.section{ padding:72px 0; }

.lead{ font-size: clamp(16px, 2.1vw, 20px); color:#1a433c; }

.btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:999px;
  background: var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  box-shadow: var(--shadow);
  transition:.2s;
}
.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 18px 36px rgba(18, 122, 99, .25);
}
.btn.ghost{
  background: transparent;
  color: var(--brand);
  border:2px solid var(--brand);
  box-shadow:none;
}

.chip{
  background:#eef8f3;
  color: var(--brand);
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
}

/* Header */
header{
  position: sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--brd);
  background: rgba(247, 251, 249, .75);
  backdrop-filter: saturate(1.2) blur(8px);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  gap:16px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color: var(--ink);
  font-weight:800;
}
.logo b{ color: var(--brand); }

.menu{
  display:flex;
  gap:18px;
  align-items:center;
}
.menu a{
  color: var(--ink);
  text-decoration:none;
  font-weight:700;
}
.menu a:hover{ color: var(--brand); }

.burger{
  display:none;
  width:44px;
  height:44px;
  border:0;
  background:transparent;
}
.burger span{
  display:block;
  height:2px;
  background:#0f2a27;
  margin:7px 0;
}

/* Hero */
.hero{
  position: relative;
  isolation: isolate;
  min-height: 70vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--mint-2), transparent);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-image:url('/img/nutricion1-10.jpg');
  background-size:cover;
  background-position:center 40%;
  filter:saturate(1.05) contrast(1.02);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background: linear-gradient(180deg,
    rgba(247, 251, 249, .85),
    rgba(247, 251, 249, .55) 30%,
    rgba(247, 251, 249, .85)
  );
  backdrop-filter: blur(2px);
}

.hero .inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:38px;
  align-items:center;
  padding:80px 0;
}

.hero h1 .brush{
  position:relative;
  color: var(--brand);
}
.hero h1 .brush:after{
  content:"";
  position:absolute;
  left:-4px; right:-4px;
  bottom:2px;
  height:12px;
  background: linear-gradient(90deg, #c9f0e1, #e5faf3);
  opacity:.65;
  border-radius:12px;
  z-index:-1;
}

.hero .card{
  background: rgba(255,255,255,.8);
  border:1px solid var(--brd);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding:16px;
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:14px;
  align-items:center;
  backdrop-filter: blur(6px);
  transition: transform .25s ease;
}
.hero .card:hover{ transform: translateY(-2px); }

.hero .avatar{
  width:120px;
  height:120px;
  border-radius:16px;
  object-fit:cover;
}

.hero .note{
  display:flex;
  gap:10px;
  align-items:center;
  background:#fff;
  border:1px dashed #dfe9e6;
  border-radius:12px;
  padding:8px 12px;
  color:#2a4c46;
}

/* Lista confianza */
.trust{ margin-top:10px; padding-left:18px; }
.trust li{
  list-style: disc;
  color:#1c413c;
  margin:.25rem 0;
}

/* Sobre mi layout */
.about-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:32px;
  align-items:center;
}

/* Cards / pilares */
.pillars{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-top:18px;
}
.card{
  background:#fff;
  border:1px solid var(--brd);
  border-radius:16px;
  padding:16px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,.06);
}

/* Gallery */
.gallery{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: min(260px, 80%);
  gap:10px;
  overflow-x:auto;
  padding-bottom:8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery img{
  border-radius:14px;
  height:200px;
  width:100%;
  object-fit:cover;
  scroll-snap-align:start;
}
@media (min-width:1020px){
  .gallery{
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom:0;
  }
}

/* Timeline */
.timeline{ display:grid; gap:12px; margin-top:12px; }
.step{
  background:#fff;
  border:1px solid var(--brd);
  border-radius:16px;
  padding:14px 16px;
  box-shadow: var(--shadow);
}

/* Recursos scroller */
.resources .scroller{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: min(300px, 80%);
  gap:20px;
  overflow-x:auto;
  padding-bottom:10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.resources .scroller::-webkit-scrollbar{ height:8px; }
.resources .scroller::-webkit-scrollbar-thumb{ background:#d2eae0; border-radius:8px; }

.recipe-card{
  cursor:pointer;
  scroll-snap-align:start;
  background:#fff;
  border:1px solid var(--brd);
  border-radius:16px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.recipe-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  display:block;
}
.rc-body{ padding:12px 14px; }
.rc-tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }
.rc-tags span{
  background:#eef8f3;
  color: var(--brand);
  font-weight:700;
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
}

/* Lead */
.leadbox{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:16px;
  align-items:center;
  background: linear-gradient(180deg, var(--mint), #fff);
  border:1px solid var(--brd);
  border-radius:16px;
  padding:18px;
  box-shadow: var(--shadow);
  margin-top:24px;
}
.lead-copy h3{ margin:0 0 .35rem; }
.lead-form{ display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.lead-form input{
  flex: 1 1 220px;
  padding:12px 14px;
  border:1px solid var(--brd);
  border-radius:12px;
  font: inherit;
}
.lead-note{ font-size:12px; color:#6a7a77; margin-top:6px; }
.lead-img img{
  border-radius:12px;
  height:220px;
  width:100%;
  object-fit:cover;
}

/* Contacto */
.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:20px;
  align-items: stretch;
}
form{
  background:#fff;
  border:1px solid var(--brd);
  border-radius:16px;
  padding:18px;
  box-shadow: var(--shadow);
}
label{ display:block; font-weight:700; margin:8px 0 6px; }
input, textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--brd);
  border-radius:12px;
  font: inherit;
}
input:focus, textarea:focus{
  outline:2px solid var(--brand);
  border-color: transparent;
}

.aside{
  background: linear-gradient(180deg, #e8f6f1, #fff);
  border:1px solid var(--brd);
  border-radius:16px;
  padding:18px;
  box-shadow: var(--shadow);
}
.aside ul{ margin:0; padding-left:18px; }

.aside--foto{
  padding:0;
  background:none;
  border:1px solid var(--brd);
  border-radius:16px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.aside--foto img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
@media (max-width:1020px){
  .aside--foto img{ height:260px; }
}

/* Footer & WhatsApp */
footer{ border-top:1px solid var(--brd); background:#fff; }
.foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 0;
  flex-wrap:wrap;
}
.social a{
  color: var(--brand);
  font-weight:800;
  text-decoration:none;
  margin-left:12px;
}

.whats{
  position: fixed;
  right:18px;
  bottom:18px;
  border-radius:50%;
  text-decoration:none;
  display:grid;
  place-items:center;
}
.whats svg{
  width:54px;
  height:54px;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.22));
}

/* Instagram link en menú */
.menu .ig-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:#C13584;
  text-decoration:none;
}
.menu .ig-link:hover{ color: var(--brand); }
@media (max-width:1020px){
  .menu .ig-link .hide-sm{ display:none; }
}

/* Responsive */
@media (max-width:1020px){
  .hero .inner{ grid-template-columns:1fr; padding:64px 0; }
  .about-grid{ grid-template-columns:1fr; }
  .pillars{ grid-template-columns: repeat(2, 1fr); }
  .menu{
    position: fixed;
    inset:64px 0 auto 0;
    background:#fffffffb;
    display:none;
    flex-direction:column;
    gap:14px;
    padding:14px 5%;
    border-bottom:1px solid var(--brd);
  }
  .burger{ display:block; }
  .leadbox{ grid-template-columns:1fr; }
  .lead-img img{ height:200px; }
}
.menu.open{ display:flex; }

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform: translateX(-50%) translateY(20px);
  background: var(--brand);
  color:#fff;
  padding:12px 16px;
  border-radius:12px;
  box-shadow: var(--shadow);
  opacity:0;
  transition:.25s ease;
  z-index:9999;
  font-weight:700;
}
.toast.show{
  opacity:1;
  transform: translateX(-50%) translateY(0);
}
.toast.error{ background:#c0392b; }

@media (prefers-reduced-motion:reduce){
  .reveal{ transition:none; }
  .btn{ transition:none; }
}

.reveal{
  opacity:0;
  transform: translateY(10px);
  transition: opacity var(--speed) ease, transform var(--speed) ease;
}
.reveal.show{
  opacity:1;
  transform: translateY(0);
}

/* Modal gracias */
.modal{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.35);
  display:none;
  place-items:center;
  z-index:10000;
}
.modal.show{ display:grid; }
.modal .box{
  background:#fff;
  border:1px solid var(--brd);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding:24px 22px;
  max-width:460px;
  margin:0 14px;
  text-align:center;
}
.modal .box h3{ margin:.2rem 0 .4rem; }
.modal .box .heart{
  font-size:40px;
  line-height:1;
  margin-bottom:4px;
}
.modal .box .btn{ margin-top:10px; }

/* Modal recetas */
.modal-receta{
  position:fixed;
  inset:0;
  display:none;
  place-items:center;
  background: rgba(0,0,0,.45);
  z-index:10000;
}
.modal-receta.show{ display:grid; }
.modal-receta .box{
  width: min(720px, 92%);
  max-height: 86vh;
  overflow:auto;
  background:#fff;
  border:1px solid var(--brd);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding:18px;
}
.modal-receta header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  position: sticky;
  top:0;
  background:#fff;
  padding-bottom:6px;
  margin-bottom:8px;
  border-bottom:1px solid var(--brd);
}
.modal-receta h3{ margin:0; }
.modal-receta .close{
  border:0;
  background:#f1f6f4;
  padding:8px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:800;
}
.modal-receta .heroimg{
  display:block;
  width:100%;
  max-width:560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius:12px;
  margin:8px auto 16px;
}
.modal-receta h4{ margin:12px 0 6px; }
.modal-receta ul{ margin:0 0 10px 18px; }

@media (max-width:720px){
  .contact-grid{ grid-template-columns:1fr; }
  .aside--foto{ display:none; }
}
@media (min-width:1020px){
  .modal-receta .heroimg{ max-width:520px; }
}

/* ====== SLIDER SOBRE MI (agregar esto al final) ====== */
#sobre-mi .about-grid{ align-items: start; }

.about-slider{
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 420px;

  border-radius: 28px;
  background: #fff;

  /* sombra suave, natural */
  box-shadow:
    0 12px 30px rgba(18, 122, 99, 0.12),
    0 4px 10px rgba(0,0,0,0.04);
}

.about-slider .slides{
  position:absolute;
  inset: 8px;
  border-radius: 22px;
  overflow: hidden;
}

.about-slider .slide{
  filter: saturate(1.05) contrast(1.02);
}


.about-slider .slides{ position:absolute; inset:0; }

.about-slider .slide{
  position:absolute;
  inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .65s ease;
}
.about-slider .slide.is-active{ opacity:1; transform:scale(1); }

.about-slider::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg,
    rgba(247, 251, 249, .06) 0%,
    rgba(247, 251, 249, .18) 55%,
    rgba(247, 251, 249, .35) 100%);
  z-index:1;
  pointer-events:none;
}

.about-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index:3;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(227,239,233,.95);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:900;
  color:#123b34;
  transition:.15s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.about-nav:hover{ transform: translateY(-50%) scale(1.03); }
.about-nav:active{ transform: translateY(-50%) scale(.98); }
.about-nav.prev{ left:12px; }
.about-nav.next{ right:12px; }

.about-slider .dots{
  position:absolute;
  left:50%;
  bottom:12px;
  transform: translateX(-50%);
  display:flex;
  gap:8px;
  z-index:3;
}
.about-slider .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(18,122,99,.35);
  background: rgba(255,255,255,.75);
  cursor:pointer;
}
.about-slider .dot.is-active{ background: rgba(18,122,99,.9); }

@media (max-width:1020px){
  .about-slider{
    height: 300px;
    border-radius: 24px;
  }
}


