/* ============================================================================
   CSS CUSTOM PROPERTIES & THEME
   ========================================================================== */

:root {
  /* Light Theme Colors */
  --background: 210 20% 98%;
  --foreground: 213 32% 18%;
  --primary: 211 65% 42%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 25% 93%;
  --accent: 199 80% 48%;
  --muted: 210 20% 96%;
  --muted-foreground: 213 12% 50%;
  --card: 0 0% 100%;
  --border: 214 20% 90%;
  
  /* Gradients & Shadows */
  --hero-gradient: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
  --card-shadow: 0 4px 24px -4px hsl(var(--primary) / 0.12);
  --card-shadow-hover: 0 12px 40px -8px hsl(var(--primary) / 0.2);
  --radius: 0.75rem;
  
  /* Spacing */
  --section-padding-x: 1rem; /* px-4 */
  --section-padding-y: 4rem; /* py-16 */
}

@media (min-width: 640px) {
  :root {
    --section-padding-x: 1.5rem; /* sm:px-6 */
  }
}

@media (min-width: 1024px) {
  :root {
    --section-padding-x: 2rem; /* lg:px-8 */
    --section-padding-y: 6rem; /* md:py-24 */
  }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  :root {
    --background: 213 32% 10%;
    --foreground: 210 20% 96%;
    --primary: 211 65% 55%;
    --secondary: 213 25% 20%;
    --accent: 199 80% 55%;
    --muted: 213 20% 18%;
    --muted-foreground: 215 15% 60%;
    --card: 213 32% 14%;
    --border: 213 20% 22%;
  }
}

/* ============================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ============================================================================
   UTILITY CLASSES
   ========================================================================== */

.section-padding {
  padding-left: var(--section-padding-x);
  padding-right: var(--section-padding-x);
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.gradient-primary {
  background: var(--hero-gradient);
}

.card-elevated {
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-elevated:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.text-accent {
  color: hsl(var(--accent));
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ============================================================================
   ANIMATIONS
   ========================================================================== */

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-up {
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

.animate-service-card {
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}

/* ============================================================================
   NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--card) / 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem var(--section-padding-x);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: hsl(var(--primary));
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: inline;
  }
}

.navbar-menu {
  display: none;
  list-style: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .navbar-menu.desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.cta-button {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--hero-gradient);
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .cta-button.desktop {
    display: flex;
  }
}

/* Language Selector */
.language-selector {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: hsl(var(--secondary));
  border: 2px solid transparent;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.lang-btn:hover {
  transform: scale(1.1);
  border-color: hsl(var(--primary));
}

.lang-btn.active {
  background: var(--hero-gradient);
  border-color: hsl(var(--primary));
  box-shadow: 0 0 12px hsl(var(--primary) / 0.4);
}

.lang-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.menu-icon,
.close-icon {
  transition: opacity 0.3s ease;
}

.menu-icon.hidden {
  display: none;
}

.close-icon.hidden {
  display: none;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  animation: slideUp 0.3s ease-out;
}

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

@media (max-width: 1023px) {
  .mobile-menu:not(.hidden) {
    display: flex;
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: hsl(var(--primary));
}

.mobile-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--hero-gradient);
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-top: 0.5rem;
}

/* ============================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 55%;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  text-align: left;
  margin-left: 2rem;
  border: 2px solid transparent;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    linear-gradient(135deg, rgba(0, 150, 255, 0.5), rgba(0, 100, 200, 0.3), transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: edge-glow 3s ease-in-out infinite;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 4rem;
    margin-left: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 5rem;
    margin-left: 4rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 85%;
    padding: 2rem 1.5rem;
    margin-left: 1rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 100, 200, 0.2);
  color: white;
  border: 1px solid rgba(0, 150, 255, 0.5);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: hsl(var(--accent));
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes badge-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 hsl(var(--accent) / 0.4);
  }
  50% {
    box-shadow: 0 0 12px 4px hsl(var(--accent) / 0.2);
  }
}

@keyframes edge-glow {
  0%, 100% {
    border-color: rgba(0, 150, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.2), inset 0 0 20px rgba(0, 150, 255, 0.1);
  }
  50% {
    border-color: rgba(0, 150, 255, 0.8);
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.4), inset 0 0 30px rgba(0, 150, 255, 0.2);
  }
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: hsl(var(--primary-foreground));
  font-weight: 800;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

.highlight-text {
  color: hsl(var(--accent));
  font-weight: 800;
}

.fontanero-name {
  color: hsl(var(--accent));
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(34, 197, 232, 0.3);
}

.badge-text {
  display: inline;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: hsl(var(--primary-foreground) / 0.8);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* ============================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-whatsapp {
  background: var(--hero-gradient);
  color: hsl(var(--primary-foreground));
}

.btn-whatsapp:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-phone {
  background: transparent;
  color: hsl(var(--primary-foreground));
  border: 2px solid hsl(var(--primary-foreground) / 0.3);
}

.btn-phone:hover {
  background-color: hsl(var(--primary-foreground) / 0.1);
}

.btn-secondary {
  background: hsl(var(--primary-foreground));
  color: hsl(var(--accent));
  border: 2px solid hsl(var(--primary-foreground));
}

.btn-secondary:hover {
  background-color: hsl(var(--primary-foreground) / 0.9);
  transform: translateY(-2px);
}

.btn-whatsapp-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  background: var(--hero-gradient);
  color: hsl(var(--primary-foreground));
}

.btn-whatsapp-large:hover {
  opacity: 0.9;
}

.btn-phone-outline {
  border: 2px solid hsl(var(--primary));
  color: hsl(var(--primary));
  background: transparent;
  padding: 0.875rem 2rem;
}

.btn-phone-outline:hover {
  background-color: hsl(var(--primary) / 0.1);
}

/* ============================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  background-color: hsl(var(--background));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image-container {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--card-shadow);
}

.about-decoration {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  background: var(--hero-gradient);
  opacity: 0.2;
  border-radius: 1rem;
  z-index: -1;
}

.about-content {
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .about-content {
    padding: 0 2rem;
  }
}

.section-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--accent));
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.about-text {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.stat-card {
  background-color: hsl(var(--secondary));
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

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

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.stat-icon svg {
  width: 32px;
  height: 32px;
  color: hsl(var(--primary));
}

.stat-value {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  background-color: hsl(var(--secondary) / 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  background-color: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--hero-gradient);
  color: hsl(var(--primary-foreground));
  flex-shrink: 0;
}

.service-image {
  width: 100%;
  height: 200px;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
  margin: -1.5rem -1.5rem 0.5rem -1.5rem;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.service-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  flex-grow: 1;
}

.service-price {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  width: fit-content;
}

/* ============================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-section {
  background-color: hsl(var(--background));
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(20, 60, 120, 0.95) 0%,
    rgba(20, 60, 120, 0.7) 100%
  );
  padding: 2rem 1rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--accent));
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.portfolio-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary-foreground));
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  color: hsl(var(--foreground));
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
  z-index: 3;
}

.portfolio-card:hover .portfolio-zoom {
  opacity: 1;
  transform: scale(1);
}

.portfolio-zoom:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* ============================================================================
   LIGHTBOX
   ========================================================================== */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsl(var(--foreground) / 0.9);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease-out;
}

.lightbox.hidden {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  background: hsl(var(--primary-foreground));
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 101;
}

.lightbox-close:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.lightbox-image {
  max-height: 85vh;
  max-width: 100%;
  border-radius: 0.75rem;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  text-align: center;
}

/* ============================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  background-color: hsl(var(--secondary) / 0.5);
}

.testimonials-scroller {
  overflow: hidden;
  position: relative;
  padding-bottom: 0.5rem;
}

.testimonials-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.testimonials-grid.marquee-running {
  animation: testimonialsMarquee 56s linear infinite;
}

.testimonials-scroller:hover .testimonials-grid.marquee-running {
  animation-play-state: paused;
}

@keyframes testimonialsMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  background-color: hsl(var(--card));
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
  width: min(340px, 86vw);
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.testimonial-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  width: 18px;
  height: 18px;
  color: hsl(var(--accent));
}

.testimonial-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  flex-grow: 1;
  line-height: 1.6;
}

.testimonial-author {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

/* ============================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  background-color: hsl(var(--background));
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.faq-item {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.faq-question {
  font-size: 1rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ============================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background-color: hsl(var(--background));
}

.contact-container {
  max-width: 42rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-info {
    gap: 1.5rem;
  }
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: hsl(var(--card));
  border-radius: 0.75rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--hero-gradient);
  color: hsl(var(--primary-foreground));
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-text {
  flex-grow: 1;
}

/* ============================================================================
   MAP SECTION
   ========================================================================== */

.map-container {
  max-width: 1100px;
}

.map-frame-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .map-frame {
    height: 320px;
  }
}

/* ============================================================================
   COOKIE CONSENT MODAL
   ========================================================================== */

.cookie-modal {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease-out forwards;
}

.cookie-modal-content {
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  animation: slideUp 0.4s ease-out forwards;
}

.cookie-modal-header {
  background: var(--hero-gradient);
  color: hsl(var(--primary-foreground));
  padding: 1.5rem;
  text-align: center;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.cookie-modal-body {
  padding: 1.5rem;
  color: hsl(var(--foreground));
  line-height: 1.6;
}

.cookie-modal-body p {
  margin: 0.75rem 0;
  font-size: 0.95rem;
}

.cookie-modal-body p:last-child {
  margin-bottom: 0;
}

.cookie-modal-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background-color: hsl(var(--secondary));
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: calc(var(--radius) * 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-reject {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.cookie-reject:hover {
  background-color: hsl(var(--border));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-policy {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 2px solid hsl(var(--primary));
}

.cookie-policy:hover {
  background-color: transparent;
  color: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-accept {
  background: var(--hero-gradient);
  color: hsl(var(--primary-foreground));
  min-width: 120px;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Mobile responsive for cookie modal */
@media (max-width: 640px) {
  .cookie-modal-content {
    width: 95%;
    max-width: 100%;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

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

  .cookie-accept {
    min-width: unset;
  }
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.contact-value {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.contact-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

/* ============================================================================
   FOOTER
   ========================================================================== */

.footer {
  background-color: hsl(213 32% 18%);
  color: hsl(210 20% 96%);
  padding: 3rem var(--section-padding-x) 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-subtitle {
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-link {
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
}

.footer-copyright {
  font-size: 0.75rem;
  opacity: 0.3;
}

/* ============================================================================
   TOOLS & EQUIPMENT SECTION
   ========================================================================== */

.tools-section {
  background: linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(var(--background)) 100%);
  position: relative;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tools-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.tools-image-container {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
}

.tools-image-container:hover {
  transform: scale(1.05);
}

.tools-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.tools-content {
  padding: 1rem;
}

.tools-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

.tools-text {
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.tools-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tool-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  color: hsl(var(--foreground));
}

.tool-feature svg {
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.tools-conclusion {
  font-size: 0.95rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 640px) {
  .about-image-container {
    order: -1;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}
