@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

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

/* Ocultar scrollbar pero mantener funcionalidad */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Bloquear selección de texto e imágenes */
body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-cream);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Permitir selección solo en inputs y textareas */
input, textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

:root {
  --color-cream: #F8F6F1;
  --color-sage: #8B9A7D;
  --color-sage-dark: #6B7A5D;
  --color-forest: #2C3E2D;
  --color-gold: #C4A962;
  --color-gold-light: #D4C48E;
  --color-charcoal: #2D2D2D;
  --color-white: #FFFFFF;
  --color-mist: #E8E5DF;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(44,62,45,0.95) 0%, rgba(44,62,45,0.8) 100%);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-white);
  padding: 5px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.logo-text span {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

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

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

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

.nav-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #FFFFFF;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-forest) 0%, #1a2a1b 50%, var(--color-sage-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('imagenes/hero-fondo.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(196,169,98,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139,154,125,0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 10;
  padding: 2rem;
  animation: fadeInUp 1.2s ease-out;
}

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

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: var(--color-white);
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: fadeInUp 1.2s ease-out 0.1s backwards;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,169,98,0.15);
  border: 1px solid rgba(196,169,98,0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease-out 0.2s backwards;
}

.hero-badge span {
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.hero h1 strong {
  font-weight: 600;
  color: var(--color-gold-light);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 300;
  color: var(--color-sage);
  margin-bottom: 2rem;
  font-style: italic;
  animation: fadeInUp 1.2s ease-out 0.5s backwards;
}

.hero-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeInUp 1.2s ease-out 0.6s backwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease-out 0.7s backwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-forest);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(196,169,98,0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(196,169,98,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator svg {
  width: 30px;
  height: 30px;
  color: var(--color-gold-light);
  opacity: 0.6;
}

/* Section Styles */
.section {
  padding: 6rem 4%;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.section-tag span {
  color: var(--color-sage-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--color-forest);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-sage-dark);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About Section */
.about {
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

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

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(196,169,98,0.3);
  border-radius: 20px;
  pointer-events: none;
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-forest);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-content p {
  color: var(--color-charcoal);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--color-cream);
  border-radius: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-forest);
}

/* Services Section */
.services {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-mist) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(139,154,125,0.1);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sage) 0%, var(--color-gold) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 10;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(44,62,45,0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 2rem;
  text-align: center;
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  margin: -50px auto 1rem;
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-forest) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 25px rgba(44,62,45,0.2);
}

.service-icon {
  width: 28px;
  height: 28px;
  color: var(--color-white);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-forest);
  margin-bottom: 1rem;
  font-weight: 500;
}

.service-card p {
  color: var(--color-sage-dark);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Map Section */
.map-section {
  background: var(--color-forest);
  position: relative;
  overflow: hidden;
}

.map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
}

.map-section .section-tag span {
  color: var(--color-gold-light);
}

.map-section .section-title {
  color: var(--color-white);
}

.map-section .section-subtitle {
  color: var(--color-sage);
}

.map-image {
  max-width: 600px;
  margin: 0 auto 3rem;
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

.map-image img {
  width: 100%;
  height: auto;
  filter: brightness(1.2) contrast(1.1);
}

/* Interactive Map */
.map-wrapper {
  display: flex;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  align-items: stretch;
}

.interactive-map-container {
  flex: 1;
  min-width: 0;
  position: relative;
}

#osm-map {
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
  z-index: 1;
}

#osm-map .leaflet-container {
  cursor: default !important;
}

.leaflet-grab {
  cursor: default !important;
}

.leaflet-dragging .leaflet-grab {
  cursor: default !important;
}

.sector-detail-panel {
  width: 280px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.sector-detail-placeholder {
  text-align: center;
  color: var(--color-sage);
}

.sector-detail-placeholder svg {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.sector-detail-placeholder p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.7;
}

.sector-detail-content {
  text-align: center;
  width: 100%;
  animation: fadeIn 0.3s ease;
}

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

.sector-detail-content img {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.sector-detail-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-gold-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.sector-detail-content p {
  color: var(--color-sage);
  font-size: 0.9rem;
  line-height: 1.5;
}

.map-legend {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(44,62,45,0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 500;
}

.map-legend h4 {
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-white);
  font-size: 0.8rem;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
  background: #2C3E2D !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

.leaflet-popup-content {
  margin: 12px !important;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif !important;
}

.leaflet-popup-tip {
  background: #2C3E2D !important;
}

.leaflet-popup-close-button {
  color: #C4A962 !important;
  font-size: 20px !important;
}

.leaflet-popup-close-button:hover {
  color: #D4C48E !important;
}

.leaflet-container {
  font-family: 'Montserrat', sans-serif;
  cursor: default !important;
}

.leaflet-interactive {
  cursor: pointer !important;
}

.leaflet-control-zoom {
  display: none !important;
}

.leaflet-control-attribution {
  background: rgba(255,255,255,0.8) !important;
  font-size: 10px !important;
}

.sector-label {
  background: transparent !important;
  border: none !important;
}

@media (max-width: 900px) {
  .map-wrapper {
    flex-direction: column;
  }
  
  .sector-detail-panel {
    width: 100%;
    min-height: auto;
    padding: 1rem;
  }
  
  .sector-detail-placeholder {
    padding: 2rem 0;
  }
  
  .sector-detail-content img {
    max-height: 250px;
  }
}

@media (max-width: 640px) {
  #osm-map {
    height: 350px;
    border-radius: 12px;
  }
  
  .map-legend {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    width: 100%;
  }
  
  .map-wrapper {
    padding: 0 1rem;
  }
}

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

.sector-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sector-card:hover,
.sector-card.active {
  background: rgba(196,169,98,0.15);
  border-color: var(--color-gold);
  transform: translateY(-5px);
}

.sector-letter {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-forest);
}

.sector-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.sector-card p {
  color: var(--color-sage);
  font-size: 0.8rem;
  line-height: 1.5;
}

.sectors-extra {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sectors-extra-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-gold-light);
  margin-bottom: 1.5rem;
}

/* Sector Modal */
.sector-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sector-modal.active {
  opacity: 1;
  visibility: visible;
}

.sector-modal-content {
  background: var(--color-white);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
}

.sector-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--color-forest);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.sector-modal-close svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

.sector-modal-image {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: var(--color-cream);
}

.sector-modal-info {
  padding: 2rem;
  text-align: center;
}

.sector-modal-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-forest);
  margin-bottom: 0.5rem;
}

.sector-modal-info p {
  color: var(--color-sage-dark);
}

/* Testimonials Section */
.testimonials {
  background: var(--color-white);
}

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

.testimonial-card {
  background: var(--color-cream);
  padding: 2.5rem;
  border-radius: 20px;
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--color-sage);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-charcoal);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-forest) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  flex: 1;
}

.testimonial-info strong {
  display: block;
  color: var(--color-forest);
  font-size: 0.95rem;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.85rem;
}

/* Gallery Section */
.gallery {
  background: var(--color-mist);
}

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

.gallery-item {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,62,45,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Contact Section */
.contact {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-forest);
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--color-charcoal);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-forest) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-white);
}

.contact-item-content strong {
  display: block;
  color: var(--color-forest);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-item-content span {
  color: var(--color-sage-dark);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(44,62,45,0.08);
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-forest);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-mist);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--color-cream);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 4px rgba(139,154,125,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-sage-dark) 100%);
  color: var(--color-white);
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(44,62,45,0.2);
}

.form-submit svg {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  background: var(--color-forest);
  padding: 4rem 4% 2rem;
  color: var(--color-white);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-text h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.footer-brand-text p {
  color: var(--color-sage);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h5 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--color-gold-light);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--color-sage);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-sage);
  font-size: 0.9rem;
}

.footer-bottom a.neomemorial-link {
  color: var(--color-gold-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a.neomemorial-link:hover {
  color: var(--color-gold);
}

.footer-bottom a.neomemorial-link strong {
  font-weight: 700;
}

/* WhatsApp Floating Bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-bubble svg {
  width: 30px;
  height: 30px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: var(--color-forest);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--color-gold);
  color: var(--color-forest);
  transform: translateY(-3px);
}

.scroll-top-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-forest);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    z-index: 1001;
  }

  .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);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2/1;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .whatsapp-bubble {
    bottom: 90px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-bubble svg {
    width: 26px;
    height: 26px;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 5%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .logo-text span {
    font-size: 0.7rem;
  }
}
