/* Import modern Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS variables for an Industrial Minimalist & Light design system */
:root {
  /* Color Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-glass: rgba(0, 0, 0, 0.06);
  
  --primary: #ea580c; /* Safety Orange / Terracotta */
  --primary-hover: #c2410c;
  --primary-glow: rgba(234, 88, 12, 0.25);
  
  --text-main: #1e293b; /* Deep slate / Dark gray */
  --text-muted: #64748b; /* Medium slate */
  --text-dark: #0f172a; /* Almost black */
  
  --success: #10b981; /* WhatsApp green */
  --success-hover: #059669;
  --success-glow: rgba(16, 185, 129, 0.3);
  
  /* Fonts */
  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Animations */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 25px -5px var(--primary-glow);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  scroll-snap-type: y mandatory;
  -webkit-font-smoothing: antialiased;
}

/* Base Slice Framing Rules */
section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  box-sizing: border-box;
  position: relative;
  overflow: hidden; /* Ensures no inner scroll inside each slice */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dark);
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

p {
  color: var(--text-muted);
}

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

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

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
  height: 100%;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Header & Navigation (Light Glassmorphic) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.95);
}

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

.logo-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.logo-img-wrapper:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
  display: block;
}

.logo {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  color: var(--primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, #fb923c 100%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  display: inline-block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.btn-header {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-header:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
              var(--bg-secondary);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-content {
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 88, 12, 0.1);
  border: 1px solid rgba(234, 88, 12, 0.15);
  color: var(--primary);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  margin-bottom: 1.5rem;
  max-width: 550px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.btn-whatsapp-hero {
  background: var(--success);
  box-shadow: 0 8px 25px var(--success-glow);
  color: #fff;
}

.btn-whatsapp-hero:hover {
  background: var(--success-hover);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

/* Hero Badge Overlay */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: clamp(240px, 38vh, 400px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  background: var(--bg-secondary);
}

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

.badge-trust {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  justify-content: space-around;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

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

.badge-num {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.badge-lbl {
  font-size: 0.75rem;
  color: var(--text-main);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* About Section */
.about {
  background: var(--bg-primary);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: var(--shadow-premium);
  border-color: rgba(234, 88, 12, 0.1);
}

.feature-icon {
  width: 34px;
  height: 34px;
  background: rgba(234, 88, 12, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.about-text p {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.about-text ul {
  list-style: none;
  margin-top: 1.5rem;
}

.about-text li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.about-text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Services Section */
.services {
  background: var(--bg-secondary);
}

.services-grid {
  margin-top: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(234, 88, 12, 0.2);
}

.service-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.service-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.service-body p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: var(--text-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.service-link i {
  transition: var(--transition-smooth);
}

.service-card:hover .service-link i {
  transform: translateX(5px);
}

/* Gallery Section */
.gallery {
  background: var(--bg-primary);
}

.gallery-grid {
  margin-top: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-glass);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 1.5rem;
  text-align: center;
}

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

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

.gallery-overlay h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.gallery-instagram-btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
}

.gallery-instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(220, 39, 67, 0.4);
}

/* Before and After slider */
.ba-slider-container {
  margin: 3rem auto 0;
  max-width: 700px;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-glass);
}

.ba-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
}

.ba-before {
  background-image: url('images/ampliacion.png');
  filter: grayscale(20%);
}

.ba-after {
  background-image: url('images/cobertizo.png');
  width: 50%;
}

.ba-slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 11;
  pointer-events: none;
  border: 2px solid var(--border-glass);
}

.ba-slider-button::before, .ba-slider-button::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
}

.ba-slider-button::before {
  border-width: 6px 7px 6px 0;
  border-color: transparent var(--text-dark) transparent transparent;
  margin-right: 3px;
}

.ba-slider-button::after {
  border-width: 6px 0 6px 7px;
  border-color: transparent transparent transparent var(--text-dark);
  margin-left: 3px;
}

.ba-label {
  position: absolute;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ba-label-before {
  left: 1rem;
}

.ba-label-after {
  right: 1rem;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-secondary);
}

.testimonials-grid {
  margin-top: 1rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

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

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(234, 88, 12, 0.1);
  line-height: 1;
}

.testimonial-stars {
  color: #fbbf24; /* Amber yellow for stars */
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  border: 2px solid rgba(234, 88, 12, 0.2);
}

.author-info h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
}

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

/* Contact & Form Section */
.contact {
  background: radial-gradient(circle at 10% 90%, rgba(234, 88, 12, 0.04) 0%, transparent 40%),
              var(--bg-primary);
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.contact-info-text h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.contact-info-text p {
  font-size: 0.9rem;
}

/* Form Styling */
.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #fb923c 100%);
}

.form-group {
  margin-bottom: 0.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

textarea.form-input {
  height: 75px;
  resize: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-input option {
  background: #ffffff;
  color: var(--text-dark);
}

.btn-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  justify-content: center;
  padding: 0.85rem;
  font-size: 0.95rem;
}

/* Success/Error toast or feedback messages inside form */
.form-feedback {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 0.3s ease;
}

.form-feedback.success {
  display: flex;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--success-hover);
}

.form-feedback.error {
  display: flex;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--success);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  background-color: var(--success-hover);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.5);
}

/* Floating WhatsApp Badge Pulsing Animation */
.whatsapp-float::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--success);
  box-shadow: 0 0 15px var(--success-glow);
  animation: pulse 2s infinite;
  pointer-events: none;
}

/* Footer Section */
footer {
  background: var(--text-dark);
  color: #f8fafc;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

footer .container {
  height: auto;
  max-height: none;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 2.2fr 1fr 1fr auto !important;
  gap: 2.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  width: 100% !important;
}

.footer-col-logo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 0.5rem;
}

.footer-logo-card {
  background: #000000;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-logo-card:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--primary);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.footer-card-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.footer-col h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.footer-col .logo {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #cbd5e1;
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link-item a {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.footer-link-item a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Animations Keyframes */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Mobile Menu logic styles */
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
    border-top: 1px solid var(--border-glass);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero {
    padding-top: 100px;
    padding-bottom: 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-image-wrapper {
    height: 380px;
  }
  
  .badge-trust {
    padding: 1rem;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }
  
  .badge-num {
    font-size: 1.4rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

/* Custom Additions for Quinchao Construcciones */

/* Commitment (Misión & Visión) Section Styling */
.commitment {
  background: var(--bg-secondary);
  position: relative;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 1.25rem;
}

.commitment-card {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  position: relative;
}

.commitment-card:hover {
  transform: translateY(-5px);
  border-color: rgba(234, 88, 12, 0.25);
  box-shadow: 0 20px 40px -15px var(--primary-glow);
}

.commitment-icon-circle {
  width: 64px;
  height: 64px;
  background: rgba(234, 88, 12, 0.08);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.06);
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.commitment-card:hover .commitment-icon-circle {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 15px 30px var(--primary-glow);
}

.commitment-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.commitment-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 1.5px;
  transition: var(--transition-smooth);
}

.commitment-card:hover h3::after {
  width: 70px;
}

.commitment-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Visit Notice Banner */
.visit-notice-banner {
  background: rgba(234, 88, 12, 0.05);
  border: 1px solid rgba(234, 88, 12, 0.15);
  border-left: 4px solid var(--primary);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
}

.visit-notice-icon {
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1;
}

.visit-notice-text p {
  color: var(--text-main);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.visit-notice-text strong {
  color: var(--text-dark);
}

/* Services Grid & Layout Overrides for List-Detail Layout */
.services-layout-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 0.5rem;
  height: calc(100vh - 280px);
  max-height: 440px;
}

.services-list-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  max-height: 100%;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.service-list-item i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.service-list-item:hover {
  background: var(--bg-tertiary);
  color: var(--text-dark);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateX(3px);
}

.service-list-item.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 15px -3px var(--primary-glow);
}

.service-list-item.active i {
  color: #ffffff;
}

/* Detail Panel Styling */
.services-detail-panel {
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-premium);
  min-height: unset;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.service-detail-card.hidden {
  display: none;
}

.service-detail-card:not(.hidden) {
  animation: detailCardFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.detail-icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(234, 88, 12, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.1);
  margin-bottom: 0.25rem;
  animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.service-detail-card h3 {
  font-size: 1.65rem;
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.detail-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 1.25rem;
}

.detail-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.detail-cta-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.detail-cta-btn i {
  transition: var(--transition-smooth);
}

.detail-cta-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .services-layout-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: auto;
    max-height: calc(100vh - 240px);
  }
  
  .services-list-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    scrollbar-width: none;
  }
  
  .services-list-sidebar::-webkit-scrollbar {
    display: none;
  }
  
  .service-list-item {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    flex-shrink: 0;
    width: auto;
    white-space: nowrap;
    justify-content: center;
  }
  
  .service-list-item:hover {
    transform: none;
  }
  
  .services-detail-panel {
    padding: 1.5rem 1.25rem;
    min-height: auto;
  }
  
  .service-detail-card h3 {
    font-size: 1.5rem;
  }
  
  .detail-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  section {
    padding-top: 75px;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
  }

  footer {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding-top: 3rem;
  }

  .nav-container {
    height: 75px;
  }

  .top-right-logo-wrapper {
    margin-left: 0.5rem;
    padding: 2px 5px;
  }

  .top-right-logo-img {
    height: 36px;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .commitment-card {
    padding: 1.25rem 1rem;
  }
  
  .visit-notice-banner {
    padding: 0.75rem 1rem;
    flex-direction: row;
    gap: 0.6rem;
  }
  
  .contact-form-wrapper {
    padding: 1.25rem 1rem;
  }

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

  .footer-col-logo {
    justify-content: flex-start;
  }

  .brand-logo-img {
    height: 32px;
  }

  .logo {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-col-logo {
    justify-content: center;
  }
}



