/*
 * =====================================================
 * RENT READY GUARD - COMPREHENSIVE WEBSITE STYLESHEET
 * Property Management Website - Panama City
 * Mobile-First, SEO-Friendly, Responsive Design
 * =====================================================
 *
 * Color Palette: "Clean Family Care" (Default - Teal/Warm)
 * Typography: Montserrat (Headings) + Open Sans (Body)
 * Breakpoints: 480px, 768px, 1024px, 1200px
 * CSS Custom Properties for easy palette switching
 *
 * =====================================================
 */

/* =====================================================
   SECTION 1: CSS CUSTOM PROPERTIES (VARIABLES)
   ===================================================== */

:root {
  /* ===================================================
     DEFAULT PALETTE: "Logo Blue" — matches brand logo
     Deep blue + green accent from Rent Ready Guard logo
     =================================================== */

  /* Primary: Blue from logo text & eye element */
  --primary: #1B6CA8;
  --primary-dark: #154E82;
  --primary-light: #2E86C1;

  /* Secondary & Neutral */
  --secondary: #EBF5FB;
  --accent: #3DAA5C;
  --accent-dark: #2D8A47;
  --background: #F5F8FC;
  --surface: #FFFFFF;

  /* Text Colors */
  --text: #1A2F45;
  --text-light: #4A6F8A;
  --text-inverse: #FFFFFF;

  /* Borders */
  --border: #CCDDE8;

  /* Status Colors */
  --success: #27AE60;
  --warning: #F39C12;
  --error: #E74C3C;

  /* CTA: Green accent from logo palm/waves */
  --cta: #3DAA5C;
  --cta-hover: #2D8A47;
  --cta-text: #FFFFFF;

  /* Fonts */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  --heading-weight: 700;
  --body-weight: 400;

  /* Sizing & Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-fixed: 500;
  --z-modal: 1000;
  --z-tooltip: 1500;
  --z-floating: 9999;
}

/* =====================================================
   SECTION 2: RESET & BASE STYLES
   ===================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: var(--body-weight);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
}

/* Selection styling */
::selection {
  background-color: var(--primary);
  color: var(--text-inverse);
}

::-moz-selection {
  background-color: var(--primary);
  color: var(--text-inverse);
}

/* =====================================================
   SECTION 3: TYPOGRAPHY
   ===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--text);
}

h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

h5,
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--primary-dark);
}

small {
  font-size: 0.875rem;
  color: var(--text-light);
}

strong,
b {
  font-weight: 600;
}

em,
i {
  font-style: italic;
}

/* =====================================================
   SECTION 4: NAVIGATION (.navbar)
   ===================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(27, 108, 168, 0.12);
  transition: box-shadow var(--transition-base);
  z-index: var(--z-fixed);
  padding: 0 var(--spacing-md);
}

.navbar.scrolled {
  background-color: #FFFFFF;
  box-shadow: 0 2px 12px rgba(27, 108, 168, 0.18);
}

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

.navbar-logo {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: var(--heading-weight);
  color: var(--primary);
  transition: color var(--transition-base);
}

.navbar-logo:hover {
  color: var(--primary-dark);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex: 1;
  justify-content: center;
  margin: 0 auto;
  list-style: none;
}

.navbar-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: var(--spacing-xs) 0;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base);
}

.navbar-menu a:hover::after {
  width: 100%;
}

.navbar.scrolled .navbar-menu a {
  color: var(--text);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

/* Language Selector */
.language-selector {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform var(--transition-base);
  padding: var(--spacing-xs);
}

.lang-btn:hover {
  transform: scale(1.1);
}

.lang-btn.active {
  opacity: 1;
}

.lang-btn:not(.active) {
  opacity: 0.6;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: var(--spacing-xs);
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--surface);
  z-index: var(--z-fixed) - 1;
  padding: var(--spacing-lg);
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: var(--spacing-md);
  color: var(--text);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

/* Tablet and Mobile Breakpoints */
@media (max-width: 1024px) {
  .navbar-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar-right {
    gap: var(--spacing-sm);
  }
}

/* =====================================================
   SECTION 5: HERO SECTION (.hero)
   ===================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-inverse);
  overflow: hidden;
  margin-top: 78px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
              rgba(21, 78, 130, 0.92) 0%,
              rgba(27, 108, 168, 0.85) 60%,
              rgba(46, 134, 193, 0.80) 100%);
  z-index: 1;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-lg);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: var(--spacing-md);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.25;
}

.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: var(--spacing-lg);
  color: var(--secondary);
  font-weight: 300;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-inverse);
  stroke-width: 2;
  fill: none;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

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

@media (max-height: 600px) {
  .hero {
    min-height: auto;
    height: auto;
  }
}

/* =====================================================
   SECTION 6: CONTAINERS & SECTIONS
   ===================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) var(--spacing-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  position: relative;
  display: inline-block;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: var(--spacing-lg);
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right,
              var(--primary),
              var(--accent));
  border-radius: var(--radius-sm);
}

.section-description {
  max-width: 600px;
  margin: var(--spacing-lg) auto 0;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Background Variations */
.section-alt {
  background-color: var(--secondary);
}

.section-dark {
  background-color: var(--text);
  color: var(--text-inverse);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--text-inverse);
}

@media (max-width: 768px) {
  .section {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .section-header {
    margin-bottom: var(--spacing-lg);
  }
}

/* =====================================================
   SECTION 7: GRID LAYOUTS
   ===================================================== */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

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

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

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

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   SECTION 8: SERVICE CARDS (.service-card)
   ===================================================== */

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  border-left: 4px solid var(--primary);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
              rgba(27, 108, 168, 0.04) 0%,
              transparent 100%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 1.8rem;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text);
}

.service-card p {
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: var(--spacing-md);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary);
  font-weight: 600;
  transition: gap var(--transition-base);
}

.service-card-link:hover {
  gap: var(--spacing-sm);
}

/* =====================================================
   SECTION 9: PROCESS STEPS (.process)
   ===================================================== */

.process {
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  padding-top: var(--spacing-lg);
}

.process-step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: var(--heading-weight);
  margin: 0 auto var(--spacing-md);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(27, 108, 168, 0.35);
}

.process-step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.process-step h3 {
  margin-bottom: var(--spacing-sm);
}

.process-step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Connecting Lines (Desktop) */
.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg,
              var(--primary) 0%,
              var(--accent) 50%,
              var(--primary) 100%);
  z-index: 1;
}

@media (max-width: 768px) {
  .process-steps::before {
    display: none;
  }

  .process-step {
    text-align: left;
    padding-left: var(--spacing-lg);
    border-left: 2px solid var(--border);
    padding-top: 0;
  }

  .process-step-number {
    margin: 0 var(--spacing-md) var(--spacing-md) -39px;
  }
}

/* =====================================================
   SECTION 10: TESTIMONIAL SECTION (.testimonials)
   ===================================================== */

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  position: relative;
}

.testimonial-card {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.testimonial-quote {
  color: var(--text);
  font-style: italic;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  position: relative;
  padding-left: var(--spacing-md);
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--secondary);
  border: 2px solid var(--primary-light);
}

.testimonial-author-info {
  flex-grow: 1;
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--spacing-xs);
}

.testimonial-author-location {
  font-size: 0.85rem;
  color: var(--text-light);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-top: var(--spacing-xs);
}

.testimonial-rating .star {
  color: var(--accent);
  font-size: 0.9rem;
}

/* =====================================================
   SECTION 11: INFOGRAPHIC SECTION (.infographic)
   ===================================================== */

.infographic-container {
  width: 100%;
  margin: var(--spacing-lg) 0;
}

.infographic-wrapper {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.infographic-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.infographic-caption {
  padding: var(--spacing-md);
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
  font-style: italic;
}

/* =====================================================
   SECTION 12: FAQ ACCORDION (.faq)
   ===================================================== */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  cursor: pointer;
  background: var(--surface);
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  font-family: var(--heading-font);
  transition: background-color var(--transition-base);
}

.faq-question:hover {
  background-color: var(--secondary);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--primary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow),
              padding var(--transition-slow);
  background: var(--secondary);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer-text {
  color: var(--text-light);
  line-height: 1.8;
}

/* =====================================================
   SECTION 13: PRICING CARDS (.pricing-card)
   ===================================================== */

.pricing-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin: var(--spacing-xl) 0;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-inverse);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-title {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
  color: var(--text);
}

.pricing-price {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
  font-weight: var(--heading-weight);
}

.pricing-period {
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  font-size: 0.9rem;
}

.pricing-features {
  text-align: left;
  margin: var(--spacing-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-lg) 0;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.pricing-feature::before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pricing-cta {
  margin-top: var(--spacing-lg);
}

/* =====================================================
   SECTION 14: CONTACT FORM (.contact-form)
   ===================================================== */

.contact-form {
  max-width: 600px;
  margin: var(--spacing-xl) auto;
}

.form-group {
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--surface);
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 108, 168, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right var(--spacing-md) center;
  background-size: 20px;
  padding-right: 45px;
}

/* Radio & Checkbox Styling */
.form-checkbox,
.form-radio {
  margin-right: var(--spacing-sm);
  cursor: pointer;
}

.form-checkbox:checked,
.form-radio:checked {
  accent-color: var(--primary);
}

/* Form Validation States */
.form-group.error .form-input,
.form-group.error .form-textarea,
.form-group.error .form-select {
  border-color: var(--error);
}

.form-group.success .form-input,
.form-group.success .form-textarea,
.form-group.success .form-select {
  border-color: var(--success);
}

.form-error {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  color: var(--success);
  font-size: 0.85rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.form-group.success .form-success {
  display: block;
}

/* Submit Button State */
.form-submit {
  margin-top: var(--spacing-xl);
}

.form-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 0 var(--spacing-md);
  }
}

/* =====================================================
   SECTION 15: TRUST BADGES (.trust-badges)
   ===================================================== */

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  justify-content: center;
  align-items: center;
  margin: var(--spacing-xl) 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--secondary);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-badge-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.trust-badge-title {
  font-weight: 600;
  color: var(--text);
  font-size: 0.9rem;
}

.trust-badge-desc {
  font-size: 0.75rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .trust-badges {
    flex-direction: column;
  }

  .trust-badge {
    width: 100%;
  }
}

/* =====================================================
   SECTION 16: CTA BAND (.cta-band)
   ===================================================== */

.cta-band {
  background: linear-gradient(135deg, #154E82 0%, #1B6CA8 50%, #2E86C1 100%);
  color: #FFFFFF;
  padding: var(--spacing-xxl) var(--spacing-md);
  text-align: center;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.cta-band-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-band h2 {
  color: #FFFFFF;
  margin-bottom: var(--spacing-md);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
}

/* Buttons inside CTA band need special treatment */
.cta-band .btn-primary {
  background: #FFFFFF;
  color: var(--primary);
  border-color: #FFFFFF;
}

.cta-band .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  border-color: rgba(255,255,255,0.9);
}

.cta-band .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.cta-band .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #FFFFFF;
}

/* =====================================================
   SECTION 17: FOOTER (.footer)
   ===================================================== */

.footer {
  background-color: var(--text);
  color: var(--text-inverse);
  padding: var(--spacing-xxl) var(--spacing-md) var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto 0;
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  color: var(--text-inverse);
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-sm);
  font-size: 0.95rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: var(--spacing-sm);
  transition: color var(--transition-base);
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-sm);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-inverse);
  transition: background-color var(--transition-base),
              transform var(--transition-base);
}

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

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .footer-content {
    gap: var(--spacing-lg);
  }
}

/* =====================================================
   SECTION 18: WHATSAPP FLOATING BUTTON (.whatsapp-float)
   ===================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: var(--z-floating);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
  animation: pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.whatsapp-float.hidden {
  display: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
}

@media print {
  .whatsapp-float {
    display: none;
  }
}

/* =====================================================
   SECTION 19: ADMIN PANEL (.admin-panel)
   ===================================================== */

.admin-panel {
  position: fixed;
  right: 0;
  top: 70px;
  width: 300px;
  height: calc(100vh - 70px);
  background: var(--surface);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  z-index: var(--z-fixed) + 10;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  padding: var(--spacing-lg);
}

.admin-panel.active {
  transform: translateX(0);
}

.admin-panel.hidden {
  display: none;
}

.admin-toggle {
  position: fixed;
  right: 20px;
  top: 90px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: var(--z-floating) - 1;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
  font-size: 1.2rem;
}

.admin-toggle:hover {
  transform: scale(1.1);
}

.admin-toggle.visible {
  display: flex;
}

.admin-toggle.hidden {
  display: none;
}

.admin-section {
  margin-bottom: var(--spacing-lg);
}

.admin-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  letter-spacing: 1px;
}

/* Palette Selector */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.palette-swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform var(--transition-base),
              border-color var(--transition-base);
}

.palette-swatch:hover {
  transform: scale(1.05);
}

.palette-swatch.active {
  border-color: var(--text);
  box-shadow: var(--shadow-md);
}

/* Font Selector */
.font-selector {
  background: var(--secondary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
}

.font-option {
  display: block;
  width: 100%;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-base),
              background-color var(--transition-base);
  text-align: left;
  font-size: 0.9rem;
}

.font-option:hover {
  background-color: var(--secondary);
  border-color: var(--primary);
}

.font-option.active {
  background-color: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

/* =====================================================
   SECTION 20: ANIMATIONS & INTERACTIONS
   ===================================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

.animate-slide-down {
  animation: slideDown 0.6s ease-out;
}

.animate-slide-left {
  animation: slideLeft 0.6s ease-out;
}

.animate-slide-right {
  animation: slideRight 0.6s ease-out;
}

/* Intersection Observer Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.in-view,
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   SECTION 21: UTILITY CLASSES
   ===================================================== */

/* Text Alignment */
.text-left {
  text-align: left;
}

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

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

@media (max-width: 768px) {
  .text-center-mobile {
    text-align: center;
  }

  .text-left-mobile {
    text-align: left;
  }
}

/* Display Utilities */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

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

.grid {
  display: grid;
}

/* Margin Utilities */
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-xxl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-xxl); }

.ml-1 { margin-left: var(--spacing-sm); }
.ml-2 { margin-left: var(--spacing-md); }
.ml-3 { margin-left: var(--spacing-lg); }
.ml-4 { margin-left: var(--spacing-xl); }
.ml-5 { margin-left: var(--spacing-xxl); }

.mr-1 { margin-right: var(--spacing-sm); }
.mr-2 { margin-right: var(--spacing-md); }
.mr-3 { margin-right: var(--spacing-lg); }
.mr-4 { margin-right: var(--spacing-xl); }
.mr-5 { margin-right: var(--spacing-xxl); }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Padding Utilities */
.pt-1 { padding-top: var(--spacing-sm); }
.pt-2 { padding-top: var(--spacing-md); }
.pt-3 { padding-top: var(--spacing-lg); }
.pt-4 { padding-top: var(--spacing-xl); }
.pt-5 { padding-top: var(--spacing-xxl); }

.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }
.pb-4 { padding-bottom: var(--spacing-xl); }
.pb-5 { padding-bottom: var(--spacing-xxl); }

.py-1 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-2 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-3 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-4 { padding-top: var(--spacing-xl); padding-bottom: var(--spacing-xl); }
.py-5 { padding-top: var(--spacing-xxl); padding-bottom: var(--spacing-xxl); }

.px-1 { padding-left: var(--spacing-sm); padding-right: var(--spacing-sm); }
.px-2 { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
.px-3 { padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); }
.px-4 { padding-left: var(--spacing-xl); padding-right: var(--spacing-xl); }
.px-5 { padding-left: var(--spacing-xxl); padding-right: var(--spacing-xxl); }

/* Width Utilities */
.w-full {
  width: 100%;
}

.w-half {
  width: 50%;
}

.max-w-none {
  max-width: none;
}

/* =====================================================
   SECTION 22: BUTTON STYLES (.btn)
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Primary Button — Blue with white text */
.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(27, 108, 168, 0.35);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(27, 108, 168, 0.45);
}

/* Secondary Button — White with blue border */
.btn-secondary {
  background: #FFFFFF;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 108, 168, 0.3);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* CTA / Accent Button — Green accent */
.btn-cta {
  background: var(--accent);
  color: #FFFFFF;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(61, 170, 92, 0.35);
}

.btn-cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(61, 170, 92, 0.45);
}

/* Light Button — for use on dark backgrounds */
.btn-light {
  background: #FFFFFF;
  color: var(--primary);
  border: 2px solid #FFFFFF;
  font-weight: 600;
}

.btn-light:hover {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.9rem;
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-xl);
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* Button States */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: var(--spacing-sm);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =====================================================
   SECTION 23: BADGE STYLES (.badge)
   ===================================================== */

.badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--border);
  color: var(--text);
  white-space: nowrap;
}

.badge-primary {
  background: var(--primary);
  color: var(--text-inverse);
}

.badge-secondary {
  background: var(--secondary);
  color: var(--text);
}

.badge-success {
  background: var(--success);
  color: var(--text-inverse);
}

.badge-warning {
  background: var(--warning);
  color: var(--text-inverse);
}

.badge-error {
  background: var(--error);
  color: var(--text-inverse);
}

/* =====================================================
   SECTION 24: PRINT STYLES
   ===================================================== */

@media print {
  .navbar,
  .footer,
  .whatsapp-float,
  .admin-panel,
  .admin-toggle,
  .scroll-indicator {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
    margin-top: 0;
  }

  .section {
    page-break-inside: avoid;
    padding: var(--spacing-lg) 0;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .btn {
    border: 1px solid black;
    background: white !important;
    color: black !important;
  }
}

/* =====================================================
   SECTION 25: RESPONSIVE DESIGN BREAKPOINTS
   ===================================================== */

/* Mobile First - Extra Small Screens (< 480px) */
@media (max-width: 479px) {
  :root {
    font-size: 14px;
  }

  .section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

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

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Small Screens (480px - 767px) */
@media (max-width: 767px) {
  .navbar-container {
    padding: 0 var(--spacing-sm);
  }

  .navbar-right {
    gap: var(--spacing-sm);
  }

  .section-header {
    margin-bottom: var(--spacing-lg);
  }

  .trust-badges {
    flex-direction: column;
  }

  .trust-badge {
    width: 100%;
  }

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

  .pricing-card.popular {
    transform: scale(1);
  }
}

/* Medium Screens (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Large Screens (1024px+) */
@media (min-width: 1024px) {
  .navbar-menu {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* Extra Large Screens (1200px+) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .section {
    padding: var(--spacing-xxl) var(--spacing-md);
  }
}

/* =====================================================
   SECTION 26: LANDSCAPE MODE
   ===================================================== */

@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    height: auto;
  }

  .navbar {
    height: 60px;
  }

  .hero {
    margin-top: 78px;
  }

  .section {
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

/* =====================================================
   SECTION 27: HIGH CONTRAST MODE
   ===================================================== */

@media (prefers-contrast: more) {
  :root {
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.5);
  }

  .btn {
    border: 2px solid currentColor;
  }

  .form-input,
  .form-textarea,
  .form-select {
    border-width: 2px;
  }
}

/* =====================================================
   SECTION 28: DARK MODE — DISABLED
   Light theme always enforced regardless of OS setting
   ===================================================== */
/* Dark mode intentionally disabled for light-only theme */

/* =====================================================
   SECTION 29: NAVIGATION ALIASES & FIXES
   ===================================================== */

/* Navbar class name aliases for HTML usage */
.navbar .logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: var(--heading-weight);
  color: var(--primary);
  text-decoration: none;
  z-index: var(--z-dropdown);
}

.navbar .nav-links {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  flex-direction: column;
  width: 100%;
}

.navbar .nav-links.active {
  display: flex;
}

.navbar .nav-links li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border);
}

.navbar .nav-links li:last-child {
  border-bottom: none;
}

.navbar .nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: var(--spacing-sm) var(--spacing-md);
  display: block;
  transition: all var(--transition-base);
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: var(--primary);
  background-color: var(--secondary);
}

.lang-switch {
  border-bottom: none !important;
}

@media (min-width: 768px) {
  .navbar .nav-links {
    display: flex !important;
    position: static;
    border-top: none;
    flex-direction: row;
    width: auto;
    background: transparent;
  }

  .navbar .nav-links li {
    padding: 0;
    border-bottom: none;
  }

  .navbar .nav-links a {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 3px solid transparent;
  }

  .navbar .nav-links a:hover,
  .navbar .nav-links a.active {
    background-color: transparent;
    border-bottom-color: var(--primary);
  }
}

/* =====================================================
   SECTION 30: INNER PAGE HERO VARIANTS
   ===================================================== */

.hero-sm {
  min-height: 40vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg) var(--spacing-md);
  margin-top: 78px;
}

.hero-sm .hero-content {
  text-align: center;
}

.hero-sm h1 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-inverse);
}

.hero-sm .hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

@media (min-width: 768px) {
  .hero-sm {
    min-height: 35vh;
  }

  .hero-sm h1 {
    font-size: 2.5rem;
  }
}

/* =====================================================
   SECTION 31: TRUST BADGES SECTION
   ===================================================== */

.trust-badges {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-lg) var(--spacing-md);
  margin: 0;
}

.trust-badges .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-badges .badge-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-sm);
  text-align: left;
  padding: var(--spacing-md) var(--spacing-sm);
  background: var(--secondary);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

.trust-badges .badge-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.trust-badges .badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .trust-badges .container {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust-badges .badge-item {
    flex-direction: column;
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--primary);
  }
  .trust-badges .badge-text {
    font-size: 0.95rem;
  }
}

/* =====================================================
   SECTION 32: SERVICES OVERVIEW SECTION
   ===================================================== */

.services-overview {
  padding: var(--spacing-xl) var(--spacing-md);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

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

.card-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text);
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.card-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-base);
}

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

.services-cta {
  text-align: center;
  margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================
   SECTION 33: HOW IT WORKS / PROCESS STEPS
   ===================================================== */

.how-it-works {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.step-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  position: relative;
}

.step-number {
  font-size: 2.5rem;
  font-weight: var(--heading-weight);
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.step-item h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text);
}

.step-item p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
  }

  .step-item {
    padding: var(--spacing-md);
  }
}

/* =====================================================
   SECTION 34: DIFFERENTIATORS SECTION
   ===================================================== */

.why-choose-us {
  padding: var(--spacing-xl) var(--spacing-md);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.differentiator-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--border);
  transition: all var(--transition-base);
}

.differentiator-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.diff-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.differentiator-item h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--text);
  font-size: 1.2rem;
}

.differentiator-item p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .differentiators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .differentiators-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =====================================================
   SECTION 35: STATS SECTION
   ===================================================== */

.stats-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  padding: var(--spacing-lg) var(--spacing-md);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: var(--heading-weight);
  margin-bottom: 4px;
  display: block;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-light);
  font-weight: 500;
}

.stats-section h2,
.stats-section h3 {
  color: var(--text);
}
.stats-section p {
  color: var(--text-light);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
  }

  .stat-number {
    font-size: 2.8rem;
  }
}

/* =====================================================
   SECTION 36: CTA BAND WITH HTML CLASS NAMES
   ===================================================== */

.cta-band {
  /* Overrides the duplicate — use same professional blue as primary cta-band */
  background: linear-gradient(135deg, #154E82 0%, #1B6CA8 50%, #2E86C1 100%);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  color: #FFFFFF;
}

.cta-band .container {
  max-width: 100%;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.cta-content h2 {
  color: var(--text-inverse);
  margin: 0;
  font-size: 1.8rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  max-width: 600px;
}

.cta-content .btn {
  margin-top: var(--spacing-sm);
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2.2rem;
  }
}

/* =====================================================
   SECTION 37: FAQ SECTION
   ===================================================== */

.faq-preview {
  padding: var(--spacing-xl) var(--spacing-md);
}

.faq-list {
  margin-top: var(--spacing-lg);
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item summary {
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: all var(--transition-base);
}

.faq-item summary:hover {
  background-color: var(--secondary);
}

.faq-item[open] summary {
  background-color: var(--secondary);
  color: var(--primary);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
  border-top: 1px solid var(--border);
  line-height: 1.7;
  color: var(--text-light);
}

/* Fix: override Section 12's max-height:0/overflow:hidden for native <details> accordions */
details.faq-item .faq-answer,
details.faq-item[open] .faq-answer {
  max-height: none !important;
  overflow: visible !important;
}

.faq-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* =====================================================
   SECTION 38: FOOTER WITH HTML CLASS NAMES
   ===================================================== */

.footer {
  background-color: var(--text);
  color: var(--text-inverse);
  padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg) var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-column {
  flex: 1;
}

.footer-about {
  grid-column: 1;
}

.footer-contact {
  grid-column: 1;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: var(--heading-weight);
  margin-bottom: var(--spacing-md);
  color: var(--text-inverse);
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: var(--spacing-sm);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: var(--spacing-xs);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--text-inverse);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  text-align: center;
}

.footer-bottom p,
.footer-bottom span,
.footer-bottom a {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ===== Global footer text override =====
   The global p { color: var(--text) } rule gives dark text
   everywhere. Inside .footer we always need white text. */
.footer p,
.footer li,
.footer span,
.footer small {
  color: rgba(255, 255, 255, 0.85) !important;
}
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5 {
  color: #FFFFFF !important;
}
.footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}
.footer a:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.footer-legal li {
  margin: 0;
}

.footer-legal a {
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .footer-about {
    grid-column: 1 / 2;
  }

  .footer-contact {
    grid-column: 2 / 3;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-about {
    grid-column: 1 / 2;
  }

  .footer-contact {
    grid-column: 4 / 5;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* =====================================================
   SECTION 39: ABOUT PAGE STYLES
   ===================================================== */

.about-page {
  padding: var(--spacing-xl) var(--spacing-md);
}

.story-section {
  margin-bottom: var(--spacing-xxl);
}

.story-section h2 {
  margin-bottom: var(--spacing-lg);
  font-size: 2rem;
  color: var(--text);
}

.story-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.story-section p:last-child {
  margin-bottom: 0;
}

.image-placeholder-team {
  background: var(--secondary);
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--spacing-xl) 0;
}

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

.large-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: var(--spacing-md);
}

.image-placeholder-team p {
  color: var(--text-light);
  margin: 0;
}

.mission-section {
  margin-bottom: var(--spacing-xxl);
  background-color: var(--secondary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.mission-item {
  padding: var(--spacing-md);
}

.mission-item h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

.mission-item p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.values-section {
  margin-bottom: var(--spacing-xxl);
}

.values-section h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.value-card {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.value-card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.value-card p {
  color: var(--text-light);
  margin: 0;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-different-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-inverse);
  padding: var(--spacing-xl) var(--spacing-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-xl);
}

.why-different-section h2 {
  color: var(--text-inverse);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-lg);
}

.why-content p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.why-content p:last-child {
  margin-bottom: 0;
}

/* =====================================================
   SECTION 40: PRICING PAGE STYLES
   ===================================================== */

.pricing-page {
  padding: var(--spacing-xl) var(--spacing-md);
}

.pricing-cards-section {
  margin-bottom: var(--spacing-xxl);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 2px solid var(--border);
  position: relative;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

.pricing-details {
  margin-bottom: var(--spacing-lg);
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
}

.size-pricing,
.service-pricing {
  list-style: none;
  padding: 0;
  margin: 0;
}

.size-pricing li,
.service-pricing li {
  padding: var(--spacing-xs) 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.size-pricing li:last-child,
.service-pricing li:last-child {
  border-bottom: none;
}

.included {
  background-color: var(--secondary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
}

.included h4 {
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--text);
  font-size: 1rem;
}

.included ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.included li {
  padding: var(--spacing-xs) 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.pricing-popular {
  border-color: var(--primary);
  position: relative;
  transform: scale(1.02);
}

.pricing-popular::before {
  content: 'Más Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--text-inverse);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-popular {
    transform: scale(1.04);
  }
}

.offers-section {
  margin-bottom: var(--spacing-xxl);
}

.offers-section h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text);
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.offer-item {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.offer-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.offer-item h4 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.offer-item p {
  color: var(--text-light);
  margin: 0;
}

@media (min-width: 768px) {
  .offers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.methodology-section {
  background-color: var(--secondary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-lg);
}

.methodology-section h2 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
}

.methodology-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.methodology-content p:last-child {
  margin-bottom: 0;
}

.faq-pricing-section {
  margin-bottom: var(--spacing-xl);
}

.faq-pricing-section h2 {
  font-size: 1.6rem;
  margin-bottom: var(--spacing-lg);
}

.faq-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.pricing-faq-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.pricing-faq-item summary {
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: all var(--transition-base);
}

.pricing-faq-item summary:hover {
  background-color: var(--secondary);
}

.pricing-faq-item[open] summary {
  background-color: var(--secondary);
}

.pricing-faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform var(--transition-base);
}

.pricing-faq-item[open] summary::after {
  transform: rotate(45deg);
}

/* Fix: mostrar respuestas completas en FAQ de precios (anula max-height:0 de Section 12) */
details.pricing-faq-item .faq-answer,
details.pricing-faq-item[open] .faq-answer {
  max-height: none !important;
  overflow: visible !important;
}

/* =====================================================
   SECTION 41: SERVICES PAGE DETAIL STYLES
   ===================================================== */

.services-page {
  padding: var(--spacing-xl) var(--spacing-md);
}

.service-section {
  margin-bottom: var(--spacing-xxl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border);
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.service-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.service-section h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.8rem;
}

.service-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.service-details {
  margin-top: var(--spacing-lg);
}

.service-what,
.service-recommendation,
.service-pricing {
  background: var(--secondary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-md);
}

.service-what h3,
.service-recommendation h3,
.service-pricing h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  color: var(--text);
}

.service-what ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
}

.service-what li {
  color: var(--text);
  padding-left: var(--spacing-lg);
  position: relative;
}

.service-what li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.service-recommendation p,
.service-pricing p {
  margin: 0;
  color: var(--text);
}

.highlight-section {
  background: var(--secondary);
  color: var(--text);
}

.highlight-section .service-what,
.highlight-section .service-recommendation {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-inverse);
}

.highlight-section .service-what h3,
.highlight-section .service-recommendation h3 {
  color: var(--text-inverse);
}

.highlight-section .service-what p {
  color: rgba(255, 255, 255, 0.95);
}

.highlight-section .service-intro {
  color: rgba(255, 255, 255, 0.9);
}

.highlight-section h2 {
  color: var(--text-inverse);
}

@media (min-width: 768px) {
  .service-header {
    gap: var(--spacing-xl);
  }

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

/* =====================================================
   SECTION 42: FAQ PAGE STYLES
   ===================================================== */

.faq-page {
  padding: var(--spacing-xl) var(--spacing-md);
}

.faq-category {
  margin-bottom: var(--spacing-xxl);
}

.faq-category h2 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
}

.faq-accordion {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

/* Fix: ensure answers in the full FAQ page are fully visible when <details> is open */
.faq-accordion details.faq-item .faq-answer,
.faq-accordion details.faq-item[open] .faq-answer {
  max-height: none !important;
  overflow: visible !important;
}

/* =====================================================
   SECTION 43: CONTACT PAGE STYLES
   ===================================================== */

.contact-page {
  padding: var(--spacing-xl) var(--spacing-md);
}

.contact-section {
  margin-bottom: var(--spacing-xxl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.contact-form-wrapper {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-form-wrapper h2 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
}

.form-note {
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  margin-top: var(--spacing-sm);
}

.contact-info-wrapper {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-info-wrapper h2 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact-content h4 {
  margin: 0 0 var(--spacing-xs) 0;
  color: var(--text);
  font-size: 1rem;
}

.contact-content p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-content a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-content a:hover {
  text-decoration: underline;
}

.map-placeholder {
  background: var(--secondary);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.map-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--spacing-md);
}

.map-placeholder p {
  color: var(--text-light);
  margin: 0;
}

.whatsapp-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-inverse);
  padding: var(--spacing-xl) var(--spacing-md);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.whatsapp-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.whatsapp-content h2 {
  margin: 0;
  color: var(--text-inverse);
  font-size: 1.8rem;
}

.whatsapp-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--text-inverse);
  color: #128C7E;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .whatsapp-content {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* =====================================================
   SECTION 44: ABOUT PREVIEW & GENERAL UTILITIES
   ===================================================== */

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.about-text h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: var(--spacing-md);
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.about-text p:last-child {
  margin-bottom: var(--spacing-lg);
}

.link-arrow {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-base);
  display: inline-block;
}

.link-arrow:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.about-image-placeholder {
  background: var(--secondary);
  border: 2px dashed var(--primary-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder-content {
  text-align: center;
}

.camera-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--spacing-md);
}

.image-placeholder-content p {
  color: var(--text-light);
  margin: 0;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }

  .about-text h2 {
    font-size: 2rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  color: var(--text-light);
  margin: 0;
  font-size: 1.05rem;
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  display: block;
  text-align: center;
}

/* animate-on-scroll is defined in Section above — no duplicate needed */

/* =====================================================
   SECTION 45: REMAINING CLASS ALIASES & MISSING STYLES
   Final pass to cover all HTML classes
   ===================================================== */

/* --- Accessibility --- */
.skip-to-main {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
}
.skip-to-main:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: var(--radius-md);
  z-index: 10000;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Navigation aliases --- */
.nav-links,
.nav-list,
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a,
.nav-list a,
.nav-menu a,
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: var(--spacing-xs) 0;
  transition: color var(--transition-base);
}
.nav-links a::after,
.nav-list a::after,
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base);
}
.nav-links a:hover::after,
.nav-list a::after:hover,
.nav-menu a:hover::after {
  width: 100%;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.navbar .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar .logo-img {
  height: 93px;
  width: auto;
  max-width: 330px;
  object-fit: contain;
  transition: all var(--transition-base);
}
.navbar.scrolled .logo-img {
  height: 87px;
}
@media (max-width: 768px) {
  .navbar .logo-img {
    height: 75px;
    max-width: 255px;
  }
}
/* Navbar is always white — all links always dark */
.navbar .nav-links a,
.navbar .nav-list a,
.navbar.scrolled .nav-links a,
.navbar.scrolled .nav-list a {
  color: var(--text);
  font-weight: 500;
}
.navbar .nav-links a:hover,
.navbar .nav-list a:hover {
  color: var(--primary);
}

/* Language switcher — always matches nav style */
.lang-switch a,
.lang-toggle a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  padding: 5px 12px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  transition: all var(--transition-base);
  background: transparent;
}
.lang-switch a:hover,
.lang-toggle a:hover {
  background: var(--primary);
  color: #FFFFFF;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}
@media (max-width: 1024px) {
  .nav-links, .nav-list, .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--surface);
    padding: var(--spacing-lg);
    gap: 0;
    z-index: var(--z-fixed);
  }
  .nav-links.active, .nav-list.active, .nav-menu.active {
    display: flex;
  }
  .nav-links a, .nav-list a, .nav-menu a {
    color: var(--text) !important;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .hamburger, .menu-toggle {
    display: flex;
  }
  .lang-switch a, .lang-toggle a {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
  }
}

/* --- Hero variants --- */
.hero-headline {
  color: #FFFFFF;
  margin-bottom: var(--spacing-sm);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.25;
}
.hero-subheadline {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}
.hero-description,
.hero .hero-description {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sm,
.about-hero,
.services-hero,
.pricing-hero,
.faq-hero,
.contact-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 130px var(--spacing-md) var(--spacing-xl);
}
.hero-sm h1,
.about-hero h1,
.services-hero h1,
.pricing-hero h1,
.faq-hero h1,
.contact-hero h1 {
  color: var(--text-inverse);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: var(--spacing-sm);
}
.hero-sm p,
.about-hero p,
.services-hero p,
.pricing-hero p,
.faq-hero p,
.contact-hero p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto;
}
.hero-image {
  display: none; /* placeholder for future background image */
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll-indicator .chevron {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
}

/* --- Section title alias --- */
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: var(--spacing-sm);
  color: var(--text);
}

/* --- About page sections --- */
.about-page, .services-page, .pricing-page, .faq-page, .contact-page {
  padding-top: 0;
}
.about-section,
.story-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}
@media (max-width: 768px) {
  .about-layout, .contact-layout {
    grid-template-columns: 1fr;
  }
}
.about-content,
.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.about-image,
.about-image-placeholder {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  border: 2px dashed var(--border);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-preview {
  padding: var(--spacing-xxl) var(--spacing-md);
  background: var(--secondary);
}
.about-preview-content,
.about-preview .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}
@media (max-width: 768px) {
  .about-preview-content,
  .about-preview .container {
    grid-template-columns: 1fr;
  }
}
.about-preview-text {
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-preview-image {
  text-align: center;
}
.image-placeholder-team,
.image-placeholder-content {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  color: var(--text-light);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}
.camera-icon,
.large-icon {
  font-size: 3rem;
  color: var(--primary-light);
  margin-bottom: var(--spacing-sm);
}
.placeholder-content {
  text-align: center;
  color: var(--text-light);
}
.team-photo-section {
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}

/* --- Mission & Values --- */
.mission-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  background: var(--secondary);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: var(--spacing-lg) auto 0;
}
.mission-item {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.mission-item h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}
.values-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}
.value-card {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

/* --- Difference / Why Different --- */
.difference-section,
.why-different-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.difference-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.difference-content h3 {
  margin-bottom: var(--spacing-xs);
  color: var(--primary);
}
.difference-content p {
  color: var(--text-light);
}

/* --- Trust section aliases --- */
.trust-section {
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--secondary);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.badge-popular,
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text-inverse);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

/* --- Pricing page extras --- */
.pricing-section,
.pricing-cards-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}
.pricing-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  color: var(--text-light);
}
.pricing-card-popular,
.pricing-popular {
  border: 2px solid var(--primary);
  position: relative;
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.pricing-note {
  text-align: center;
  margin-top: var(--spacing-lg);
  color: var(--text-light);
  font-size: 0.9rem;
}
.pricing-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}
.currency {
  font-size: 1.2rem;
  vertical-align: super;
  font-weight: 600;
}
.unit {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}
.price-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-xs);
}

/* Size pricing table */
.size-pricing {
  width: 100%;
  margin: var(--spacing-md) 0;
}
.size-pricing table,
table.size-pricing {
  width: 100%;
  border-collapse: collapse;
}
.size-pricing tr {
  border-bottom: 1px solid var(--border);
}
.size-pricing td,
.size-pricing th {
  padding: 8px 12px;
  text-align: left;
  font-size: 0.95rem;
}
.size-pricing td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
}

/* Features grid inside pricing */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xs);
  margin: var(--spacing-md) 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text);
}
.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: var(--text-inverse);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Offers section */
.offers-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  background: var(--secondary);
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-lg);
  max-width: 1200px;
  margin: var(--spacing-lg) auto 0;
}
.offer-card,
.offer-item {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-base);
}
.offer-card:hover,
.offer-item:hover {
  transform: translateY(-4px);
}
.offer-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

/* Payment section */
.payment-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.payment-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}
.payment-method {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Methodology */
.methodology-section {
  padding: var(--spacing-lg) var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-light);
}
.methodology-content {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Services page extras --- */
.services-section,
.services-page .services-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.service-section {
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--border);
}
.service-section:last-child {
  border-bottom: none;
}
.service-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}
.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--text-inverse);
  flex-shrink: 0;
}
.service-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: var(--spacing-md);
}
.service-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}
@media (max-width: 768px) {
  .service-details {
    grid-template-columns: 1fr;
  }
}
.service-what,
.service-features {
  background: var(--secondary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
}
.service-what h4,
.service-features h4 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}
.service-what ul,
.service-features ul {
  list-style: none;
  padding: 0;
}
.service-what li,
.service-features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
}
.service-what li::before,
.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.included {
  background: var(--secondary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
}
.included h4 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}
.included ul {
  list-style: none;
  padding: 0;
}
.included li {
  padding: 4px 0 4px 24px;
  position: relative;
  font-size: 0.95rem;
}
.included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.service-pricing {
  background: var(--secondary);
  color: var(--text);
  border: 2px solid var(--primary-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
  text-align: center;
}
.service-pricing h4 {
  color: var(--text-inverse);
}
.service-recommendation {
  background: rgba(212,165,116,0.1);
  border-left: 3px solid var(--accent);
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  margin-top: var(--spacing-md);
  font-size: 0.95rem;
  color: var(--text-light);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary);
  font-weight: 600;
  margin-top: var(--spacing-md);
}
.highlight-section {
  background: var(--secondary);
  padding: var(--spacing-xxl) var(--spacing-md);
}

/* --- FAQ page extras --- */
.faq-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 900px;
  margin: 0 auto;
}
.faq-category {
  margin-bottom: var(--spacing-xl);
}
.faq-category h2 {
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--primary-light);
}
.faq-accordion .faq-item {
  margin-bottom: var(--spacing-sm);
}
.faq-more {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* FAQ in pricing */
.faq-pricing,
.faq-pricing-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}
.pricing-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
}
.pricing-faq-item summary {
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pricing-faq-item summary::-webkit-details-marker {
  display: none;
}
.pricing-faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
}
.pricing-faq-item[open] summary::after {
  content: '−';
}
.pricing-faq-item p {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--text-light);
}

/* --- Contact page extras --- */
.contact-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-xl);
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-form-wrapper {
  background: var(--surface);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}
.contact-info-block {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-inverse);
  flex-shrink: 0;
}
/* Override for .contact-icon dentro de .contact-item:
   sin auto-margins (que las hereda de la regla genérica para cards
   verticales), y dimensiones consistentes para que TODOS los íconos
   queden en el mismo eje horizontal sin importar el ancho del texto. */
.contact-item .contact-icon {
  margin: 0 !important;
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px;
  border-radius: 12px;
  align-self: center;
}
.contact-item .contact-icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block;
}
.contact-item .contact-content {
  flex: 1 1 auto;
  min-width: 0;
}
.contact-info-detail h4 {
  margin-bottom: 2px;
  color: var(--text);
}
.contact-info-detail p,
.contact-info-detail a {
  color: var(--text-light);
  font-size: 0.95rem;
}
.contact-social,
.social-icons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}
.contact-social a,
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all var(--transition-base);
}
.contact-social a:hover,
.social-icons a:hover {
  background: var(--primary);
  color: var(--text-inverse);
}
/* --- Modern Contact Form Inputs (overrides browser defaults) --- */
.contact-form .form-group {
  margin-bottom: 1.25rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e3e8ee;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background-color: #f7f9fb;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa4b1;
  opacity: 1;
}
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #c9d3df;
  background-color: #fbfcfd;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(27, 108, 168, 0.12);
}
.contact-form select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B6CA8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.contact-form .btn-block {
  width: 100%;
  margin-top: 0.5rem;
}
.contact-form .form-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 0.9rem;
  line-height: 1.45;
}

/* (Las definiciones de .whatsapp-section / .whatsapp-content / .btn-whatsapp
   ya existen arriba — sección 43 — con el gradient verde WhatsApp.
   Aquí solo extendemos lo necesario para la página de Contacto.) */
.contact-page .whatsapp-section {
  margin-top: var(--spacing-xl);
}
.contact-page .whatsapp-content {
  max-width: 600px;
  margin: 0 auto;
}
.contact-page .whatsapp-content .btn-whatsapp {
  background: #ffffff;
  color: var(--primary);
  border: 2px solid #ffffff;
}
.contact-page .whatsapp-content .btn-whatsapp:hover {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: #ffffff;
}
.map-placeholder,
.map-icon {
  background: var(--secondary);
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  text-align: center;
  color: var(--text-light);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-contact-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}
.benefit-card {
  background: var(--surface);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.benefit-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}
.hours-list {
  list-style: none;
  padding: 0;
}
.hours-list li {
  padding: 4px 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

/* --- CTA band aliases --- */
.cta-band-headline {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--text-inverse);
  margin-bottom: var(--spacing-sm);
}
.cta-band-subtext {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-lg);
}
.cta-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: var(--text-inverse);
}

/* --- Button aliases --- */
.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.1rem;
}
.btn-light {
  background: rgba(255,255,255,0.2);
  color: var(--text-inverse);
  border: 1px solid rgba(255,255,255,0.4);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-block;
}
.btn-light:hover {
  background: rgba(255,255,255,0.3);
  color: var(--text-inverse);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
  transition: gap var(--transition-base);
}
.link-arrow:hover {
  gap: 8px;
}

/* --- Footer aliases --- */
.footer-list {
  list-style: none;
  padding: 0;
}
.footer-list li {
  margin-bottom: 8px;
}
.footer-list a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: color var(--transition-base);
}
.footer-list a:hover {
  color: var(--text-inverse);
}

/* --- Stat card alias --- */
.stat-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
}

/* --- Header aliases for inner pages --- */
.header,
.header-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* =====================================================
   SECTION 46: LIGHT THEME ENFORCEMENT & ALIGNMENT FIXES
   ===================================================== */

/* All main content sections — light backgrounds */
.services-overview,
.how-it-works,
.faq-preview,
.about-preview,
.services-cta { background-color: #FFFFFF; }

.why-choose-us,
.differentiators-section { background-color: #F5F8FC; }

/* Containers always centered with max-width */
.services-overview .container,
.about-preview .container,
.how-it-works .container,
.why-choose-us .container,
.faq-preview .container,
.stats-section .container,
.cta-band .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Section headers always centered */
.section-header { text-align: center; }
.section-header h2,
.section-header p { text-align: center; }

/* Grids with constrained max-width */
.services-grid { max-width: 1200px; margin: var(--spacing-lg) auto; }
.steps-grid { max-width: 1100px; margin: var(--spacing-lg) auto 0; }
.differentiators-grid { max-width: 1100px; margin: var(--spacing-lg) auto 0; }
.stats-grid { max-width: 1000px; margin: 0 auto; }
.faq-list { max-width: 800px; margin: var(--spacing-lg) auto 0; }

/* CTAs centered */
.faq-cta,
.services-cta { text-align: center; margin-top: var(--spacing-lg); }
.services-cta { padding-bottom: var(--spacing-xl); }

/* Hero text always white — override anything */
.hero-headline,
.hero h1 { color: #FFFFFF !important; }

/* =====================================================
   END OF STYLESHEET
   ===================================================== */

/* ============================================
   TEAM PHOTO STYLES (foto del equipo)
   ============================================ */
.team-photo-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 0 auto;
}

.team-photo-wrapper {
  text-align: center;
  padding: var(--spacing-md, 16px) 0;
}

/* Override placeholder styles when the container holds a real image */
.about-image-placeholder:has(img),
.image-placeholder-team:has(img) {
  background: transparent;
  border: none;
  padding: 0;
  min-height: auto;
  display: block;
}

/* ============================================
   FIX: about-preview layout (foto + texto)
   ============================================
   Causa raíz: .about-preview .container tenía display:grid
   anidado con .about-content (también grid), lo que aplastaba
   el contenido a la mitad izquierda. Lo neutralizamos para que
   .about-content sea el único grid responsable del layout.
*/
.about-preview .container {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}

.about-preview .about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl, 32px);
  align-items: center;
  margin-bottom: 0;
}

/* La imagen ocupa todo el ancho de su columna, sin máximo restringido */
.about-preview .about-preview-image {
  text-align: center;
}

.about-preview .team-photo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: block;
}

/* En móvil, la foto va arriba y el texto debajo */
@media (max-width: 768px) {
  .about-preview .about-content {
    grid-template-columns: 1fr;
  }
}

/* Mismo fix para la versión EN que usa about-preview-content */
.about-preview .about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl, 32px);
  align-items: center;
  max-width: 100%;
}

@media (max-width: 768px) {
  .about-preview .about-preview-content {
    grid-template-columns: 1fr;
  }
}

.about-preview .about-preview-image .team-photo-img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ============================================
   FIX: separación entre "Por Qué Somos Diferentes" y el CTA azul
   ============================================
   Reduce padding interno del bloque azul y agrega espacio blanco
   debajo para que no se funda con el CTA band del mismo color azul.
*/
.about-page .why-different-section {
  padding-top: var(--spacing-lg, 24px);
  padding-bottom: var(--spacing-lg, 24px);
  margin-top: var(--spacing-lg, 24px);
  margin-bottom: var(--spacing-xxl, 48px);
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   HERO de páginas internas — tamaños más grandes
   para mejor proporción y armonía visual
   ============================================ */
.hero-sm {
  min-height: 45vh;
}

.hero-sm h1,
.about-hero h1,
.services-hero h1,
.pricing-hero h1,
.faq-hero h1,
.contact-hero h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  letter-spacing: -0.01em;
  font-weight: 700;
  margin-bottom: var(--spacing-md, 24px);
}

.hero-sm p,
.hero-sm .hero-description,
.about-hero p,
.services-hero p,
.pricing-hero p,
.faq-hero p,
.contact-hero p {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 400;
  line-height: 1.4;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-sm {
    min-height: 42vh;
  }
}

/* ============================================
   HERO interno: garantizar que título y subtítulo
   queden cada uno en una sola línea en desktop
   ============================================ */
.hero-sm h1 {
  white-space: nowrap;
}

.hero-sm .hero-description,
.hero-sm p {
  max-width: 100%;
}

/* En desktop ancho, mantener subtítulo en una sola línea */
@media (min-width: 992px) {
  .hero-sm .hero-description,
  .hero-sm p {
    white-space: nowrap;
    max-width: none;
  }
}

/* En tablet, reducir un toque el subtítulo si es muy largo, pero mantener una línea */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-sm .hero-description,
  .hero-sm p {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    white-space: nowrap;
  }
}

/* En móvil sí permitir wrap natural */
@media (max-width: 767px) {
  .hero-sm h1 {
    white-space: normal;
  }
}

/* ============================================
   HERO interno: centrado perfecto y subtítulo
   con ancho proporcional al título
   ============================================ */
.hero-sm .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-md, 16px);
}

.hero-sm h1 {
  white-space: normal;
  margin: 0;
  text-align: center;
}

.hero-sm .hero-description,
.hero-sm p {
  white-space: normal;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 767px) {
  .hero-sm .hero-description,
  .hero-sm p {
    max-width: 100%;
    font-size: clamp(1.05rem, 4vw, 1.3rem);
  }
}

/* ============================================
   BOTÓN PRIMARIO — PULSO DE ATENCIÓN
   Aplica a todos los .btn-primary del sitio
   ============================================ */

.btn-primary {
  animation: btnAttentionPulse 2.4s ease-in-out infinite;
  position: relative;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  animation: none;
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(27, 108, 168, 0.35);
  animation: none;
}

@keyframes btnAttentionPulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(27, 108, 168, 0.35),
                0 0 0 0 rgba(27, 108, 168, 0.45);
  }
  50% {
    box-shadow: 0 2px 8px rgba(27, 108, 168, 0.35),
                0 0 0 14px rgba(27, 108, 168, 0);
  }
}

/* Variante blanca para el CTA band (fondo azul) */
.cta-band .btn-primary {
  animation: btnAttentionPulseWhite 2.4s ease-in-out infinite;
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible,
.cta-band .btn-primary:active {
  animation: none;
}

@keyframes btnAttentionPulseWhite {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12),
                0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  50% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12),
                0 0 0 14px rgba(255, 255, 255, 0);
  }
}

/* Accesibilidad — respetar preferencia de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .cta-band .btn-primary {
    animation: none;
  }
}

/* ============================================
   BOTÓN PRIMARIO — Relleno deslizante (Opción 4)
   Sobrescribe el pulso anterior. Funciona sobre
   cualquier fondo (claro y azul oscuro).
   ============================================ */

/* Anular pulso */
.btn-primary,
.cta-band .btn-primary {
  animation: none;
}

/* Estado base: blanco con borde azul, texto azul */
.btn-primary {
  position: relative;
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 3px 8px rgba(27, 108, 168, 0.18);
  transition: color .35s cubic-bezier(.6, .05, .2, 1),
              transform .15s ease,
              box-shadow .2s ease,
              border-color .2s ease;
  z-index: 1;
}

/* Capa azul que sube desde abajo */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.6, .05, .2, 1);
  z-index: -1;
}

/* Hover: la capa sube y el texto se vuelve blanco */
.btn-primary:hover,
.btn-primary:focus-visible {
  color: #ffffff;
  background: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 108, 168, 0.35);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  transform: translateY(0);
}

/* Active: se hunde levemente */
.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 6px rgba(27, 108, 168, 0.25);
}

/* ───── Variante sobre fondo azul (CTA band) ───── */
/* Estado base: blanco con borde blanco, texto azul */
.cta-band .btn-primary {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* La capa que sube es azul oscuro (contrasta con el fondo blanco del botón) */
.cta-band .btn-primary::before {
  background: var(--primary-dark);
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: #ffffff;
  color: #ffffff;
  border-color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* Accesibilidad — respetar preferencia de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-primary::before {
    transition: none;
  }
  .btn-primary:hover,
  .btn-primary:focus-visible {
    transform: none;
  }
}

/* ============================================
   BOTONES — Diseño moderno con jerarquía clara
   PRIMARIO: sólido azul con destello sutil al hover
   SECUNDARIO: outline blanco con relleno deslizante azul
   ============================================ */

/* ───── PRIMARIO ───── */
.btn-primary {
  position: relative;
  background: var(--primary);
  color: #ffffff;
  border: 2px solid var(--primary);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 14px rgba(27, 108, 168, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  z-index: 1;
}

/* Destello que cruza el botón al hover */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: skewX(-25deg);
  transition: left .6s ease;
  z-index: 2;
  pointer-events: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--primary) 0%, #2E86C1 100%);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow:
    0 10px 26px rgba(27, 108, 168, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  left: 125%;
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow:
    0 2px 6px rgba(27, 108, 168, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ───── SECUNDARIO ───── */
.btn-secondary {
  position: relative;
  background: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 3px 8px rgba(27, 108, 168, 0.12);
  transition: color .35s cubic-bezier(.6, .05, .2, 1),
              transform .15s ease,
              box-shadow .2s ease,
              border-color .2s ease;
  z-index: 1;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.6, .05, .2, 1);
  z-index: -1;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 108, 168, 0.3);
}

.btn-secondary:hover::before,
.btn-secondary:focus-visible::before {
  transform: translateY(0);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.97);
}

/* ───── PRIMARIO sobre fondo azul (CTA band) ───── */
.cta-band .btn-primary {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.cta-band .btn-primary::before {
  background: linear-gradient(120deg, transparent 0%, rgba(27, 108, 168, 0.18) 50%, transparent 100%);
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.cta-band .btn-primary:hover::before,
.cta-band .btn-primary:focus-visible::before {
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  left: 125%;
}

/* Accesibilidad — reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-secondary,
  .btn-primary::before, .btn-secondary::before {
    transition: none;
  }
  .btn-primary:hover, .btn-secondary:hover,
  .btn-primary:focus-visible, .btn-secondary:focus-visible {
    transform: none;
  }
}

/* ==========================================================
   BOTÓN PRIMARIO — CORAL CHUBBY 3D (FINAL)
   Sustituye TODOS los estilos anteriores de .btn-primary.
   Mismo look sobre fondos claros y azules.
   ========================================================== */

/* Anular pseudo-elementos heredados de versiones anteriores */
.btn-primary::before,
.btn-primary::after,
.cta-band .btn-primary::before,
.cta-band .btn-primary::after {
  content: none;
  display: none;
}

.btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(180deg, #FF8560 0%, #F26C3B 100%);
  border: none;
  border-radius: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  cursor: pointer;
  animation: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 0 rgba(0, 0, 0, 0.18),
    0 6px 0 #B5491F,
    0 8px 16px rgba(180, 73, 31, 0.35),
    0 16px 36px -6px rgba(180, 73, 31, 0.4);
  transition: transform .15s cubic-bezier(.34, 1.4, .64, 1),
              box-shadow .15s ease,
              background .15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, #FF9070 0%, #FF7846 100%);
  border: none;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 0 rgba(0, 0, 0, 0.18),
    0 8px 0 #B5491F,
    0 12px 22px rgba(180, 73, 31, 0.4),
    0 22px 48px -8px rgba(180, 73, 31, 0.5);
}

.btn-primary:active {
  transform: translateY(6px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 0 0 #B5491F,
    0 2px 4px rgba(180, 73, 31, 0.3);
}

/* Tamaño grande (.btn-lg) — un poco más generoso */
.btn-primary.btn-lg {
  padding: 18px 42px;
  font-size: 16px;
  border-radius: 16px;
}

/* En fondo azul (CTA band) — sigue siendo coral (pop natural sobre azul) */
.cta-band .btn-primary {
  background: linear-gradient(180deg, #FF8560 0%, #F26C3B 100%);
  color: #ffffff;
  border: none;
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: linear-gradient(180deg, #FF9070 0%, #FF7846 100%);
  color: #ffffff;
}

/* Accesibilidad — reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .btn-primary {
    transition: none;
  }
  .btn-primary:hover,
  .btn-primary:focus-visible {
    transform: none;
  }
}

/* ==========================================================
   BOTONES — VERDE LOGO RENT READY GUARD (FINAL FINAL)
   Reemplaza el coral. Aplica a primarios Y secundarios
   para consistencia visual en TODAS las tarjetas y CTAs.
   ========================================================== */

/* Variables del verde del logo */
:root {
  --rrg-green-light: #9FD651;
  --rrg-green: #7CC242;
  --rrg-green-mid: #6AAA2C;
  --rrg-green-dark: #4F8519;
  --rrg-green-shadow: rgba(79, 133, 25, 0.4);
}

/* ───── PRIMARIO — sólido verde chubby 3D ───── */
.btn-primary::before,
.btn-primary::after {
  content: none;
  display: none;
}

.btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(180deg, var(--rrg-green-light) 0%, var(--rrg-green-mid) 100%);
  border: none;
  border-radius: 14px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  cursor: pointer;
  animation: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -3px 0 rgba(0, 0, 0, 0.15),
    0 6px 0 var(--rrg-green-dark),
    0 8px 16px var(--rrg-green-shadow),
    0 16px 36px -6px var(--rrg-green-shadow);
  transition: transform .15s cubic-bezier(.34, 1.4, .64, 1),
              box-shadow .15s ease,
              background .15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, #B0E069 0%, #79BB30 100%);
  border: none;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -3px 0 rgba(0, 0, 0, 0.15),
    0 8px 0 var(--rrg-green-dark),
    0 12px 22px rgba(79, 133, 25, 0.5),
    0 22px 48px -8px rgba(79, 133, 25, 0.55);
}

.btn-primary:active {
  transform: translateY(6px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 0 0 var(--rrg-green-dark),
    0 2px 4px var(--rrg-green-shadow);
}

.btn-primary.btn-lg {
  padding: 18px 42px;
  font-size: 16px;
  border-radius: 16px;
}

/* ───── SECUNDARIO — blanco con borde verde, chubby 3D, hover se llena ───── */
.btn-secondary::before,
.btn-secondary::after {
  content: none;
  display: none;
}

.btn-secondary {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rrg-green-dark);
  background: #ffffff;
  border: 2px solid var(--rrg-green);
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  animation: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 6px 0 var(--rrg-green),
    0 8px 16px rgba(124, 194, 66, 0.25),
    0 16px 36px -6px rgba(124, 194, 66, 0.3);
  transition: transform .15s cubic-bezier(.34, 1.4, .64, 1),
              box-shadow .15s ease,
              background .15s ease,
              color .15s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, var(--rrg-green-light) 0%, var(--rrg-green-mid) 100%);
  border-color: var(--rrg-green-mid);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 0 var(--rrg-green-dark),
    0 12px 22px rgba(79, 133, 25, 0.4),
    0 22px 48px -8px rgba(79, 133, 25, 0.45);
}

.btn-secondary:active {
  transform: translateY(6px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.15),
    0 0 0 var(--rrg-green-dark),
    0 2px 4px var(--rrg-green-shadow);
}

.btn-secondary.btn-lg {
  padding: 18px 42px;
  font-size: 16px;
  border-radius: 16px;
}

/* ───── En fondo azul (CTA band) — botón verde se ve POP ───── */
.cta-band .btn-primary {
  background: linear-gradient(180deg, var(--rrg-green-light) 0%, var(--rrg-green-mid) 100%);
  color: #ffffff;
  border: none;
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: linear-gradient(180deg, #B0E069 0%, #79BB30 100%);
  color: #ffffff;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-secondary {
    transition: none;
  }
  .btn-primary:hover, .btn-secondary:hover,
  .btn-primary:focus-visible, .btn-secondary:focus-visible {
    transform: none;
  }
}

/* ==========================================================
   ÍCONOS SVG — Estilo C: cuadrado con gradiente verde
   Reemplaza emojis en TODAS las secciones del sitio
   ========================================================== */

.badge-icon,
.card-icon,
.step-icon,
.diff-icon,
.service-icon,
.value-icon,
.offer-icon,
.contact-icon,
.benefit-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #9FD651 0%, #6AAA2C 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 133, 25, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  margin: 0 auto 18px;
  font-size: 0;
}

.badge-icon svg,
.card-icon svg,
.step-icon svg,
.diff-icon svg,
.service-icon svg,
.value-icon svg,
.offer-icon svg,
.contact-icon svg,
.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Variante para íconos inline dentro de h3 (sección Why Different EN) */
.h3-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #9FD651 0%, #6AAA2C 100%);
  color: #ffffff;
  vertical-align: middle;
  margin-right: 10px;
  box-shadow: 0 3px 8px rgba(79, 133, 25, 0.22),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.h3-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Map pin pequeño inline */
.map-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6AAA2C;
  vertical-align: middle;
  margin-right: 6px;
}
.map-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ============================================
   TARJETAS DE SERVICIOS — Texto centrado
   Aplicado a las cards de "Nuestros Servicios" / "What We Do"
   ============================================ */

.services-grid .service-card,
.services-overview .service-card {
  text-align: center;
  border-left: none;
  border-top: 4px solid var(--primary);
  padding-top: var(--spacing-xl, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-grid .service-card h3,
.services-overview .service-card h3 {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 12px;
}

.services-grid .service-card p,
.services-overview .service-card p {
  text-align: center;
  margin-bottom: 16px;
  flex: 1;
}

.services-grid .service-card .card-link,
.services-overview .service-card .card-link,
.services-grid .service-card .service-link,
.services-overview .service-card .service-link {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

.services-grid .service-card:hover,
.services-overview .service-card:hover {
  border-top-color: var(--accent, #7CC242);
  border-left-color: transparent;
}

/* También a las tarjetas con clase .card-icon (homepage ES) */
.services-grid article.service-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   "POR QUÉ ELEGIRNOS" — Texto centrado
   Aplica a .differentiator-item (ES) y .feature-item (EN)
   ============================================ */

.differentiators-grid .differentiator-item,
.features-grid .feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--spacing-xl, 32px);
  padding-bottom: var(--spacing-xl, 32px);
}

.differentiators-grid .differentiator-item .diff-icon,
.features-grid .feature-item .feature-number {
  margin-left: auto;
  margin-right: auto;
}

.differentiators-grid .differentiator-item h3,
.features-grid .feature-item h3 {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 10px;
  width: 100%;
}

.differentiators-grid .differentiator-item p,
.features-grid .feature-item p {
  text-align: center;
  margin: 0 auto;
  max-width: 320px;
}

/* ============================================
   FONDO AZUL CLARO PARA "CÓMO FUNCIONA"
   + Separador blanco entre ambas secciones
   ============================================ */

.how-it-works {
  background-color: #F5F8FC;
  margin-bottom: 32px;
}

/* La franja blanca entre las dos secciones sale del fondo del body
   (que es blanco). El margin-bottom genera esa franja. */

/* En móvil, separador un poco más fino */
@media (max-width: 767px) {
  .how-it-works {
    margin-bottom: 24px;
  }
}

/* ============================================
   HERO HOMEPAGE — Imagen de fondo (skyline Panamá)
   Overlay azul más sutil para dejar ver la foto
   ============================================ */

.hero {
  background-image: url('../images/hero-image.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay azul cinematográfico — más sutil que antes
   (era 92% → ahora ~60%) para que la foto se vea clara */
.hero::before {
  background: linear-gradient(135deg,
              rgba(21, 78, 130, 0.62) 0%,
              rgba(27, 108, 168, 0.55) 60%,
              rgba(46, 134, 193, 0.50) 100%);
}

/* En pantallas pequeñas, intensificar un poco más el overlay
   para no perder la legibilidad del texto */
@media (max-width: 767px) {
  .hero::before {
    background: linear-gradient(135deg,
                rgba(21, 78, 130, 0.72) 0%,
                rgba(27, 108, 168, 0.68) 60%,
                rgba(46, 134, 193, 0.62) 100%);
  }
  .hero {
    background-position: center right;
  }
}

/* ============================================
   HERO HOMEPAGE — Overlay cinematográfico v2
   Preserva los colores cálidos del atardecer.
   Solo oscurece la zona del texto (centro/arriba).
   ============================================ */

/* Overlay MÁS LIVIANO — la imagen del apartamento se ve mucho más clara.
   El texto blanco se sostiene gracias a la sombra de texto reforzada. */
.hero::before {
  background: linear-gradient(180deg,
              rgba(8, 18, 35, 0.42) 0%,      /* arriba: solo lo necesario para el navbar */
              rgba(15, 30, 55, 0.25) 35%,    /* zona del titular: imagen visible */
              rgba(15, 30, 55, 0.10) 70%,    /* zona de botones: muy ligero */
              rgba(15, 30, 55, 0.02) 100%);  /* abajo: prácticamente sin overlay */
}

/* Sombra de texto reforzada para compensar el overlay más claro
   y mantener perfecta legibilidad del blanco sobre la imagen. */
.hero-headline,
.hero h1 {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.70),
               0 2px 6px rgba(0, 0, 0, 0.80),
               0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-subheadline,
.hero-description,
.hero p {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75),
               0 1px 3px rgba(0, 0, 0, 0.75);
}

/* En móviles overlay un poco más fuerte (la imagen es menor
   y el texto se acerca más a las áreas claras de la foto). */
@media (max-width: 767px) {
  .hero::before {
    background: linear-gradient(180deg,
                rgba(8, 18, 35, 0.58) 0%,
                rgba(15, 30, 55, 0.38) 40%,
                rgba(15, 30, 55, 0.18) 75%,
                rgba(15, 30, 55, 0.05) 100%);
  }
}

/* ============================================
   PÁGINA SERVICIOS — Tarjetas centradas
   Título arriba, descripción, ícono al medio, "Qué Incluye" abajo
   ============================================ */
.service-section {
  text-align: center;
  padding: var(--spacing-lg, 32px) var(--spacing-md, 16px) var(--spacing-xl, 48px);
}

.service-section .service-header {
  display: block;
  text-align: center;
  margin-bottom: var(--spacing-md, 20px);
}

.service-section h2 {
  font-size: 1.8rem;
  margin: 0 auto var(--spacing-sm, 12px);
  color: var(--text);
}

.service-section .service-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg, 28px);
  line-height: 1.65;
}

.service-section .service-icon {
  margin: 0 auto var(--spacing-lg, 28px);
}

.service-section .service-details {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.service-section .service-what,
.service-section .service-recommendation,
.service-section .service-pricing {
  text-align: left;
}

/* Versión EN: .service-card */
.services-grid .service-card {
  text-align: center;
}
.services-grid .service-card h3 {
  margin: 0 auto var(--spacing-sm, 12px);
}
.services-grid .service-card > p {
  margin: 0 auto var(--spacing-md, 20px);
  max-width: 560px;
  line-height: 1.65;
}
.services-grid .service-card .service-icon {
  margin: 0 auto var(--spacing-md, 20px);
}
.services-grid .service-card .service-features {
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   SERVICIOS — Cuadro "Qué Incluye" a ancho completo
   y "Recomendado para" apilado debajo, no al lado.
   ============================================ */

/* Quitar el grid de 2 columnas y el max-width estrecho */
.service-section .service-details {
  display: block;          /* en vez de grid: 1fr 1fr */
  grid-template-columns: none;
  max-width: 100%;         /* en vez de 700px */
  width: 100%;
  margin: var(--spacing-lg, 32px) 0 0;
}

/* Cada bloque (Qué Incluye, Recomendado, Precio) ocupa todo el ancho
   y se apilan uno debajo del otro */
.service-section .service-what,
.service-section .service-recommendation,
.service-section .service-pricing,
.service-section .service-features {
  width: 100%;
  max-width: 100%;
  margin: 0 auto var(--spacing-md, 24px);
  padding: var(--spacing-lg, 32px);
  box-sizing: border-box;
}

/* La lista de "Qué Incluye" en dos columnas en desktop
   para aprovechar el ancho horizontal */
.service-section .service-what ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm, 12px) var(--spacing-lg, 32px);
}

@media (max-width: 767px) {
  .service-section .service-what ul {
    grid-template-columns: 1fr;
  }
}

/* "Recomendado para" — apariencia de nota debajo del bloque principal */
.service-section .service-recommendation {
  background: rgba(124, 194, 66, 0.08);     /* verde muy tenue del logo */
  border-left: 4px solid #7CC242;            /* borde verde acento */
  text-align: center;
}

.service-section .service-recommendation p {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.service-section .service-recommendation strong {
  color: #4F8519;                            /* verde oscuro del logo */
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ============================================
   PÁGINA SERVICIOS — Refinamiento de cajas
   1. Centrar "Qué Incluye" y sus columnas
   2. Unificar .service-pricing con estilo verde (recommendation)
   3. Arreglar texto blanco en highlight-section
   ============================================ */

/* Título "¿Qué Incluye?" centrado */
.service-section .service-what h3 {
  text-align: center;
  font-size: 1.35rem;
}

/* Columnas de la lista centradas con padding simétrico */
.service-section .service-what ul {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* En desktop: 2 columnas, en móvil: 1 columna */
@media (min-width: 768px) {
  .service-section .service-what ul {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm) var(--spacing-xl);
  }
}

/* Unificar .service-pricing con el estilo verde de recommendation */
.service-section .service-pricing {
  background: linear-gradient(135deg, rgba(159, 214, 81, 0.10) 0%, rgba(106, 170, 44, 0.06) 100%);
  border-left: 4px solid #6AAA2C;
  border-radius: 12px;
  padding: var(--spacing-lg);
  margin-top: var(--spacing-md);
  color: var(--text);
}

.service-section .service-pricing p {
  margin: 0;
  color: var(--text);
}

.service-section .service-pricing strong {
  color: #4F8519;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 6px;
}

/* highlight-section (Paquete Mensual): mantener fondo azul pero
   asegurar que los textos internos sigan siendo legibles */
.highlight-section .service-what,
.highlight-section .service-recommendation,
.highlight-section .service-pricing {
  background: #ffffff !important;
  color: var(--text) !important;
}

.highlight-section .service-what h3,
.highlight-section .service-recommendation p,
.highlight-section .service-pricing p,
.highlight-section .service-what li,
.highlight-section .service-what li::before {
  color: var(--text) !important;
}

.highlight-section .service-recommendation {
  background: linear-gradient(135deg, rgba(159, 214, 81, 0.12) 0%, rgba(106, 170, 44, 0.08) 100%) !important;
}

.highlight-section .service-pricing {
  background: linear-gradient(135deg, rgba(159, 214, 81, 0.12) 0%, rgba(106, 170, 44, 0.08) 100%) !important;
}

/* ============================================
   HERO Servicios — Apartamento minimalista (vista cenital)
   ============================================ */

.hero-sm.services-hero,
.services-hero {
  background-image: url('../images/services-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay liviano — la imagen del apartamento minimalista se ve clara,
   tonos beige/crema preservados. Sombra de texto reforzada compensa. */
.hero-sm.services-hero::before,
.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(30, 25, 20, 0.35) 0%,
              rgba(40, 35, 30, 0.25) 40%,
              rgba(45, 40, 35, 0.15) 75%,
              rgba(50, 45, 40, 0.08) 100%);
  z-index: 1;
}

.hero-sm.services-hero .hero-content,
.services-hero .hero-content,
.services-hero .container {
  position: relative;
  z-index: 2;
}

.hero-sm.services-hero h1,
.services-hero h1,
.services-hero .hero-headline {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.70),
               0 2px 6px rgba(0, 0, 0, 0.80),
               0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-sm.services-hero p,
.services-hero p,
.services-hero .hero-subheadline,
.services-hero .hero-description {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75),
               0 1px 3px rgba(0, 0, 0, 0.75);
}

/* En móviles, intensificar overlay arriba para mejor lectura */
@media (max-width: 767px) {
  .hero-sm.services-hero::before,
  .services-hero::before {
    background: linear-gradient(180deg,
                rgba(8, 18, 35, 0.75) 0%,
                rgba(15, 30, 55, 0.55) 50%,
                rgba(15, 30, 55, 0.30) 100%);
  }
}

/* ============================================
   HERO Sobre Nosotros — Imagen de la pareja
   trabajando con tablet en apartamento de lujo
   ============================================ */

.hero-sm.about-hero,
.about-hero {
  background-image: url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-sm.about-hero::before,
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(8, 18, 35, 0.42) 0%,
              rgba(15, 30, 55, 0.25) 40%,
              rgba(15, 30, 55, 0.10) 75%,
              rgba(15, 30, 55, 0.02) 100%);
  z-index: 1;
}

.hero-sm.about-hero .hero-content,
.about-hero .hero-content,
.about-hero .container {
  position: relative;
  z-index: 2;
}

.hero-sm.about-hero h1,
.about-hero h1,
.about-hero .hero-headline {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.70),
               0 2px 6px rgba(0, 0, 0, 0.80),
               0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-sm.about-hero p,
.about-hero p,
.about-hero .hero-subheadline,
.about-hero .hero-description {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75),
               0 1px 3px rgba(0, 0, 0, 0.75);
}

@media (max-width: 767px) {
  .hero-sm.about-hero::before,
  .about-hero::before {
    background: linear-gradient(180deg,
                rgba(8, 18, 35, 0.78) 0%,
                rgba(15, 30, 55, 0.55) 50%,
                rgba(15, 30, 55, 0.30) 100%);
  }
}

/* ============================================
   HERO Precios — Imagen documento con logo
   ============================================ */

.hero-sm.pricing-hero,
.pricing-hero {
  background-image: url('../images/pricing-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-sm.pricing-hero::before,
.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(8, 18, 35, 0.40) 0%,
              rgba(15, 30, 55, 0.22) 40%,
              rgba(15, 30, 55, 0.10) 75%,
              rgba(15, 30, 55, 0.02) 100%);
  z-index: 1;
}

.hero-sm.pricing-hero .hero-content,
.pricing-hero .hero-content,
.pricing-hero .container {
  position: relative;
  z-index: 2;
}

.hero-sm.pricing-hero h1,
.pricing-hero h1,
.pricing-hero .hero-headline {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.70),
               0 2px 6px rgba(0, 0, 0, 0.80),
               0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-sm.pricing-hero p,
.pricing-hero p,
.pricing-hero .hero-subheadline,
.pricing-hero .hero-description {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75),
               0 1px 3px rgba(0, 0, 0, 0.75);
}

@media (max-width: 767px) {
  .hero-sm.pricing-hero::before,
  .pricing-hero::before {
    background: linear-gradient(180deg,
                rgba(8, 18, 35, 0.75) 0%,
                rgba(15, 30, 55, 0.55) 50%,
                rgba(15, 30, 55, 0.30) 100%);
  }
}

/* Pricing Hero: posicionar imagen para que documento quede abajo
   y el texto se quede en zona despejada arriba (sobre el mármol) */
.hero-sm.pricing-hero,
.pricing-hero {
  background-position: center 70%;  /* empujar imagen hacia abajo */
}

.hero-sm.pricing-hero .hero-content,
.pricing-hero .hero-content {
  /* mover el texto hacia arriba */
  margin-top: -40px;
}

@media (max-width: 767px) {
  .hero-sm.pricing-hero,
  .pricing-hero {
    background-position: center bottom;
  }
}

/* Pricing Hero: alinear texto arriba para evitar choque con documento */
.hero-sm.pricing-hero,
.pricing-hero {
  align-items: flex-start;
  padding-top: 120px;
}

.hero-sm.pricing-hero .hero-content,
.pricing-hero .hero-content {
  margin-top: 0;
  padding-top: 20px;
}

/* Pricing hero: anclar imagen arriba para que el logo del documento quede completo */
.hero-sm.pricing-hero,
.pricing-hero {
  background-position: center top !important;
  padding-top: 90px;
}

.hero-sm.pricing-hero .hero-content,
.pricing-hero .hero-content {
  margin-top: 60px;
}

@media (max-width: 767px) {
  .hero-sm.pricing-hero,
  .pricing-hero {
    background-position: center 20% !important;
  }
}

/* Pricing hero — ajuste final: imagen anclada al 25% para mostrar logo completo
   (sobreescribe las reglas anteriores) */
.hero-sm.pricing-hero,
.pricing-hero {
  background-position: center 25% !important;
  padding-top: 60px !important;
}

.hero-sm.pricing-hero .hero-content,
.pricing-hero .hero-content {
  margin-top: 0 !important;
}

/* Pricing hero — correr la imagen 15% hacia la izquierda
   Esto desplaza el documento a la izquierda, dejando la derecha despejada
   para que "Sin costos ocultos..." no choque con el logo */
.hero-sm.pricing-hero,
.pricing-hero {
  background-position: 65% 25% !important;
}

@media (max-width: 767px) {
  .hero-sm.pricing-hero,
  .pricing-hero {
    background-position: 50% 20% !important;
  }
}

/* Pricing hero — segundo ajuste: 15% más a la izquierda (65% → 80%) */
.hero-sm.pricing-hero,
.pricing-hero {
  background-position: 80% 25% !important;
}

/* ============================================
   HERO FAQ — Imagen con signos de interrogación
   ============================================ */

.hero-sm.faq-hero,
.faq-hero {
  background-image: url('../images/faq-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-sm.faq-hero::before,
.faq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Overlay azul suave — bien aclarado para que la imagen se vea nítida */
  background: linear-gradient(135deg,
              rgba(27, 108, 168, 0.32) 0%,
              rgba(21, 78, 130, 0.22) 50%,
              rgba(15, 60, 100, 0.12) 100%);
  z-index: 1;
}

.hero-sm.faq-hero .hero-content,
.faq-hero .hero-content,
.faq-hero .container {
  position: relative;
  z-index: 2;
}

.hero-sm.faq-hero h1,
.faq-hero h1,
.faq-hero .hero-headline {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.70),
               0 2px 6px rgba(0, 0, 0, 0.80),
               0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-sm.faq-hero p,
.faq-hero p,
.faq-hero .hero-subheadline,
.faq-hero .hero-description {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75),
               0 1px 3px rgba(0, 0, 0, 0.75);
}

@media (max-width: 767px) {
  .hero-sm.faq-hero::before,
  .faq-hero::before {
    background: linear-gradient(180deg,
                rgba(8, 18, 35, 0.75) 0%,
                rgba(15, 30, 55, 0.55) 50%,
                rgba(15, 30, 55, 0.30) 100%);
  }
}

/* ============================================
   HERO Contacto — Teléfono con chat (WhatsApp style)
   La imagen tiene mucho espacio en la izquierda
   (mármol limpio), perfecto para el texto
   ============================================ */
.hero-sm.contact-hero,
.contact-hero {
  background-image: url('../images/contact-hero.jpg');
  background-size: cover;
  background-position: 75% center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-sm.contact-hero::before,
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(8, 18, 35, 0.40) 0%,
              rgba(15, 30, 55, 0.22) 40%,
              rgba(15, 30, 55, 0.10) 75%,
              rgba(15, 30, 55, 0.02) 100%);
  z-index: 1;
}

.hero-sm.contact-hero .hero-content,
.contact-hero .hero-content,
.contact-hero .container {
  position: relative;
  z-index: 2;
}

.hero-sm.contact-hero h1,
.contact-hero h1,
.contact-hero .hero-headline {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.70),
               0 2px 6px rgba(0, 0, 0, 0.80),
               0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-sm.contact-hero p,
.contact-hero p,
.contact-hero .hero-subheadline,
.contact-hero .hero-description {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75),
               0 1px 3px rgba(0, 0, 0, 0.75);
}

@media (max-width: 767px) {
  .hero-sm.contact-hero::before,
  .contact-hero::before {
    background: linear-gradient(180deg,
                rgba(8, 18, 35, 0.75) 0%,
                rgba(15, 30, 55, 0.55) 50%,
                rgba(15, 30, 55, 0.30) 100%);
  }
}

/* ============================================
   TRUST BADGES — Layout 3+3 para 6 íconos
   (vs 4 columnas del layout anterior)
   ============================================ */
.trust-badges.trust-badges-six .container,
.trust-section.trust-section-six .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg, 32px);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl, 40px) var(--spacing-md, 16px);
}

/* En tablet: 2 columnas (3 filas) */
@media (max-width: 991px) {
  .trust-badges.trust-badges-six .container,
  .trust-section.trust-section-six .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md, 24px);
  }
}

/* En móvil: 1 columna */
@media (max-width: 575px) {
  .trust-badges.trust-badges-six .container,
  .trust-section.trust-section-six .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Texto centrado y bien espaciado */
.trust-badges.trust-badges-six .badge-item,
.trust-section.trust-section-six .trust-badge {
  text-align: center;
  padding: var(--spacing-md, 20px) var(--spacing-sm, 12px);
}

.trust-badges.trust-badges-six .badge-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 12px;
}

/* ============================================
   ABOUT-PREVIEW — Estilos para los subtítulos
   "Nuestro enfoque es proactivo" y "Más que un servicio"
   ============================================ */
.about-text .about-subtitle,
.about-preview-text .about-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.about-text .about-list,
.about-preview-text .about-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 1rem 0;
}

.about-text .about-list li,
.about-preview-text .about-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.6;
}

/* Bullet verde con check para cada item de la lista */
.about-text .about-list li::before,
.about-preview-text .about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #9FD651, #6AAA2C);
  border-radius: 4px;
  background-image:
    linear-gradient(135deg, #9FD651, #6AAA2C),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%, 70%;
}

/* ============================================
   ABOUT PREVIEW — Alinear foto del equipo al top
   (porque el texto ahora es más largo y la foto
   centrada quedaba muy abajo)
   ============================================ */
.about-preview .about-content,
.about-preview .about-preview-content {
  align-items: flex-start !important;
}

.about-preview .about-preview-image,
.about-preview .about-image {
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

/* Subtítulos de la sección about */
.about-text .about-subtitle,
.about-preview-text .about-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, #185FA5);
  margin-top: var(--spacing-lg, 24px);
  margin-bottom: var(--spacing-sm, 12px);
}

/* Lista de bullets con check verde */
.about-text .about-list,
.about-preview-text .about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md, 16px) 0;
}

.about-text .about-list li,
.about-preview-text .about-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.about-text .about-list li::before,
.about-preview-text .about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #9FD651 0%, #6AAA2C 100%);
  color: #ffffff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* ============================================
   ABOUT SECTION — foto alineada al top + estilos
   nuevos para los subtítulos y la lista interna
   ============================================ */

/* Alinear foto al top en lugar de centrarse contra texto largo */
.about-preview .about-content {
  align-items: flex-start !important;
}

/* Sticky photo: se queda visible mientras se hace scroll del texto */
@media (min-width: 768px) {
  .about-preview .about-preview-image {
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }
}

/* Subtítulos dentro del about-text */
.about-preview .about-text .about-subtitle,
.about-preview .about-text h3.about-subtitle,
.about-preview .about-preview-text .about-subtitle,
.about-preview .about-preview-text h3.about-subtitle {
  color: var(--primary, #185FA5);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.35;
}

/* Lista con check verde dentro del about-text */
.about-preview .about-text .about-list,
.about-preview .about-preview-text .about-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: grid;
  gap: 10px;
}

.about-preview .about-text .about-list li,
.about-preview .about-preview-text .about-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text, #2A2A2A);
  font-size: 1rem;
  line-height: 1.5;
}

.about-preview .about-text .about-list li::before,
.about-preview .about-preview-text .about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #9FD651 0%, #6AAA2C 100%);
  box-shadow: 0 2px 4px rgba(106, 170, 44, 0.3);
}

.about-preview .about-text .about-list li::after,
.about-preview .about-preview-text .about-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

/* CTA Band - dual button layout (cotización + WhatsApp) */
.cta-band .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-band .cta-buttons .btn {
  min-width: 220px;
}

@media (max-width: 600px) {
  .cta-band .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  .cta-band .cta-buttons .btn {
    width: 100%;
    min-width: 0;
  }
}

/* =====================================================
   HERO HIGHLIGHT — "Somos tus ojos en Panamá®" en DORADO real
   ===================================================== */
.hero-subheadline.hero-highlight {
  color: #D4AF37 !important;            /* Oro clásico real */
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: 0.5px;
  /* Sombra más profunda para que el dorado destaque sobre el cielo */
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.65),
    0 1px 3px rgba(0, 0, 0, 0.8),
    0 0 1px rgba(0, 0, 0, 0.9);
  margin: 0.5rem 0 1.2rem;
}

.hero-subheadline.hero-highlight sup {
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
}

/* HERO SERVICES LINE — 6 servicios con MISMO ESTILO que el título principal */
.hero-description.hero-services-line {
  color: #FFFFFF !important;
  font-weight: 700;                                            /* Negrillas */
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);                    /* Más grande */
  letter-spacing: 0.6px;
  line-height: 1.5;
  /* Misma sombra del hero-headline para que parezca tener fondo oscuro */
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.65),
    0 1px 3px rgba(0, 0, 0, 0.8);
  margin: 0.6rem auto 1.5rem;
  max-width: 820px;
  opacity: 1;
}

/* En móvil: ajustes para mantener legibilidad */
@media (max-width: 600px) {
  .hero-description.hero-services-line {
    font-size: 1rem;
    letter-spacing: 0.3px;
    line-height: 1.55;
  }
  .hero-subheadline.hero-highlight {
    font-size: 1.4rem;
  }
}

/* =====================================================
   SECURITY CARD — 2 escenarios diferenciados visualmente
   ===================================================== */
.service-card.security-card .card-intro {
  font-weight: 600;
  color: var(--text);
  margin: 0.5rem 0 0.85rem;
  text-align: center;
  font-style: italic;
}

.service-card.security-card .security-case {
  background-color: rgba(46, 125, 50, 0.06);   /* Verde muy sutil del logo */
  border-left: 3px solid var(--primary, #2E7D32);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  margin: 0.65rem 0;
  text-align: left;
}

.service-card.security-card .security-case-title {
  font-size: 0.93rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--text);
  line-height: 1.35;
}

.service-card.security-card .security-case p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-light);
  line-height: 1.5;
}

/* La card de seguridad puede ser un poco más alta — alineamos arriba */
.services-grid .service-card.security-card {
  align-self: start;
}

/* =====================================================
   HEROS INTERNOS — subtítulos más grandes, blanco puro
   y sombra profunda para destacar y dar volumen.
   Aplica a: services, about, pricing, faq, contact, hero-sm
   ===================================================== */
.hero-sm .hero-description,
.hero-sm p,
.services-hero .hero-description,
.services-hero p,
.about-hero .hero-description,
.about-hero p,
.pricing-hero .hero-description,
.pricing-hero p,
.faq-hero .hero-description,
.faq-hero p,
.contact-hero .hero-description,
.contact-hero p {
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  letter-spacing: 0.3px;
  line-height: 1.4;
  /* Misma sombra del hero del home para crear sensación de fondo oscuro */
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.65),
    0 1px 3px rgba(0, 0, 0, 0.8);
  opacity: 1;
}

/* También reforzamos el h1 con sombra suave para mantener coherencia */
.hero-sm h1,
.services-hero h1,
.about-hero h1,
.pricing-hero h1,
.faq-hero h1,
.contact-hero h1 {
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.7);
}

/* En móviles ajustamos tamaño */
@media (max-width: 600px) {
  .hero-sm .hero-description,
  .hero-sm p,
  .services-hero .hero-description,
  .services-hero p,
  .about-hero .hero-description,
  .about-hero p,
  .pricing-hero .hero-description,
  .pricing-hero p,
  .faq-hero .hero-description,
  .faq-hero p,
  .contact-hero .hero-description,
  .contact-hero p {
    font-size: 1.25rem;
    letter-spacing: 0.2px;
  }
}

/* =====================================================
   SERVICE NOTE — Notas/aclaraciones bajo cada servicio
   ===================================================== */
.service-section .service-note {
  background-color: rgba(255, 193, 7, 0.08);    /* Ámbar muy sutil */
  border-left: 3px solid #FFC107;                /* Amarillo distintivo */
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.service-section .service-note strong {
  color: #B8860B;                                /* Dorado oscuro */
}

/* =====================================================
   SERVICES HERO — Hero más alto para mostrar más
   de la imagen del apartamento (vista cenital)
   ===================================================== */
.hero-sm.services-hero,
.services-hero {
  min-height: 65vh;
  background-position: center 30%;   /* Muestra más la parte superior central */
}

@media (min-width: 768px) {
  .hero-sm.services-hero,
  .services-hero {
    min-height: 70vh;
    background-position: center center;
  }
}

@media (max-width: 600px) {
  .hero-sm.services-hero,
  .services-hero {
    min-height: 55vh;
    background-position: center 35%;
  }
}

/* =====================================================
   MISSION-LIST — Bullets de Misión/Visión en nosotros
   Punto verde del logo, espaciados, fácil lectura
   ===================================================== */
.mission-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.mission-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.85rem;
  line-height: 1.55;
  color: var(--text);
  font-size: 0.98rem;
}

.mission-list li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background-color: var(--primary, #2E7D32);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.mission-list li strong {
  color: var(--text);
  font-weight: 700;
}

.mission-list li:last-child {
  margin-bottom: 0;
}

/* =====================================================
   ¿POR QUÉ SOMOS DIFERENTES? — Fondo azul, puntos verdes
   del logo, texto blanco
   ===================================================== */
.why-different-section .why-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 900px;
  margin: 0 auto;
}

.why-different-section .why-content > p {
  position: relative;
  padding-left: 2.2rem;
  margin: 0;
  line-height: 1.7;
  color: #FFFFFF !important;
}

.why-different-section .why-content > p::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 0.95rem;
  height: 0.95rem;
  background-color: var(--accent, #3DAA5C);  /* Verde del logo */
  border-radius: 50%;
  box-shadow:
    0 0 0 4px rgba(61, 170, 92, 0.25),
    0 0 8px rgba(61, 170, 92, 0.35);
}

.why-different-section .why-content > p strong {
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1.08em;
  display: inline-block;
  margin-bottom: 0.15rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .why-different-section .why-content > p {
    padding-left: 1.8rem;
  }
  .why-different-section .why-content > p::before {
    left: 0.1rem;
    top: 0.5rem;
    width: 0.8rem;
    height: 0.8rem;
  }
}

/* =====================================================
   TEAM PHOTO — Integración elegante con cuadrado
   decorativo detrás (verde del logo) + sombra suave
   ===================================================== */

/* Wrapper con posición relativa para apoyar la decoración */
.team-photo-wrapper,
.about-image,
.team-photo-section {
  position: relative;
}

/* Limpiar cualquier estilo previo del wrapper */
.team-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-md, 16px) 0;
}

/* CUADRADO DECORATIVO VERDE — verde EXACTO del logo (#7EAF46) */
.team-photo-wrapper::before,
.about-image::before {
  content: '';
  position: absolute;
  width: 92%;
  height: 92%;
  max-width: 580px;
  max-height: 580px;
  background: linear-gradient(135deg, #7EAF46 0%, #6B9A3A 100%);
  border-radius: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(18px, 18px);  /* desplazado abajo-derecha */
  z-index: 0;
  opacity: 0.92;
  box-shadow: 0 12px 32px rgba(126, 175, 70, 0.30);
}

/* La foto va encima del cuadrado decorativo */
.team-photo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.10);
  display: block;
  margin: 0 auto;
  /* Suave borde blanco para destacar contra el cuadrado verde */
  border: 4px solid #FFFFFF;
}

/* En móvil, reducir desplazamiento y tamaño del cuadrado */
@media (max-width: 768px) {
  .team-photo-wrapper::before,
  .about-image::before {
    transform: translate(-50%, -50%) translate(10px, 10px);
    width: 90%;
    height: 90%;
    border-radius: 14px;
  }
  .team-photo-img {
    border-radius: 12px;
    border-width: 3px;
  }
}

/* =====================================================
   SERVICES — Layout magazine: Título/Intro full-width,
   Imagen + ¿Qué Incluye? en grid alternado,
   Recomendado para full-width abajo
   ===================================================== */

/* Service-section es siempre full-width; el grid solo es para imagen+lista */
.service-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3rem;
  align-items: center;
  margin: 1.5rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Imagen a la derecha en grids con service-img-right */
.service-grid.service-img-right .service-image {
  order: 2;
}
.service-grid.service-img-right .service-what {
  order: 1;
}

/* Imagen real — estilo elegante */
.service-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.14),
    0 6px 16px rgba(0, 0, 0, 0.08);
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.4s ease;
}

.service-image img:hover {
  transform: scale(1.02);
}

/* Placeholder elegante para imágenes futuras */
.service-image .image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: linear-gradient(135deg,
              rgba(126, 175, 70, 0.08) 0%,
              rgba(126, 175, 70, 0.15) 100%);
  border: 2px dashed rgba(126, 175, 70, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
}

.service-image .image-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: #7EAF46;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.65;
}

.service-image .image-placeholder p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6B9A3A;
}

.service-image .image-placeholder strong {
  font-size: 1.05rem;
}

/* Sección general: el título e intro toman ancho completo */
.service-section .service-header,
.service-section .service-intro,
.service-section > .service-recommendation {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* RESPONSIVE — En tablet/móvil pasa a una columna */
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* En móvil, imagen siempre arriba (orden visual lógico) */
  .service-grid.service-img-right .service-image,
  .service-grid.service-img-left .service-image {
    order: 1;
  }
  .service-grid.service-img-right .service-what,
  .service-grid.service-img-left .service-what {
    order: 2;
  }
}

/* =====================================================
   FEATURED SERVICE — Servicio destacado al inicio
   con badge "⭐ Servicio Destacado", tagline en dorado
   y diseño un poco más premium
   ===================================================== */
.service-section.featured-service {
  position: relative;
  background: linear-gradient(135deg, rgba(126, 175, 70, 0.04) 0%, rgba(212, 175, 55, 0.03) 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem;
  /* Margen superior generoso para que el badge dorado NO se monte sobre el hero */
  margin-top: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Badge dorado sutil */
.service-section.featured-service .featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  white-space: nowrap;
}

/* Tagline en cursiva dorada */
.service-section.featured-service .service-tagline {
  color: #B8860B;
  font-size: 1.15rem;
  margin: -0.5rem 0 1.2rem;
  font-weight: 500;
  text-align: center;
}

.service-section.featured-service .service-tagline em {
  font-style: italic;
}

/* Pregunta principal: más grande y destacada */
.service-section.featured-service .service-question {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text, #2c3e50);
  margin: 1.2rem 0 1.5rem;
  text-align: center;
  line-height: 1.4;
}

/* Lista intro (los 3 bullets de "Te brindamos") */
.service-section.featured-service .service-intro-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.service-section.featured-service .service-intro-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.65rem;
  line-height: 1.55;
}

.service-section.featured-service .service-intro-list li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  background-color: #7EAF46;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(126, 175, 70, 0.18);
}

/* Las intros de la sección destacada se alinean al ancho de contenido */
.service-section.featured-service .service-intro {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* En móvil, ajustes de padding */
@media (max-width: 600px) {
  .service-section.featured-service {
    padding: 2rem 1.25rem 1.5rem;
  }
  .service-section.featured-service .service-question {
    font-size: 1.15rem;
  }
  .service-section.featured-service .featured-badge {
    font-size: 0.78rem;
    padding: 5px 14px;
  }
  .service-section.featured-service .service-tagline {
    font-size: 1rem;
  }
}

/* =====================================================
   FEATURED SERVICE — Layout especial:
   Imagen CENTRADA entre intro y "¿Qué Incluye?"
   "¿Qué Incluye?" en 2 columnas para mejor aprovechamiento
   ===================================================== */

/* Imagen centrada estilo hero */
.service-section.featured-service .featured-image {
  max-width: 850px;
  margin: 2.5rem auto;
}

.service-section.featured-service .featured-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.14),
    0 6px 16px rgba(0, 0, 0, 0.08);
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* Placeholder hero (más grande y centrado) */
.service-section.featured-service .image-placeholder-hero {
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 100%;
}

.service-section.featured-service .image-placeholder-hero svg {
  width: 80px;
  height: 80px;
}

.service-section.featured-service .image-placeholder-hero p {
  font-size: 1.05rem;
}

/* ¿Qué Incluye? en multi-columna */
.service-section.featured-service .featured-what {
  max-width: 1100px;
  margin: 2rem auto;
}

.service-section.featured-service .featured-what h3 {
  text-align: left;
  margin-bottom: 1.5rem;
}

/* Párrafos "Te brindamos:" y "Para que tomes..." alineados a la izquierda
   (manteniendo el bloque centrado en la sección). */
.service-section.featured-service .service-intro-left {
  text-align: left;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* La lista de "Te brindamos" usa el mismo ancho que el bloque
   "¿Qué Incluye?" para crear una columna visualmente coherente. */
.service-section.featured-service .service-intro-list {
  max-width: 1100px;
  text-align: left;
}

/* La multi-col-list ya tiene los bullets a la izquierda por su naturaleza,
   pero garantizamos text-align left por si algún padre lo está centrando. */
.service-section.featured-service .multi-col-list,
.service-section.featured-service .multi-col-list li {
  text-align: left;
}

.service-section.featured-service .multi-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  /* CSS columns para distribución automática */
  column-count: 2;
  column-gap: 3rem;
  column-rule: 1px solid rgba(126, 175, 70, 0.15);
}

.service-section.featured-service .multi-col-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
  /* Evitar que un bullet se parta entre columnas */
  break-inside: avoid;
  page-break-inside: avoid;
}

.service-section.featured-service .multi-col-list li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background-color: #7EAF46;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(126, 175, 70, 0.18);
}

/* Recomendado para y nota: centrados, ancho controlado */
.service-section.featured-service > .service-recommendation {
  max-width: 1100px;
  margin: 2rem auto 0;
}

/* RESPONSIVE — En tablet/móvil, 1 columna */
@media (max-width: 900px) {
  .service-section.featured-service .multi-col-list {
    column-count: 1;
    column-rule: none;
  }
  .service-section.featured-service .featured-image {
    margin: 2rem auto;
  }
}

@media (max-width: 600px) {
  .service-section.featured-service .featured-image img,
  .service-section.featured-service .image-placeholder-hero {
    aspect-ratio: 4/3;
  }
}

/* =====================================================
   FEATURED CARD en home — sección "Soluciones y Servicios"
   ===================================================== */

/* ============================================
   PÁGINAS LEGALES (Política de Privacidad y Términos)
   ============================================ */
.legal-page {
  padding: 3rem 0 4rem;
  background: #fafbfc;
}

.legal-container {
  max-width: 880px;
  background: var(--surface);
  padding: 3rem 3rem 3.5rem;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .legal-container {
    padding: 2rem 1.5rem 2.5rem;
  }
}

.legal-meta {
  display: inline-block;
  padding: 6px 14px;
  background: #EBF5FB;
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.legal-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-container h2 {
  color: var(--primary-dark);
  font-size: 1.35rem;
  margin: 2.2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #EBF5FB;
}

.legal-container p {
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

.legal-container ul {
  margin: 0.5rem 0 1.2rem 1.5rem;
  line-height: 1.7;
}

.legal-container ul li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.legal-container a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(27, 108, 168, 0.3);
}

.legal-container a:hover {
  text-decoration-color: var(--primary);
}

.legal-container .legal-note {
  background: #F8FAFB;
  border-left: 3px solid var(--primary);
  padding: 0.9rem 1.2rem;
  margin: 0.5rem 0 1.5rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* ============================================
   PRECIOS — Grid de cards de servicios con CTA WhatsApp
   ============================================ */
.price-services {
  margin: var(--spacing-xl) auto;
  padding: 0 var(--spacing-md);
}

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

@media (max-width: 992px) {
  .price-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .price-services-grid {
    grid-template-columns: 1fr;
  }
}

.price-service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 4px 14px rgba(27, 108, 168, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.price-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(27, 108, 168, 0.18);
  border-top-color: var(--primary-dark);
}

.price-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #9FD651 0%, #6AAA2C 100%);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(79, 133, 25, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.price-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.price-service-card h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.price-card-teaser {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  flex: 1;
}

.price-card-amount {
  display: inline-block;
  align-self: center;
  background: #EBF5FB;
  color: var(--primary-dark);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: 0.2px;
}

.price-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 4px 12px rgba(27, 108, 168, 0.32);
  margin-top: auto;
}

.price-card-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0D3E66 100%);
  box-shadow: 0 8px 20px rgba(27, 108, 168, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ─── Card destacada (Asesoría) con acento dorado ─── */
.price-service-card.price-service-featured {
  border: 1px solid var(--border);
  border-top: 6px solid #D4AF37;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.18);
  padding-top: 2.25rem;
}

.price-service-card.price-service-featured:hover {
  border-top-color: #B8860B;
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.28);
}

.price-card-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #E8C547 0%, #D4AF37 50%, #B8860B 100%);
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 3px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  z-index: 3;
  line-height: 1;
}

.price-service-featured .price-card-amount {
  background: #FFF8E1;
  color: #8B6914;
}

/* ─── Featured Service Card (Asesoría / Buy or Rent Advisory) ───
   Mismo fondo limpio que las demás cards, pero distinguida por
   un borde superior dorado (4px), una sombra cálida y un badge
   "Destacado / Featured" centrado arriba en una pill dorada. */
/* ─── Featured Service Card (Asesoría / Buy or Rent Advisory) ───
   Borde superior dorado grueso (6px) que la distingue claramente,
   badge "Destacado" elevado completamente sobre la card en una
   pill dorada con anillo blanco que la hace flotar y se vea entera. */
.services-grid .service-card.service-card-featured,
.services-overview .service-card.service-card-featured {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 6px solid #D4AF37;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.20);
  padding-top: calc(var(--spacing-xl, 32px) + 18px);
  overflow: visible;
}

.services-grid .service-card.service-card-featured:hover,
.services-overview .service-card.service-card-featured:hover {
  border-top-color: #B8860B;
  border-left-color: transparent;
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.30);
  transform: translateY(-4px);
}

.services-grid .service-card.service-card-featured .card-featured-badge,
.services-overview .service-card.service-card-featured .card-featured-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #E8C547 0%, #D4AF37 50%, #B8860B 100%);
  color: #FFFFFF;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  /* Anillo blanco que separa el badge del borde dorado para que se vea entero */
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.50),
              inset 0 1px 0 rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  z-index: 3;
  line-height: 1;
}

/* =====================================================
   TRUST BADGES — Variante con 7 (4+3 layout)
   ===================================================== */
.trust-badges.trust-badges-seven .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* En desktop: el primer badge (featured) ocupa más visibilidad */
.trust-badges.trust-badges-seven .badge-item.badge-featured {
  background: linear-gradient(135deg, rgba(126, 175, 70, 0.06) 0%, rgba(212, 175, 55, 0.04) 100%);
  border-radius: 12px;
  padding: 0.5rem;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
}

.trust-badges.trust-badges-seven .badge-item.badge-featured .badge-icon svg {
  stroke: #B8860B;
}

@media (max-width: 1100px) {
  .trust-badges.trust-badges-seven .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .trust-badges.trust-badges-seven .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-badges.trust-badges-seven .container {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   PRICING PAGE — Nuevo diseño con cotizaciones personalizadas
   ===================================================== */

/* Sección title genérica para la página */
.pricing-page .section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.pricing-page .section-intro {
  text-align: center;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pricing-page > .container > section {
  padding: 3rem 0;
}

/* ----- 1. ¿Cómo Cotizamos? - 3 steps ----- */
.how-we-quote .quote-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.quote-step {
  text-align: center;
  padding: 1.5rem;
}

.quote-step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7EAF46 0%, #6B9A3A 100%);
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 20px rgba(126, 175, 70, 0.3);
}

.quote-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.quote-step p {
  color: var(--text-light);
  line-height: 1.5;
  font-size: 0.98rem;
}

/* ----- 2. Ofertas de Bienvenida - 3 cards ----- */
.welcome-offers .offers-grid-welcome {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.welcome-offer-card {
  background: var(--surface, #FFFFFF);
  border: 1px solid rgba(126, 175, 70, 0.25);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.welcome-offer-card.welcome-offer-featured {
  background: linear-gradient(135deg, rgba(126, 175, 70, 0.06) 0%, rgba(212, 175, 55, 0.04) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.15);
}

.welcome-offer-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #7EAF46 0%, #6B9A3A 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.welcome-offer-icon svg {
  width: 30px;
  height: 30px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.welcome-offer-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.welcome-offer-card .offer-headline {
  font-size: 1.1rem;
  margin: 0.5rem 0 1rem;
  color: var(--text);
}

.welcome-offer-card .offer-headline strong {
  color: #6B9A3A;
}

.welcome-offer-card p {
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

.welcome-offer-card .combo-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.welcome-offer-card .combo-list li {
  margin-bottom: 0.65rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.welcome-offer-card .combo-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #7EAF46;
  font-weight: 700;
}

/* ----- 3. Rangos por Categoría - tabla limpia ----- */
.price-ranges-table {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.price-range-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  gap: 1rem;
}

.price-range-row:last-child {
  border-bottom: none;
}

.price-service {
  font-weight: 600;
  color: var(--text);
}

.price-amount {
  color: var(--text-light);
  font-size: 0.95rem;
  text-align: right;
  white-space: nowrap;
}

/* ----- 4. ¿Qué incluye toda cotización? ----- */
.quote-includes .includes-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 760px;
}

.quote-includes .includes-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.6;
  color: var(--text);
}

.quote-includes .includes-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.1rem;
  height: 1.1rem;
  background-color: #7EAF46;
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
}

/* ----- 5. Formas de Pago ----- */
.payment-info .payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 1.5rem auto 0;
}

.payment-block {
  background: var(--surface, #FFFFFF);
  border-radius: 12px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.payment-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.payment-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-block li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  line-height: 1.55;
  color: var(--text);
}

.payment-block li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background-color: #7EAF46;
  border-radius: 50%;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .how-we-quote .quote-steps,
  .welcome-offers .offers-grid-welcome,
  .payment-info .payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .price-range-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .price-amount {
    text-align: left;
  }
}

/* =====================================================
   FAQ PAGE — Rediseño visual más amigable y motivacional
   ===================================================== */

/* Navigation cards al inicio del FAQ */
.faq-nav-cards {
  padding: 3rem 0 1.5rem;
}

.faq-nav-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin-bottom: 2rem;
  color: var(--text);
}

.faq-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  border-radius: 14px;
  padding: 1.5rem 1.2rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.faq-nav-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 175, 70, 0.5);
  box-shadow: 0 12px 28px rgba(126, 175, 70, 0.18);
}

.faq-nav-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #7EAF46 0%, #6B9A3A 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
}

.faq-nav-card:hover .faq-nav-icon {
  transform: scale(1.08);
}

.faq-nav-icon svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-nav-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: var(--text);
}

/* FAQ Category — mejor espaciado y respiración */
.faq-page .faq-category {
  padding: 2.5rem 0;
  scroll-margin-top: 100px;
}

.faq-page .faq-category h2 {
  text-align: center;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 1.8rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.8rem;
}

.faq-page .faq-category h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7EAF46 0%, #D4AF37 100%);
  border-radius: 2px;
}

/* FAQ items — mejor visual con sombra y hover */
.faq-page .faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-page .faq-item {
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  border-radius: 12px;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  overflow: hidden;
}

.faq-page .faq-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  border-color: rgba(126, 175, 70, 0.3);
}

.faq-page .faq-item summary {
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  position: relative;
  list-style: none;
  line-height: 1.45;
}

.faq-page .faq-item summary::-webkit-details-marker {
  display: none;
}

/* Botón + que rota a × al abrir */
.faq-page .faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: rgba(126, 175, 70, 0.12);
  color: #6B9A3A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-page .faq-item[open] summary::after {
  content: '×';
  background: #7EAF46;
  color: #FFFFFF;
  transform: translateY(-50%) rotate(180deg);
}

.faq-page .faq-item .faq-answer {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-light);
  line-height: 1.65;
}

.faq-page .faq-item .faq-answer p {
  margin: 0 0 0.6rem;
}

.faq-page .faq-item .faq-answer ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.faq-page .faq-item .faq-answer li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

/* El contenido de las respuestas SIEMPRE va a la izquierda
   (los títulos de categoría sí se centran, pero el cuerpo no). */
.faq-page .faq-item .faq-answer,
.faq-page .faq-item .faq-answer p,
.faq-page .faq-item .faq-answer ul,
.faq-page .faq-item .faq-answer ol,
.faq-page .faq-item .faq-answer li {
  text-align: left;
}

.faq-page .faq-item summary {
  text-align: left;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .faq-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .faq-nav-grid {
    grid-template-columns: 1fr;
  }
  .faq-page .faq-item summary {
    padding-right: 3.2rem;
    font-size: 0.97rem;
  }
}

/* =====================================================
   FAQ — Íconos al lado de cada título de categoría
   (matching las cards de navegación arriba)
   ===================================================== */
.faq-page .faq-category h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: auto;
  justify-content: center;
}

/* Wrapper para mantener el centrado del título */
.faq-page .faq-category {
  text-align: center;
}

.faq-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #7EAF46 0%, #6B9A3A 100%);
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(126, 175, 70, 0.25);
}

.faq-cat-icon svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* La línea decorativa va justo bajo el título completo */
.faq-page .faq-category h2::after {
  display: none;  /* Quitamos la línea anterior porque ahora va bajo el wrapper */
}

/* Nueva línea decorativa debajo del título + ícono */
.faq-page .faq-category > h2 + * {
  margin-top: 1.5rem;
}

/* Línea decorativa elegante */
.faq-page .faq-category::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #7EAF46 0%, #D4AF37 100%);
  border-radius: 2px;
  margin: 0 auto;
  order: 2;
}

/* Reordenar para que la línea aparezca después del título */
.faq-page .faq-category {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-page .faq-category h2 {
  order: 1;
}

.faq-page .faq-category::before {
  order: 2;
  margin: 1rem auto 1.8rem;
}

.faq-page .faq-category .faq-accordion {
  order: 3;
  width: 100%;
  max-width: 900px;
}

/* En móvil reducir tamaño del ícono */
@media (max-width: 600px) {
  .faq-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .faq-cat-icon svg {
    width: 20px;
    height: 20px;
  }
  .faq-page .faq-category h2 {
    gap: 0.6rem;
    font-size: 1.3rem;
  }
}

/* =====================================================
   OFFERS GRID 4 — Grid 2x2 para 4 ofertas
   ===================================================== */
.welcome-offers .offers-grid-4 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1100px;
}

/* Disclaimer/Banner de claridad debajo de las ofertas */
.offers-disclaimer {
  margin: 2rem auto 0;
  max-width: 900px;
  padding: 1.2rem 1.6rem;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.06) 0%, rgba(255, 193, 7, 0.10) 100%);
  border-left: 4px solid #FFC107;
  border-radius: 8px;
}

.offers-disclaimer p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.95rem;
}

.offers-disclaimer strong {
  color: #B8860B;
}

@media (max-width: 900px) {
  .welcome-offers .offers-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   CONTACTO — Mejoras visuales y notas extra
   ===================================================== */
.contact-extra-note {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0.3rem;
  line-height: 1.4;
}

.contact-item h4 {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
}


/* ============================================
   HERO Privacidad — Manos protegiendo la casa
   Símbolo de "cuidamos tu información"
   ============================================ */
.hero-sm.privacy-hero,
.privacy-hero {
  background-image: url('../images/privacy-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-sm.privacy-hero::before,
.privacy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(8, 18, 35, 0.42) 0%,
              rgba(15, 30, 55, 0.25) 40%,
              rgba(15, 30, 55, 0.10) 75%,
              rgba(15, 30, 55, 0.02) 100%);
  z-index: 1;
}

.hero-sm.privacy-hero .hero-content,
.privacy-hero .hero-content,
.privacy-hero .container {
  position: relative;
  z-index: 2;
}

.hero-sm.privacy-hero h1,
.privacy-hero h1,
.privacy-hero .hero-headline {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.70),
               0 2px 6px rgba(0, 0, 0, 0.80),
               0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-sm.privacy-hero p,
.privacy-hero p,
.privacy-hero .hero-description {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75),
               0 1px 3px rgba(0, 0, 0, 0.75);
}

@media (max-width: 767px) {
  .hero-sm.privacy-hero::before,
  .privacy-hero::before {
    background: linear-gradient(180deg,
                rgba(8, 18, 35, 0.58) 0%,
                rgba(15, 30, 55, 0.38) 40%,
                rgba(15, 30, 55, 0.18) 75%,
                rgba(15, 30, 55, 0.05) 100%);
  }
}

/* ============================================
   HERO Términos — Apretón de manos profesional
   Símbolo de "acuerdo transparente"
   ============================================ */
.hero-sm.terms-hero,
.terms-hero {
  background-image: url('../images/terms-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-sm.terms-hero::before,
.terms-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(8, 18, 35, 0.42) 0%,
              rgba(15, 30, 55, 0.25) 40%,
              rgba(15, 30, 55, 0.10) 75%,
              rgba(15, 30, 55, 0.02) 100%);
  z-index: 1;
}

.hero-sm.terms-hero .hero-content,
.terms-hero .hero-content,
.terms-hero .container {
  position: relative;
  z-index: 2;
}

.hero-sm.terms-hero h1,
.terms-hero h1,
.terms-hero .hero-headline {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.70),
               0 2px 6px rgba(0, 0, 0, 0.80),
               0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-sm.terms-hero p,
.terms-hero p,
.terms-hero .hero-description {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75),
               0 1px 3px rgba(0, 0, 0, 0.75);
}

@media (max-width: 767px) {
  .hero-sm.terms-hero::before,
  .terms-hero::before {
    background: linear-gradient(180deg,
                rgba(8, 18, 35, 0.58) 0%,
                rgba(15, 30, 55, 0.38) 40%,
                rgba(15, 30, 55, 0.18) 75%,
                rgba(15, 30, 55, 0.05) 100%);
  }
}
