@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Cormorant+Garamond:wght@600;700&family=Lato:wght@400;600&family=Raleway:wght@400;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #f7f2ea;
  --dark: #16110c;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--dark);
  color: var(--cream);
}

.brand {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.6rem 1rem 0;
  pointer-events: none;
  text-align: center;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

.brand-sub {
  font-family: 'Lato', sans-serif;
  font-size: .68rem;
  letter-spacing: .12em;
  color: rgba(247,242,234,.7);
  margin-top: .25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.split {
  display: flex;
  height: 100vh;
  width: 100%;
}

.panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  transition: flex-grow .5s ease;
  isolation: isolate;
  min-width: 0;
}

.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
  z-index: -2;
}

.panel-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: background .5s ease;
}

.panel--ejecutivo .panel-bg { background-image: url('images/bg-ejecutivo.jpg'); }
.panel--banquetes .panel-bg { background-image: url('images/bg-banquetes.jpg'); }

.panel--ejecutivo .panel-overlay {
  background: linear-gradient(180deg, rgba(42,32,23,.55), rgba(42,32,23,.78) 60%, rgba(20,15,10,.92));
}
.panel--banquetes .panel-overlay {
  background: linear-gradient(180deg, rgba(26,18,8,.55), rgba(26,18,8,.78) 60%, rgba(12,8,3,.92));
}

.panel:hover .panel-bg,
.panel:focus-visible .panel-bg { transform: scale(1.06); }

.panel:hover,
.panel:focus-visible { flex-grow: 1.25; }

.panel-content {
  text-align: center;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.panel-logo {
  height: 64px;
  width: auto;
  margin-bottom: 1.4rem;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.panel--ejecutivo .panel-tagline {
  font-family: 'Playfair Display', serif;
}
.panel--banquetes .panel-tagline {
  font-family: 'Cormorant Garamond', serif;
}

.panel-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cream);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

.panel-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2.1rem;
  border: 1px solid rgba(247,242,234,.55);
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.panel--ejecutivo .panel-cta:is(:hover, :focus-visible),
.panel--ejecutivo:hover .panel-cta {
  background: #84a251;
  border-color: #84a251;
  color: #1c220f;
}
.panel--banquetes .panel-cta:is(:hover, :focus-visible),
.panel--banquetes:hover .panel-cta {
  background: #bf841d;
  border-color: #bf841d;
  color: #1a1208;
}

.divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: .8rem;
  letter-spacing: .05em;
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
  pointer-events: none;
}

@media (max-width: 760px) {
  html, body { overflow-y: auto; overflow-x: hidden; }
  .split { flex-direction: column; height: auto; min-height: 100vh; }
  .panel { min-height: 50vh; flex: none; }
  .panel:hover, .panel:focus-visible { flex-grow: 0; }
  .panel-logo { height: 52px; }
  .brand { padding-top: 1.2rem; }
  .divider { width: 46px; height: 46px; font-size: .7rem; }
}
