/* ==========================================
   LUXOR SERVICES GROUP - DESIGN SYSTEM & STYLES
   ========================================== */

:root {
  --primary-dark: #0B192C;
  --navy-accent: #1E3E62;
  --cyan-bright: #007B81;
  --mint-accent: #0B7E58;
  --cyan-bright-hover: #006C72;
  --gold-accent: #FFD700;
  --urgent-accent: #FF5A5F;
  
  --bg-light: #F8FAFC;
  --card-light: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(11, 25, 44, 0.15);
  --shadow-cyan: 0 10px 25px rgba(0, 173, 181, 0.3);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── KEYBOARD FOCUS (branded, consistent across browsers) ───
   :focus-visible only shows the ring for keyboard/programmatic focus,
   not mouse clicks — form fields keep their own always-on cyan ring
   (see .form-group input/select/textarea:focus below) since a visible
   ring on click is expected there. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 3px;
}

/* Answer panels sit inside an overflow:hidden card (for the accordion
   collapse animation), so the ring must sit inside the button, not float
   past the card edge where it would get clipped. */
.faq-question:focus-visible {
  outline-offset: -3px;
}

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

ul {
  list-style: none;
}

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

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

.gradient-text {
  color: #FFFFFF;
}

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan-bright);
  background: rgba(0, 173, 181, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header h1, .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.light-text h1, .light-text h2, .light-text p {
  color: #FFFFFF !important;
}

.light-text p {
  opacity: 0.85;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cyan-bright);
  color: #FFFFFF;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  background: var(--cyan-bright-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 123, 129, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}

.btn-outline:hover {
  background: rgba(0, 173, 181, 0.1);
}

.btn-whatsapp {
  background: #188741;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(24, 135, 65, 0.35);
}

.btn-whatsapp:hover {
  background: #157739;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(24, 135, 65, 0.5);
}

.btn-light {
  background: #FFFFFF;
  color: var(--primary-dark);
}

.btn-light:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--primary-dark);
  color: #FFFFFF;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.announcement-contacts a {
  opacity: 0.85;
}

.announcement-contacts a:hover {
  opacity: 1;
  color: var(--cyan-bright);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 3px;
  margin-left: 4px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  color: #FFFFFF;
}

.lang-btn.active {
  background: var(--cyan-bright);
  color: #FFFFFF;
}

/* Header & Nav */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

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

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--cyan-bright);
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--mint-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(16, 185, 129, 0.75);
}

/* Header wordmark (light background) */
.header-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--cyan-bright);
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--mint-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-brand-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--navy-accent);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-link-stacked {
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--cyan-bright);
  border-radius: 3px;
  transition: var(--transition-fast);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 90px 0 110px;
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.92) 0%, rgba(30, 62, 98, 0.88) 100%), url('images/hero_cleaning_service.webp') center/cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--cyan-bright);
  top: -100px;
  left: -100px;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--mint-accent);
  bottom: -150px;
  right: -100px;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-pill i {
  color: var(--gold-accent);
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Quick Quote Card */
.quick-quote-card {
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  color: #D97706;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.quick-quote-card .quote-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.quick-quote-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #F8FAFC;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-bright);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.15);
}

.card-footer-trust {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* Trust Banner */
.trust-banner {
  background: #FFFFFF;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 173, 181, 0.1);
  color: var(--cyan-bright);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.trust-text .trust-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.trust-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Emergency Cleaning Banner */
.emergency-banner {
  position: relative;
  padding: 130px 0 100px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--navy-accent) 100%);
  color: #FFFFFF;
  overflow: hidden;
  text-align: center;
}

.emergency-shapes .shape-urgent-1,
.emergency-shapes .shape-urgent-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
}

.shape-urgent-1 {
  width: 350px;
  height: 350px;
  background: var(--urgent-accent);
  top: -120px;
  left: 8%;
}

.shape-urgent-2 {
  width: 300px;
  height: 300px;
  background: var(--gold-accent);
  bottom: -110px;
  right: 8%;
}

.emergency-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.badge-pill-urgent {
  background: rgba(255, 90, 95, 0.18);
  border-color: rgba(255, 90, 95, 0.4);
}

.badge-pill-urgent i {
  color: var(--urgent-accent);
}

.emergency-title {
  font-size: 2.75rem;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.gradient-text-urgent {
  background: linear-gradient(135deg, var(--urgent-accent) 0%, var(--gold-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.emergency-subtitle {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 32px;
  color: #FFFFFF;
  opacity: 0.9;
}

.emergency-container .hero-cta-group {
  justify-content: center;
}

.emergency-meta {
  margin-top: 28px;
  font-size: 0.9rem;
  color: #FFFFFF;
  opacity: 0.75;
}

.service-card-icon-urgent {
  background: rgba(255, 90, 95, 0.12);
  color: var(--urgent-accent);
}

.btn-urgent {
  background: linear-gradient(135deg, var(--urgent-accent) 0%, #E63946 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(255, 90, 95, 0.35);
}

.btn-urgent:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 90, 95, 0.5);
}

/* Emergency Steps */
.emergency-steps-section {
  padding: 90px 0;
}

.emergency-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.emergency-step-card {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-normal);
}

.emergency-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step-icon-urgent {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(255, 90, 95, 0.1);
  color: var(--urgent-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.step-tag-urgent {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--urgent-accent);
  margin-bottom: 6px;
}

.emergency-step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.emergency-step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-link.nav-link-urgent {
  color: var(--urgent-accent);
  font-weight: 700;
}

.nav-link.nav-link-urgent:hover,
.nav-link.nav-link-urgent.active {
  color: var(--urgent-accent);
  opacity: 0.8;
}

.nav-link.nav-link-urgent::after,
.nav-link.nav-link-urgent.active::after {
  background: var(--urgent-accent);
  width: 100%;
}

/* Services Section */
.services-section {
  padding: 100px 0;
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-normal);
}

.tab-btn:hover {
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}

.tab-btn.active {
  background: var(--primary-dark);
  color: #FFFFFF;
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

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

.services-grid-4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.services-grid-4col .service-card {
  padding: 22px;
}

.service-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan-bright);
}

.highlight-card {
  border: 2px solid var(--cyan-bright);
  box-shadow: var(--shadow-cyan);
}

.service-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #E0F2FE;
  color: #0369A1;
}

.tag-featured {
  background: linear-gradient(135deg, var(--cyan-bright), var(--mint-accent));
  color: #FFFFFF;
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #F0FDFA, #CCFBF1);
  color: var(--cyan-bright);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.service-checklist {
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-checklist li {
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-checklist i {
  color: var(--mint-accent);
}

.card-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.card-price-row .price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-price-row .price span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* Calculator Section */
.calculator-section {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
  color: #FFFFFF;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.calc-steps {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 36px;
  border-radius: var(--radius-lg);
}

.calc-step {
  margin-bottom: 32px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--cyan-bright);
  color: #FFFFFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

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

.opt-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  cursor: pointer;
  transition: var(--transition-fast);
}

.opt-btn i {
  font-size: 1.5rem;
  color: var(--cyan-bright);
}

.opt-btn span {
  font-size: 0.85rem;
  font-weight: 600;
}

.opt-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.opt-btn.active {
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
  box-shadow: var(--shadow-cyan);
}

.opt-btn.active i {
  color: #FFFFFF;
}

.badge-disc {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--gold-accent);
  color: var(--primary-dark);
  padding: 2px 6px;
  border-radius: 4px;
}

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

.counter-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.counter-item span {
  font-size: 0.9rem;
}

.counter-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-counter {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-counter:hover {
  background: var(--cyan-bright);
}

.counter-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  width: 20px;
  text-align: center;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.checkbox-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.checkbox-card input {
  display: none;
}

.check-box {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-card input:checked + .check-box {
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
}

.checkbox-card input:checked + .check-box::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 0.8rem;
}

.calc-summary-card {
  background: #FFFFFF;
  color: var(--text-dark);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.summary-header i {
  font-size: 1.5rem;
  color: var(--cyan-bright);
}

.summary-header h2 {
  font-size: 1.2rem;
  margin: 0;
}

.sum-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.sum-item span {
  color: var(--text-muted);
}

.divider {
  border: none;
  border-top: 1px dashed var(--border-light);
  margin: 20px 0;
}

.total-price-box {
  text-align: center;
  margin-bottom: 24px;
  background: #F8FAFC;
  padding: 20px;
  border-radius: var(--radius-md);
}

.total-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.total-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin: 8px 0;
}

.tax-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Why Us Section */
.why-us-section {
  padding: 100px 0;
}

.why-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.image-stack {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, var(--navy-accent), var(--primary-dark));
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.img-badge-experience {
  position: absolute;
  top: 30px;
  left: 30px;
  background: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.img-badge-experience i {
  font-size: 2rem;
  color: var(--gold-accent);
}

.glass-card-quote {
  position: absolute;
  bottom: 30px;
  right: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius-md);
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.benefit-card {
  display: flex;
  gap: 16px;
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.b-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 173, 181, 0.1);
  color: var(--cyan-bright);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.b-text h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.b-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
  background: #F1F5F9;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--gold-accent);
  margin-bottom: 16px;
}

.testi-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary-dark);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-name {
  display: block;
  font-size: 0.95rem;
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 100px 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-heading {
  margin: 0;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  cursor: pointer;
  text-align: left;
}

.faq-question i {
  transition: var(--transition-fast);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--cyan-bright);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--cyan-bright) 0%, #008B9B 100%);
  color: #FFFFFF;
  padding: 60px 0;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-text h2 {
  color: #FFFFFF;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.cta-text p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* Footer */
.main-footer {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 80px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 24px;
}

.footer-desc {
  opacity: 0.7;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}

.brand-slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--mint-accent);
  margin-top: 10px;
}

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

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.social-links a:hover {
  background: var(--cyan-bright);
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-col ul li a {
  opacity: 0.7;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--cyan-bright);
}

.contact-info li {
  display: flex;
  gap: 12px;
  opacity: 0.85;
}

.contact-info i {
  color: var(--cyan-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.bottom-container {
  display: flex;
  justify-content: space-between;
}

.legal-links {
  display: flex;
  gap: 20px;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition-normal);
}

.float-whatsapp {
  background: #188741;
}

.float-whatsapp:hover {
  background: #157739;
  transform: scale(1.1);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 25, 44, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.modal-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  padding: 36px;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-lg);
}

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

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.accent-icon {
  font-size: 2rem;
  color: var(--cyan-bright);
  margin-bottom: 8px;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #FFFFFF;
    flex-direction: column;
    padding: 40px;
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    left: 0;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .services-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .services-grid-4col .service-card {
    padding: 32px;
  }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .trust-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .calc-summary-card {
    position: relative;
    top: 0;
  }

  .why-container {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .trust-container {
    grid-template-columns: 1fr;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
  }

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

  .announcement-content {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .section-header h1, .section-header h2 {
    font-size: 1.8rem;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
  }

  .services-grid-4col {
    grid-template-columns: 1fr;
  }

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

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

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
  }

  .emergency-title {
    font-size: 2rem;
  }

  .emergency-steps-grid {
    grid-template-columns: 1fr;
  }

  .service-tabs {
    gap: 8px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .legal-links {
    justify-content: center;
  }
}

/* ─── TEXT ALIGN ─────────────────────────────────── */
.text-center {
  text-align: center;
}

/* ─── HEADER SCROLL EFFECT ───────────────────────── */
.main-header.scrolled {
  box-shadow: 0 4px 20px rgba(11, 25, 44, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

/* ─── BODY MENU OPEN LOCK ────────────────────────── */
body.menu-open {
  overflow: hidden;
}

/* ─── SCROLL REVEAL ANIMATIONS ───────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── FLOATING WHATSAPP PULSE ────────────────────── */
.float-btn {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.float-btn.visible {
  opacity: 1;
  transform: scale(1);
}

.float-whatsapp {
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.55), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

/* ─── MODAL ENTRANCE ANIMATION ───────────────────── */
.modal-overlay .modal-card {
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

/* ─── TAB CONTENT SLIDE-UP ───────────────────────── */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content.active {
  animation: slideUp 0.45s ease forwards;
}

/* ─── SERVICE CARD HOVER GLOW ────────────────────── */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-bright), var(--mint-accent));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* ─── FAQ HOVER ──────────────────────────────────── */
.faq-item:hover {
  border-color: var(--cyan-bright);
}

/* ─── CALCULATOR PRICE BOUNCE ────────────────────── */
.total-amount {
  transition: transform 0.2s ease;
}

.total-amount:active {
  transform: scale(1.05);
}

/* ─── COUNTER BUTTON ACTIVE STATE ────────────────── */
.btn-counter:active {
  transform: scale(0.9);
  background: var(--cyan-bright);
}

/* ─── CHECKBOX CARD CHECKED STATE ────────────────── */
.checkbox-card:has(input:checked) {
  background: rgba(0, 173, 181, 0.2);
  border: 1px solid var(--cyan-bright);
}

/* ─── SMOOTH LOADING ─────────────────────────────── */
@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: pageLoad 0.5s ease;
}

/* ─── LEGAL PAGES (Términos / Privacidad) ────────── */
.legal-hero {
  background: var(--bg-light);
  padding: 150px 0 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.legal-hero .sub-title {
  margin-bottom: 12px;
}

.legal-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content-section {
  padding: 60px 0 100px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--primary-dark);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.75;
}

.legal-content ul {
  margin: 0 0 20px 0;
}

.legal-content ul li {
  list-style: none;
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-dark);
  line-height: 1.65;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-bright);
}

.legal-content a {
  color: var(--cyan-bright);
  text-decoration: underline;
}

.legal-content strong {
  color: var(--primary-dark);
}

.legal-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ─── 404 ERROR PAGE ──────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 24px 100px;
  text-align: center;
  background: var(--bg-light);
}

.error-code {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--mint-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cyan-bright);
  margin-bottom: 8px;
}

.error-page h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .error-code {
    font-size: 4.5rem;
  }
}
