/* ==========================================================================
   Oh!cacao Pastelería - Custom Luxury CSS (Mobile-First)
   ========================================================================== */

/* 1. Design System & CSS Variables */
:root {
  --color-bg: #faf6f0;          /* Warm Cream Background */
  --color-surface: #ffffff;     /* White Chocolate Cards */
  --color-surface-hover: #fbf9f6;
  --color-border: rgba(43, 29, 22, 0.08); /* Subtle cocoa border */
  --color-border-active: rgba(162, 210, 255, 0.6); /* Celeste pastel active */
  
  /* Brand Celeste Pastel */
  --color-gold: #5c8cae;        /* Celeste pastel accent text */
  --color-gold-dark: #477395;   /* Celeste hover state */
  --color-gold-light: #bde0fe;  /* Celeste light accent */
  --color-gold-gradient: linear-gradient(135deg, #a2d2ff 0%, #72a1c1 100%);
  
  /* Typography Colors */
  --color-text-primary: #2b1d16;   /* Dark chocolate primary text */
  --color-text-secondary: #6e5c54; /* Muted mocha warm brown text */
  --color-white: #1c110b;          /* Heading colors (now dark brown) */
  
  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Outfit', sans-serif;
  
  /* Shadows & Radius */
  --shadow-subtle: 0 4px 20px rgba(43, 29, 22, 0.06);
  --shadow-gold-glow: 0 4px 25px rgba(162, 210, 255, 0.25);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* 2. Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  /* Elegant Celeste-Dot Pattern Background */
  background-image: radial-gradient(rgba(114, 161, 193, 0.15) 1px, transparent 1.5px);
  background-size: 28px 28px;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

/* 3. Typography & Utility Classes */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.text-center {
  text-align: center;
}

.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 500;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--color-white);
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-weight: 300;
}

/* Scroll Reveal Base CSS */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* 4. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-gold-gradient);
  color: #0c0705;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.05);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* 5. Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 15px 0;
}

.header.scrolled {
  background-color: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(162, 210, 255, 0.15);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
}

.menu-toggle .bar {
  width: 100%;
  height: 6px;
  transition: var(--transition-smooth);
  box-shadow: 1px 1.5px 2px rgba(0, 0, 0, 0.15);
}

/* Tapa superior del alfajor (cookie) */
.menu-toggle .bar:nth-child(1) {
  background: linear-gradient(to bottom, #503429 0%, #352119 100%);
  border-radius: 4px 4px 1.5px 1.5px;
  border: 1px solid #1c110b;
  border-bottom: none;
}

/* Relleno de Dulce de Leche */
.menu-toggle .bar:nth-child(2) {
  height: 5px;
  width: 90%;
  margin: 0 auto;
  background: linear-gradient(to bottom, #c67a34 0%, #9a571c 100%);
  border-radius: 1px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

/* Tapa inferior del alfajor (cookie) */
.menu-toggle .bar:nth-child(3) {
  background: linear-gradient(to bottom, #352119 0%, #251610 100%);
  border-radius: 1.5px 1.5px 4px 4px;
  border: 1px solid #1c110b;
  border-top: none;
}

/* Menú Móvil - Overlay */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: var(--transition-smooth);
  opacity: 0;
}

.nav-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold);
}

/* Efectos al abrir menú móvil - transformación del alfajor */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: linear-gradient(135deg, #533931 0%, #20130f 100%);
  border: 1px solid #1c110b;
  border-radius: 3px;
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
  width: 0%;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: linear-gradient(135deg, #533931 0%, #20130f 100%);
  border: 1px solid #1c110b;
  border-radius: 3px;
}

/* Disable body scroll when nav is open */
body.nav-open {
  overflow: hidden;
}

/* 6. Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.hero-logo {
  height: auto;
  max-width: 170px;
  margin: 0 auto 20px auto;
  animation: float 6s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.hero-title {
  font-size: 2.3rem;
  margin-bottom: 20px;
  color: var(--color-white);
  line-height: 1.15;
}

.hero-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 35px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.hero-actions .btn {
  width: 100%;
  max-width: 260px;
}

/* 7. About Section */
.about {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border);
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-img {
  transform: scale(1.03);
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-gold);
  padding: 15px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  z-index: 10;
  max-width: calc(100% - 40px);
}

.badge-title {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.badge-desc {
  font-size: 0.75rem;
  color: var(--color-text-primary);
  font-weight: 300;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--color-white);
  font-weight: 500;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
  border-top: 1px solid var(--color-border);
  padding-top: 25px;
}

.highlight-item {
  text-align: center;
}

.highlight-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.highlight-lbl {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 8. Specialties Section (3D hover cards) */
.specialties {
  padding: 80px 0;
  background-color: rgba(162, 210, 255, 0.12);
  border-bottom: 1px solid var(--color-border);
}

.specialties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.specialty-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.specialty-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-border-active);
  box-shadow: var(--shadow-gold-glow);
}

.specialty-img-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.specialty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.specialty-card:hover .specialty-img {
  transform: scale(1.05);
}

.specialty-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.specialty-name {
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.specialty-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 300;
}

/* 8.5 Dietary Info Section (Sin TACC) */
.dietary-info {
  padding: 40px 0;
}

.dietary-card {
  background-color: var(--color-surface);
  border: 1px solid rgba(92, 140, 174, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  background-image: linear-gradient(135deg, rgba(162, 210, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.dietary-icon {
  font-size: 2.5rem;
  background-color: rgba(162, 210, 255, 0.15);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(162, 210, 255, 0.3);
}

.dietary-content {
  display: flex;
  flex-direction: column;
}

.dietary-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.dietary-title {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.dietary-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: 12px;
  max-width: 700px;
}

.dietary-text strong {
  color: var(--color-gold);
  font-weight: 500;
}

.dietary-subtext {
  font-size: 0.8rem;
  color: var(--color-gold);
}

@media (min-width: 768px) {
  .dietary-card {
    flex-direction: row;
    text-align: left;
    padding: 40px;
    gap: 35px;
  }
  
  .dietary-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem;
  }
}

/* 9. Catalog Section */
.catalog {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.catalog-filters {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 15px;
  margin-bottom: 40px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
}

.catalog-filters::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.filter-btn {
  white-space: nowrap;
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-text-primary);
}

.filter-btn.active {
  background: var(--color-gold-gradient);
  border-color: transparent;
  color: #0c0705;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.no-results {
  text-align: center;
  color: var(--color-text-secondary);
  padding: 60px 0;
  font-weight: 300;
  grid-column: 1 / -1;
}

.product-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-active);
  box-shadow: var(--shadow-gold-glow);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 20px;
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.product-short-description {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 15px;
}

.product-price-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

/* 10. Contact Section */
.contact {
  padding: 80px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.contact-lead-text {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: 35px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.step-card {
  display: flex;
  gap: 15px;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.step-title {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 300;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.meta-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.meta-title {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.meta-desc, .meta-link {
  font-size: 1.05rem;
  font-weight: 300;
}

.meta-link {
  color: var(--color-gold);
  border-bottom: 1px solid transparent;
}

.meta-link:hover {
  border-color: var(--color-gold);
}

/* Mapa Estilizado Ficticio */
.map-container {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.map-placeholder {
  height: 200px;
  position: relative;
  background-color: #0c0806;
  overflow: hidden;
}

.map-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.4) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: rotate(-10deg) scale(1.5);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(12,7,5,0.4) 0%, rgba(12,7,5,0.9) 80%);
  padding: 20px;
  text-align: center;
}

.map-pin {
  font-size: 2.2rem;
  margin-bottom: 8px;
  animation: float 4s ease-in-out infinite;
}

.map-location-name {
  font-size: 0.95rem;
  color: var(--color-text-primary);
  margin-bottom: 15px;
  font-weight: 400;
}

/* Columna Formulario */
.form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  box-shadow: var(--shadow-subtle);
}

.form-title {
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(162, 210, 255, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235c8cae' width='18' height='18'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.whatsapp-icon {
  margin-left: 8px;
}

/* 11. Footer */
.footer {
  padding: 60px 0 40px 0;
  border-top: 1px solid var(--color-border);
  background-color: #231712;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

.footer-info-area {
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-info-area .credits {
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

/* 12. Modal / Lightbox System */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(12, 7, 5, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 15px;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  position: relative;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
}

.modal.active .modal-content {
  opacity: 1;
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(12, 7, 5, 0.4);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-white);
  background-color: rgba(212, 175, 55, 0.1);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.modal-image-wrapper {
  aspect-ratio: 16/11;
  overflow: hidden;
  background-color: rgba(0,0,0,0.15);
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}

.modal-category-tag {
  align-self: flex-start;
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 15px;
}

.modal-description {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: 25px;
}

.modal-divider {
  height: 1px;
  background-color: var(--color-border);
  margin-bottom: 20px;
}

.modal-specifications {
  margin-bottom: 30px;
}

.spec-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.spec-text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 300;
}

.modal-action-wrapper .btn {
  display: flex;
  gap: 8px;
}

body.modal-open {
  overflow: hidden;
}

/* 13. Keyframe Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   14. Media Queries (Desktop Layouts)
   ========================================================================== */

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) {
  html {
    font-size: 17px;
  }
  
  .section-title {
    font-size: 2.6rem;
  }
  
  /* Hero */
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  /* About Grid */
  .about-grid {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  
  .about-image-wrapper, .about-content {
    flex: 1;
    width: 50%;
  }
  
  .about-img {
    aspect-ratio: 4/3;
  }
  
  /* Specialties Grid */
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  /* Catalog */
  .catalog-filters {
    justify-content: center;
    overflow-x: visible;
    padding-bottom: 0;
  }
  
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
  
  .form-card {
    padding: 40px 30px;
  }
  
  .map-placeholder {
    height: 250px;
  }
  
  /* Modal */
  .modal-grid {
    grid-template-columns: 1fr 1.1fr;
  }
  
  .modal-content {
    max-height: 85vh;
  }
  
  .modal-image-wrapper {
    aspect-ratio: auto;
    height: 100%;
  }
  
  .modal-info {
    padding: 40px 30px;
  }
}

/* Large Devices (Desktops, 1024px and up) */
@media (min-width: 1024px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* Nav Header */
  .menu-toggle {
    display: none;
  }
  
  .nav-menu {
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  
  .nav-list {
    flex-direction: row;
    gap: 35px;
  }
  
  .nav-link {
    font-size: 0.9rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.15em;
    position: relative;
    padding: 8px 0;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
  }
  
  .nav-link:hover::after, .nav-link.active::after {
    width: 100%;
  }
  
  /* Hero */
  .hero-logo {
    max-width: 200px;
    margin-bottom: 25px;
  }
  
  .hero-title {
    font-size: 3.6rem;
  }
  
  .hero-description {
    font-size: 1.15rem;
    max-width: 650px;
    margin-bottom: 40px;
  }
  
  /* About */
  .about {
    padding: 100px 0;
  }
  
  .about-grid {
    gap: 80px;
  }
  
  /* Specialties & Catalog */
  .specialties, .catalog, .contact {
    padding: 100px 0;
  }
  
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  /* Contact */
  .contact-grid {
    gap: 80px;
  }
  
  /* Footer */
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .footer-logo {
    margin-bottom: 0;
  }
  
  .footer-info-area {
    text-align: right;
  }
}
