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

/* System Variables */
:root {
  /* Colors - Light Theme */
  --primary-hue: 215;
  --primary: hsl(var(--primary-hue), 25%, 12%);
  --primary-light: hsl(var(--primary-hue), 25%, 20%);
  --secondary: hsl(172, 80%, 28%);
  --secondary-hover: hsl(172, 80%, 22%);
  --secondary-light: hsl(172, 40%, 94%);
  --accent: hsl(38, 92%, 50%);
  --accent-hover: hsl(38, 92%, 42%);
  --bg: hsl(210, 25%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --border: hsl(210, 20%, 90%);
  --text: hsl(215, 25%, 15%);
  --text-muted: hsl(215, 15%, 45%);
  --white: #ffffff;
  
  /* Fonts */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --header-height: 80px;
}

/* Dark Theme Variables */
[data-theme="dark"] {
  --primary: hsl(var(--primary-hue), 25%, 90%);
  --primary-light: hsl(var(--primary-hue), 25%, 80%);
  --secondary: hsl(172, 75%, 40%);
  --secondary-hover: hsl(172, 75%, 46%);
  --secondary-light: hsl(172, 30%, 15%);
  --bg: hsl(220, 24%, 6%);
  --bg-card: hsl(220, 24%, 10%);
  --border: hsl(220, 20%, 18%);
  --text: hsl(210, 20%, 96%);
  --text-muted: hsl(215, 14%, 70%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  background: none;
  transition: var(--transition);
}

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(var(--bg-card), 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

header.scrolled {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.navbar {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.15);
  transition: var(--transition);
}

.logo:hover .logo-img {
  transform: scale(1.05);
  border-color: var(--secondary);
}

.logo-text h1 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

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

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

.nav-links a:hover {
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  color: var(--secondary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.lang-selector:hover {
  border-color: var(--secondary);
}

.lang-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 20px;
  transition: var(--transition);
}

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

.lang-btn.active {
  color: var(--white);
  background: var(--secondary);
}

.lang-separator {
  color: var(--border);
  font-size: 0.75rem;
  pointer-events: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: var(--header-height);
  position: relative;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(13, 148, 136, 0.08), transparent 50%),
              radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.05), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  color: var(--secondary);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 1;
}

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

.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: rgba(var(--bg-card), 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-text h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Features Grid in Home */
.features-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-info h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.feature-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Section Common Styles */
.section {
  padding: 100px 0;
}

.section-bg-alt {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

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

/* Excursiones / Catalog Section */
.catalog-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
}

.filter-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.filter-btn.active {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tour-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.tour-card-image {
  position: relative;
  aspect-ratio: 1.5;
  overflow: hidden;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.08);
}

.tour-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--secondary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tour-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tour-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tour-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tour-card-content h3 {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  margin-bottom: 12px;
  height: 52px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.tour-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tour-price strong {
  display: block;
  font-size: 1.15rem;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-weight: 700;
}

.tour-btn {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* Detail Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background: var(--bg-card);
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--secondary);
}

.modal-hero {
  position: relative;
  height: 320px;
}

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

.modal-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.modal-body {
  padding: 40px;
}

.modal-header-info {
  margin-bottom: 24px;
}

.modal-header-info h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.modal-meta-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-meta-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 30px;
}

.modal-itinerary h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.itinerary-timeline {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--border);
}

.itinerary-step {
  position: relative;
  margin-bottom: 24px;
}

.itinerary-step::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid var(--bg-card);
}

.itinerary-step h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.itinerary-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-sidebar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
}

.modal-sidebar h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.modal-includes-list {
  list-style: none;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.modal-includes-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.modal-includes-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.modal-action-box {
  text-align: center;
}

.modal-action-box .price {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.modal-action-box .price strong {
  display: block;
  font-size: 1.6rem;
  color: var(--secondary);
  font-family: var(--font-sans);
  font-weight: 700;
}

/* Info Hub Section */
.info-tabs {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.tab-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border);
  padding-right: 20px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.tab-btn.active {
  background: var(--secondary-light);
  color: var(--secondary);
}

.tab-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.tab-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
}

.tab-card h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
}

.tab-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* About us section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.about-img-1 {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-img-2 {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}

.about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lang-notice {
  background: var(--secondary-light);
  border-left: 4px solid var(--secondary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 30px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

/* Testimonios & Clientes */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.client-card {
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.client-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--secondary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.client-card h4 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.client-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.client-location {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--secondary-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-details p, .contact-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-details a:hover {
  color: var(--secondary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary);
  outline: none;
  background: var(--bg-card);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Map Widget placeholder */
.map-wrapper {
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 250px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Section */
footer {
  background: var(--primary);
  color: hsl(var(--primary-hue), 25%, 80%);
  padding: 80px 0 40px 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo h1 {
  color: var(--white);
  font-size: 1.4rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.social-btn:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-copy a {
  color: var(--white);
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-tabs {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tab-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 16px;
  }
  
  .tab-btn {
    white-space: nowrap;
    padding: 12px 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-content-grid {
    grid-template-columns: 1fr;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modal-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Modal Gallery */
.modal-gallery-wrapper {
  margin-top: 24px;
  margin-bottom: 24px;
}

.modal-gallery-wrapper h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.modal-gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) var(--border);
}

.modal-gallery::-webkit-scrollbar {
  height: 6px;
}

.modal-gallery::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 3px;
}

.modal-gallery::-webkit-scrollbar-thumb {
  background-color: var(--secondary);
  border-radius: 3px;
}

.gallery-img {
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.gallery-img:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
}

.gallery-img.active {
  border-color: var(--secondary);
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.4);
}
