/* =========================
   Las Ninfas - Styles
   Paleta crema/beige + oro/café
   ========================= */

:root{
  --bg: #fbf6d8;              /* crema */
  --bg-2: #f3edd0;            /* franja crema más profunda */
  --paper: #ffffff;
  --ink: #2b241b;             /* café oscuro */
  --muted: #5b503f;           /* café suave */
  --gold: #b8943a;            /* oro */
  --gold-2: #d2b562;          /* oro suave */
  --line: rgba(43,36,27,.18);
  --shadow: 0 10px 30px rgba(43,36,27,.10);
  --radius: 18px;
  --radius-lg: 22px;

  --serif: "Cormorant Garamond", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Focus visible para accesibilidad */
:focus-visible{
  outline: 3px solid rgba(184,148,58,.65);
  outline-offset: 3px;
  border-radius: 10px;
}

/* =========================
   NAVBAR
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,246,216,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 74px;
}

.nav__left{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.nav__brandLogo{
  height: 55px;
  width: auto;
}

.nav__social{
  display: flex;
  gap: 10px;
}

.icon-btn{
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(184,148,58,.35);
  background: rgba(255,255,255,.55);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.icon-btn svg{
  width: 18px; height: 18px;
  fill: var(--ink);
  opacity: .9;
}
.icon-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.8);
  border-color: rgba(184,148,58,.65);
}

.nav__center{
  display: grid;
  place-items: center;
}
.nav__centerLogo{
  height: 52px;
  width: auto;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.06));
}

.nav__right{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

/* Menu */
.nav__panel{
  display: flex;
}
.nav__menu{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link{
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .18s ease, transform .18s ease;
}
.nav__link:hover{
  background: rgba(255,255,255,.7);
  transform: translateY(-1px);
}
.nav__link.is-active{
  background: rgba(184,148,58,.14);
  border: 1px solid rgba(184,148,58,.35);
}

/* Dropdown */
.dropdown{ position: relative; }
.nav__link--btn{
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chev{ width: 18px; height: 18px; }

.dropdown__menu{
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.dropdown__menu a{
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.dropdown__menu a:hover{
  background: rgba(184,148,58,.12);
}
.dropdown.is-open .dropdown__menu{ display: block; }

/* Hamburger */
.hamburger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(184,148,58,.35);
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.hamburger span{
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 3px;
  opacity: .9;
}

/* Responsive navbar */
@media (max-width: 900px){
  .nav{
    grid-template-columns: 1fr auto auto;
  }
  .nav__center{ justify-self: center; }
  .nav__right{ justify-self: end; }
  .hamburger{ display: inline-block; }

  .nav__panel{
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 12px;
    display: none;
  }
  .nav__panel.is-open{ display: block; }

  .nav__menu{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .dropdown__menu{
    position: static;
    min-width: unset;
    box-shadow: none;
    border-radius: 14px;
    margin-top: 6px;
  }
}

/* =========================
   HERO
   ========================= */
.hero{
  position: relative;
  padding: 64px 0 42px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.60), rgba(0,0,0,.50)),
    radial-gradient(circle at 30% 20%, rgba(184,148,58,.20), transparent 48%),
    url("../img/sandwich1.JPG");
  background-size: cover;
  background-position: 50% 68%;
  filter: saturate(1.05);
}
.hero__content{
  position: relative;
  display: grid;
  place-items: center;
}
.hero__card{
  width: min(860px, 100%);
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0,0,0,.69);
}
.hero__title{
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: .3px;
  color: rgba(255, 255, 255, 0.751);
}
.hero__text{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(14px, 1.7vw, 20px);
  max-width: 70ch;
  margin-inline: auto;
}

/* =========================
   Band sections 
   ========================= */
.band{
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 34px 0;
  border-top: 1px solid rgba(43,36,27,.15);
  border-bottom: 1px solid rgba(43,36,27,.15);
}
.band--cta{
  background: linear-gradient(180deg, #efe7c8, var(--bg-2));
}
.band__inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.band__content{
  text-align: center;
}
.band__title{
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: .6px;
}
.band__rule{
  width: 58px;
  height: 3px;
  background: rgba(43,36,27,.55);
  border-radius: 999px;
  margin: 12px auto 0;
}

.ave{
  height: 168px;     /* ajusta tamaño */
  width: auto;
  opacity: .9;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.15));
}

/* Posiciones */
.ave--left{
  justify-self: end;
  max-width: 220px;
}

.ave--right{
  justify-self: start;
  max-width: 220px;
}

/* Dropdown Menu Banda 2 */

.menu-dropdown {
  position: relative;
  display: inline-block;
}

.menu-btn {
  cursor: pointer;
}

/* Ventana oculta */
.menu-popup {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

/* Links */
.menu-popup a {
  display: block;
  padding: 12px 18px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.menu-popup a:hover {
  background: #f5f5f5;
}

/* Mostrar dropdown */
.menu-dropdown:hover .menu-popup {
  opacity: 1;
  visibility: visible;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 10px 38px;
  margin-top: 12px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary{
  background: rgba(184,148,58,.20);
  color: var(--ink);
  border: 1px solid rgba(184,148,58,.45);
}
.btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(43,36,27,.10);
  background: rgba(184,148,58,.26);
}

/* =========================
   Slider
   ========================= */
.slider-section{ padding: 38px 0 28px; }

.slider{
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.30));
  box-shadow: var(--shadow);
}

.slider__viewport{ overflow: hidden; }
.slider__track{
  display: flex;
  transform: translateX(0);
  transition: transform .45s ease;
}

/* SLIDE */
.slide{
  min-width: 100%;
  height: clamp(260px, 40vw, 520px);
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(255,255,255,.25);
}

.slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;       /* ver completa SIEMPRE */
  object-position: center;
  border-radius: 16px;
}

/* Portraits: centradas y mostrando más arriba */
.slide.is-portrait{
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.25));
}

.slide.is-portrait img{
  object-position: center top;
}

/* Botones */
.slider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.30);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background .18s ease, transform .18s ease;
}
.slider__btn span{ font-size: 26px; line-height: 1; }
.slider__btn:hover{
  background: rgba(0,0,0,.42);
  transform: translateY(-50%) scale(1.03);
}
.slider__btn--prev{ left: 10px; }
.slider__btn--next{ right: 10px; }

/* Dots */
.slider__dots{
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.20);
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.22);
  cursor: pointer;
}
.dot.is-active{
  background: rgba(255,255,255,.82);
}

/* Responsive */
@media (max-width: 900px){
  .slider{ max-width: 92vw; }

  .slide{
    height: clamp(240px, 72vw, 520px);
    padding: 12px;
  }
}


/* =========================
   Services
   ========================= */
.services{ padding: 46px 0 18px; }
.section-title{
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0 0 22px;
  color: rgba(139, 94, 21, .9);
}

.cards3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card{
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 22px rgba(43,36,27,.08);
}
.card__title{
  text-align: center;
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  color: rgba(139, 94, 21, .9);
}
.card__text{
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px){
  .cards3{ grid-template-columns: 1fr; }
}

/* =========================
   Gallery strip
   ========================= */
.gallery-strip{
  padding: 18px 0 54px;
}

.strip{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.strip__item{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 22px rgba(43,36,27,.08);
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}

.strip__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  transform-origin: center;
}

@media (hover: hover) and (pointer: fine){
  .strip__item:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(43,36,27,.16);
  }

  .strip__item:hover img{
    transform: scale(1.08);
  }
}

@media (max-width: 900px){
  .strip{
    grid-template-columns: 1fr;
  }
}


/* =========================
   About (Nosotros)
   ========================= */
.about-hero{
  padding: 44px 0 22px;
}
.about-hero__inner{
  text-align: center;
}
.about-hero__badge{
  display: inline-grid;
  place-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(184,148,58,.18);
  border: 1px solid rgba(184,148,58,.40);
  margin-bottom: 18px;
}
.about-hero__badge span{
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .4px;
}
.about-hero__badge small{
  letter-spacing: 3px;
  opacity: .8;
  font-weight: 600;
  margin-top: 2px;
}
.about-hero__lead{
  margin: 0 auto 12px;
  max-width: 78ch;
  color: var(--muted);
  font-size: 16px;
}
.divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 26px 0;
}

.about-section{ padding: 8px 0 14px; }
.about-section__grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  align-items: center;
}
.about-section__grid--flip{
  grid-template-columns: 1.2fr 1fr;
}
.about-section__grid--flip .about-media{ order: 2; }
.about-section__grid--flip .about-copy{ order: 1; }

.media-circle{
  width: min(360px, 100%);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.55);
}
.media-circle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-title{
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 34px;
  color: rgba(139, 94, 21, .9);
}
.about-copy p{
  margin: 0;
  color: var(--muted);
}

.bullets{
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{ margin: 6px 0; }

@media (max-width: 900px){
  .about-section__grid,
  .about-section__grid--flip{
    grid-template-columns: 1fr;
  }
  .about-section__grid--flip .about-media{ order: 0; }
}

/* =========================
   Contact page (white background + cards + map)
   ========================= */
.page-white{
  background: var(--paper);
}
.contact-page{
  padding: 28px 0 42px;
}
.contact-hero{
  padding: 18px 0 10px;
}
.contact-hero__title{
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(32px, 3.8vw, 44px);
  color: #1d3f8a; 
  /* color: rgba(139, 94, 21, .95); */
}
.contact-hero__subtitle{
  margin: 10px auto 0;
  text-align: center;
  max-width: 80ch;
  color: rgba(43,36,27,.75);
}

.contact-grid{
  padding: 22px 0 10px;
}
.contact-grid__inner{
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 18px;
  align-items: start;
}

.contact-cards{
  display: grid;
  gap: 14px;
}

.contact-card{
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid rgba(43,36,27,.12);
  background: #fff;
  box-shadow: 0 10px 26px rgba(43,36,27,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.contact-card:hover{
  transform: translateY(-1px);
  border-color: rgba(184,148,58,.45);
  box-shadow: 0 14px 34px rgba(43,36,27,.10);
}

.contact-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(184,148,58,.14);
  border: 1px solid rgba(184,148,58,.35);
}
.contact-card__icon svg{
  width: 20px;
  height: 20px;
  fill: rgba(43,36,27,.9);
}
.contact-card__body h3{
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}
.contact-card__body p{
  margin: 0;
  color: rgba(43,36,27,.72);
  font-size: 14px;
}

.contact-map{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(43,36,27,.12);
  box-shadow: 0 10px 26px rgba(43,36,27,.08);
  background: #fff;
  min-height: 360px;
}
.contact-map iframe{
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

@media (max-width: 900px){
  .contact-grid__inner{
    grid-template-columns: 1fr;
  }
}

/* =========================
   FOOTER
   ========================= */
.site-footer{
  background: linear-gradient(180deg, #efe7c8, #eadfb9);
  border-top: 1px solid var(--line);
  padding: 26px 0 10px;
}

.footer__grid{
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer__col{ min-width: 0; }
.footer__title{
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  color: rgba(43,36,27,.9);
}

.footer__logoBtn{
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.footer__logo{
  width: 160px;
  height: auto;
}

.footer__social{
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer__row{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  text-decoration: none;
  color: rgba(43,36,27,.80);
  padding: 8px 10px;
  border-radius: 14px;
  transition: background .18s ease, transform .18s ease;
}
.footer__row:hover{
  background: rgba(255,255,255,.55);
  transform: translateY(-1px);
}

.footer__icon svg{
  width: 18px;
  height: 18px;
  fill: rgba(43,36,27,.85);
  margin-top: 2px;
}

.footer__text{
  margin: 0 0 6px;
  color: rgba(43,36,27,.78);
}

.footer__bottom{
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(43,36,27,.12);
  text-align: center;
  color: rgba(43,36,27,.70);
  font-size: 13px;
}

@media (max-width: 900px){
  .footer__grid{
    grid-template-columns: 1fr;
  }
  .footer__col{ text-align: left; }
}

/* =========================
   Placeholder (si no hay imágenes)
   ========================= */
.img-placeholder{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(184,148,58,.22), rgba(43,36,27,.10));
  color: rgba(43,36,27,.75);
  font-weight: 700;
  letter-spacing: .3px;
  text-align: center;
  padding: 18px;
}

/* =========================
   Lightbox (Pegar al final)
   ========================= */
body.is-lock-scroll{
  overflow: hidden;
}

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 9999;
  animation: lbFade .18s ease;
}

.lightbox__img{
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
  animation: lbZoom .18s ease;
}

.lightbox__hint{
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

@keyframes lbFade{
  from{ opacity: 0; }
  to{ opacity: 1; }
}
@keyframes lbZoom{
  from{ transform: scale(.92); }
  to{ transform: scale(1); }
}