/* =============================================
   OPTIMUX DETAIL — styles.css
   Basado en thedetailingxperts.com
   ============================================= */

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

:root {
  --blue: #0062CA;
  --blue-dark: #004fa3;
  --black: #111111;
  --gray: #6C6C85;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Mulish', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Animaciones scroll --- */
.fade-in       { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right { opacity: 0; transform: translateX(50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-up    { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.visible       { opacity: 1 !important; transform: none !important; }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --- Tipografía común --- */
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.2rem;
}

.section-title .accent { color: var(--blue); }

.section-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 560px;
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* --- Container --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =============================================
   HEADER
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.top-bar {
  background: var(--blue);
  color: var(--white);
  padding: 0.45rem 0;
  font-size: 0.78rem;
  font-family: var(--font-head);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.top-bar-left a, .top-bar-right a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s;
}
.top-bar-left a:hover, .top-bar-right a:hover { opacity: 0.8; }

.top-bar-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top-bar-right .social-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background 0.2s;
}
.top-bar-right .social-icon:hover { background: rgba(255,255,255,0.35); }

.main-nav {
  background: var(--white);
  padding: 0.9rem 0;
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-cta { flex-shrink: 0; }

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
}

.nav-logo .logo-main {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}

.nav-logo .logo-main span {
  color: var(--blue);
}

.nav-logo .logo-sub {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--white);
  padding: 1rem 5%;
  border-top: 1px solid #eee;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  color: var(--black);
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0 0.5rem;
}
.mobile-menu-actions .mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: none;
  letter-spacing: 0.04em;
}
.mobile-menu-actions .mob-cta-blue {
  background: var(--blue);
  color: #fff;
}
.mobile-menu-actions .mob-cta-blue:hover { color: #fff; background: #1a56db; }
.mobile-menu-actions .mob-cta-wa {
  background: #25D366;
  color: #fff;
}
.mobile-menu-actions .mob-cta-wa:hover { color: #fff; background: #1da851; }

/* =============================================
   HERO
   ============================================= */
#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.91) 0%,
    rgba(255,255,255,0.72) 45%,
    rgba(255,255,255,0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--black);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge .badge-icon {
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--black);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-title .accent { color: var(--blue); font-style: italic; }

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  align-items: center;
  justify-content: center;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-tag::before {
  content: '✓';
  color: var(--blue);
  font-weight: 900;
}

/* =============================================
   ABOUT
   ============================================= */
#about {
  padding: 6rem 0;
  background: var(--white);
}

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

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 85%;
  object-fit: cover;
  border-radius: 4px;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 60%;
  object-fit: cover;
  border-radius: 4px;
  z-index: 2;
  border: 5px solid var(--white);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--black);
  border-radius: 3px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-badge.blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* =============================================
   EXPERTISE
   ============================================= */
#expertise {
  padding: 6rem 0;
  background: var(--light-gray);
}

#expertise .section-title { text-align: center; margin-bottom: 0.5rem; }
#expertise > .container > p { text-align: center; max-width: 600px; margin: 0 auto 2.5rem; color: var(--gray); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 3rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.tab-btn {
  flex: 1;
  min-width: 140px;
  padding: 0.85rem 1rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--white);
  color: var(--black);
  border: none;
  cursor: pointer;
  border-right: 1px solid #ddd;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}
.tab-btn:last-child { border-right: none; }
.tab-btn.active { background: var(--black); color: var(--white); }
.tab-btn:hover:not(.active) { background: var(--light-gray); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

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

.expertise-content h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.expertise-content p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
}

.service-item .x-icon {
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 900;
}

.expertise-img {
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Price Cards (expertise section) --- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.price-card {
  background: var(--black);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }

.price-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.price-card:hover .price-card-img { opacity: 0.7; }

.price-card-body {
  position: relative;
  z-index: 1;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}

.price-card-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.price-card-price {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.price-card-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.btn-select-service {
  width: 100%;
  padding: 0.55rem 1rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-select-service:hover { background: var(--blue-dark); }

.price-card-promo {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #FFD700;
  color: var(--black);
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* =============================================
   CLIENT PHOTO SLIDER (Testimonios)
   ============================================= */
#testimonials {
  padding: 0;
  background: #0a0a0a;
  overflow: hidden;
}

.cs-section-header {
  text-align: center;
  padding: 4.5rem 1rem 2.5rem;
  background: #0a0a0a;
}
.cs-section-header .section-label { color: rgba(255,255,255,0.4); }
.cs-section-header .section-title { color: var(--white); margin-bottom: 0; }
.cs-section-header .section-title span { color: var(--blue); }
.cs-section-header p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin-top: 0.65rem;
}

.cs-wrapper {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

.cs-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 500px;
}

.cs-photo {
  position: relative;
  overflow: hidden;
}
.cs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cs-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0) 50%, #0a0a0a 100%);
  pointer-events: none;
}

.cs-content {
  background: #0a0a0a;
  padding: 3.5rem 3.5rem 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 1.6rem;
}

.cs-quote-mark {
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--blue);
  opacity: 0.7;
  margin-bottom: 1.2rem;
  display: block;
}

.cs-review-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.cs-customer-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.cs-customer-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}

.cs-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cs-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.cs-arrow:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.cs-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.cs-dot.active {
  background: var(--blue);
  width: 22px;
  border-radius: 4px;
}

.cs-footer-bar {
  background: #0a0a0a;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cs-footer-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cs-counter {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

/* =============================================
   CERTIFICACIÓN
   ============================================= */
#certification {
  padding: 6rem 0;
  background: var(--white);
}

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

.cert-logos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cert-logo-badge {
  background: var(--black);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-radius: 3px;
  text-transform: uppercase;
}

.cert-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cert-images img {
  height: 260px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =============================================
   WHY CHOOSE
   ============================================= */
#why-choose {
  padding: 6rem 0;
  background: var(--light-gray);
}

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

.why-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.why-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-box:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
  color: var(--black);
}
.feature-text p { font-size: 0.85rem; color: var(--gray); line-height: 1.55; }

/* =============================================
   WHY NECESSARY
   ============================================= */
#why-necessary {
  padding: 6rem 0;
  background: var(--white);
}

.necessary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.necessary-content {
  padding: 4rem 4rem 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.necessary-image {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 60px;
}

.necessary-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.blue-strip {
  background: var(--blue);
}

/* =============================================
   PROCESO
   ============================================= */
#process {
  padding: 6rem 0;
  background: var(--light-gray);
}

#process .section-title { text-align: center; margin-bottom: 3rem; }

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

.process-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.process-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

.process-card-header {
  background: var(--blue);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-card-body {
  padding: 1.5rem;
}

.process-card-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.process-card-body p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.65;
}

#process .btn-primary { display: flex; width: fit-content; margin: 2.5rem auto 0; }

/* =============================================
   PPF PROMO
   ============================================= */
#ppf-promo {
  padding: 6rem 0;
  background: var(--white);
}

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

.ppf-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.ppf-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* =============================================
   RECENT WORK
   ============================================= */
#recent-work {
  background: var(--blue);
  padding: 4rem 0 0;
}

.recent-work-header {
  padding-bottom: 3rem;
}

.recent-work-header .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.recent-work-header .section-title { color: var(--white); }
.recent-work-header .section-title .accent { color: var(--white); opacity: 0.9; }
.recent-work-header p { color: rgba(255,255,255,0.8); font-size: 0.9rem; max-width: 400px; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline-white:hover { background: var(--white); color: var(--blue); }

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,98,202,0);
  transition: background 0.3s;
}
.portfolio-item:hover::after { background: rgba(0,98,202,0.2); }

/* =============================================
   LOCATION
   ============================================= */
#location {
  padding: 6rem 0;
  background: var(--white);
}

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

.map-container {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

.location-info h3 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1rem 0;
}

.location-icon {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.location-detail-text strong {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.2rem;
  color: var(--black);
}
.location-detail-text span {
  font-size: 0.88rem;
  color: var(--gray);
}

/* =============================================
   FAQ
   ============================================= */
#faq {
  padding: 6rem 0;
  background: var(--light-gray);
}

#faq .section-title { text-align: center; margin-bottom: 2.5rem; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--blue);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  cursor: pointer;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  gap: 1rem;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: rgba(255,255,255,0.35); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  background: rgba(0,0,0,0.15);
}
.faq-item.open .faq-answer { max-height: 600px; padding: 1rem 1.5rem 1.2rem; }

.faq-answer p {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  line-height: 1.65;
}

#faq .btn-primary { display: flex; width: fit-content; margin: 2.5rem auto 0; }

/* =============================================
   CONTACT
   ============================================= */
#contact {
  padding: 6rem 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--black);
}
.contact-form-title .accent { color: var(--blue); font-style: italic; }

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,98,202,0.1); }
.form-group textarea { height: 120px; resize: vertical; }

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.25s;
}
.btn-submit:hover { background: var(--blue-dark); }

.contact-info-card {
  background: var(--blue);
  border-radius: 8px;
  padding: 2rem;
  color: var(--white);
  height: fit-content;
}

.contact-info-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.contact-info-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.2rem;
}
.contact-info-text span, .contact-info-text a {
  font-size: 0.9rem;
  color: var(--white);
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.contact-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  transition: background 0.2s;
}
.contact-social a:hover { background: rgba(255,255,255,0.35); }

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: var(--white);
  border-top: 1px solid #eee;
}

.footer-main {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
}

.footer-logo .logo-main {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.25rem;
}
.footer-logo .logo-main span { color: var(--blue); }
.footer-logo .logo-sub {
  font-family: var(--font-head);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--black);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  margin-bottom: 1.2rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--blue); }

.footer-bottom {
  background: var(--black);
  padding: 1rem 0;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 0.75rem;
}
.footer-bottom-links a {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--white); }

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar-left { display: none; }
  .nav-links { display: none; }

  .about-grid,
  .cert-grid,
  .why-grid,
  .necessary-grid,
  .ppf-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .cs-slide { grid-template-columns: 1fr; }
  .cs-photo { min-height: 300px; }
  .cs-photo::after { background: linear-gradient(to bottom, rgba(10,10,10,0) 50%, #0a0a0a 100%); }
  .cs-content { padding: 2rem 1.75rem 2.5rem; }
  .cs-review-text { font-size: 0.95rem; }

  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-img { height: 280px; }

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

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

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

  .about-images { height: 350px; }

  .necessary-content { padding: 3rem 1.5rem; }
  .necessary-image { grid-template-columns: 1fr 30px; }

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

  .recent-work-header .container { flex-direction: column; gap: 1rem; }

  .tabs { flex-direction: column; }
  .tab-btn { border-right: none; border-bottom: 1px solid #ddd; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .cert-images { grid-template-columns: 1fr; }
  .cert-images img { height: 200px; }
}

/* =============================================
   PACKS / PROMOCIONES
   ============================================= */
#packs {
  padding: 6rem 0;
  background: var(--black);
}

.packs-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.packs-header .section-label { color: rgba(255,255,255,0.45); }
.packs-header .section-title { color: var(--white); }
.packs-header .section-title .accent { color: var(--blue); }
.packs-header p { color: rgba(255,255,255,0.55); max-width: 560px; margin: 1rem auto 0; }

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

.pack-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,98,202,0.2);
}
.pack-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.pack-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.pack-media img,
.pack-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.pack-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px 6px 0;
  background: #111;
}
.pack-thumbs img {
  flex: 1;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.pack-thumbs img:hover { opacity: 1; }

.pack-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

.pack-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pack-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.pack-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.pack-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.pack-includes li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pack-includes li::before {
  content: '✦';
  color: var(--blue);
  font-size: 0.55rem;
  flex-shrink: 0;
}
.pack-price {
  margin-bottom: 1.25rem;
}
.pack-price-old {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: line-through;
  display: block;
  margin-bottom: 0.15rem;
}
.pack-price-new {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.pack-price-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 0.1rem;
}
.pack-cta {
  display: block;
  width: 100%;
  padding: 0.85rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.pack-cta:hover { background: #0052a8; transform: translateY(-1px); }
.pack-card.featured .pack-cta { background: var(--white); color: var(--black); }
.pack-card.featured .pack-cta:hover { background: #e8e8e8; }

/* Before / After slider */
.ba-section {
  background: #111;
  padding: 5rem 0;
}
.ba-section .packs-header { margin-bottom: 2.5rem; }

.ba-wrapper {
  position: relative;
  height: 600px;
  border-radius: 10px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ba-wrapper * {
  user-select: none;
  -webkit-user-select: none;
}
.ba-after-img,
.ba-before-clip {
  position: absolute;
  inset: 0;
}
.ba-after-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  pointer-events: none;
}
.ba-before-clip {
  overflow: hidden;
  width: 50%;
}
.ba-before-clip img {
  position: absolute;
  top: 0;
  height: 100%;
  object-fit: cover;
  max-width: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  pointer-events: all;
  cursor: ew-resize;
}
.ba-labels {
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
  pointer-events: none;
}
.ba-label {
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
}

/* Packs teaser on index.html */
#packs-teaser {
  padding: 5rem 0;
  background: var(--black);
}
.packs-teaser-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.packs-teaser-top .section-label { color: rgba(255,255,255,0.45); }
.packs-teaser-top .section-title { margin: 0; font-size: 1.6rem; color: var(--white); }
.packs-teaser-top .section-title .accent { color: var(--blue); }
.packs-teaser-top .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.packs-teaser-top .btn-outline:hover { background: var(--blue); border-color: var(--blue); }
.packs-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .packs-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .packs-teaser-grid .pack-card:last-child { display: none; }
}
@media (max-width: 640px) {
  .packs-grid { grid-template-columns: 1fr; }
  .packs-teaser-grid { grid-template-columns: 1fr; }
  .packs-teaser-grid .pack-card:last-child { display: flex; }
  .ba-wrapper { height: 320px; }
  .packs-teaser-top { flex-direction: column; align-items: flex-start; }
}
