/* Pizano Echeverri y Asociados Ltda. - Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color System */
  --primary: #011f4b;
  --primary-light: #0a3272;
  --primary-dark: #000e23;
  --accent: #ff8900;
  --accent-secondary: #ffaa44;
  --accent-solid: #ff8900;
  --accent-solid-hover: #e07a00;
  --success: #2A723D;
  --success-light: #EBF7EE;
  --warning: #D97706;
  --danger: #B91C1C;
  
  /* Text Colors */
  --text-main: #011f4b;
  --text-muted: #4a5e7a;
  --text-light: #FAF9F6;
  --text-white: #ffffff;
  
  /* Backgrounds */
  --bg-main: #FAF9F6;
  --bg-card: #ffffff;
  --bg-footer: #000e23;
  
  /* Gradients */
  --grad-primary: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  --grad-accent: linear-gradient(180deg, var(--accent-secondary) 0%, var(--accent) 100%);
  --grad-premium: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  
  /* Typography */
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(1, 31, 75, 0.06);
  --shadow-lg: 0 12px 32px rgba(1, 31, 75, 0.09);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  --border-light: 1px solid #EAEAEA;
}

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

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

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

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

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

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

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-bg-light {
  background-color: #f1f5f9;
}

.section-bg-dark {
  background-color: var(--primary);
  color: var(--text-white);
}

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

/* Header & Navigation */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-normal);
}

header.site-header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

header.site-header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: var(--transition-normal);
}

header.site-header.scrolled .nav-container {
  height: 68px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.2);
}

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

.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.nav-link.active {
  color: var(--accent-solid);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-solid);
  color: var(--text-white);
  border-color: var(--accent-solid);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent-solid-hover);
  border-color: var(--accent-solid-hover);
}

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

.btn-secondary:hover {
  background: rgba(15, 37, 71, 0.04);
}

.btn-accent {
  background: var(--accent-solid);
  color: var(--text-white);
  border-color: var(--accent-solid);
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-solid-hover);
  border-color: var(--accent-solid-hover);
}

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

.btn-white:hover {
  background: #f8fafc;
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
  background: #128C7E;
  color: var(--text-white);
  border-color: #128C7E;
}

.btn-whatsapp:hover {
  background: #075E54;
  border-color: #075E54;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 7rem;
  background: var(--bg-main);
  border-bottom: var(--border-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(176, 146, 106, 0.08);
  border: 1px solid rgba(176, 146, 106, 0.15);
  color: var(--accent-solid);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.hero-title span {
  color: var(--accent-solid);
  font-style: italic;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: var(--border-light);
  padding-top: 2rem;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.hero-image-container {
  position: relative;
}

.hero-img-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: var(--border-light);
  z-index: 1;
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-md);
  border: var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.hero-floating-card.card-1 {
  top: 15%;
  left: -5%;
}

.hero-floating-card.card-2 {
  bottom: 15%;
  right: -2%;
}

.floating-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.floating-details h4 {
  font-size: 0.85rem;
  margin-bottom: 0.1rem;
  font-family: var(--font-heading);
}

.floating-details p {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent-solid);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Services / Grid Styles */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-solid);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(176, 146, 106, 0.08);
  color: var(--accent-solid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--accent-solid);
  color: var(--text-white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.5;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-solid);
}

.service-link:hover {
  color: var(--accent-solid-hover);
}

/* Featured Card Style */
.service-card.featured-card {
  border: 1.5px solid var(--accent);
  background: #FAF9F6;
  position: relative;
}

.service-card.featured-card::before {
  content: 'MÁS COTIZADO';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--text-white);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

/* About / Quiénes Somos Section in Home */
.about-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon-check {
  width: 24px;
  height: 24px;
  background: var(--success-light);
  color: var(--success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.about-feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.about-feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.about-image-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--text-white);
  position: relative;
  z-index: 2;
  width: 85%;
}

.about-img-sub {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--text-white);
  position: absolute;
  bottom: -10%;
  right: 0;
  width: 45%;
  z-index: 3;
}

.about-badge {
  position: absolute;
  top: -5%;
  right: -2.5rem;
  background: var(--grad-primary);
  color: var(--text-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  z-index: 4;
  box-shadow: var(--shadow-lg);
}

.about-badge .years {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  color: var(--accent);
}

.about-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Trust / Allied Companies */
.allies-section {
  padding: 4rem 0;
  border-top: var(--border-light);
  border-bottom: var(--border-light);
  background: var(--bg-card);
}
.allies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 4rem;
}

.ally-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.6;
  filter: grayscale(1);
  transition: var(--transition-fast);
}

.ally-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.ally-logo img {
  max-height: 44px;
  object-fit: contain;
  width: auto;
}

.ally-logo.ally-logo-large img {
  max-height: 60px;
}

/* SOAT Specific Styles (Conversion Oriented) */
.soat-hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
  background: var(--bg-main);
  border-bottom: var(--border-light);
}

.soat-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: flex-start;
}

.soat-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--success-light);
  color: var(--success);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.soat-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.soat-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.soat-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.soat-bullet {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.soat-bullet i {
  color: var(--success);
  font-size: 1.25rem;
}

/* SOAT Form Container */
.soat-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 110px;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-solid);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(184, 147, 85, 0.15);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input {
  margin-top: 0.25rem;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-solid);
}

.checkbox-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.checkbox-group a {
  color: var(--accent-solid);
  font-weight: 600;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.form-secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-secure-badge i {
  color: var(--success);
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  position: relative;
}

.process-step {
  position: relative;
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent-solid);
  color: var(--text-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 10px rgba(184, 147, 85, 0.2);
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(184, 147, 85, 0.3);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-answer p {
  padding-bottom: 1.5rem;
}

.faq-item.active {
  border-color: var(--accent-solid);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust if needed */
}

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

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

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.payment-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.payment-card:hover {
  border-color: var(--accent-solid);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.payment-card i {
  font-size: 2rem;
  color: var(--primary);
}

.payment-card span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 0.90fr 1.10fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-method-card {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-method-icon {
  width: 52px;
  height: 52px;
  background: rgba(184, 147, 85, 0.08);
  color: var(--accent-solid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-method-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-method-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-method-details a {
  color: var(--accent-solid);
  font-weight: 600;
}

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

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  border: var(--border-light);
}

.contact-map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: var(--border-light);
  height: 350px;
}

.contact-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* About Us Page Layout */
.nosotros-history {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
}

.nosotros-team-section {
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.team-member {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrapper {
  height: 320px;
  background-color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-info p {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Legal Page Layout */
.legal-layout {
  padding-top: 10rem;
  padding-bottom: 6rem;
  background-color: var(--bg-main);
}

.legal-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.legal-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: var(--border-light);
  padding: 1.5rem;
  position: sticky;
  top: 110px;
}

.legal-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-nav-link:hover,
.legal-nav-link.active {
  background: rgba(184, 147, 85, 0.08);
  color: var(--accent-solid);
}

.legal-content-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 3.5rem;
}

.legal-content h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.legal-content .last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: block;
}

.legal-content h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Call to Action Section */
.cta-section {
  position: relative;
  background: var(--primary);
  color: var(--text-white);
  padding: 6rem 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(184, 147, 85, 0.15) 0%, transparent 60%);
  bottom: -20%;
  left: -10%;
  pointer-events: none;
}

.cta-wrapper {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-wrapper h2 {
  color: var(--text-white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.cta-wrapper p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Footer Styles */
footer.site-footer {
  background-color: var(--bg-footer);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer.site-footer h3,
footer.site-footer h4 {
  color: var(--text-white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-title {
  color: var(--text-white);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

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

.footer-links-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-solid);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--accent-solid);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-contact-item p {
  margin: 0;
}

.footer-contact-item a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--text-white);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .about-home-grid,
  .nosotros-history,
  .contact-grid {
    gap: 3rem;
  }
  .soat-grid {
    gap: 1.75rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-card);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: var(--transition-normal);
    z-index: 999;
  }
  
  header.site-header.scrolled .nav-menu {
    top: 64px;
    height: calc(100vh - 64px);
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .nav-cta {
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
  }
  
  .nav-cta .btn {
    width: 100%;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .hero-floating-card.card-1 {
    left: 0;
  }
  
  .hero-floating-card.card-2 {
    right: 0;
  }
  
  .about-home-grid,
  .soat-grid,
  .nosotros-history,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image-stack {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .about-badge {
    right: 0;
  }
  
  .legal-grid {
    grid-template-columns: 1fr;
  }
  
  .legal-sidebar {
    position: static;
  }
  
  .legal-content-card {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-wrapper h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .about-badge {
    padding: 1rem;
  }
  .about-badge .years {
    font-size: 2rem;
  }
  .soat-form-card,
  .contact-form-card {
    padding: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Trust Bar (Barra de confianza) */
.trust-bar {
  background: var(--bg-card);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}
.trust-bar-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}
.trust-item i {
  color: var(--accent);
  font-size: 1.15rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: var(--border-light);
  position: relative;
}
.testimonial-stars {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}
.author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: var(--primary);
  color: var(--text-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner-text {
  font-size: 0.85rem;
  line-height: 1.5;
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.cookie-banner-buttons .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

/* Advantages Section */
.advantages-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.advantages-badge-box {
  background: var(--primary);
  color: var(--text-white);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.advantages-badge-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.advantages-badge-label {
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.advantage-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.advantage-icon {
  width: 46px;
  height: 46px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--accent-solid);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.advantage-info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.advantage-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .advantages-section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .trust-bar-container {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 1rem;
    gap: 1rem;
  }
}

/* Custom Added Rules */
.logo-picture {
  display: flex;
  align-items: center;
}
.site-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height var(--transition-normal);
}
header.site-header.scrolled .site-logo {
  height: 38px;
}
@media (max-width: 768px) {
  .site-logo {
    height: 32px;
  }
}

.author-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.payment-card {
  background: var(--bg-card);
  border: var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.payment-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.payment-card img {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.payment-card span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.88);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.55rem 0;
  z-index: 1100;
  position: relative;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.top-bar-item i { color: var(--accent); font-size: 0.85rem; }
.top-bar-item a { color: inherit; transition: color var(--transition-fast); }
.top-bar-item a:hover { color: var(--accent); }
.top-bar-right { display: flex; align-items: center; gap: 0.75rem; }
.top-bar-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25D366;
  color: #fff;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  transition: background var(--transition-fast);
}
.top-bar-wa:hover { background: #128C7E; color:#fff; }
.top-bar-wa i { font-size: 0.9rem; }
@media (max-width: 768px) {
  .top-bar { display: none !important; }
}

/* Header site-header and top bar scrolling transitions */
header.site-header .top-bar {
  max-height: 50px;
  opacity: 1;
  overflow: hidden;
  transition: max-height var(--transition-normal), opacity var(--transition-normal), padding var(--transition-normal);
}

header.site-header.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* ============================================
   LOGO SIZE INCREASE
   ============================================ */
.site-logo {
  height: 90px !important;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height var(--transition-normal);
}
header.site-header.scrolled .site-logo { height: 60px !important; }
@media (max-width: 768px) {
  .site-logo { height: 50px !important; }
}

/* ============================================
   ALLY LOGOS — FULL COLOR BY DEFAULT
   ============================================ */
.ally-logo {
  opacity: 1 !important;
  filter: none !important;
}
.ally-logo:hover {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.05);
}
.ally-logo img { max-height: 46px; object-fit: contain; }
.ally-logo.ally-logo-large img { max-height: 62px !important; }

/* ============================================
   TRUST SECTION (ENHANCED)
   ============================================ */
.trust-section-enhanced {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.trust-section-enhanced::before {
  content: '';
  position: absolute;
  inset: 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.03'%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");
}
.trust-section-enhanced .container { position: relative; z-index: 1; }
.trust-section-enhanced .section-header-light { text-align: center; margin-bottom: 3rem; }
.trust-section-enhanced .section-header-light p {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 0.5rem;
}
.trust-section-enhanced .section-header-light h2 {
  color: #fff; font-size: 2rem; font-weight: 600;
}
.trust-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) { .trust-icons-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust-icons-grid { grid-template-columns: 1fr; } }
.trust-icon-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background var(--transition-normal), transform var(--transition-fast);
}
.trust-icon-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.trust-icon-card .ti-icon {
  width: 58px; height: 58px;
  background: rgba(255,137,0,0.15);
  border: 1px solid rgba(255,137,0,0.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--accent);
}
.trust-icon-card h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.trust-icon-card p { color: rgba(255,255,255,0.65); font-size: 0.82rem; line-height: 1.5; margin: 0; }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9000;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  color: #fff;
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0; transform: scale(1.4); }
}

/* ============================================
   NIT BADGE
   ============================================ */
.nit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,137,0,0.1);
  border: 1px solid rgba(255,137,0,0.3);
  color: var(--accent-solid);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  margin-top: 0.75rem;
}
.nit-badge i { font-size: 0.75rem; }

/* Footer NIT line */
.footer-nit-line {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.5rem;
  letter-spacing: 0.3px;
}

/* Footer extra col */
.footer-top-v2 {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr 1.1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 1200px) {
  .footer-top-v2 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .footer-top-v2 { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .footer-top-v2 { grid-template-columns: 1fr; gap: 2rem; }
}

