/* Tipografías locales auto-alojadas (100% RGPD, sin llamadas externas a Google Fonts) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --jt-dark: #2A201A;
  --jt-dark-2: #4A382D;
  --jt-bg: #F6F0E8;
  --jt-ivory: #FBF8F3;
  --jt-sand: #E7D8CB;
  --jt-champagne: #B98468;
  --jt-gold: #D8C4A0;
  --jt-accent: #8A4F38;
  --jt-accent-hover: #5E3322;
  --jt-body: #4A3B31;
  --jt-border: #D9C4B3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--jt-bg);
  color: var(--jt-dark);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--jt-accent); transition: color .2s, background-color .2s, opacity .2s; }
a:hover { color: var(--jt-accent-hover); }
img { max-width: 100%; height: auto; display: block; }

/* Cabecera unificada con logotipo oficial y menú móvil */
.jt-site-header {
  background: var(--jt-dark);
  border-bottom: 1px solid rgba(216,196,160,.14);
  position: sticky;
  top: 0;
  z-index: 950;
}
.jt-site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.jt-logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.jt-logo-link img {
  height: 60px;
  width: auto;
}
.jt-nav-toggle {
  display: none;
  background: transparent;
  color: var(--jt-bg);
  border: 1px solid rgba(216,196,160,.55);
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  border-radius: 2px;
  cursor: pointer;
}
.jt-site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: 14.5px;
}
.jt-site-nav a {
  color: var(--jt-bg);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.jt-site-nav a:hover,
.jt-site-nav a.is-active {
  color: #fff;
  border-bottom-color: var(--jt-gold);
}
.jt-site-nav a.jt-cta-nav.jt-phone-nav {
  background: var(--jt-accent);
  color: #FFFFFF;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: .04em;
  padding: 10px 16px;
  border-radius: 2px;
  border-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.jt-site-nav a.jt-cta-nav.jt-phone-nav:hover {
  background: var(--jt-accent-hover);
  color: #FFFFFF;
}
.jt-mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}
.jt-mobile-call {
  background: var(--jt-accent);
  color: #FFFFFF !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 8px 12px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.jt-mobile-call:hover {
  background: var(--jt-accent-hover);
  color: #FFFFFF !important;
}

/* Pie de página unificado */
.jt-site-footer {
  background: var(--jt-dark);
  color: #E6D9CC;
}
.jt-site-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr 1fr;
  gap: 36px;
}
.jt-site-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jt-site-footer-heading {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--jt-gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.jt-site-footer a {
  color: #E6D9CC;
  text-decoration: none;
  font-size: 14px;
}
.jt-site-footer a:hover {
  color: var(--jt-gold);
  text-decoration: underline;
}
.jt-site-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px 30px;
  border-top: 1px solid rgba(216,196,160,.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #b4a395;
}

/* Bloque destacado GastronomIA */
.jt-gastronomia-banner {
  margin-top: 40px;
  background: var(--jt-dark);
  color: var(--jt-bg);
  border-left: 4px solid var(--jt-champagne);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
  justify-content: space-between;
}
.jt-gastronomia-banner h3 {
  margin: 8px 0 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  color: var(--jt-bg);
}
.jt-gastronomia-banner p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #E6D9CC;
  max-width: 680px;
}
.jt-btn-gold {
  display: inline-block;
  background: var(--jt-champagne);
  color: var(--jt-dark) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 2px;
}
.jt-btn-gold:hover { background: #c9967b; }

/* Modales Legales Cerrables */
.jt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 13, 10, 0.78);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.jt-modal-backdrop.is-open { display: flex; }
.jt-modal {
  background: var(--jt-ivory);
  color: var(--jt-dark);
  max-width: 740px;
  width: 100%;
  max-height: 86vh;
  border-top: 4px solid var(--jt-champagne);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  display: flex;
  flex-direction: column;
}
.jt-modal-head {
  padding: 18px 26px;
  border-bottom: 1px solid var(--jt-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.jt-modal-head h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}
.jt-modal-close {
  background: transparent;
  border: 1px solid var(--jt-border);
  color: var(--jt-dark);
  width: 34px;
  height: 34px;
  font-size: 17px;
  cursor: pointer;
  border-radius: 2px;
}
.jt-modal-body {
  padding: 22px 26px;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.68;
  color: var(--jt-body);
}
.jt-modal-body h4 { color: var(--jt-dark); margin: 18px 0 6px; font-size: 16px; }
.jt-modal-foot {
  padding: 14px 26px;
  border-top: 1px solid var(--jt-border);
  text-align: right;
  background: var(--jt-bg);
}

/* Banner de Cookies */
.jt-cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1D1511;
  color: #E6D9CC;
  border-top: 2px solid var(--jt-champagne);
  z-index: 2000;
  padding: 16px 24px;
  display: none;
  box-shadow: 0 -6px 24px rgba(0,0,0,.3);
}
.jt-cookie-bar.is-visible { display: block; }
.jt-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  font-size: 14px;
  line-height: 1.55;
}
.jt-cookie-inner p { margin: 0; flex: 1 1 500px; }
.jt-cookie-inner a { color: var(--jt-gold); text-decoration: underline; }
.jt-cookie-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.jt-cookie-btn {
  padding: 9px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  border: 1px solid var(--jt-champagne);
  background: var(--jt-champagne);
  color: var(--jt-dark);
}
.jt-cookie-btn-sec {
  background: transparent;
  color: #E6D9CC;
  border-color: rgba(216,196,160,.45);
}

/* Estado formulario contacto */
.jt-form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 2px;
  font-size: 14.5px;
  line-height: 1.5;
}
.jt-form-status.ok { display: block; background: #e6f2e8; color: #1e4620; border: 1px solid #a3cfa9; }
.jt-form-status.err { display: block; background: #fbeaea; color: #6e1c1c; border: 1px solid #dfa8a8; }

/* Correcciones Responsive automáticas para todas las maquetas de Claude */
@media (max-width: 920px) {
  .jt-logo-link img { height: 38px; }
  .jt-mobile-actions { display: inline-flex; }
  .jt-nav-toggle { display: inline-block; }
  .jt-site-nav a.jt-phone-nav { display: none; }
  .jt-site-header-inner { flex-wrap: wrap; padding: 16px 20px; }
  .jt-site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 14px;
    border-top: 1px solid rgba(216,196,160,.15);
    gap: 12px;
  }
  .jt-site-nav.is-open { display: flex; }
  .jt-site-footer-grid { grid-template-columns: 1fr 1fr; padding: 48px 20px 30px; }
  .jt-site-footer-bottom { padding: 16px 20px 26px; }
}

@media (max-width: 680px) {
  /* Escalar titulares inline grandes en móvil sin tocar diseño desktop */
  main h1 { font-size: clamp(34px, 9vw, 44px) !important; line-height: 1.08 !important; }
  main h2 { font-size: clamp(28px, 7.5vw, 36px) !important; line-height: 1.14 !important; }
  main section > div {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  .jt-gastronomia-banner { padding: 26px 22px; }
  .jt-site-footer-grid { grid-template-columns: 1fr; }
  .jt-logo-link img { height: 30px; }
}

/* Clases para fotos numeradas (recorte proporcional automático con object-fit: cover) */
.jt-foto, video.jt-foto {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  background: var(--jt-sand);
}
.jt-ratio-4-5 { aspect-ratio: 4 / 5; }
.jt-ratio-4-3 { aspect-ratio: 4 / 3; }
.jt-ratio-16-10 { aspect-ratio: 16 / 10; }

/* Botón flotante discreto de WhatsApp en color corporativo (especialmente pensado para móvil) */
.jt-wa-float {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 1900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--jt-accent);
  border: 1px solid rgba(216,196,160,.45);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(26, 18, 14, 0.32);
  transition: transform .2s ease, background-color .2s ease, bottom .2s ease;
}
.jt-wa-float:hover {
  background: var(--jt-accent-hover);
  transform: translateY(-2px);
}
body.has-cookie-bar .jt-wa-float {
  bottom: 92px;
}
@media (min-width: 921px) {
  /* En ordenador es aún más discreto; si en algún momento quieres mostrarlo SOLO en móvil, basta poner display: none aquí */
  .jt-wa-float {
    width: 44px;
    height: 44px;
    opacity: .9;
  }
  .jt-wa-float:hover { opacity: 1; }
}
@media (max-width: 420px) {
  .jt-mobile-call span { font-size: 12px; }
  .jt-mobile-call { padding: 7px 10px; }
  .jt-nav-toggle { padding: 7px 10px; font-size: 13px; }
}

/* Bloques de vídeo YouTube (16:9 horizontal y 9:16 vertical para Shorts) */
.jt-yt-16-9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1B1410;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(42, 32, 26, 0.14);
}
.jt-yt-9-16 {
  position: relative;
  width: 100%;
  max-width: 315px;
  aspect-ratio: 9 / 16;
  background: #1B1410;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(42, 32, 26, 0.14);
}
.jt-yt-16-9 iframe,
.jt-yt-9-16 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.jt-roca-feature {
  background: #2A201A;
  color: #F6F0E8;
  border-left: 4px solid #B98468;
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: center;
}
.jt-cg-videos-wrap {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed #D9C4B3;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.jt-cg-videos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.jt-cg-videos-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.jt-vid-caption {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #6B4A3A;
  font-weight: 500;
}
@media (max-width: 820px) {
  .jt-cg-videos-row { grid-template-columns: 1fr; }
  .jt-roca-feature { padding: 26px 22px; }
}
