/* Navbar compartido: réplica del navbar del index principal */
.site-header,
.site-header * { box-sizing: border-box; }

.site-header {
  --nav-serif: "Cormorant Garamond", Georgia, serif;
  --nav-sans: "Manrope", Arial, sans-serif;
  --nav-ease: cubic-bezier(0.2, 0.75, 0.25, 1);
  --nav-terracotta: #a55e49;
  --nav-terracotta-dark: #844532;
  position: absolute;
  z-index: 1000;
  inset: 0 0 auto;
  display: grid;
  height: 104px;
  grid-template-columns: minmax(515px, 2.25fr) minmax(410px, 2.75fr) minmax(150px, .9fr);
  align-items: center;
  padding: 0 30px 0 44px;
  background: transparent;
  color: #fff;
  font-family: var(--nav-sans);
  line-height: 1.2;
  transition: height 220ms var(--nav-ease), background-color 220ms var(--nav-ease), box-shadow 220ms var(--nav-ease);
}

/* Igual que el index principal: arriba del todo el fondo es transparente.
   Al hacer scroll, .is-scrolled activa el fondo oscuro/sticky. */
.site-header.site-header--inner {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.is-scrolled {
  position: fixed;
  height: 86px;
  grid-template-columns: minmax(475px,2.15fr) minmax(400px,2.65fr) minmax(145px,.85fr);
  padding-top: 2px;
  padding-bottom: 2px;
  background: rgba(25,24,21,.96);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}

.site-header.site-header--inner.is-scrolled {
  background: rgba(25,24,21,.96);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}

.site-header a { color: inherit; text-decoration: none; }

.site-header .brand {
  position: relative;
  display: grid;
  width: max-content;
  min-height: 82px;
  padding-left: 76px;
  align-content: center;
  color: #fff;
  text-decoration: none;
}

.site-header .brand__logo {
  position: absolute;
  top: 50%;
  left: 0;
  width: 64px;
  height: 64px;
  max-width: none;
  object-fit: contain;
  opacity: 1;
  transform: translateY(-50%);
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.22));
}

.site-header .brand__top {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-header .brand__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.site-header .brand__kicker {
  display: block;
  font-family: var(--nav-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.02em;
}

.site-header .brand__title {
  display: block;
  font-family: var(--nav-serif);
  font-size: 31px;
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.03em;
}

.site-header .brand__side {
  margin-left: -10px;
  max-width: 255px;
  font-family: var(--nav-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.03em;
}

.site-header .brand__bottom {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.15;
  text-transform: none;
}

.site-header.is-scrolled .brand {
  min-height: 74px;
  padding-left: 68px;
}

.site-header.is-scrolled .brand__logo {
  top: 50%;
  left: 0;
  width: 56px;
  height: 56px;
  transform: translateY(-50%);
}

.site-header.is-scrolled .brand__top { gap: 1px; }
.site-header.is-scrolled .brand__main { gap: 2px; }
.site-header.is-scrolled .brand__kicker { font-size: 14px; }
.site-header.is-scrolled .brand__title { font-size: 26px; line-height: .83; }
.site-header.is-scrolled .brand__side { max-width: 220px; font-size: 19px; line-height: .94; }
.site-header.is-scrolled .brand__bottom { font-size: 7.25px; letter-spacing: .1em; }

.site-header .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px,1.8vw,30px);
  font-size: 12px;
  font-weight: 600;
}
.site-header .desktop-nav a { position: relative; padding: 14px 0; white-space: nowrap; }
.site-header .desktop-nav a::after { position:absolute; right:0; bottom:7px; left:0; height:1px; background:currentColor; content:""; transform:scaleX(0); transform-origin:right; transition:transform 220ms var(--nav-ease); }
.site-header .desktop-nav a:hover::after,
.site-header .desktop-nav a:focus-visible::after { transform:scaleX(1); transform-origin:left; }

.site-header .header-cta,
.global-mobile-menu .global-mobile-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--nav-terracotta);
  color: #fff;
  font-family: var(--nav-sans);
  font-size: 13.76px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: background-color 220ms var(--nav-ease), transform 220ms var(--nav-ease);
}
.site-header .header-cta { justify-self: end; min-width: 152px; }
.site-header .header-cta:hover,
.global-mobile-menu .global-mobile-cta:hover { background: var(--nav-terracotta-dark); transform: translateY(-2px); }

.site-header .menu-toggle,
.site-header .mobile-whatsapp,
.global-mobile-menu { display: none; }

.site-header .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width:1240px) {
  .site-header { grid-template-columns:minmax(370px,1.8fr) minmax(360px,2.8fr) minmax(130px,.75fr); padding-left:24px; }
  .site-header .brand { padding-left:66px; }
  .site-header .brand__top { gap:8px; align-items:center; }
  .site-header .brand__kicker { font-size:14px; }
  .site-header .brand__title { font-size:24px; }
  .site-header .brand__side { max-width:190px; font-size:16px; }
  .site-header .brand__bottom { font-size:6.8px; letter-spacing:.1em; }
  .site-header .desktop-nav { gap:14px; font-size:10.72px; }
}

@media (max-width:980px) {
  body.global-menu-open { overflow:hidden !important; }
  .site-header,
  .site-header.is-scrolled,
  .site-header.site-header--inner {
    position: fixed;
    display: grid;
    height: 82px;
    grid-template-columns: 1fr auto auto;
    padding: 0 16px 0 18px;
    background: rgba(24,23,20,.94);
    box-shadow: none;
    backdrop-filter: blur(10px);
  }
  .site-header .brand { min-height:68px; max-width:292px; padding-left:56px; }
  .site-header .brand__logo,
  .site-header.is-scrolled .brand__logo { top:50%; left:0; width:46px; height:46px; transform:translateY(-50%); }
  .site-header .brand__top,
  .site-header.is-scrolled .brand__top { gap:2px; align-items:center; }
  .site-header .brand__main,
  .site-header.is-scrolled .brand__main { gap:2px; }
  .site-header .brand__kicker,
  .site-header.is-scrolled .brand__kicker { font-size:10px; line-height:.92; }
  .site-header .brand__title,
  .site-header.is-scrolled .brand__title { font-size:19px; line-height:.84; }
  .site-header .brand__side,
  .site-header.is-scrolled .brand__side { max-width:124px; font-size:11.5px; line-height:.98; }
  .site-header .brand__bottom,
  .site-header.is-scrolled .brand__bottom { font-size:4.9px; letter-spacing:.06em; line-height:1.1; }
  .site-header .desktop-nav,
  .site-header .header-cta { display:none; }
  .site-header .mobile-whatsapp,
  .site-header .menu-toggle { display:grid; width:46px; height:46px; place-items:center; border:0; padding:0; background:transparent; color:#fff; }
  .site-header .mobile-whatsapp { margin-right:5px; color:#65d58f; }
  .site-header .mobile-whatsapp svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
  .site-header .menu-toggle { position:relative; cursor:pointer; }
  .site-header .menu-toggle span:not(.sr-only) { position:absolute; left:10px; width:26px; height:1px; background:currentColor; transition:transform 220ms var(--nav-ease),top 220ms var(--nav-ease); }
  .site-header .menu-toggle span:first-child { top:17px; }
  .site-header .menu-toggle span:nth-child(2) { top:28px; }
  .site-header .menu-toggle[aria-expanded="true"] span:first-child { top:23px; transform:rotate(45deg); }
  .site-header .menu-toggle[aria-expanded="true"] span:nth-child(2) { top:23px; transform:rotate(-45deg); }

  .global-mobile-menu {
    position: fixed;
    z-index: 995;
    inset: 82px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 24px;
    background: rgba(30,29,26,.985);
    color:#fff;
    font-family:var(--nav-sans);
  }
  .global-mobile-menu[hidden] { display:none; }
  .global-mobile-menu > a:not(.global-mobile-cta) { display:grid; min-height:48px; place-items:center; color:#fff; font-family:var(--nav-serif); font-size:26.4px; font-weight:500; text-decoration:none; }
  .global-mobile-menu .global-mobile-cta { width:min(300px,100%); margin-top:18px; }
}

@media (max-width:700px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.site-header--inner { height:78px; }
  .site-header .brand { max-width:270px; }
  .site-header .brand__kicker,
  .site-header.is-scrolled .brand__kicker { font-size:9px; }
  .site-header .brand__title,
  .site-header.is-scrolled .brand__title { font-size:17px; }
  .site-header .brand__side,
  .site-header.is-scrolled .brand__side { max-width:100px; font-size:9.6px; }
  .site-header .brand__bottom,
  .site-header.is-scrolled .brand__bottom { font-size:4.4px; letter-spacing:.05em; }
  .global-mobile-menu { inset-block-start:78px; }
}


/* V30: homologación tipográfica absoluta con el navbar del Inicio.
   Se usan px para que páginas que escalan html/root no alteren el navbar. */
.site-header,
.site-header .desktop-nav,
.site-header .desktop-nav a,
.site-header .header-cta,
.site-header .brand__bottom,
.site-header .menu-toggle,
.site-header .mobile-whatsapp,
.global-mobile-menu,
.global-mobile-menu .global-mobile-cta {
  font-family: "Manrope", Arial, sans-serif;
}
.site-header .brand__main,
.site-header .brand__side,
.global-mobile-menu > a:not(.global-mobile-cta) {
  font-family: "Cormorant Garamond", Georgia, serif;
}
@media (min-width: 1241px) {
  .site-header .desktop-nav,
  .site-header .desktop-nav a { font-size: 12px; font-weight: 600; line-height: 1.2; }
  .site-header .header-cta { font-size: 13.76px; font-weight: 700; line-height: 1; }
  .site-header .brand__main { font-size: 32px; font-weight: 500; line-height: .82; }
  .site-header .brand__side { font-size: 23px; font-weight: 500; line-height: .92; max-width: 270px; }
  .site-header .brand__bottom { font-size: 7.68px; font-weight: 700; line-height: 1.2; }
  .site-header.is-scrolled .brand__main { font-size: 26.88px; line-height: .83; }
  .site-header.is-scrolled .brand__side { font-size: 19px; line-height: .94; max-width: 225px; }
  .site-header.is-scrolled .brand__bottom { font-size: 6.4px; }
}
@media (min-width: 981px) and (max-width: 1240px) {
  .site-header .desktop-nav,
  .site-header .desktop-nav a { font-size: 10.72px; font-weight: 600; line-height: 1.2; }
  .site-header .header-cta { font-size: 13.76px; font-weight: 700; line-height: 1; }
  .site-header .brand__main { font-size: 26.88px; font-weight: 500; line-height: .82; }
  .site-header .brand__side { font-size: 17px; font-weight: 500; line-height: .93; max-width: 200px; }
  .site-header .brand__bottom { font-size: 6.4px; font-weight: 700; line-height: 1.2; }
  .site-header.is-scrolled .brand__main { font-size: 26.88px; line-height: .83; }
  .site-header.is-scrolled .brand__side { font-size: 16px; line-height: .94; max-width: 185px; }
  .site-header.is-scrolled .brand__bottom { font-size: 6.4px; }
}
@media (max-width: 980px) {
  .site-header .brand__main,
  .site-header.is-scrolled .brand__main { font-size: 20.8px; font-weight: 500; line-height: .84; }
  .site-header .brand__side,
  .site-header.is-scrolled .brand__side { font-size: 11.5px; font-weight: 500; line-height: .98; max-width: 128px; }
  .site-header .brand__bottom,
  .site-header.is-scrolled .brand__bottom { font-size: 4.96px; font-weight: 700; line-height: 1.15; }
  .global-mobile-menu > a:not(.global-mobile-cta) { font-size: 26.4px; font-weight: 500; }
  .global-mobile-menu .global-mobile-cta { font-size: 13.76px; font-weight: 700; }
}
@media (max-width: 700px) {
  .site-header .brand__main,
  .site-header.is-scrolled .brand__main { font-size: 18.24px; }
  .site-header .brand__side,
  .site-header.is-scrolled .brand__side { font-size: 10px; max-width: 110px; }
  .site-header .brand__bottom,
  .site-header.is-scrolled .brand__bottom { font-size: 4.32px; }
}


/* Logo oficial junto al nombre del negocio */
@media (max-width:700px) {
  .site-header .brand,
  .site-header.is-scrolled .brand {
    max-width: 238px;
    padding-left: 50px;
  }
  .site-header .brand__logo,
  .site-header.is-scrolled .brand__logo {
    width: 42px;
    height: 42px;
  }
}


/* Redes sociales visibles en navbar */
.site-header { grid-template-columns: minmax(490px,2.05fr) minmax(300px,2.2fr) auto minmax(150px,.85fr); }
.site-header.is-scrolled { grid-template-columns: minmax(455px,1.95fr) minmax(290px,2.15fr) auto minmax(145px,.82fr); }
.site-header .header-socials { display:flex; align-items:center; justify-content:flex-end; gap:10px; justify-self:end; margin-right:16px; }
.site-header .header-social { display:inline-flex; align-items:center; gap:9px; min-height:42px; padding:0 14px; border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.08); color:#fff; font-size:11.5px; font-weight:700; letter-spacing:.02em; text-decoration:none; transition:background-color 220ms var(--nav-ease), border-color 220ms var(--nav-ease), transform 220ms var(--nav-ease); backdrop-filter:blur(8px); }
.site-header .header-social:hover,.site-header .header-social:focus-visible { background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.42); transform:translateY(-2px); }
.site-header .header-social svg { width:16px; height:16px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.8; }
.site-header.is-scrolled .header-social { min-height:38px; padding:0 12px; font-size:10.8px; }
@media (max-width:1440px) { .site-header .header-social span { display:none; } .site-header .header-social { width:42px; justify-content:center; padding:0; } }
@media (max-width:1240px) {
  .site-header { grid-template-columns:minmax(355px,1.75fr) minmax(300px,2.4fr) auto minmax(130px,.72fr); }
  .site-header .header-socials { gap:8px; margin-right:12px; }
  .site-header .header-social { width:40px; min-height:40px; padding:0; justify-content:center; }
}
@media (max-width:980px) { .site-header .header-socials { display:none; } }


/* Navbar social icons v76: icon-only, including both Instagram profiles */
.site-header .header-socials { gap:8px; margin-right:14px; }
.site-header .header-social { width:40px; min-width:40px; height:40px; min-height:40px; padding:0; justify-content:center; border-radius:50%; }
.site-header .header-social span { display:none !important; }
.site-header .header-social svg { width:17px; height:17px; }
.site-header.is-scrolled .header-social { width:36px; min-width:36px; height:36px; min-height:36px; padding:0; }
@media (max-width:1240px) {
  .site-header .header-socials { gap:6px; margin-right:10px; }
  .site-header .header-social { width:36px; min-width:36px; height:36px; min-height:36px; }
}

/* v77: distribución estable del navbar con 3 iconos sociales */
@media (min-width: 1241px) {
  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: minmax(410px, 440px) minmax(0, 1fr) 128px 146px;
    column-gap: 12px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header .brand,
  .site-header.is-scrolled .brand {
    width: 100%;
    min-width: 0;
  }

  .site-header .brand__top,
  .site-header.is-scrolled .brand__top {
    min-width: 0;
  }

  .site-header .brand__side {
    max-width: 220px;
    font-size: 21px;
    white-space: nowrap;
  }

  .site-header.is-scrolled .brand__side {
    max-width: 200px;
    font-size: 18px;
    white-space: nowrap;
  }

  .site-header .desktop-nav {
    min-width: 0;
    gap: clamp(7px, .72vw, 13px);
    font-size: 10.7px;
    justify-content: center;
  }

  .site-header .desktop-nav a {
    flex: 0 0 auto;
  }

  .site-header .header-socials,
  .site-header.is-scrolled .header-socials {
    width: 128px;
    min-width: 128px;
    margin: 0;
    justify-self: center;
    justify-content: center;
    gap: 6px;
  }

  .site-header .header-social {
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .site-header.is-scrolled .header-social {
    flex-basis: 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .site-header .header-cta,
  .site-header.is-scrolled .header-cta {
    width: 146px;
    min-width: 146px;
    padding-left: 15px;
    padding-right: 15px;
    justify-self: end;
    white-space: nowrap;
  }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: minmax(350px, 375px) minmax(0, 1fr) 110px 128px;
    column-gap: 8px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header .brand,
  .site-header.is-scrolled .brand {
    width: 100%;
    min-width: 0;
    padding-left: 58px;
  }

  .site-header .brand__logo,
  .site-header.is-scrolled .brand__logo {
    width: 50px;
    height: 50px;
  }

  .site-header .brand__kicker,
  .site-header.is-scrolled .brand__kicker { font-size: 12px; }
  .site-header .brand__title,
  .site-header.is-scrolled .brand__title { font-size: 22px; }
  .site-header .brand__side,
  .site-header.is-scrolled .brand__side {
    max-width: 165px;
    font-size: 14px;
    white-space: nowrap;
  }
  .site-header .brand__bottom,
  .site-header.is-scrolled .brand__bottom { font-size: 5.6px; }

  .site-header .desktop-nav {
    min-width: 0;
    gap: 6px;
    font-size: 9.1px;
    justify-content: center;
  }

  .site-header .header-socials,
  .site-header.is-scrolled .header-socials {
    width: 110px;
    min-width: 110px;
    margin: 0;
    gap: 4px;
    justify-self: center;
    justify-content: center;
  }

  .site-header .header-social,
  .site-header.is-scrolled .header-social {
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .site-header .header-cta,
  .site-header.is-scrolled .header-cta {
    width: 128px;
    min-width: 128px;
    min-height: 42px;
    padding: 11px 12px;
    font-size: 11px;
    white-space: nowrap;
  }
}


/* v78: tooltips premium para identificar las redes del navbar */
@media (min-width: 981px) {
  .site-header .header-social {
    position: relative;
    overflow: visible;
    isolation: isolate;
  }

  .site-header .header-social::before,
  .site-header .header-social::after {
    position: absolute;
    left: 50%;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms var(--nav-ease), transform 180ms var(--nav-ease), visibility 180ms var(--nav-ease);
  }

  .site-header .header-social::after {
    content: attr(data-tooltip);
    top: calc(100% + 12px);
    z-index: 1200;
    width: max-content;
    max-width: 245px;
    padding: 9px 13px 10px;
    border: 1px solid rgba(91, 74, 55, .18);
    border-radius: 2px;
    background: rgba(250, 247, 241, .97);
    color: #39342e;
    box-shadow: 0 14px 34px rgba(28, 22, 16, .18);
    font-family: var(--nav-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .015em;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    transform: translate(-50%, -4px);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .site-header .header-social::before {
    content: "";
    top: calc(100% + 6px);
    z-index: 1201;
    width: 10px;
    height: 10px;
    border-left: 1px solid rgba(91, 74, 55, .14);
    border-top: 1px solid rgba(91, 74, 55, .14);
    background: rgba(250, 247, 241, .97);
    transform: translate(-50%, 1px) rotate(45deg);
  }

  .site-header .header-social:hover::after,
  .site-header .header-social:focus-visible::after,
  .site-header .header-social:hover::before,
  .site-header .header-social:focus-visible::before {
    opacity: 1;
    visibility: visible;
  }

  .site-header .header-social:hover::after,
  .site-header .header-social:focus-visible::after {
    transform: translate(-50%, 0);
  }

  .site-header .header-social:hover::before,
  .site-header .header-social:focus-visible::before {
    transform: translate(-50%, 0) rotate(45deg);
  }

  .site-header.is-scrolled .header-social::after {
    top: calc(100% + 10px);
  }

  .site-header.is-scrolled .header-social::before {
    top: calc(100% + 4px);
  }
}
