/* ==========================================================================
   GRUPO ALEGRIA - PREMIUM STAND DESIGN & RENTAL
   DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* Import Outfit Google Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  --primary: #D90429;
  --primary-rgb: 217, 4, 41;
  --primary-hover: #B80322;
  --dark: #0E0F11;
  --darker: #070809;
  --light: #FFFFFF;
  --light-gray: #F8F9FA;
  --cool-gray: #E9ECEF;
  --text-dark: #1F2421;
  --text-light: #F8F9FA;
  --text-muted: #8E9AAF;
  --text-muted-dark: #6C757D;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-height: 80px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 8px 24px rgba(217, 4, 41, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: 16px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

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

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

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

/* Section Header Utility */
.section-header {
  max-width: 700px;
  margin-bottom: 56px;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background-color: var(--primary);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.section-title.light {
  color: var(--text-light);
}

.section-subtitle {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-muted-dark);
}

.section-subtitle.light {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--light);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 4, 41, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--cool-gray);
}

.btn-secondary:hover {
  background-color: var(--cool-gray);
  transform: translateY(-2px);
}

.btn-secondary-light {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-light:hover {
  background-color: var(--light);
  color: var(--dark);
  border-color: var(--light);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.logo img {
  display: block;
  width: auto;
  object-fit: contain;
}

.header .logo img {
  max-height: calc(var(--header-height) - 24px);
  margin-top: 5px; /* Empuja el logo ligeramente hacia abajo */
  transition: all var(--transition-normal);
}

.header.scrolled .logo img {
  max-height: 44px;
  margin-top: 3px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

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

.nav-link {
  font-size: 0.937rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

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

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

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

/* Action CTA */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Burger Button */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
  background: none;
  border: none;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

/* Mobile Nav Styles */
@media (max-width: 991px) {
  .burger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background-color: var(--light);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 40px;
    gap: 24px;
    transition: right var(--transition-slow);
    z-index: 999;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .nav-actions .btn {
    display: none; /* Hide standard quote button, put it inside mobile nav or keep header light */
  }
  
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background-color: var(--light);
  overflow: hidden;
}

/* Decorative background text */
.hero-watermark {
  position: absolute;
  bottom: -40px;
  left: -20px;
  font-size: clamp(150px, 25vw, 320px);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--cool-gray);
  line-height: 0.8;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 10;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--primary);
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin-bottom: 24px;
}

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

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted-dark);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* Quick Stats in Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--cool-gray);
  max-width: 560px;
}

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

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 4px;
}

.stat-number span.plus {
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted-dark);
}

/* Hero Visual / Slider */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background-color: var(--cool-gray);
}

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

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: var(--dark);
  color: var(--light);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  max-width: calc(100% - 48px);
  box-shadow: var(--shadow-md);
}

.hero-badge-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-badge-desc {
  font-size: 0.937rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Responsive Hero */
@media (max-width: 991px) {
  .hero {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 60px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   3. TICKER SECTION (MARQUEE)
   ========================================================================== */
.ticker-section {
  background-color: var(--darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  overflow: hidden;
  user-select: none;
}

.ticker-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  padding: 0 32px 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
  background-color: var(--darker);
  position: relative;
  z-index: 10;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: scrollTicker 35s linear infinite;
  padding-left: 24px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  padding: 0 40px;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  margin-right: 16px;
  flex-shrink: 0;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   4. SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 120px 0;
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 32px;
}

/* Service Card */
.service-card {
  background-color: var(--light);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

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

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

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: rgba(217, 4, 41, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 32px;
  font-size: 1.75rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: var(--light);
  transform: scale(1.05);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.service-description {
  font-size: 0.95rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--cool-gray);
  padding-top: 20px;
}

.service-list-item {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}

.service-list-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .services-section {
    padding: 80px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 32px;
  }
}

/* ==========================================================================
   5. BEFORE / AFTER SLIDER SECTION
   ========================================================================== */
.slider-section {
  padding: 120px 0;
  background-color: var(--dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.slider-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(217, 4, 41, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

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

/* Before After Component */
.ba-slider-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-image-before {
  z-index: 10;
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
}

.ba-image-after {
  z-index: 5;
}

/* Split Line & Handle */
.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--primary);
  z-index: 15;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  border: 3px solid var(--light);
  color: var(--light);
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: transform 0.15s ease;
}

.ba-slider-wrapper:hover .ba-handle {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Labels */
.ba-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: rgba(7, 8, 9, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--light);
  border-radius: var(--radius-sm);
  z-index: 25;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.ba-label-before {
  left: 20px;
}

.ba-label-after {
  right: 20px;
}

.slider-bottom-notes {
  margin-top: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 32px;
}

.note-item {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.note-item svg {
  color: var(--primary);
}

@media (max-width: 768px) {
  .slider-section {
    padding: 80px 0;
  }
  
  .ba-slider-wrapper {
    aspect-ratio: 4/3;
  }
  
  .ba-handle {
    width: 40px;
    height: 40px;
  }
  
  .slider-bottom-notes {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
  }
}

/* ==========================================================================
   6. PORTFOLIO SECTION
   ========================================================================== */
.portfolio-section {
  padding: 120px 0;
  background-color: var(--light);
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.812rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  background-color: var(--light-gray);
  color: var(--text-muted-dark);
  border: 1px solid var(--cool-gray);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--cool-gray);
  color: var(--text-dark);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--light);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.portfolio-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--light-gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: scale(1);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-img-box {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background-color: var(--cool-gray);
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.portfolio-overlay-info {
  color: var(--light);
}

.portfolio-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 4px;
}

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

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

.portfolio-info {
  padding: 24px;
  border-top: 1px solid var(--cool-gray);
  flex-grow: 1;
}

.portfolio-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.portfolio-item-desc {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted-dark);
  border-top: 1px solid var(--cool-gray);
  padding-top: 16px;
}

.portfolio-meta-city {
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-meta-city svg {
  color: var(--primary);
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 80px 0;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   7. CONTACT SECTION & FORM
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background-color: var(--darker);
  color: var(--text-light);
  position: relative;
}

.contact-section .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

/* Contact Info Column */
.contact-info {
  max-width: 440px;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-detail-content h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-detail-content p, 
.contact-detail-content a {
  font-size: 1.062rem;
  font-weight: 500;
  color: var(--text-light);
}

.contact-detail-content a:hover {
  color: var(--primary);
}

/* Form Card */
.contact-form-card {
  background-color: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.3);
}

.form-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.form-subtitle {
  font-size: 0.937rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Form Layout */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  height: 52px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 0.937rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath stroke='%238E9AAF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

textarea.form-input {
  height: 120px;
  padding: 16px;
  resize: none;
}

.form-input:focus {
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(217, 4, 41, 0.15);
}

/* Form Feedback States */
.form-feedback {
  grid-column: span 2;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
}

.form-feedback.success {
  display: flex;
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.form-feedback.error {
  display: flex;
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.contact-form .btn {
  grid-column: span 2;
  margin-top: 16px;
}

@media (max-width: 991px) {
  .contact-section .container {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  
  .contact-info {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 80px 0;
  }
  
  .contact-form-card {
    padding: 32px;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* ==========================================================================
   8. FOOTER SECTION
   ========================================================================== */
.footer {
  background-color: var(--darker);
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-brand-col .logo {
  color: var(--light);
  margin-bottom: 24px;
}

.footer-desc {
  font-size: 0.937rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--light);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.937rem;
  color: var(--text-muted);
}

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

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================================================
   9. WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-bubble {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: #25D366;
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all var(--transition-normal);
  animation: waFloat 3s ease-in-out infinite;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

/* Pulse animation ring */
.whatsapp-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}

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

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-bubble {
    bottom: 24px;
    right: 24px;
  }
}

/* Service Card Image Hover Effect */
.service-card .service-img-box img {
  transition: transform var(--transition-slow);
}
.service-card:hover .service-img-box img {
  transform: scale(1.06);
}
