/* ============================================
   Variables y Base (ORIGINAL)
   ============================================ */
:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --text: #0f172a;
  --text-light: #475569;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --radius: 16px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

/* ============================================
   Header y Navegación Moderna
   ============================================ */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 0.4rem;
}

@media (min-width: 1200px) {
  .header-inner {
    padding: 16px 0;
    gap: 1rem;
  }
}

@media (min-width: 1280px) {
  .header-inner {
    gap: 2rem;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.brand-logo:hover {
  opacity: 0.8;
}

.logo {
  height: 42px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .logo {
    height: 46px;
  }
}

@media (min-width: 1200px) {
  .logo {
    height: 55px;
  }
}

@media (min-width: 1280px) {
  .logo {
    height: 60px;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  order: -1;
}

@media (max-width: 1199px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Navigation Container */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
}

@media (min-width: 1280px) {
  .main-navigation {
    gap: 2rem;
  }
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
  align-items: center;
}

@media (min-width: 1280px) {
  .nav-menu {
    gap: 0.5rem;
  }
}

.nav-menu li {
  position: relative;
}

.nav-menu>li>a {
  display: block;
  padding: 0.75rem 0.7rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  position: relative;
}

@media (min-width: 1280px) {
  .nav-menu>li>a {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

.nav-menu>li>a::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu>li>a:hover {
  color: var(--primary);
  background: rgba(30, 64, 175, 0.05);
}

.nav-menu>li>a:hover::before {
  width: calc(100% - 2.5rem);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background: var(--bg-alt);
  color: var(--primary);
  padding-left: 1.5rem;
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .nav-actions {
    gap: 0.75rem;
  }
}



.phone-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.5rem;
  color: var(--text);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.8rem;
}

@media (min-width: 1280px) {
  .phone-link {
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}

.phone-link:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.phone-link svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

@media (min-width: 1280px) {
  .phone-link svg {
    width: 18px;
    height: 18px;
  }
}

.phone-number {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 639px) {
  .phone-number {
    display: none;
  }
  
  .phone-link {
    padding: 0.5rem;
  }
}

@media (min-width: 1200px) {
  .phone-link {
    padding: 0.6rem 1.2rem;
    background: rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.2);
  }
  
  .phone-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  .phone-link:hover svg {
    color: white;
  }
  
  .phone-number {
    font-size: 0.95rem;
  }
}

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

  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .main-navigation.active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-menu>li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-menu>li>a {
    width: 100%;
    padding: 1rem 0;
    border-radius: 0;
  }

  .nav-menu>li>a::before {
    display: none;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    display: none;
    padding: 0;
  }

  .has-dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }

  .phone-link,
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .phone-number {
    display: inline;
  }
}

/* Overlay for mobile menu */
@media (max-width: 1199px) {
  body.menu-open {
    overflow: hidden;
  }

  .main-navigation::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
  }

  .main-navigation.active::before {
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

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

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

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

.btn-outline:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: white;
}

/* WhatsApp button in header - more compact */
.site-header .btn-whatsapp {
  padding: 0.5rem;
  font-size: 0;
  gap: 0;
  min-width: 40px;
  justify-content: center;
}

.site-header .btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hide text on smaller screens */
.site-header .whatsapp-text {
  display: none;
}

/* Show text only on large screens */
@media (min-width: 1300px) {
  .site-header .btn-whatsapp {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    gap: 0.4rem;
    min-width: auto;
  }
  
  .site-header .whatsapp-text {
    display: inline;
  }
  
  .site-header .btn-whatsapp svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 50px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../media/fondotituloinstalacionaa.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 450px;
    gap: 60px;
  }
}

.hero-copy {
  text-align: center;
  margin-top: -24px;
}

@media (min-width: 1024px) {
  .hero-copy {
    text-align: left;
    margin-top: -32px;
  }

  .cta {
    justify-content: flex-start;
  }

  .trust-badges {
    justify-content: flex-start;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
}

.hero h1 {
  margin-bottom: 16px;
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.lead {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item svg {
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Hero Form */
.hero-form-wrapper {
  width: 100%;
}

.hero-form {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-form-header h2,
.hero-form-header h3 {
  color: var(--text);
  margin-bottom: 4px;
  font-size: 1.5rem;
}

.hero-form-header p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.hero-form .form-row {
  margin-bottom: 16px;
}

.hero-form label {
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
  display: block;
  width: 100%;
}

.hero-form textarea {
  min-height: 80px;
}

.btn-block {
  width: 100%;
}

.hero-form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-form-footer svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================
   Sections
   ============================================ */
section {
  padding: 80px 0;
}

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

.section-header h2 {
  margin-bottom: 12px;
}

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

/* ============================================
   Grid & Cards
   ============================================ */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

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

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

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.card p {
  color: var(--text-light);
  line-height: 1.6;
}

.card-highlight {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  border: 2px solid var(--primary-light);
}

/* ============================================
   Guarantee Section
   ============================================ */
.guarantee {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.guarantee-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  text-align: center;
}

.guarantee-icon {
  display: flex;
  justify-content: center;
}

.guarantee-icon svg {
  width: 80px;
  height: 80px;
  opacity: 0.9;
}

.guarantee h2 {
  margin-bottom: 16px;
  color: white;
}

.guarantee p {
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 24px;
}

.guarantee .btn {
  background: white;
  color: var(--primary);
  border-color: white;
}

.guarantee .btn:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .guarantee-content {
    grid-template-columns: auto 1fr;
    text-align: left;
  }

  .guarantee-icon {
    justify-content: flex-start;
  }
}

/* ============================================
   Contact Form
   ============================================ */
.contact {
  background: var(--bg-alt);
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    /* Forzar 50% exacto para cada columna */
  }
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-row.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 8px;
}

.form-row.checkbox input {
  margin-top: 4px;
}

label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

input,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="url"],
input[type="password"],
input[type="search"],
select,
textarea {
  display: block;
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: var(--bg);
  box-sizing: border-box;
  margin: 0;
  max-width: 100% !important;
  /* Forzar que no haya restricciones */
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: inline-block;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  align-items: stretch;
}

.form-divider {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.help {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.875rem;
  text-align: center;
  justify-content: center;
}

.help svg {
  flex-shrink: 0;
}

.help a {
  color: var(--primary);
  font-weight: 600;
}

@media (min-width: 640px) {
  .form-actions {
    flex-direction: row;
    align-items: center;
  }

  .form-divider {
    padding: 0 8px;
  }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--bg-dark);
  color: white;
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}

.footer-inner .col {
  display: grid;
  gap: 12px;
}

.footer-inner strong {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-inner a:hover {
  color: white;
  text-decoration: none;
}

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

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    text-align: left;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   Utilities
   ============================================ */
.stack {
  display: grid;
  gap: 16px;
}

.form-message {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  animation: slideDown 0.3s ease-out;
}

/* ============================================
   PAGE LAYOUTS FOR INTERNAL PAGES
   ============================================ */

/* Page Headers Enriquecidos */
.page-header {
  position: relative;
  padding: 6rem 0 5rem;
  background: var(--bg-dark);
  color: white;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.4;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  font-weight: 800;
}

.page-header .lead {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.6;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.breadcrumbs a {
  color: white;
}

.breadcrumbs span::before {
  content: '/';
  margin-right: 12px;
}

/* Content Sections */
.content-section {
  padding: 3rem 0;
}

.row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .row {
    grid-template-columns: 2fr 1fr;
  }
}

.col-main h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.col-main h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.col-main ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.col-main ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.125rem;
}

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

.sidebar-widget ul li a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  transition: all 0.2s ease;
}

.sidebar-widget ul li:last-child a {
  border-bottom: none;
}

.sidebar-widget ul li a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

/* CTA Boxes */
.cta-box {
  background: linear-gradient(135deg, var(--bg-alt) 0%, white 100%);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
  box-shadow: var(--shadow);
}

.cta-box h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.cta-box p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

/* Alert Boxes */
.alert {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-light);
  background: rgba(30, 64, 175, 0.05);
}

.alert strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

/* Feature Grid (Beneficios) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 4rem 0;
}

.feature-item {
  text-align: center;
  padding: 2.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.5rem;
}

.feature-item h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Service Detail Lists */
.step-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1.5rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
}

.step-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

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

/* Sidebar Call to Action */
.sidebar-cta {
  background: var(--primary);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.sidebar-cta h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.sidebar-cta p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

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