/* Design Tokens & Custom Properties */
:root {
  --color-primary: #f8c700;       /* Warm Architectural Gold */
  --color-primary-hover: #e0b300; /* Darker Gold for hover states */
  --color-secondary: #d3c8b8;     /* Warm Sand/Beige */
  --color-dark-bg: #111111;       /* Deep slate/charcoal background */
  --color-dark-surface: #1a1a1a;  /* Surface elements in dark background */
  --color-light-bg: #faf9f6;      /* Off-white background */
  --color-light-surface: #ffffff; /* Pure white surface */
  --color-text-dark: #1e1e1e;     /* High contrast body text */
  --color-text-light: #f5f4f0;    /* Light text for dark sections */
  --color-text-muted: #666666;    /* Secondary text */
  
  --font-family-headings: 'Outfit', sans-serif;
  --font-family-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  --box-shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.12);
  --box-shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--color-light-bg);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headings);
  font-weight: 600;
  line-height: 1.2;
}

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1e1e1e;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-hover);
}

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

.section {
  padding: 100px 0;
}

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

/* Section Header Styles */
.section-tag {
  display: inline-block;
  font-family: var(--font-family-headings);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--color-text-muted);
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-family-headings);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 10px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #111111;
  box-shadow: 0 4px 15px rgba(248, 199, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(248, 199, 0, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
}

.btn-whatsapp-large {
  background-color: #25d366;
  color: #ffffff;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
  background-color: #20ba59;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 24px 0;
  background-color: transparent;
}

.navbar.scrolled {
  padding: 14px 0;
  background-color: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--box-shadow-glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-family-headings);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.logo-subtext {
  font-weight: 300;
  font-size: 11px;
  color: var(--color-secondary);
  display: block;
  margin-top: 1px;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-family-headings);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

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

.btn-nav-cta {
  background-color: var(--color-primary);
  color: #111111;
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
}

.btn-nav-cta::after {
  display: none;
}

.btn-nav-cta:hover {
  background-color: #ffffff;
  color: #111111;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  justify-content: center;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('fotos/482080826_639639388694730_8977512274716326269_n.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  padding-top: 120px;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.6) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  max-width: 800px;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-family-headings);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.icon-ws {
  margin-right: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 2s infinite;
}

.scroll-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-family-headings);
}

@keyframes scrollMouse {
  0% { opacity: 1; top: 8px; }
  50% { opacity: 0; top: 18px; }
  100% { opacity: 1; top: 8px; }
}

/* Sobre Nosotros */
.nosotros {
  background-color: var(--color-light-bg);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nosotros-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-family-headings);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary-hover);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.nosotros-image {
  position: relative;
}

.img-premium-shadow {
  box-shadow: var(--box-shadow-premium);
  border-radius: var(--border-radius-lg);
}

.rounded-lg {
  border-radius: var(--border-radius-lg);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--color-dark-bg);
  color: #ffffff;
  padding: 24px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-premium);
  border-left: 4px solid var(--color-primary);
  z-index: 2;
}

.badge-title {
  display: block;
  font-family: var(--font-family-headings);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}

.badge-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Servicios Section */
.servicios {
  background-color: var(--color-light-surface);
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

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

.servicio-card {
  background-color: var(--color-light-bg);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.servicio-card:hover {
  transform: translateY(-8px);
  background-color: var(--color-dark-bg);
  color: #ffffff;
  box-shadow: var(--box-shadow-premium);
}

.servicio-icon {
  color: var(--color-primary);
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.servicio-card:hover .servicio-icon {
  transform: scale(1.1);
  color: #ffffff;
}

.servicio-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 600;
}

.servicio-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  transition: var(--transition-smooth);
}

.servicio-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

/* Proyectos/Galería Section */
.proyectos-gallery {
  background-color: var(--color-light-bg);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  aspect-ratio: 4 / 3;
  box-shadow: var(--box-shadow-soft);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.2) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

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

.gallery-overlay h4 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.gallery-overlay p {
  font-size: 13px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Beneficios Section */
.beneficios {
  background-color: #f0ede6; /* Sophisticated Warm Sand color */
}

.beneficios-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.beneficios-grid-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  margin-top: 40px;
}

.beneficio-item {
  display: flex;
  gap: 16px;
}

.check-icon {
  font-size: 18px;
  color: #111111;
  background-color: var(--color-primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: bold;
}

.beneficio-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text-dark);
}

.beneficio-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.beneficios-visual {
  position: relative;
}

.detail-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  font-family: var(--font-family-headings);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  color: #111111;
  box-shadow: var(--box-shadow-soft);
}

/* Nuestro Proceso Section */
.proceso {
  background-color: var(--color-light-surface);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--color-secondary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-badge {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #111111;
  font-family: var(--font-family-headings);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  top: 15px;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -20px;
}

.timeline-panel {
  padding: 30px;
  background-color: var(--color-light-bg);
  position: relative;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.timeline-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-premium);
  border-left: 4px solid var(--color-primary);
}

.timeline-icon {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.timeline-panel h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-panel p {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* CTA Principal Section */
.cta-principal {
  background-image: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%), url('fotos/482125459_639899792002023_4579684857295798128_n.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 120px 0;
}

.cta-principal h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cta-principal p {
  font-size: 18px;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.8);
}

.ws-icon-btn {
  margin-right: 10px;
}

/* Contacto Section */
.contacto {
  background-color: var(--color-light-bg);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

.info-card {
  display: flex;
  gap: 20px;
  background-color: var(--color-light-surface);
  padding: 24px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
}

.info-icon {
  font-size: 24px;
}

.info-card h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.info-card p {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-dark);
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contacto-form-container {
  background-color: var(--color-light-surface);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-premium);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.contacto-form-container h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.contacto-form-container p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-family-body);
  font-size: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
  background-color: #fafafa;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-hover);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(248, 199, 0, 0.15);
}

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

.form-status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
}

.form-status.success {
  color: #20ba59;
}

.form-status.error {
  color: #dd3333;
}

/* Footer */
.footer {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 400px;
}

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

.footer-logo img {
  height: 40px;
}

.footer-logo span {
  font-family: var(--font-family-headings);
  font-size: 16px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.footer-links p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.seo-note {
  font-style: italic;
}

/* Cotización Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

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

.modal-content {
  background-color: var(--color-light-surface);
  padding: 48px;
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: var(--box-shadow-premium);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-text-muted);
}

.modal-close:hover {
  color: #111111;
}

.modal-content h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.modal-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

/* Floating Social Media & Communication Bar */
.floating-social-bar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 999;
}

.social-float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  position: relative;
}

.social-float-btn::before {
  content: attr(aria-label);
  position: absolute;
  right: 65px;
  background-color: #111111;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-family-headings);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-float-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.social-float-btn:hover {
  transform: translateY(-5px) scale(1.05);
}

.facebook-btn {
  background-color: #1877f2;
}

.instagram-btn {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.whatsapp-btn {
  background-color: #25d366;
  width: 60px;
  height: 60px;
  animation: pulseFloat 2s infinite;
}

.whatsapp-btn:hover {
  background-color: #20ba59;
}

@keyframes pulseFloat {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Animation Styles */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.fade-in-up {
  transform: translateY(40px);
}

.animate-on-scroll.fade-in-left {
  transform: translateX(-40px);
}

.animate-on-scroll.fade-in-right {
  transform: translateX(40px);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .section-title {
    font-size: 36px;
  }
  .hero-title {
    font-size: 52px;
  }
  .nosotros-grid,
  .contacto-grid,
  .beneficios-wrapper {
    gap: 40px;
  }
  .servicios-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .navbar {
    padding: 16px 0;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-dark-bg);
    flex-direction: column;
    padding: 100px 40px;
    transition: var(--transition-smooth);
    z-index: 1000;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu.active ~ .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .nav-menu.active ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav-menu.active ~ .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 17px;
  }
  .nosotros-grid,
  .contacto-grid,
  .beneficios-wrapper {
    grid-template-columns: 1fr;
  }
  .nosotros-image,
  .beneficios-visual {
    order: -1;
  }
  .timeline::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item:nth-child(odd) .timeline-badge,
  .timeline-item:nth-child(even) .timeline-badge {
    left: 11px;
    right: auto;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .servicios-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .beneficios-grid-list {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

/* Preloader Screen */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

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

.preloader-text {
  color: #d3c8b8; /* Arena / sand color */
  font-family: var(--font-family-headings);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: textFade 2s infinite ease-in-out;
}

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

.preloader-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
}

.preloader-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  animation: logoPulse 2s infinite ease-in-out;
}

.preloader-spinner {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid transparent;
  border-top-color: var(--color-primary);
  border-bottom-color: var(--color-secondary);
  border-radius: 50%;
  animation: spinnerRotate 1.5s linear infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes spinnerRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Particle Canvas */
.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
