@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  --bg-dark: #0f0d0b;
  --bg-card: #181512;
  --bg-card-light: #221e1a;
  
  --accent-gold: #d4af37;
  --accent-gold-hover: #f3cf5a;
  --accent-honey: #e89f30;
  --accent-warm: #c59247;
  --accent-warning: #f1c40f;
  
  --text-light: #f7f4ee;
  --text-muted: #a39f96;
  --text-dark: #1e1b18;
  
  --font-headings: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  
  --border-radius: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Theme-specific variables */
  --header-bg: rgba(15, 13, 11, 0.85);
  --hero-overlay-bg: linear-gradient(to bottom, rgba(15, 13, 11, 0.6) 0%, rgba(15, 13, 11, 0.95) 100%);
  --branch-header-bg: linear-gradient(135deg, #1c1a17 0%, #100f0d 100%);
  --branch-footer-bg: rgba(0, 0, 0, 0.15);
  --border-color: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(24, 21, 18, 0.75);
  --glass-border: rgba(212, 175, 55, 0.15);
  --gallery-overlay-bg: rgba(15, 13, 11, 0.85);
}

:root.light-mode {
  --bg-dark: #faf8f5;
  --bg-card: #ffffff;
  --bg-card-light: #f0ede6;
  
  --text-light: #1e1b18;
  --text-muted: #6e675d;
  
  --header-bg: rgba(250, 248, 245, 0.85);
  --hero-overlay-bg: linear-gradient(to bottom, rgba(250, 248, 245, 0.4) 0%, rgba(250, 248, 245, 0.95) 100%);
  --branch-header-bg: linear-gradient(135deg, #fdfcfb 0%, #f4f0e6 100%);
  --branch-footer-bg: rgba(0, 0, 0, 0.03);
  --border-color: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(212, 175, 55, 0.25);
  --gallery-overlay-bg: rgba(250, 248, 245, 0.9);
}

/* ==========================================================================
   Base Reset
   ========================================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-logo {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-honey) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  border-left: 1px solid var(--text-muted);
  padding-left: 12px;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-honey) 100%);
  color: var(--bg-dark) !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

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

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  color: var(--bg-dark) !important;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  padding: 0 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-bg);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  font-weight: 600;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-title span {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-top: 10px;
}

.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-light);
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-honey) 100%);
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  color: var(--bg-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--text-light);
  border-right: 2px solid var(--text-light);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

/* ==========================================================================
   Custom Scrollbar & Scrolling Improvements
   ========================================================================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-light);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
  transition: var(--transition-smooth);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ==========================================================================
   Sucursales Section
   ========================================================================== */
.section-padding {
  padding: 100px 5%;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.branch-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.branch-header {
  background: var(--branch-header-bg);
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.branch-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.branch-name {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);
}

.branch-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  gap: 15px;
}

.info-item-icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-top: 3px;
}

.info-item-content h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.info-item-content p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 6px 0;
  font-size: 1.05rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--accent-gold);
}

.branch-warning {
  background: rgba(241, 196, 15, 0.08);
  border-left: 4px solid var(--accent-warning);
  padding: 15px;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #f3cf5a;
  line-height: 1.5;
  margin-top: auto;
}

.branch-footer {
  padding: 20px 30px 30px;
  background: var(--branch-footer-bg);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1); /* Scale up slightly more to crop out the thick white border on 6.png */
  transform-origin: center top; /* Scale from the top so the bottom is pushed out and cropped */
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--gallery-overlay-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: var(--transition-smooth);
  backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.18); /* Zoom in further on hover while maintaining crop */
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.gallery-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact & CTA Section
   ========================================================================== */
.cta-section {
  background: linear-gradient(to bottom, var(--bg-dark) 0%, var(--bg-card-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.cta-left h3 {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 25px;
}

.cta-left h3 span {
  color: var(--accent-gold);
}

.cta-left p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.social-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
}

.social-card:hover {
  transform: translateX(8px);
  border-color: var(--accent-gold);
  background: var(--bg-card-light);
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.icon-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.icon-facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
}

.icon-web {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
}

.social-info h4 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.social-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.social-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.social-link::after {
  content: '→';
  transition: var(--transition-smooth);
}

.social-card:hover .social-link::after {
  transform: translateX(4px);
}

/* ==========================================================================
   Payment Methods Section
   ========================================================================== */
.payment-section {
  text-align: center;
  padding: 50px 5%;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-dark);
}

.payment-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1.05rem;
}

.payment-method svg {
  fill: var(--accent-gold);
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background-color: var(--bg-card);
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-logo {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   Theme Toggle Button
   ========================================================================== */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle {
  display: none;
}

.theme-toggle-btn:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--transition-smooth);
}

/* Toggle icon visibility */
.sun-icon {
  display: none;
}

.light-mode .moon-icon {
  display: none;
}

.light-mode .sun-icon {
  display: block;
}

.light-mode .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-8px) rotate(45deg);
  }
  60% {
    transform: translateY(-4px) rotate(45deg);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media screen and (max-width: 991px) {
  .cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cta-left {
    text-align: center;
  }
  
  .main-header {
    padding: 15px 4%;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-smooth);
  }
  
  .mobile-menu-toggle:hover {
    border-color: var(--accent-gold);
  }
  
  .hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-smooth);
  }
  
  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2000;
    padding: 100px 30px 30px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .mobile-menu.active {
    right: 0;
  }
  
  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .mobile-nav-links li a {
    display: block;
    padding: 15px 0;
    font-size: 1.3rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .mobile-nav-links li a.nav-cta {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-honey) 100%);
    color: var(--bg-dark);
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 50px;
    text-align: center;
    margin-top: 10px;
    border: none;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .section-padding {
    padding: 70px 4%;
  }
  
  .payment-methods {
    gap: 20px;
  }
  
  /* Sucursales - 1 column on mobile */
  .branches-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Gallery - 2 columns on mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  /* CTA Section */
  .cta-left h3 {
    font-size: 2rem;
  }
  
  .social-card {
    padding: 20px;
  }
  
  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  
  /* Payment methods - wrap */
  .payment-methods {
    flex-direction: column;
    gap: 15px;
  }
  
  .payment-method {
    font-size: 0.95rem;
  }
  
  /* Footer */
  .main-footer {
    padding: 30px 4%;
  }
  
  .footer-logo {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-title span {
    font-size: 1rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-left h3 {
    font-size: 1.7rem;
  }
}