:root {
  --color-primary: #8b2500;
  --color-secondary: #c4501a;
  --color-accent: #e8881a;
  --color-gold: #d4a017;
  --color-bg: #fdf6ee;
  --color-bg-dark: #1a0a00;
  --color-text: #2c1a0e;
  --color-text-light: #6b4c34;
  --color-cream: #f5e9d5;
  --font-heading: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;
  --transition: 0.3s ease;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: transparent;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--color-bg-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition);
}

.navbar-logo:hover {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--color-accent);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--color-accent);
}
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.5rem 1.3rem;
  border-radius: 30px;
  transition:
    background var(--transition),
    transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-secondary) !important;
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================== HERO ===================== */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://source.unsplash.com/1600x900/?spanish,tapas,bar,food");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 10, 0, 0.55) 0%,
    rgba(26, 10, 0, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-hint i {
  font-size: 1.2rem;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-secondary);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.btn-dark:hover {
  background: #300d00;
}

.btn-phone {
  background: #25d366;
  color: #fff;
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

.btn-phone:hover {
  background: #1ebe5d;
}

/* ===================== SECTIONS ===================== */
section {
  padding: 6rem 2.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.8;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

/* ===================== ABOUT ===================== */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.04);
}

.about-text .section-subtitle {
  max-width: 100%;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-cream);
  border-radius: var(--radius);
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.feature-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.feature-item p {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ===================== SPECIALTIES ===================== */
.specialties {
  background: var(--color-bg);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.spec-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  cursor: default;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.spec-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.spec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.spec-card:hover .spec-img img {
  transform: scale(1.06);
}

.spec-body {
  padding: 1.25rem;
}

.spec-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.spec-body p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.spec-price {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1rem;
}

/* ===================== REVIEWS ===================== */
.reviews {
  background: var(--color-cream);
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-header .section-subtitle {
  margin: 0 auto;
}

.stars-avg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.stars-avg .stars {
  color: var(--color-gold);
  font-size: 1.4rem;
}
.stars-avg .avg-score {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text);
}
.stars-avg .avg-count {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-quote {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.2;
  font-family: var(--font-heading);
  line-height: 1;
}

.review-stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-cream);
}

.review-author h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}
.review-author span {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* ===================== HORARIO / CONTACTO ===================== */
.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.horario-list {
  list-style: none;
  margin-top: 1.5rem;
}

.horario-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-cream);
  font-size: 0.95rem;
}

.horario-list li span:first-child {
  color: var(--color-text-light);
}
.horario-list li span:last-child {
  font-weight: 700;
  color: var(--color-text);
}
.horario-list li.closed span:last-child {
  color: #aaa;
}

.contact-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-item i {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.cta-phone {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--color-bg-dark);
  border-radius: var(--radius);
  text-align: center;
}

.cta-phone p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 2.5rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand h3 span {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-contact-col p {
  font-size: 0.88rem;
  line-height: 2;
}

.footer-contact-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-map {
  width: 100%;
}

.footer-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
  filter: grayscale(30%);
}

.footer-bottom {
  text-align: center;
  padding: 1.25rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===================== CARTA PAGE ===================== */
.carta-hero {
  padding: 10rem 2.5rem 5rem;
  background: var(--color-bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.carta-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://source.unsplash.com/1600x600/?tapas,spanish,food,restaurant");
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.carta-hero-content {
  position: relative;
  z-index: 2;
}

.carta-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 1rem;
}

.carta-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.carta-nav {
  background: #fff;
  border-bottom: 1px solid var(--color-cream);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.carta-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}

.carta-nav-inner::-webkit-scrollbar {
  display: none;
}

.carta-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-light);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition:
    color var(--transition),
    border-color var(--transition);
}

.carta-tab:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.carta-tab.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.carta-section {
  padding: 5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.carta-section:nth-child(even) {
  background: var(--color-cream);
}

.carta-section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-cream);
}

.carta-section-title i {
  font-size: 1.5rem;
  color: var(--color-secondary);
}

.carta-section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--color-text);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3.5rem;
}

.menu-item {
  display: flex;
  align-items: baseline;
  padding: 0.65rem 0;
  background: transparent;
  gap: 0;
  border-bottom: 1px solid rgba(139, 37, 0, 0.08);
}

.menu-item-name {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 400;
  flex-shrink: 0;
  max-width: 65%;
}

.menu-item-dots {
  flex: 1;
  border-bottom: 1.5px dotted rgba(196, 80, 26, 0.35);
  margin: 0 8px 5px;
  min-width: 12px;
}

.menu-item-price {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 0.92rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Montaditos grid especial */
.montaditos-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.montaditos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.montadito-item {
  background: #fff;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
}

.montadito-item:hover {
  background: #fff8ef;
  transform: translateY(-2px);
}

.montadito-item::before {
  content: "·";
  color: var(--color-accent);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Postres grid especial */
.postres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.postre-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.postre-card:hover {
  transform: translateY(-4px);
}

.postre-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.postre-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.postre-card .price {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

/* ===================== CARTA WRAPPER ===================== */
.carta-wrapper {
  background: var(--color-bg);
}

.carta-section-wrap {
  padding: 4rem 2.5rem;
}

.carta-section-wrap:nth-child(even) {
  background: var(--color-cream);
}

.carta-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================== LOGO ===================== */
.navbar-logo {
  height: 100px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition);
}

.navbar-logo:hover {
  transform: scale(1.04);
}

.footer-logo {
  height: 70px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1) opacity(0.85);
}

/* ===================== TEAM CAROUSEL ===================== */
.team-carousel-wrap {
  position: relative;
}

.team-track-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.team-track-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.team-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.team-card {
  flex: 0 0 calc(25% - 1.125rem);
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--color-cream);
  box-shadow: 0 0 0 3px var(--color-accent);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-avatar img {
  transform: scale(1.06);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.team-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.85rem;
}

.team-bio {
  font-size: 0.87rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

.team-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transition:
    background var(--transition),
    transform var(--transition);
  z-index: 2;
}

.team-arrow:hover {
  background: var(--color-secondary);
  transform: scale(1.1);
}
.team-arrow:disabled {
  background: #ccc;
  cursor: default;
  transform: none;
}

.team-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 2px solid var(--color-text-light);
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
}

.team-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .team-card {
    flex: 0 0 calc(33.33% - 1rem);
  }
}

@media (max-width: 768px) {
  .team-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
  .navbar-logo {
    height: 42px;
  }
}

@media (max-width: 480px) {
  .team-card {
    flex: 0 0 calc(85% - 0rem);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .about-grid {
    gap: 2.5rem;
  }
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.1rem;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .about-img {
    order: -1;
    aspect-ratio: 16/9;
  }
  .specialties-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .navbar {
    padding: 1rem 1.5rem;
  }
  .carta-section-wrap {
    padding: 3rem 1.5rem;
  }
  .carta-hero {
    padding: 8rem 1.5rem 4rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .postres-grid {
    grid-template-columns: 1fr;
  }
  .montaditos-grid {
    grid-template-columns: 1fr;
  }
}
