/* ==========================================================================
   Mi Favorita - Stylesheet
   Dirección: "Casero y Sofisticado"
   ========================================================================== */

/* ==========================================================================
   Variables CSS
   ========================================================================== */

:root {
  /* Colores de marca */
  --color-bg-deep: #121212;
  --color-brand-red: #E31C24;
  --color-bg-warm: #FDFCF5;
  --color-text: #333333;
  --color-accent-green: #A2C3A4;
  --color-divider: #E0E0E0;
  --color-white: #FFFFFF;
  --color-text-light: #FDFCF5;

  /* Tipografía */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Transiciones */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-index */
  --z-header: 100;
  --z-whatsapp: 200;
  --z-scrolltop: 150;
}

/* ==========================================================================
   Scrollbar Personalizado
   ========================================================================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--color-brand-red);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-warm);
}

::-webkit-scrollbar-thumb:hover {
  background: #c4181f;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-brand-red) var(--color-bg-warm);
}

/* ==========================================================================
   Reset y base
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-warm);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ==========================================================================
   Skip Link (Accesibilidad)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background-color: var(--color-brand-red);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* ==========================================================================
   Tipografía
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: var(--space-sm);
}

/* ==========================================================================
   Componentes
   ========================================================================== */

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn--primary {
  background-color: var(--color-brand-red);
  color: var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus {
  background-color: #c4181f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--outline:hover,
.btn--outline:focus {
  background-color: var(--color-brand-red);
  color: var(--color-white);
  border-color: var(--color-brand-red);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--outline-dark:hover,
.btn--outline-dark:focus {
  background-color: var(--color-brand-red);
  color: var(--color-white);
  border-color: var(--color-brand-red);
}

/* Botón Facebook */
.btn--facebook {
  background-color: #1877F2;
  color: var(--color-white);
}

.btn--facebook:hover,
.btn--facebook:focus {
  background-color: #166FE5;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--facebook-outline {
  background-color: transparent;
  color: #1877F2;
  border-color: #1877F2;
}

.btn--facebook-outline:hover,
.btn--facebook-outline:focus {
  background-color: #1877F2;
  color: var(--color-white);
  border-color: #1877F2;
}

.btn--lg {
  padding: var(--space-md) var(--space-lg);
  font-size: 1rem;
}

.btn--xl {
  padding: var(--space-lg) var(--space-xl);
  font-size: 1.125rem;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.section-title--light {
  color: var(--color-text-light);
}

.section-subtitle {
  color: var(--color-text);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.85;
}

.section-subtitle--light {
  color: var(--color-text-light);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: rgba(253, 252, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-sm) 0;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.header--scrolled {
  padding: var(--space-xs) 0;
  box-shadow: var(--shadow-md);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 45px;
  width: auto;
}

.header__nav {
  display: none;
}

.header__menu {
  display: flex;
  gap: var(--space-lg);
}

.header__menu-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
  position: relative;
}

.header__menu-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brand-red);
  transition: width var(--transition-base);
}

.header__menu-link:hover,
.header__menu-link:focus {
  color: var(--color-brand-red);
}

.header__menu-link:hover::after,
.header__menu-link:focus::after {
  width: 100%;
}

.header__cta {
  display: none;
}

.header__actions {
  display: none;
  gap: var(--space-sm);
}

.header__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.header__toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-base);
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.header__nav--open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-bg-warm);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
}

.header__menu--mobile {
  flex-direction: column;
  gap: var(--space-md);
}

/* Tablet + */
@media (min-width: 768px) {
  .header__nav {
    display: block;
  }

  .header__toggle {
    display: none;
  }

  .header__actions {
    display: flex;
  }

  .header__cta {
    display: inline-flex;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background-color: var(--color-bg-warm);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
  margin-top: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(162, 195, 164, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  gap: var(--space-2xl);
}

.hero__content {
  text-align: center;
}

.hero__title {
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.hero__title-accent {
  color: var(--color-brand-red);
  display: block;
}

.hero__subtitle {
  color: var(--color-text);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  opacity: 0.85;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.hero__values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.hero__value {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero__value-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent-green);
  flex-shrink: 0;
}

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(227, 28, 36, 0.2));
}

/* Tablet + */
@media (min-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-2xl);
  }

  .hero__content {
    text-align: left;
  }

  .hero__title-accent {
    display: inline;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .hero__values {
    justify-content: flex-start;
  }

  .hero__logo {
    max-width: 350px;
  }
}

/* ==========================================================================
   Intro SEO
   ========================================================================== */

.intro-seo {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg-warm);
  border-bottom: 1px solid var(--color-divider);
}

.intro-seo h2 {
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.intro-seo p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.intro-seo strong {
  font-weight: 600;
  color: var(--color-brand-red);
}

@media (min-width: 768px) {
  .intro-seo {
    padding: var(--space-3xl) 0;
  }

  .intro-seo p {
    font-size: 1.0625rem;
  }
}

/* ==========================================================================
   What to Order
   ========================================================================== */

.what-to-order {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-warm);
}

.what-to-order h2 {
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.order-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(2, 1fr);
}

.order-item {
  text-align: center;
  padding: var(--space-lg);
}

.order-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background-color: rgba(162, 195, 164, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-item__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent-green);
}

.order-item h3 {
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.order-item p {
  color: var(--color-text);
  opacity: 0.85;
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .order-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Servicios
   ========================================================================== */

.services {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-warm);
}

.services-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(1, 1fr);
}

.service-card {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background-color: rgba(227, 28, 36, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-brand-red);
}

.service-card h3 {
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-text);
  opacity: 0.85;
  font-size: 0.9375rem;
}

.service-card strong {
  font-weight: 600;
  color: var(--color-text);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Menú
   ========================================================================== */

.menu {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-warm);
}

.menu-category {
  margin-bottom: var(--space-2xl);
}

.menu-category-title {
  color: var(--color-text);
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-divider);
  display: inline-block;
}

.menu-grid {
  display: grid;
  gap: var(--space-md);
}

.menu-item {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.menu-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.menu-item__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.menu-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.menu-item:hover .menu-item__image img {
  transform: scale(1.05);
}

.menu-item__content {
  padding: var(--space-md);
}

.menu-item__name {
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.menu-item__desc {
  color: var(--color-text);
  font-size: 0.875rem;
  opacity: 0.75;
  margin-bottom: var(--space-sm);
}

.menu-item__price {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand-red);
}

.menu-item__prices {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.menu-item__price-sm {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  opacity: 0.75;
}

/* Menu compacto (medias porciones y especialidades) */
.menu-grid--compact {
  grid-template-columns: repeat(2, 1fr);
}

.menu-item--compact {
  display: flex;
  flex-direction: column;
}

.menu-item--compact .menu-item__image--compact {
  height: 140px;
}

.menu-item--compact .menu-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-item--compact .menu-item__name {
  font-size: 1rem;
}

.menu-item--compact .menu-item__desc {
  display: none;
}

.menu__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Tablet + */
@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .menu-grid--compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Cómo Pedir (Steps)
   ========================================================================== */

.how-to {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-warm);
}

.steps-grid {
  display: grid;
  gap: var(--space-xl);
}

.step {
  text-align: center;
  padding: var(--space-lg);
}

.step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background-color: rgba(162, 195, 164, 0.15);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-accent-green);
}

.step__title {
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.step__desc {
  color: var(--color-text);
  opacity: 0.85;
  font-size: 0.9375rem;
}

/* Tablet + */
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

/* ==========================================================================
   Por Qué Elegirnos (Benefits)
   ========================================================================== */

.why-us {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-warm);
}

.benefits-grid {
  display: grid;
  gap: var(--space-lg);
}

.benefit {
  text-align: center;
  padding: var(--space-lg);
}

.benefit__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background-color: rgba(227, 28, 36, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-brand-red);
}

.benefit__title {
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.benefit__desc {
  color: var(--color-text);
  opacity: 0.85;
  font-size: 0.9375rem;
}

/* Tablet + */
@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Ubicación
   ========================================================================== */

.location {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-warm);
}

.location-grid {
  display: grid;
  gap: var(--space-xl);
}

.location__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.location__address {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  color: var(--color-text);
  font-size: 1.125rem;
  text-align: center;
}

.location__address svg {
  width: 24px;
  height: 24px;
  color: var(--color-brand-red);
  flex-shrink: 0;
}

.location__contact {
  display: flex;
  gap: var(--space-md);
}

.location__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.location__phone svg {
  width: 20px;
  height: 20px;
  color: var(--color-brand-red);
}

.location__phone a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.125rem;
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.location__map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.location__map iframe {
  display: block;
}

/* Tablet + */
@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .location__info {
    align-items: flex-start;
  }

  .location__address {
    text-align: left;
  }
}

/* ==========================================================================
   Contacto
   ========================================================================== */

.contact {
  padding: var(--space-3xl) 0;
  background-color: var(--color-bg-warm);
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .contact__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: var(--color-bg-warm);
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--color-divider);
}

.footer__grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  text-align: center;
}

.footer__logo {
  height: 50px;
  width: auto;
  margin: 0 auto var(--space-sm);
}

.footer__tagline {
  color: var(--color-text);
  opacity: 0.75;
  font-size: 0.875rem;
}

.footer__desc {
  color: var(--color-text);
  opacity: 0.6;
  font-size: 0.875rem;
  margin-top: var(--space-xs);
}

.footer__title {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__menu a {
  color: var(--color-text);
  opacity: 0.75;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer__menu a:hover,
.footer__menu a:focus {
  opacity: 1;
  color: var(--color-brand-red);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-brand-red);
  flex-shrink: 0;
}

.footer__contact-list a,
.footer__contact-list address {
  color: var(--color-text);
  opacity: 0.75;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer__contact-list a:hover,
.footer__contact-list a:focus {
  opacity: 1;
  color: var(--color-brand-red);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-divider);
}

.footer__bottom p {
  color: var(--color-text);
  opacity: 0.6;
  font-size: 0.875rem;
}

.footer__seo {
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  opacity: 0.5;
}

/* Tablet + */
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer__brand {
    text-align: left;
  }

  .footer__logo {
    margin: 0;
  }

  .footer__tagline {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Botón flotante de WhatsApp
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-whatsapp);
  transition: all var(--transition-base);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  color: var(--color-white);
}

/* Mobile adjustment */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: var(--space-md);
    right: var(--space-md);
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */

.scroll-to-top {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  width: 50px;
  height: 50px;
  background-color: var(--color-brand-red);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: var(--z-scrolltop);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  border: none;
  padding: 0;
}

.scroll-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover,
.scroll-to-top:focus {
  background-color: #c4181f;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

/* Mobile adjustment */
@media (max-width: 480px) {
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: var(--space-md);
    left: var(--space-md);
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   Utilidades
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible para accesibilidad */
:focus-visible {
  outline: 2px solid var(--color-brand-red);
  outline-offset: 2px;
}

/* ==========================================================================
   Animaciones
   ========================================================================== */

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

.hero__content,
.hero__image {
  animation: fadeInUp 0.6s ease forwards;
}

.hero__image {
  animation-delay: 0.2s;
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .header,
  .whatsapp-float,
  .hero__actions,
  .menu__cta,
  .contact__actions {
    display: none !important;
  }

  body {
    background-color: white;
    color: black;
  }

  .hero {
    min-height: auto;
    padding: var(--space-lg) 0;
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }
}
