/* ============================================
   ALUMEVI - Esquadrias de Alumínio e Vidros
   Main Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #FFC107;
  --color-primary-dark: #E5AC00;
  --color-primary-light: #FFD54F;
  --color-dark: #231f20;
  --color-dark-light: #2d2829;
  --color-white: #ffffff;
  --color-gray-50: #fafafa;
  --color-gray-100: #f5f5f5;
  --color-gray-200: #eeeeee;
  --color-gray-300: #e0e0e0;
  --color-gray-400: #bdbdbd;
  --color-gray-500: #9e9e9e;
  --color-gray-600: #757575;
  --color-gray-700: #616161;
  --color-gray-800: #424242;
  --color-gray-900: #212121;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-success: #25D366;
  --color-overlay: rgba(35, 31, 32, 0.85);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;

  --fs-h1: 36px;
  --fs-h2: 24px;
  --fs-h3: 20px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-menu: 14px;

  --container-max: 1200px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--color-dark); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin-bottom: 1em; }

/* --- Utility Classes --- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.bg-light { background: var(--color-gray-100); }
.bg-dark { background: var(--color-dark); color: var(--color-white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Section Title --- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}
.section-title p {
  margin-top: 16px;
  color: var(--color-text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn:hover::before { left: 100%; }
.btn-primary { background: var(--color-primary); color: var(--color-dark); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: var(--color-dark); transform: translateY(-2px); }
.btn-white { background: var(--color-white); color: var(--color-dark); }
.btn-white:hover { background: var(--color-gray-100); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-whatsapp { background: var(--color-success); color: var(--color-white); }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--color-dark);
  z-index: 1000;
  transition: all var(--transition);
  border-bottom: 2px solid var(--color-primary);
}
.header.scrolled {
  height: 64px;
  box-shadow: var(--shadow-lg);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition);
}
.header.scrolled .header-logo img { height: 40px; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: var(--fs-menu);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color var(--transition);
  white-space: nowrap;
  font-stretch: condensed;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--color-primary);
}
.nav-list > li > a .icon-nav {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Submenu indicator arrow */
.has-submenu > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 4px;
  transition: transform var(--transition);
}
.has-submenu:hover > a::after { transform: rotate(180deg); }

/* Submenu vertical dropdown */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--color-dark);
  border: 1px solid rgba(255,193,7,0.2);
  border-top: 2px solid var(--color-primary);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--color-gray-300);
  transition: all var(--transition);
  white-space: nowrap;
}
.submenu li a .icon-sub {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.submenu li a:hover {
  background: rgba(255,193,7,0.1);
  color: var(--color-primary);
  padding-left: 26px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
  border-radius: 1px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: var(--header-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(35,31,32,0.92) 0%, rgba(35,31,32,0.6) 50%, rgba(35,31,32,0.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
}
.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease both;
}
.hero-content h1 span { color: var(--color-primary); }
.hero-content p {
  color: var(--color-gray-300);
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 32px; height: 32px; color: var(--color-primary); }

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: 120px 0 60px;
  margin-top: var(--header-height);
  background: var(--color-dark);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,193,7,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 8px;
}
.page-hero p { color: var(--color-gray-400); }
/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}
.card:hover::before { transform: scaleX(1); }
.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover .card-img img { transform: scale(1.08); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,31,32,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover .card-img-overlay { opacity: 1; }
.card-body { padding: 24px; }
.card-body h3 {
  margin-bottom: 8px;
  transition: color var(--transition);
}
.card:hover .card-body h3 { color: var(--color-primary); }
.card-body p {
  color: var(--color-text-light);
  font-size: 15px;
  margin-bottom: 16px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-link svg { transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Feature Card */
.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-gray-200);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.feature-icon svg { width: 28px; height: 28px; color: var(--color-dark); }
.feature-card h3 { margin-bottom: 8px; font-size: 18px; }
.feature-card p { color: var(--color-text-light); font-size: 15px; margin: 0; }
/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* 4-column grid variant */
.services-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 640px) {
  .services-grid.grid-4 {
    grid-template-columns: 1fr;
  }
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}
.about-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--color-primary);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--color-text-light); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 4px;
}
/* --- Location Section --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.location-info { padding: 20px 0; }
.location-info .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.location-info .info-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,193,7,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-info .info-icon svg { width: 22px; height: 22px; color: var(--color-primary); }
.location-info .info-text h4 { font-size: 16px; margin-bottom: 4px; font-family: var(--font-body); font-weight: 600; }
.location-info .info-text p { color: var(--color-text-light); font-size: 15px; margin: 0; }

/* Location item icons (direct SVG in location-details) */
.location-details .location-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.location-details .location-item > svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  color: var(--color-primary);
  margin-top: 3px;
}
.location-details .location-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}
.location-details .location-item p {
  color: var(--color-text-light);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.location-details .location-item a {
  color: var(--color-primary-dark);
  font-weight: 500;
}
.location-details .location-item a:hover {
  color: var(--color-primary);
}

/* Service page compact hero */
.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  z-index: 1;
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
}
.page-hero:has(.page-hero-bg) {
  padding: 100px 0 40px;
  min-height: auto;
}
.page-hero:has(.page-hero-bg) .hero-content {
  text-align: left;
  max-width: var(--container-max);
  padding: 0 20px;
  margin: 0 auto;
}
.page-hero:has(.page-hero-bg) .hero-content h1 {
  font-size: var(--fs-h1);
  margin-bottom: 8px;
}
.page-hero:has(.page-hero-bg) .hero-content p {
  font-size: var(--fs-body);
  margin-bottom: 0;
}

/* Feature check icons in service pages */
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.feature-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--color-primary);
  margin-top: 2px;
}
.feature-item h3 {
  font-size: 16px;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}
.feature-item p {
  color: var(--color-text-light);
  font-size: 14px;
  margin: 0;
}
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .features-list { grid-template-columns: 1fr; }
}
.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* --- Regions Served --- */
.regions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.region-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,193,7,0.1);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  transition: all var(--transition);
}
.region-tag:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.region-tag svg { width: 14px; height: 14px; }
/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.contact-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 18px;
}
.contact-card h3 svg { width: 24px; height: 24px; color: var(--color-primary); }
.contact-card p { color: var(--color-text-light); margin-bottom: 8px; }
.contact-card a { color: var(--color-primary-dark); font-weight: 500; }
.contact-card a:hover { color: var(--color-primary); }

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}
.social-link svg { width: 20px; height: 20px; }
/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: var(--color-gray-400);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--color-gray-400);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '›';
  color: var(--color-primary);
  font-weight: bold;
}
.footer-links a:hover { color: var(--color-primary); padding-left: 4px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  align-items: flex-start;
}
.footer-contact svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom a { color: var(--color-primary); }
.footer-bottom a:hover { text-decoration: underline; }
/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--transition);
  animation: pulse-whats 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-float svg { width: 32px; height: 32px; color: white; }
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
  font-size: 14px;
}
.breadcrumb a { color: var(--color-primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--color-gray-500); }
.breadcrumb .separator { color: var(--color-gray-400); }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; flex: 1; margin: 0; }
.cookie-banner a { color: var(--color-primary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* --- 404 Page --- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-code {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.error-page h2 { margin: 16px 0 8px; }
.error-page p { color: var(--color-text-light); margin-bottom: 24px; }

/* --- Service Detail Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.service-detail-img {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-detail-text h2 { margin-bottom: 16px; }
.service-detail-text p { color: var(--color-text-light); margin-bottom: 16px; }
.service-features {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.service-feature-item svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,193,7,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-section p { color: var(--color-gray-400); margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- FAQ Section --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--border-radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--color-primary); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-white);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--color-gray-50); }
.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  color: var(--color-primary);
  flex-shrink: 0;
}
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding: 0 24px 18px; color: var(--color-text-light); font-size: 15px; }
.faq-item.active .faq-answer { max-height: 300px; }
/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes pulse-whats {
  0% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6), 0 0 0 8px rgba(37,211,102,0.1); }
  100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children > *:nth-child(10) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(11) { transition-delay: 0.55s; }
.stagger-children > *:nth-child(12) { transition-delay: 0.6s; }
/* --- Responsive Design (Mobile First) --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .service-detail,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .main-nav.open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-list > li > a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 16px;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    border-top: none;
    background: rgba(255,255,255,0.03);
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: none;
  }
  .has-submenu.open > .submenu { max-height: 600px; }
  .submenu li a { padding-left: 36px; font-size: 14px; }

  .hero { min-height: 80vh; }
  .hero-content h1 { font-size: 28px; }
  .section { padding: 50px 0; }
  .section-title { margin-bottom: 40px; }
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }

  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-number { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-tooltip { display: none; }
  .cookie-banner .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .about-stats { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* --- Gallery Section --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-close svg { width: 24px; height: 24px; color: #fff; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-nav svg { width: 28px; height: 28px; color: #fff; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
}

/* --- Video Section --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.video-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-item iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* --- Print Styles --- */
@media print {
  .header, .whatsapp-float, .cookie-banner, .hero-scroll { display: none; }
  .hero { min-height: auto; margin-top: 0; }
  body { color: #000; }
}
