/**
* Template Name: Restaurantly
* Template URL: https://bootstrapmade.com/restaurantly-restaurant-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/* Fuentes servidas desde la propia web (sin Google Fonts): solo los pesos que se usan, subconjunto latino */
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-700-italic-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: "Playfair Display";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/playfair-display-500-700-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: "Poppins";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-italic-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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-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: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-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: "Roboto";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto-400-italic-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: "Roboto";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/roboto-400-700-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 & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Playfair Display",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  /* Verde y dorado sacados de la carta original (assets/docs/cartas-hotel-conde.pdf) */
  --background-rgb: 13, 30, 13; /* = --background-color, para usarlo en rgba() */
  --background-color: #0d1e0d; /* Background color for the entire website, including individual sections */
  --default-color: rgba(255, 255, 255, 0.7); /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #c4a453; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #1a2e1b; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #0d1e0d; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --gold-line: color-mix(in srgb, var(--accent-color), transparent 45%); /* Filetes dorados finos */
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 14px rgba(0, 0, 0, 0.26), 0 20px 40px rgba(0, 0, 0, 0.22); /* Sombra en capas de tarjetas y fotos */
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.42), 0 12px 24px rgba(0, 0, 0, 0.32), 0 32px 60px rgba(0, 0, 0, 0.3);
  /* Grano tipo granito: SVG de 1 KB, se repite en mosaico */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.55'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #c4a453; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #1a2e1b; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #1a2e1b; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #ffffff; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #c4a453; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.alt-background {
  --background-color: #071407;
  --surface-color: #122412;
}

.light-background {
  --background-color: #1a2e1b;
  --surface-color: #263f28;
}

.dark-background {
  --background-color: #071407;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #122412;
  --contrast-color: #0d1e0d;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

/* The <img> tags carry width and height (no layout jump while loading); CSS sets the real size */
img {
  height: auto;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(var(--background-rgb), 0.9);
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
}

.header .branding {
  background-color: var(--background-color);
  min-height: 60px;
  padding: 10px 0;
  transition: 0.3s;
  border-bottom: 1px solid var(--background-color);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
  width: auto;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-book-a-table,
.header .btn-book-a-table:focus {
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  text-transform: uppercase;
  font-size: 14px;
  padding: 6px 24px;
  margin: 0 5px 0 30px;
  border-radius: 2px;
  transition: 0.3s;
}

.header .btn-book-a-table:hover,
.header .btn-book-a-table:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.scrolled .header .branding {
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgb(var(--background-rgb));
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(var(--background-rgb), 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(var(--background-rgb), 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(var(--background-rgb), 0.85);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer .logo {
  line-height: 1;
  margin-bottom: 10px;
}

.footer .logo img {
  max-height: 40px;
  margin-right: 10px;
  width: auto;
}

.footer .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-brand p {
  margin: 0;
}

.footer .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .footer-nav a {
  display: inline-block;
  padding: 4px 0;
  color: var(--default-color);
  font-family: var(--nav-font);
}

.footer .footer-nav a:hover {
  color: var(--accent-color);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  border: 1px solid var(--accent-color);
  font-size: 16px;
  color: var(--accent-color);
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.footer .footer-bottom {
  padding: 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 13px;
}

.footer .footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 32px;
}

.footer .footer-legal {
  margin: 0;
}

@media (max-width: 991px) {
  .footer .footer-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer .footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer .footer-nav ul {
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 2px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 96px 0;
  scroll-margin-top: 78px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

@media (max-width: 767px) {

  section,
  .section {
    padding: 64px 0;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 56px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1.4;
  margin: 0 0 8px 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--accent-color);
  margin: 0;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* Split screen: solid green panel with the text, sharp photo on the other side */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  padding: 0;
  color: #ffffff;
  background: var(--background-color);
}

.hero .hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 64px 64px max(24px, calc((100vw - 1320px) / 2 + 12px));
  background: var(--background-color);
}

/* Fine gold rule along the seam, inside the green panel */
.hero .hero-panel::after {
  content: "";
  position: absolute;
  top: 110px;
  bottom: 56px;
  right: 28px;
  width: 1px;
  background: color-mix(in srgb, var(--accent-color), transparent 35%);
}

.hero .hero-panel-inner {
  animation: hero-rise 0.9s 0.2s ease-out both;
}

/* Gold "Desde 1981" seal with the lion */
.hero .hero-stamp {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 0 26px -6px;
  transform: rotate(-10deg);
  animation: hero-stamp 1.1s ease-out both;
}

.hero .hero-stamp-ring {
  fill: none;
  stroke: var(--accent-color);
  stroke-width: 2.5;
}

.hero .hero-stamp-ring-inner {
  stroke-width: 1;
}

.hero .hero-stamp-text {
  fill: var(--accent-color);
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.hero .hero-title {
  margin: 0 0 24px 0;
  font-family: var(--heading-font);
  font-size: clamp(56px, 6.4vw, 104px);
  font-weight: 700;
  line-height: 0.98;
  color: #ffffff;
}

.hero .hero-title span {
  display: block;
}

.hero .hero-title span+span {
  color: var(--accent-color);
  font-style: italic;
}

.hero .hero-subtitle {
  margin: 0 0 36px 0;
  max-width: 32ch;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* Rectangular buttons: solid gold (main) and gold-underlined text link (secondary) */
.hero .hero-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 2px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s;
}

.hero .hero-btn:hover {
  background: color-mix(in srgb, var(--accent-color), white 18%);
  color: var(--contrast-color);
}

.hero .hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--accent-color);
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .hero-link i {
  color: var(--accent-color);
  transition: transform 0.3s;
}

.hero .hero-link:hover {
  color: var(--accent-color);
}

.hero .hero-link:hover i {
  transform: translateX(4px);
}

.hero .hero-media {
  position: relative;
  min-height: 100%;
}

.hero .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% center;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-stamp {
  from {
    opacity: 0;
    transform: rotate(-40deg) scale(1.15);
  }

  to {
    opacity: 1;
    transform: rotate(-10deg);
  }
}

@media (max-width: 991px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero .hero-media {
    order: -1;
    height: 40vh;
    min-height: 260px;
  }

  .hero .hero-panel {
    padding: 44px 24px 56px 24px;
  }

  .hero .hero-panel::after {
    top: 0;
    bottom: auto;
    left: 24px;
    right: 24px;
    width: auto;
    height: 1px;
  }

  .hero .hero-stamp {
    width: 108px;
    height: 108px;
  }
}

@media (max-width: 575px) {
  .hero .hero-panel {
    padding: 36px 16px 48px 16px;
  }

  .hero .hero-panel::after {
    left: 16px;
    right: 16px;
  }

  .hero .hero-subtitle {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero .hero-panel-inner,
  .hero .hero-stamp {
    animation: none;
  }

  .hero .hero-link i {
    transition: none;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  background: url("../img/conde/terraza-sofas.webp") center center;
  background-size: cover;
  position: relative;
}

/* Phones and tablets: a lighter copy of the background photo (it sits under an 88 % veil) */
@media (max-width: 991px) {
  .about {
    background-image: url("../img/conde/terraza-sofas-960.webp");
  }
}

.about:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 12%);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.about .container {
  position: relative;
}

.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content .fst-italic {
  color: var(--default-color);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .card-item {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 50px 30px;
  height: 100%;
  position: relative;
}

.why-us .card-item span {
  color: var(--accent-color);
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.why-us .card-item h3 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.why-us .card-item h3 a {
  color: var(--heading-color);
}

.why-us .card-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Menu Section
--------------------------------------------------------------*/
/* Category filters: rectangular buttons in 4 labelled groups.
   One row with vertical separators on desktop, 2x2 on tablets, stacked on phones */
.menu .menu-filters {
  display: flex;
  align-items: flex-end;
  margin-bottom: 15px;
}

.menu .filter-group + .filter-group {
  margin-left: 32px;
  padding-left: 32px;
  border-left: 1px solid color-mix(in srgb, var(--accent-color), transparent 50%);
}

.menu .filter-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.menu .filter-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu .menu-filters button {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--accent-color);
  border-radius: 2px;
  background: transparent;
  color: var(--default-color);
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.menu .menu-filters button:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  color: var(--heading-color);
}

.menu .menu-filters button.filter-active {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.menu .menu-filters button:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .menu .menu-filters {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: end;
    row-gap: 24px;
  }

  .menu .filter-group:nth-child(odd) {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .menu .menu-filters {
    display: block;
  }

  .menu .filter-group + .filter-group {
    margin: 16px 0 0;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  }

  .menu .filter-label {
    margin-bottom: 10px;
  }
}

.menu .menu-item {
  margin-top: 50px;
  position: relative;
}

.menu .menu-img {
  width: 80px;
  border-radius: 50%;
  float: left;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.menu .menu-content {
  margin-left: 95px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.menu .menu-content::after {
  content: "......................................................................" "...................................................................." "....................................................................";
  position: absolute;
  left: 20px;
  right: 0;
  top: -4px;
  z-index: 1;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.menu .menu-content a {
  color: var(--heading-color);
  background: var(--background-color);
  padding-right: 10px;
  position: relative;
  z-index: 3;
  font-weight: 700;
  transition: 0.3s;
}

.menu .menu-content a:hover {
  color: var(--accent-color);
}

.menu .menu-content span {
  background: var(--background-color);
  color: var(--accent-color);
  position: relative;
  z-index: 3;
  padding: 0 10px;
  font-weight: 600;
}

.menu .menu-ingredients {
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  font-family: var(--nav-font);
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Specials Section
--------------------------------------------------------------*/
.specials {
  overflow: hidden;
}

.specials .nav-tabs {
  border: 0;
}

.specials .nav-link {
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--heading-color);
  border-radius: 0;
  border-right: 2px solid var(--accent-color);
  font-weight: 600;
  font-size: 15px;
}

.specials .nav-link:hover {
  color: var(--accent-color);
}

.specials .nav-link.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.specials .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.specials .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.specials .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.specials .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .specials .nav-link {
    border: 0;
    padding: 15px;
  }

  .specials .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events {
  --default-color: #ffffff;
  --background-color: #071407;
  --heading-color: #ffffff;
  position: relative;
}

.events .slider-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.events:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.events .section-title h2 {
  color: #ffffff;
}

.events .container {
  position: relative;
  z-index: 3;
}

.events .event-item h3 {
  font-weight: 700;
  font-size: 30px;
}

.events .event-item .price {
  font-size: 26px;
  font-family: var(--default-font);
  font-weight: 700;
  margin-bottom: 15px;
}

.events .event-item .price span {
  border-bottom: 2px solid var(--accent-color);
}

.events .event-item ul {
  list-style: none;
  padding: 0;
}

.events .event-item ul li {
  padding-bottom: 10px;
}

.events .event-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.events .event-item p:last-child {
  margin-bottom: 0;
}

.events .swiper-wrapper {
  height: auto;
}

.events .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.events .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
}

.events .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Book A Table Section
--------------------------------------------------------------*/
.book-a-table {
  --background-color: #1a2e1b;
  --surface-color: #263f28;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  position: relative;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: inset 0 5px 0 -2px var(--background-color), inset 0 6px 0 -2px var(--gold-line), inset 0 -5px 0 -2px var(--background-color), inset 0 -6px 0 -2px var(--gold-line);
}

.book-a-table .booking-box {
  text-align: center;
  padding: 40px 30px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
}

.book-a-table .booking-box p {
  max-width: 620px;
  margin: 0 auto 30px auto;
}

.book-a-table .booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.book-a-table .booking-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
  background: var(--accent-color);
  padding: 12px 40px;
  transition: 0.4s;
  border-radius: 2px;
  font-size: 16px;
}

.book-a-table .booking-btn i {
  font-size: 20px;
  line-height: 0;
}

.book-a-table .booking-btn:hover {
  background: transparent;
  color: var(--default-color);
}

.book-a-table .booking-box .booking-hours {
  margin: 25px auto 0 auto;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

@media (max-width: 575px) {
  .book-a-table .booking-box {
    padding: 30px 20px;
  }

  .book-a-table .booking-btn {
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Chefs Section
--------------------------------------------------------------*/
.chefs {
  --default-color: #ffffff;
  --contrast-color: #ffffff;
}

.chefs .member {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.chefs .member .member-info {
  opacity: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
}

.chefs .member .member-info-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  transition: bottom 0.4s;
}

.chefs .member .member-info-content h4 {
  color: var(--contrast-color);
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.chefs .member .member-info-content span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.chefs .member .social {
  position: absolute;
  left: 0;
  bottom: -38px;
  right: 0;
  height: 48px;
  transition: bottom ease-in-out 0.4s;
  text-align: center;
}

.chefs .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 10px;
  display: inline-block;
}

.chefs .member .social a:hover {
  color: var(--accent-color);
}

.chefs .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.chefs .member:hover .member-info {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 20%, rgba(255, 255, 255, 0) 100%);
  opacity: 1;
  transition: 0.4s;
}

.chefs .member:hover .member-info-content {
  bottom: 60px;
  transition: bottom 0.4s;
}

.chefs .member:hover .social {
  bottom: 0;
  transition: bottom ease-in-out 0.4s;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item a {
  color: var(--default-color);
}

.contact .info-item a:hover {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hotel Conde: header logo
--------------------------------------------------------------*/
.header .logo img {
  max-height: 36px;
  margin-right: 10px;
}

/*--------------------------------------------------------------
# Menu Section (text-only dishes)
--------------------------------------------------------------*/
.menu .menu-item-text {
  margin-top: 25px;
}

.menu .menu-item-text .menu-content,
.menu .menu-item-text .menu-ingredients {
  margin-left: 0;
}

.menu .menu-item-text .menu-ingredients {
  margin-top: 4px;
}

.section-title .section-subtitle {
  margin-top: 10px;
  font-family: var(--default-font);
  font-size: 18px;
  font-weight: 400;
  color: var(--default-color);
}

.menu .menu-content .dish-name {
  color: var(--heading-color);
  background: var(--background-color);
  padding-right: 10px;
  position: relative;
  z-index: 3;
  font-weight: 700;
}

.menu .menu-group {
  margin-top: 40px;
}

.menu .menu-group h3 {
  font-size: 22px;
  margin: 0;
  padding-bottom: 8px;
  color: var(--accent-color);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.menu .menu-note {
  margin-top: 40px;
  font-size: 14px;
  color: var(--default-color);
}

/* Opening hours card + call button, aligned with the section title */
.menu .restaurant-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 30px;
  margin-bottom: 40px;
}

.menu .hours-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 22px;
  border: 1px solid var(--accent-color);
  border-radius: 2px;
  background: color-mix(in srgb, var(--surface-color), white 5%);
}

.menu .hours-card > i {
  color: var(--accent-color);
  font-size: 22px;
  line-height: 1.2;
}

.menu .hours-card dl {
  margin: 0;
}

.menu .hours-card dl div + div {
  margin-top: 6px;
}

.menu .hours-card dt,
.menu .hours-card dd {
  display: inline;
  margin: 0;
}

.menu .hours-card dt {
  color: var(--heading-color);
  font-weight: 600;
}

@media (max-width: 767px) {
  .menu .restaurant-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu .hours-card {
    width: 100%;
  }
}

/* Outline button shared by several sections */
.btn-outline-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  background: transparent;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 2px;
}

.btn-outline-accent i {
  font-size: 18px;
  line-height: 0;
}

.btn-outline-accent:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Rooms Section
--------------------------------------------------------------*/
.rooms .room-item {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  height: 100%;
  overflow: hidden;
}

.rooms .room-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rooms .room-item .room-info {
  padding: 20px;
}

.rooms .room-item h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rooms .room-item p {
  margin: 0 0 5px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rooms .room-item p i {
  color: var(--accent-color);
}

.rooms .room-item .room-price {
  align-items: baseline;
  gap: 6px;
  margin: -4px 0 12px 0;
  font-size: 14px;
}

.rooms .room-item .room-price strong {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-color);
}

.rooms .rooms-note {
  margin-top: 30px;
  text-align: center;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background: var(--surface-color);
  height: 100%;
  overflow: hidden;
}

.services .service-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.services .service-item .service-info {
  padding: 20px;
}

.services .service-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.services .service-item p {
  margin: 0;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Gallery (uniform tiles)
--------------------------------------------------------------*/
.gallery .gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/*--------------------------------------------------------------
# Places Section
--------------------------------------------------------------*/
.places .place-item {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.places .place-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.places .place-item .place-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.places .place-item h3 {
  font-size: 22px;
  font-weight: 700;
}

.places .place-item ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 14px;
}

.places .place-item ul li {
  padding: 3px 0;
}

.places .place-item ul i {
  color: var(--accent-color);
  margin-right: 6px;
}

.places .place-item .distance {
  color: var(--accent-color);
  font-weight: 600;
  margin-top: auto;
}

.places .place-item .btn-outline-accent {
  align-self: flex-start;
}

.places .places-subtitle {
  font-size: 24px;
  margin: 40px 0 25px 0;
}

.places .container > .places-subtitle:first-child {
  margin-top: 0;
}

.places .place-item .must-see {
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 5px;
}

.events .events-intro {
  max-width: 900px;
  margin-bottom: 40px;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq details {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 15px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  color: var(--heading-color);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  color: var(--accent-color);
  transition: 0.3s;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq details[open] {
  padding-left: 18px;
  border-left: 3px solid var(--accent-color);
}

.faq details p {
  margin: 15px 0 0 0;
}

/*--------------------------------------------------------------
# Testimonials (no photos)
--------------------------------------------------------------*/
/* Room for the card borders inside the carousel's clipping */
.testimonials .swiper {
  padding: 1px;
}

/* All slides as tall as the longest review, so the carousel never jumps */
.testimonials .swiper-slide {
  height: auto;
}

.testimonials .testimonial-item {
  box-sizing: border-box;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 22px 28px;
  background: color-mix(in srgb, var(--default-color), transparent 96%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-radius: 8px;
}

.testimonials .testimonial-item .review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* Booking-style score box */
.testimonials .testimonial-item .review-score {
  flex-shrink: 0;
  min-width: 42px;
  padding: 7px 8px;
  border-radius: 8px 8px 8px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.testimonials .testimonial-item .review-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.testimonials .testimonial-item .review-text {
  flex: 1;
  margin: 0;
  padding: 0;
  background: none;
  font-style: italic;
  line-height: 1.6;
}

.testimonials .testimonial-item .review-author {
  margin: 20px 0 0 0;
  padding: 14px 0 0 0;
  background: none;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-radius: 0;
  font-size: 14px;
  font-style: normal;
}

.testimonials .testimonial-item .review-author strong {
  color: var(--heading-color);
  font-size: 16px;
}

@media (max-width: 575px) {
  .testimonials .testimonial-item {
    padding: 22px 20px 18px 20px;
  }

  .testimonials .testimonial-item .review-text {
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Hotel Conde: depth (grain, light, frames, corners, emblem)
--------------------------------------------------------------*/
.navmenu a.active,
.navmenu a.active:focus {
  text-decoration: underline 2px var(--accent-color);
  text-underline-offset: 8px;
}

/* Very faint grain (only noticeable up close) + two soft pools of light, so the green is never flat */
.main > section:not(.hero, .about, .events),
.footer,
.legal-page .page-title,
.hero .hero-panel {
  background-image:
    var(--grain),
    radial-gradient(ellipse 62% 55% at var(--light-x, 12%) 0%, rgba(196, 164, 83, 0.07), transparent 72%),
    radial-gradient(ellipse 55% 60% at calc(100% - var(--light-x, 12%)) 100%, rgba(122, 168, 110, 0.08), transparent 72%);
}

.main > section:nth-of-type(even) {
  --light-x: 86%;
}

/* Section divider: gold lines and a diamond with the lion, on the seam between two sections */
.section-divider {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 0;
}

.section-divider::before,
.section-divider::after {
  content: "";
  width: min(150px, 24vw);
  height: 1px;
  background: var(--gold-line);
}

.section-divider span {
  position: relative;
  flex: none;
  width: 50px;
  height: 50px;
  margin: 0 12px;
}

.section-divider span::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: #0d1e0d;
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 0 3px #0d1e0d, 0 0 0 4px var(--gold-line);
  transform: rotate(45deg);
}

.section-divider span::after {
  content: "";
  position: absolute;
  inset: 15px;
  background: url("../img/conde/logo-leon-blanco.png") center / contain no-repeat;
}

/* Photo with a thin gold frame sitting behind it, slightly offset */
.photo-frame {
  position: relative;
  isolation: isolate;
  margin: 0 16px 16px 0;
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1px solid var(--accent-color);
}

.photo-frame img {
  display: block;
  width: 100%;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* "1981" in outlined numerals, in the empty space above the old photo. Hidden when the columns stack */
.about .about-year {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  font-family: var(--heading-font);
  font-size: 140px;
  font-weight: 700;
  font-variant-numeric: lining-nums;
  line-height: 0.8;
  letter-spacing: 4px;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent-color), transparent 35%);
  pointer-events: none;
  user-select: none;
}

/* The lion as a large watermark (#reservas and #menu) */
.book-a-table::before,
.menu::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(560px, 86vw);
  aspect-ratio: 503 / 512;
  background: url("../img/conde/logo-leon-blanco.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.book-a-table::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu {
  position: relative;
}

.menu::before {
  top: 60px;
  right: -90px;
}

.book-a-table > .container,
.menu > .container {
  position: relative;
  z-index: 1;
}

.book-a-table .booking-box {
  padding: 56px 40px;
  background: var(--surface-color);
  box-shadow: var(--shadow-soft);
}

/* Layered shadows and a slight lift on hover */
.why-us .card-item,
.rooms .room-item,
.services .service-item,
.places .place-item {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
  .why-us .card-item:hover,
  .rooms .room-item:hover,
  .services .service-item:hover,
  .places .place-item:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-lift);
  }

  .photo-frame:hover img {
    transform: translate(-3px, -3px);
    box-shadow: var(--shadow-lift);
  }
}

/* Dish lines: dotted leader that no longer needs a solid box behind the text */
.menu .menu-item-text .menu-content {
  align-items: baseline;
}

.menu .menu-item-text .dish-name {
  order: 1;
  padding-right: 0;
  background: none;
}

.menu .menu-item-text .menu-content::after {
  content: "";
  position: static;
  order: 2;
  flex: 1 1 24px;
  min-width: 24px;
  margin: 0 8px;
  border-bottom: 2px dotted color-mix(in srgb, var(--default-color), transparent 55%);
}

.menu .menu-item-text .menu-content span {
  order: 3;
  flex: none;
  padding: 0;
  background: none;
}

@media (max-width: 767px) {
  .photo-frame {
    margin: 0 10px 10px 0;
  }

  .photo-frame::before {
    inset: 10px -10px -10px 10px;
  }

  .menu::before {
    right: -120px;
  }
}

@media (max-width: 991px) {
  .about .about-year {
    display: none;
  }
}

@media (max-width: 575px) {
  .book-a-table .booking-box {
    padding: 44px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-us .card-item,
  .rooms .room-item,
  .services .service-item,
  .places .place-item,
  .photo-frame img,
  .gallery .gallery-item img {
    transition: none;
  }

  .why-us .card-item:hover,
  .rooms .room-item:hover,
  .services .service-item:hover,
  .places .place-item:hover,
  .photo-frame:hover img,
  .gallery .gallery-item:hover img {
    transform: none;
  }
}

/* Three heading sizes below the section title */
.places .places-subtitle,
.events .event-item h3 {
  font-size: clamp(24px, 2.6vw, 28px);
  font-weight: 700;
}

.why-us .card-item h3,
.rooms .room-item h3,
.services .service-item h3,
.places .place-item h3,
.menu .menu-group h3 {
  font-size: 22px;
  font-weight: 700;
}

.contact .info-item h3,
.testimonials .testimonial-item .review-title {
  font-size: 18px;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Contact: directions card
--------------------------------------------------------------*/
.contact .directions-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  margin: 0 16px 64px 0;
  background: var(--surface-color);
  box-shadow: var(--shadow-soft);
}

.contact .directions-card::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  z-index: -1;
  border: 1px solid var(--accent-color);
}

.contact .directions-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.contact .directions-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 48px;
}

.contact .directions-info h3 {
  margin: 0 0 10px 0;
  font-size: clamp(24px, 2.6vw, 28px);
  font-weight: 700;
}

.contact .directions-info address {
  margin: 0 0 28px 0;
  font-size: 18px;
  line-height: 1.6;
}

.contact .info-item p a {
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .contact .directions-card {
    grid-template-columns: minmax(0, 1fr);
    margin: 0 10px 52px 0;
  }

  .contact .directions-card::before {
    inset: 10px -10px -10px 10px;
  }

  .contact .directions-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .contact .directions-info {
    padding: 28px 24px 32px;
  }
}

/*--------------------------------------------------------------
# Legal pages
--------------------------------------------------------------*/
.header .logo .sitename {
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 700;
  color: var(--heading-color);
}

.legal-page .page-title {
  padding: 136px 0 48px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
}

.legal-page .page-title::before {
  content: none;
}

.legal-content {
  max-width: 70ch;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.legal-content h2 {
  margin: 2.2em 0 0.6em 0;
  font-size: clamp(24px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.legal-content h3 {
  margin: 1.8em 0 0.5em 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.legal-content > :first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin: 0 0 1.1em 0;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.4em;
}

.legal-content li {
  margin-bottom: 0.4em;
}

.legal-content strong {
  color: var(--heading-color);
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*--------------------------------------------------------------
# Hotel Conde: accessibility (skip link, keyboard focus)
--------------------------------------------------------------*/
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000000;
  padding: 12px 20px;
  border-radius: 2px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s;
}

.skip-link:focus,
.skip-link:hover {
  transform: none;
  color: var(--contrast-color);
}

/* Visible focus ring only when navigating with the keyboard */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

#main:focus {
  outline: none;
}

/* The mobile menu toggle is a real <button> */
.mobile-nav-toggle {
  padding: 0;
  border: 0;
  background: none;
}

/*--------------------------------------------------------------
# Hotel Conde: direct booking badge, Google review, call button
--------------------------------------------------------------*/
.direct-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--gold-line);
  border-left: 3px solid var(--accent-color);
  border-radius: 2px;
  background: rgba(196, 164, 83, 0.08);
  color: var(--heading-color);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-align: left;
}

.direct-badge i {
  flex: none;
  font-size: 17px;
  line-height: 0;
  color: var(--accent-color);
}

.hero .direct-badge {
  margin-top: 26px;
}

.book-a-table .booking-box .direct-badge {
  max-width: none;
  margin: 0 0 24px 0;
}

.testimonials .review-cta {
  margin-top: 36px;
  text-align: center;
}

/* Fixed "Llamar" button, phones only. Left corner: the scroll-top button sits on the right */
.call-fab {
  display: none;
}

@media (max-width: 767px) {
  .call-fab {
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--accent-color);
    border-radius: 2px;
    background: #1a2e1b;
    color: #ffffff;
    font-family: var(--nav-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  }

  /* Steps aside while the hero's own buttons sit behind it (main.js) */
  .call-fab.is-tucked {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
  }

  .call-fab i {
    font-size: 16px;
    line-height: 0;
    color: var(--accent-color);
  }

  .call-fab:hover,
  .call-fab:focus {
    color: #ffffff;
    background: #263f28;
  }

  .mobile-nav-active .call-fab {
    display: none;
  }

  /* Room at the end of the page so the fixed buttons never cover the last lines */
  .footer .footer-bottom {
    padding-bottom: 80px;
  }

  .hero .direct-badge {
    margin-top: 20px;
  }
}

/*--------------------------------------------------------------
# Hotel Conde: 404 page
--------------------------------------------------------------*/
.error-404 {
  display: flex;
  align-items: center;
  min-height: 78vh;
  padding: 150px 0 96px 0;
  text-align: center;
}

.error-404 .error-code {
  margin: 0 0 8px 0;
  font-family: var(--heading-font);
  font-size: clamp(110px, 18vw, 180px);
  font-weight: 700;
  font-variant-numeric: lining-nums;
  line-height: 0.9;
  letter-spacing: 6px;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-color);
}

.error-404 h1 {
  margin: 0 0 14px 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.error-404 p {
  margin: 0 auto 32px auto;
  max-width: 44ch;
  font-size: 18px;
}

.error-404 .btn-home {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 2px;
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.3s;
}

.error-404 .btn-home:hover {
  background: color-mix(in srgb, var(--accent-color), white 18%);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}