/* ==========================================================
   EL COTO DEL CASAR — main.css  v1.0
   ========================================================== */

/* --- TOKENS ------------------------------------------------ */
:root {
  --ec-cream:      #FAF7F2;
  --ec-white:      #FFFFFF;
  --ec-sand:       #EDE4D5;
  --ec-sand-dark:  #D9CEBC;
  --ec-terra:      #B85C38;
  --ec-terra-dk:   #96422A;
  --ec-terra-lt:   #D4795A;
  --ec-olive:      #6B7A52;
  --ec-charcoal:   #2A2520;
  --ec-mid:        #6A5F55;
  --ec-soft:       #A3978D;
  --ec-border:     #DDD5C6;
  --ec-shadow-sm:  0 2px 12px rgba(42,37,32,.07);
  --ec-shadow-md:  0 6px 28px rgba(42,37,32,.12);
  --ec-shadow-lg:  0 16px 56px rgba(42,37,32,.18);
  --ec-ff-display: 'Cormorant Garamond', Georgia, serif;
  --ec-ff-body:    'Nunito Sans', sans-serif;
  --ec-ease:       .26s cubic-bezier(.4,0,.2,1);
  --ec-radius:     10px;
}

/* --- RESET ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--ec-cream);
  color: var(--ec-charcoal);
  font-family: var(--ec-ff-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { font-family: var(--ec-ff-body); cursor: pointer; }

/* ============================================================
   I18N — Language switcher classes
   ============================================================ */
/* Default: show ES, hide EN */
.i18n-en { display: none; }

/* When lang-en class on <html> or <body>: flip */
.lang-en .i18n-es { display: none !important; }
.lang-en .i18n-en { display: inline !important; }

/* For block-level elements */
.lang-en .i18n-es[class*="block"],
.lang-en .i18n-es.ec-s-desc,
.lang-en .i18n-es.ec-card__desc { display: none !important; }
.lang-en .i18n-en[class*="block"],
.lang-en .i18n-en.ec-s-desc,
.lang-en .i18n-en.ec-card__desc { display: block !important; }

/* ============================================================
   TICKER
   ============================================================ */
.ec-ticker {
  background: var(--ec-terra);
  color: #fff;
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: .75rem;
  position: relative;
  z-index: 10;
}
.ec-ticker__badge {
  flex-shrink: 0;
  background: var(--ec-terra-dk);
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ec-ticker__badge svg { width: 13px; fill: #fff; flex-shrink: 0; }
.ec-ticker__track { flex: 1; overflow: hidden; }
.ec-ticker__inner {
  display: flex;
  white-space: nowrap;
  animation: ec-ticker-scroll 30s linear infinite;
}
.ec-ticker__inner:hover { animation-play-state: paused; }
@keyframes ec-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ec-ticker__item {
  padding: 0 52px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  letter-spacing: .04em;
}
.ec-ticker__item::before { content: '◆'; font-size: .45rem; opacity: .65; }
.ec-ticker__item a { color: #fff; }
.ec-ticker__item a:hover { text-decoration: underline; }

/* ============================================================
   HEADER
   ============================================================ */
.ec-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ec-white);
  border-bottom: 1px solid var(--ec-border);
  box-shadow: var(--ec-shadow-sm);
}
.ec-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.ec-logo { display: flex; align-items: center; flex-shrink: 0; }
.ec-logo__wrap {
  background: var(--ec-cream);
  border: 1px solid var(--ec-border);
  border-radius: 8px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  transition: border-color var(--ec-ease), background var(--ec-ease);
}
.ec-logo:hover .ec-logo__wrap { border-color: var(--ec-terra); background: var(--ec-sand); }
.ec-logo img, .ec-logo__wrap img, .ec-logo__img { height: 52px; width: auto; display: block; }
/* WP custom logo wrapper */
.ec-logo .custom-logo-link { display: flex; }
.ec-logo .custom-logo { height: 52px; width: auto; }
/* Text fallback when no custom logo is set */
.ec-logo__text {
  font-family: var(--ec-ff-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ec-charcoal);
  letter-spacing: .01em;
  white-space: nowrap;
}

/* ============================================================
   HIDE RESTAURANT MENU MANAGER PRICE FIELD
   ============================================================ */
.rm-price,
.restaurant_menu_price,
.menu-item-price,
.rm_price,
.rmm-price,
.restaurant-menu-price,
[class*="rm-price"],
[class*="rmm_price"],
[class*="menu-price"],
.restaurant_menu .price,
.restaurant-menu .price,
.rm-entry .price,
.rm-item .price,
/* Exact selectors confirmed by inspection */
.price-text,
span.price-text,
.menu-entry-meta,
div.menu-entry-meta { display: none !important; }


/* Desktop nav */
.ec-nav { display: flex; }
.ec-nav__list { display: flex; align-items: center; gap: 2px; }
.ec-nav__list > li { position: relative; }
.ec-nav__list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ec-charcoal);
  border-radius: 6px;
  transition: background var(--ec-ease), color var(--ec-ease);
  white-space: nowrap;
}
.ec-nav__list > li > a:hover,
.ec-nav__list > li:hover > a,
.ec-nav__list > li.current > a { background: var(--ec-sand); color: var(--ec-terra); }
.ec-nav__caret { font-size: .55rem; margin-top: 1px; transition: transform var(--ec-ease); }
.ec-nav__list > li:hover .ec-nav__caret { transform: rotate(180deg); }

/* Dropdown */
.ec-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: var(--ec-white);
  border: 1px solid var(--ec-border);
  border-radius: var(--ec-radius);
  box-shadow: var(--ec-shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--ec-ease), transform var(--ec-ease), visibility var(--ec-ease);
  z-index: 300;
}
.ec-nav__has-drop:hover .ec-dropdown,
.ec-nav__has-drop:focus-within .ec-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.ec-dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: .82rem;
  font-weight: 400;
  color: var(--ec-mid);
  transition: background var(--ec-ease), color var(--ec-ease), padding-left var(--ec-ease);
}
.ec-dropdown li a:hover { background: var(--ec-cream); color: var(--ec-terra); padding-left: 24px; }
.ec-dropdown__sep { height: 1px; background: var(--ec-border); margin: 6px 14px; }
.ec-dropdown__group {
  display: block;
  padding: 6px 20px 2px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ec-soft);
}

/* Header actions */
.ec-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Language switcher */
.ec-lang { position: relative; }
.ec-lang__btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 11px;
  border: 1px solid var(--ec-border);
  border-radius: 7px;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--ec-mid);
  background: transparent;
  transition: border-color var(--ec-ease), background var(--ec-ease), color var(--ec-ease);
}
.ec-lang__btn:hover { border-color: var(--ec-terra); color: var(--ec-terra); background: var(--ec-sand); }
.ec-lang__arrow { font-size: .55rem; opacity: .7; transition: transform var(--ec-ease); }
.ec-lang[data-open="true"] .ec-lang__arrow { transform: rotate(180deg); }
.ec-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--ec-white);
  border: 1px solid var(--ec-border);
  border-radius: var(--ec-radius);
  box-shadow: var(--ec-shadow-md);
  padding: 6px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--ec-ease), transform var(--ec-ease), visibility var(--ec-ease);
  z-index: 300;
}
.ec-lang[data-open="true"] .ec-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ec-lang__option {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 9px 16px;
  font-size: .83rem; font-weight: 600;
  color: var(--ec-mid); background: none; border: none;
  transition: background var(--ec-ease), color var(--ec-ease);
}
.ec-lang__option:hover { background: var(--ec-cream); color: var(--ec-terra); }
.ec-lang__option.active { color: var(--ec-terra); font-weight: 700; }

/* Buttons */
.ec-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 7px;
  font-family: var(--ec-ff-body);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background var(--ec-ease), border-color var(--ec-ease), color var(--ec-ease), transform var(--ec-ease);
  white-space: nowrap;
}
.ec-btn--terra { background: var(--ec-terra); color: #fff; }
.ec-btn--terra:hover { background: var(--ec-terra-dk); transform: translateY(-1px); }
.ec-btn--outline { background: transparent; color: var(--ec-charcoal); border: 1.5px solid var(--ec-charcoal); }
.ec-btn--outline:hover { border-color: var(--ec-terra); color: var(--ec-terra); background: var(--ec-sand); }
.ec-btn--ghost-light { background: transparent; color: rgba(255,255,255,.9); border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(4px); }
.ec-btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.ec-btn--lg { padding: 14px 32px; font-size: .82rem; }
.ec-btn--block { display: flex; width: 100%; }

/* Hamburger */
.ec-hamburger {
  display: none;
  background: none; border: none;
  color: var(--ec-charcoal); padding: 4px;
}
.ec-hamburger svg { display: block; width: 26px; height: 26px; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.ec-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 400;
  opacity: 0;
  transition: opacity .3s;
}
.ec-overlay.open { opacity: 1; }
.ec-drawer {
  position: fixed;
  top: 0; left: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--ec-white);
  z-index: 401;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.ec-drawer.open { transform: translateX(0); }
.ec-drawer__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ec-border);
  display: flex; align-items: center; justify-content: space-between;
}
.ec-drawer__head .ec-logo__wrap { padding: 5px 12px; }
.ec-drawer__head .ec-logo img { height: 42px; }
.ec-drawer__close { background: none; border: none; color: var(--ec-mid); padding: 4px; }
.ec-drawer__close svg { width: 22px; display: block; }
.ec-drawer__body { flex: 1; padding: 10px 0; }
.ec-drawer__link {
  display: block;
  padding: 11px 22px;
  font-size: .88rem; font-weight: 600;
  color: var(--ec-charcoal); letter-spacing: .04em;
  transition: color var(--ec-ease), background var(--ec-ease);
}
.ec-drawer__link:hover { color: var(--ec-terra); background: var(--ec-cream); }
.ec-drawer__sub .ec-drawer__link {
  padding-left: 36px;
  font-weight: 300; font-size: .83rem;
  color: var(--ec-mid);
}
.ec-drawer__group {
  padding: 10px 22px 3px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--ec-soft);
}
.ec-drawer__sep { height: 1px; background: var(--ec-border); margin: 7px 22px; }
.ec-drawer__lang {
  padding: 12px 22px;
  display: flex; gap: 10px;
}
.ec-drawer__foot {
  padding: 18px 20px;
  border-top: 1px solid var(--ec-border);
}

/* ============================================================
   MAIN / INNER
   ============================================================ */
.ec-main { display: block; }
.ec-inner { max-width: 1180px; margin: 0 auto; }
.ec-section { padding: 90px 28px; }
.ec-section--white { background: var(--ec-white); }
.ec-section--dark { background: var(--ec-charcoal); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.ec-s-head { text-align: center; margin-bottom: 56px; }
.ec-eyebrow {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ec-terra); margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.ec-eyebrow::before, .ec-eyebrow::after {
  content: ''; width: 24px; height: 1px;
  background: var(--ec-terra); opacity: .5;
}
.ec-eyebrow--light { color: rgba(255,255,255,.75); }
.ec-eyebrow--light::before, .ec-eyebrow--light::after { background: rgba(255,255,255,.4); }
.ec-s-title {
  font-family: var(--ec-ff-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300; line-height: 1.15;
  color: var(--ec-charcoal);
}
.ec-s-title em { font-style: italic; color: var(--ec-terra); }
.ec-section--dark .ec-s-title { color: #fff; }
.ec-section--dark .ec-s-title em { color: var(--ec-terra-lt); }
.ec-s-desc {
  margin-top: 14px;
  color: var(--ec-mid); font-size: .95rem;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.ec-section--dark .ec-s-desc { color: rgba(255,255,255,.6); }

/* ============================================================
   HERO
   ============================================================ */
.ec-hero {
  position: relative;
  min-height: min(90vh, 700px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ec-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  transition: transform 8s ease;
}
.ec-hero:hover .ec-hero__bg { transform: scale(1.03); }
.ec-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(42,37,32,.06) 0%,
    rgba(42,37,32,.18) 30%,
    rgba(42,37,32,.75) 100%
  );
}
.ec-hero__content {
  position: relative; z-index: 2;
  padding: 60px 60px 64px;
  max-width: 680px;
}
.ec-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ec-ff-body);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.ec-hero__eyebrow span { width: 28px; height: 1px; background: rgba(255,255,255,.5); flex-shrink: 0; }
.ec-hero__title {
  font-family: var(--ec-ff-display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 300; line-height: 1.05;
  color: #fff; letter-spacing: -.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.ec-hero__title em { font-style: italic; color: #f0c8b8; }
.ec-hero__desc {
  margin-top: 18px;
  font-size: 1rem; color: rgba(255,255,255,.82);
  max-width: 420px; line-height: 1.6;
}
.ec-hero__actions {
  margin-top: 36px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* Schedule pill */
.ec-hero__schedule {
  position: absolute;
  bottom: 32px; right: 48px;
  z-index: 2;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  padding: 18px 24px;
  display: flex; gap: 24px;
  box-shadow: var(--ec-shadow-md);
}
.ec-sch__item { text-align: center; }
.ec-sch__label {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--ec-soft); display: block; margin-bottom: 3px;
}
.ec-sch__val {
  font-family: var(--ec-ff-display);
  font-size: .97rem; color: var(--ec-charcoal);
  display: block;
}
.ec-sch__sep { width: 1px; background: var(--ec-border); align-self: stretch; }

/* ============================================================
   SPACE GRID
   ============================================================ */
.ec-space-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 300px 300px;
  gap: 14px;
}
.ec-space-item {
  border-radius: var(--ec-radius);
  overflow: hidden;
  position: relative;
}
.ec-space-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ec-space-item:hover img { transform: scale(1.05); }
.ec-space-item--tall { grid-row: span 2; }
.ec-space-item__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 18px;
  background: linear-gradient(to top, rgba(42,37,32,.7) 0%, transparent 100%);
  color: rgba(255,255,255,.9);
  font-size: .77rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  opacity: 0; transition: opacity var(--ec-ease);
}
.ec-space-item:hover .ec-space-item__caption { opacity: 1; }

/* ============================================================
   MENU CARDS
   ============================================================ */
.ec-menus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.ec-card {
  background: var(--ec-cream);
  border: 1px solid var(--ec-border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: transform var(--ec-ease), box-shadow var(--ec-ease), border-color var(--ec-ease);
}
.ec-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--ec-terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.ec-card:hover { transform: translateY(-4px); box-shadow: var(--ec-shadow-md); border-color: transparent; }
.ec-card:hover::after { transform: scaleX(1); }
.ec-card__icon {
  width: 50px; height: 50px;
  background: var(--ec-sand); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.ec-card__title {
  font-family: var(--ec-ff-display);
  font-size: 1.4rem; font-weight: 400; color: var(--ec-charcoal);
}
.ec-card__desc { font-size: .85rem; color: var(--ec-mid); flex: 1; }
.ec-card__link {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ec-terra);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px; transition: gap var(--ec-ease);
}
.ec-card:hover .ec-card__link { gap: 10px; }
.ec-card__link svg { width: 13px; }

/* ============================================================
   WINES
   ============================================================ */
.ec-wines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.ec-wines__text .ec-eyebrow { justify-content: flex-start; }
.ec-wines__text .ec-eyebrow::before { display: none; }
.ec-wines__text .ec-s-title { text-align: left; }
.ec-wines__text .ec-s-desc { margin-left: 0; text-align: left; margin-top: 16px; }
.ec-wines__cta {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 7px;
  color: rgba(255,255,255,.9);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  transition: border-color var(--ec-ease), background var(--ec-ease), color var(--ec-ease);
}
.ec-wines__cta:hover { border-color: var(--ec-terra-lt); color: var(--ec-terra-lt); background: rgba(196,96,58,.1); }
.ec-wines__cta svg { width: 14px; }
.ec-wines__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.ec-wines__photo {
  border-radius: var(--ec-radius);
  overflow: hidden;
  height: 220px;
}
.ec-wines__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ec-wines__photo:hover img { transform: scale(1.04); }

/* ============================================================
   GROUPS BANNER
   ============================================================ */
.ec-groups {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 480px;
  display: flex; align-items: center;
}
.ec-groups__bg {
  position: absolute; inset: 0;
  background-image: var(--grupos-bg);
  background-size: cover; background-position: center;
}
.ec-groups__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(42,37,32,.84) 0%,
    rgba(42,37,32,.65) 48%,
    rgba(42,37,32,.12) 100%
  );
}
.ec-groups__content {
  position: relative; z-index: 2;
  padding: 56px 60px;
  max-width: 560px;
}
.ec-groups__content h2 {
  font-family: var(--ec-ff-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300;
  color: #fff; line-height: 1.15; margin-bottom: 16px;
}
.ec-groups__content p {
  color: rgba(255,255,255,.78);
  font-size: .95rem; line-height: 1.7; margin-bottom: 32px;
}
.ec-groups__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 36px;
}
.ec-groups__list a {
  padding: 10px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px;
  color: rgba(255,255,255,.85);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(8px);
  transition: background var(--ec-ease), border-color var(--ec-ease);
  display: flex; align-items: center; gap: 8px;
}
.ec-groups__list a::before { content: '→'; font-size: .75rem; opacity: .7; }
.ec-groups__list a:hover { background: rgba(184,92,56,.28); border-color: rgba(184,92,56,.6); }

/* ============================================================
   LOCATION
   ============================================================ */
.ec-location {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.ec-loc__title {
  font-family: var(--ec-ff-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--ec-charcoal);
  line-height: 1.2; margin-bottom: 36px;
}
.ec-loc__title em { font-style: italic; color: var(--ec-terra); }
.ec-info-list { display: flex; flex-direction: column; gap: 22px; }
.ec-info-row { display: flex; gap: 16px; align-items: flex-start; }
.ec-info-icon {
  width: 44px; height: 44px;
  background: var(--ec-sand); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ec-info-icon svg { width: 20px; }
.ec-info-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--ec-soft); display: block; margin-bottom: 4px;
}
.ec-info-val { font-size: .92rem; color: var(--ec-charcoal); line-height: 1.55; }
.ec-info-val a { color: var(--ec-terra); }
.ec-info-val a:hover { text-decoration: underline; }
.ec-transport {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.ec-t-chip {
  background: var(--ec-sand);
  border: 1px solid var(--ec-border);
  border-radius: 8px; padding: 10px 14px;
}
.ec-t-label {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--ec-soft); display: block; margin-bottom: 3px;
}
.ec-t-val { font-size: .82rem; color: var(--ec-charcoal); }
.ec-map-card {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--ec-border);
  box-shadow: var(--ec-shadow-md);
}
.ec-map-card img { width: 100%; display: block; }
.ec-map-card__footer {
  padding: 14px 18px;
  background: var(--ec-white);
  border-top: 1px solid var(--ec-border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ec-map-card__footer span { font-size: .82rem; color: var(--ec-mid); }
.ec-map-card__footer a {
  font-size: .76rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ec-terra);
}
.ec-map-card__footer a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.ec-footer {
  background: var(--ec-charcoal);
  color: rgba(255,255,255,.65);
  padding: 64px 28px 36px;
}
.ec-footer__inner { max-width: 1180px; margin: 0 auto; }
.ec-footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.ec-footer__logo {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 8px 16px;
  display: inline-flex; margin-bottom: 18px;
}
.ec-footer__logo .custom-logo,
.ec-footer__logo img {
  height: 44px; width: auto;
  filter: brightness(0) invert(1); opacity: .88;
}
.ec-footer__brand p { font-size: .86rem; line-height: 1.7; max-width: 290px; }
.ec-footer__col h4 {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.88); margin-bottom: 16px;
}
.ec-footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.ec-footer__col ul a {
  font-size: .84rem; color: rgba(255,255,255,.55);
  transition: color var(--ec-ease);
}
.ec-footer__col ul a:hover { color: rgba(255,255,255,.92); }
.ec-footer__bottom {
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; font-size: .78rem;
}
.ec-footer__bottom a { color: rgba(255,255,255,.4); transition: color var(--ec-ease); }
.ec-footer__bottom a:hover { color: rgba(255,255,255,.8); }
.ec-socials { display: flex; gap: 12px; }
.ec-socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: border-color var(--ec-ease), color var(--ec-ease), background var(--ec-ease);
}
.ec-socials a:hover { border-color: var(--ec-terra-lt); color: var(--ec-terra-lt); background: rgba(184,92,56,.12); }
.ec-socials svg { width: 16px; fill: currentColor; stroke: none; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .ec-nav, .ec-btn--terra.ec-btn:not(.ec-hamburger ~ .ec-btn--terra) { display: none; }
  .ec-hamburger { display: flex; }
  .ec-overlay { display: block; }
  .ec-hero__schedule { display: none; }
  .ec-hero__content { padding: 40px 28px 56px; }
  .ec-wines { grid-template-columns: 1fr; gap: 40px; }
  .ec-wines__photos { order: -1; }
  .ec-wines__photo { height: 200px; }
  .ec-location { grid-template-columns: 1fr; gap: 40px; }
  .ec-footer__top { grid-template-columns: 1fr 1fr; }
  .ec-footer__brand { grid-column: span 2; }
  .ec-space-grid { grid-template-rows: 240px 240px; }
  /* Keep reserva btn in header visible */
  .ec-header__actions .ec-btn--terra { display: inline-flex; }
}
@media (max-width: 640px) {
  .ec-section { padding: 60px 20px; }
  .ec-hero { min-height: 80vh; }
  .ec-hero__content { padding: 32px 20px 48px; }
  .ec-hero__eyebrow { font-size: .62rem; letter-spacing: .12em; }
  .ec-hero__eyebrow span { display: none; } /* hide decorative lines on small screens */
  .ec-menus-grid { grid-template-columns: 1fr; }
  .ec-space-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ec-space-item { height: 220px; }
  .ec-space-item--tall { grid-row: span 1; }
  .ec-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .ec-footer__brand { grid-column: span 1; }
  .ec-groups__content { padding: 36px 24px; }
  .ec-groups__list { grid-template-columns: 1fr; }
  .ec-transport { grid-template-columns: 1fr; }
  .ec-header__inner { padding: 0 16px; }
  .ec-btn--terra { padding: 9px 16px; font-size: .74rem; }
}

/* ============================================================
   WORDPRESS GALLERY FALLBACK STYLES
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 32px;
}
@media (max-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

.gallery-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption { display: none; }

/* ============================================================
   MENU ARCHIVE (taxonomy-rm_menu_type)
   ============================================================ */
.ec-menu-archive__body {
  padding-top: 48px; padding-bottom: 80px;
}
.ec-menu-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
@media (max-width: 640px) {
  .ec-menu-archive__grid { grid-template-columns: 1fr; }
}
.ec-menu-card {
  background: var(--ec-white);
  border: 1px solid var(--ec-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.ec-menu-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.ec-menu-card__img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.ec-menu-card__img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .4s ease; }
.ec-menu-card:hover .ec-menu-card__img { transform: scale(1.04); }
.ec-menu-card__body {
  padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.ec-menu-card__title {
  font-family: var(--ec-ff-display);
  font-size: 1.4rem; font-weight: 400; line-height: 1.2;
}
.ec-menu-card__title a { color: var(--ec-charcoal); }
.ec-menu-card__title a:hover { color: var(--ec-terra); }
.ec-menu-card__excerpt { font-size: .9rem; color: var(--ec-mid); line-height: 1.6; }
.ec-menu-card__preview {
  display: flex; flex-direction: column; gap: 4px;
}
.ec-menu-card__dish {
  font-size: .875rem; color: var(--ec-mid);
  padding: 4px 0; border-bottom: 1px dotted var(--ec-border);
  display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ec-menu-card__more { font-size: .8rem; color: var(--ec-terra); }
.ec-menu-card__link {
  margin-top: auto; padding-top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600;
  color: var(--ec-terra);
  transition: gap .2s;
}
.ec-menu-card__link:hover { gap: 10px; }
.ec-menu-card__link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2;
}
.ec-menu-archive__cta {
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--ec-border);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.ec-menu-archive__cta p { font-size: 1.1rem; color: var(--ec-mid); flex: 1; min-width: 200px; }

/* ============================================================
   RESTAURANT MENU — TABLE FORMAT
   ============================================================ */
.ec-menu-single__content table,
.ec-rmm-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 8px;
  font-size: clamp(.85rem, 1.8vw, .98rem);
}
.ec-menu-single__content table tr,
.ec-rmm-content table tr {
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.ec-menu-single__content table tr:last-child,
.ec-rmm-content table tr:last-child {
  border-bottom: none;
}
.ec-menu-single__content table td,
.ec-rmm-content table td {
  padding: 8px 4px;
  color: var(--ec-charcoal);
  vertical-align: baseline;
  font-style: normal;
}
/* Primera columna: nombre del plato */
.ec-menu-single__content table td:first-child,
.ec-rmm-content table td:first-child {
  width: 100%;
  padding-right: 24px;
}
/* Segunda columna: precio */
.ec-menu-single__content table td:last-child,
.ec-rmm-content table td:last-child {
  white-space: nowrap;
  text-align: right;
  font-weight: 600;
  color: var(--ec-terra);
  min-width: 3em;
}
/* Tercera columna si hay doble precio */
.ec-menu-single__content table td:nth-child(3),
.ec-rmm-content table td:nth-child(3) {
  white-space: nowrap;
  text-align: right;
  font-weight: 600;
  color: var(--ec-terra);
  padding-left: 16px;
  min-width: 3em;
}
