﻿@import url('../assets/fonts/urbanist.css');

:root {
  --bg: #ffffff;
  --bg-surface: #f7f9f4;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f7ed;
  --bg-elevated: #eef3e6;
  --line: #dfe5d8;
  --line-subtle: #edf1e7;
  --line-focus: #88a80d;
  --text: #172018;
  --text-muted: #5e6e5b;
  --text-dim: #849580;
  --green: #88a80d;
  --green-bright: #728f09;
  --green-light: #526c17;
  --green-glow: rgba(136, 168, 13, 0.18);
  --accent-orange: #d97706;
  --accent-blue: #2563eb;
  --accent-cyan: #0891b2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-main: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

select option {
  background: #ffffff;
  color: var(--text);
}

/* ==========================================================
   1. TOP EMERGENCY & ASSISTANCE RIBBON (MAPFRE URUGUAY STYLE)
   ========================================================== */
.top-assistance-bar {
  background: #f4f6f0; border-bottom: 1px solid var(--line);
  border-bottom: 1px solid var(--line-subtle);
  padding: 8px 0;
  font-size: 12px;
  position: relative;
  z-index: 50;
}

.assistance-wrap {
  max-width: 1320px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.assistance-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(242, 139, 36, 0.15);
  color: #ff9f43;
  border: 1px solid rgba(242, 139, 36, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff9f43;
  box-shadow: 0 0 8px #ff9f43;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.assistance-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.assistance-link:hover {
  color: var(--green-light);
}

.assistance-link svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.assistance-link strong {
  color: var(--text);
  font-weight: 700;
}

.assistance-sep {
  color: var(--line);
}

.wa-link svg {
  color: #25d366 !important;
}

.assistance-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: #f4f7ed;
  border: 1px solid var(--line-subtle);
}

.top-nav-btn:hover {
  background: var(--bg-surface);
  color: var(--text);
  border-color: var(--line);
}

.top-nav-btn svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.portal-btn {
  color: var(--green-light);
  border-color: rgba(136, 168, 13, 0.3);
  background: rgba(136, 168, 13, 0.08);
}

.country-pill {
  font-size: 11px;
  color: var(--text-dim);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}

/* ==========================================================
   2. MAIN STICKY HEADER & SEGMENTED SWITCHER
   ========================================================== */
.main-insurance-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-subtle);
  padding: 14px 0;
}

.header-container {
  max-width: 1320px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-insurance {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-insurance img {
  height: 22px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.brand-vertical-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green);
}

/* Segmented Pill Switch: Personas / Empresas */
.header-segment-switch {
  display: flex;
  background: #f0f3eb;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 3px;
}

.segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.segment-btn svg {
  width: 14px;
  height: 14px;
  color: var(--text-dim);
}

.segment-btn:hover {
  color: var(--text);
}

.segment-btn.active {
  background: #ffffff; box-shadow: 0 2px 8px rgba(23, 32, 24, 0.08);
  color: var(--green-light);
  border: 1px solid rgba(136, 168, 13, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.segment-btn.active svg {
  color: var(--green);
}

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

.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-item:hover {
  color: var(--text);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}

.nav-item:hover::after {
  width: 100%;
}

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

.btn-portal-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.btn-portal-secondary:hover {
  background: #f4f7ed;
  border-color: var(--green);
  color: var(--green-light);
}

.btn-portal-secondary svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.btn-cotizar-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: #172018;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(136, 168, 13, 0.3);
}

.btn-cotizar-primary:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
}

.btn-dashboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: #f4f7ed;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.btn-dashboard-pill:hover {
  background: var(--bg-surface);
  color: var(--text);
  border-color: var(--line-focus);
}

.btn-dashboard-pill svg {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  background: #f4f7ed;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.mobile-menu-toggle .bar {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background: #ffffff;
  border-left: 1px solid var(--line);
  z-index: 100;
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 20px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-drawer:not([hidden]) {
  display: flex;
}

@media (min-width: 769px) {
  .mobile-drawer {
    display: none !important;
  }
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.drawer-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
}

.drawer-close {
  font-size: 28px;
  color: var(--text-muted);
  line-height: 1;
}

.drawer-segment-toggle {
  display: flex;
  background: #f0f3eb;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.drawer-segment-toggle .segment-btn {
  flex: 1;
  justify-content: center;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-subtle);
}

.drawer-link:hover {
  color: var(--text);
}

.drawer-link.highlight {
  color: var(--green-light);
  font-weight: 700;
}

.drawer-link-btn {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: #f4f7ed;
  border: 1px solid var(--line);
  margin-top: 4px;
}

/* ==========================================================
   3. HERO SECTION & INTEGRATED FAST QUOTE SIMULATOR
   ========================================================== */
.mapfre-hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--green);
  top: -100px;
  right: 5%;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: #2563eb;
  bottom: -50px;
  left: 10%;
  opacity: 0.12;
}

.hero-container {
  max-width: 1320px;
  margin: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.kicker-pill {
  background: rgba(136, 168, 13, 0.14);
  color: var(--green-light);
  border: 1px solid rgba(136, 168, 13, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.kicker-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-dim);
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: #172018;
}

.hero-title em {
  font-style: normal;
  color: var(--green-bright);
}

.hero-lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 10px;
}

.hero-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f7f9f4;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.hero-badge-item .badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(136, 168, 13, 0.15);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-badge-item .badge-icon svg {
  width: 15px;
  height: 15px;
}

.hero-badge-item .badge-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.hero-badge-item .badge-text small {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.3;
  margin-top: 2px;
}

/* ==========================================================
   4. FAST QUOTE SIMULATOR CARD (HERO RIGHT)
   ========================================================== */
.hero-quoter-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(136, 168, 13, 0.15);
  position: relative;
}

.quoter-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.quoter-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}

.quoter-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #172018;
  line-height: 1.25;
}

.quoter-tag {
  background: rgba(136, 168, 13, 0.15);
  color: var(--green-light);
  border: 1px solid rgba(136, 168, 13, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

/* Simulator Tabs (Auto, Hogar, Vida, Viaje) */
.quoter-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: #f2f5ec;
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-subtle);
  margin-bottom: 22px;
}

.quoter-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.quoter-tab svg {
  width: 15px;
  height: 15px;
  color: var(--text-dim);
}

.quoter-tab:hover {
  color: var(--text);
  background: #f4f7ed;
}

.quoter-tab.active {
  background: #ffffff; box-shadow: 0 2px 6px rgba(23, 32, 24, 0.06);
  color: #fff;
  border: 1px solid rgba(136, 168, 13, 0.45);
}

.quoter-tab.active svg {
  color: var(--green-bright);
}

/* Quoter Forms */
.quoter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quoter-form[hidden] {
  display: none !important;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.quoter-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(136, 168, 13, 0.06);
  border: 1px solid rgba(136, 168, 13, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.quoter-footnote svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

.quoter-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #172018;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-top: 6px;
  box-shadow: 0 6px 20px rgba(136, 168, 13, 0.35);
}

.quoter-submit-btn:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
}

/* ==========================================================
   5. QUICK ACTIONS / OPERACIONES FRECUENTES (6 BOTONES)
   ========================================================== */
.quick-services-section {
  padding: 80px 0;
  background: #f8faf5;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.section-container {
  max-width: 1320px;
  margin: auto;
  padding: 0 24px;
}

.section-badge-center {
  text-align: center;
  margin-bottom: 10px;
}

.badge-text-green {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green);
}

.section-title-center {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #172018;
  text-align: center;
  line-height: 1.25;
}

.section-subtitle-center {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  max-width: 620px;
  margin: 12px auto 44px;
}

/* 6 Grid Service Cards */
.services-six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-action-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  transition: var(--transition);
}

.service-action-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(136, 168, 13, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card-icon-bubble svg {
  width: 24px;
  height: 24px;
}

.bubble-orange { background: rgba(242, 139, 36, 0.15); color: #f28b24; }
.bubble-green { background: rgba(136, 168, 13, 0.15); color: var(--green); }
.bubble-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.bubble-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.bubble-lime { background: rgba(162, 200, 21, 0.15); color: var(--green-bright); }
.bubble-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

.card-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  display: block;
  margin-bottom: 6px;
}

.card-heading {
  font-size: 19px;
  font-weight: 700;
  color: #172018;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.card-link-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-light);
  margin-top: 18px;
  display: inline-block;
}

/* ==========================================================
   6. PRODUCTS CATALOG (PERSONAS VS EMPRESAS)
   ========================================================== */
.products-catalog-section {
  padding: 90px 0;
}

.catalog-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-title-left {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #172018;
  line-height: 1.2;
  margin-top: 6px;
}

.section-subtitle-left {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 520px;
}

.catalog-filter-pills {
  display: flex;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}

.filter-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.filter-pill:hover {
  color: var(--text);
}

.filter-pill.active {
  background: #ffffff; box-shadow: 0 2px 6px rgba(23, 32, 24, 0.06);
  color: var(--green-light);
  border: 1px solid rgba(136, 168, 13, 0.4);
}

.products-display-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.products-display-grid[hidden] {
  display: none !important;
}

.product-highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.product-highlight-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(136, 168, 13, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.product-category-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--green);
}

.product-popular-badge {
  background: rgba(136, 168, 13, 0.15);
  color: var(--green-bright);
  border: 1px solid rgba(136, 168, 13, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.product-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #172018;
  margin-bottom: 8px;
}

.product-pitch {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.product-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.product-perks li {
  padding-left: 2px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-subtle);
  padding-top: 18px;
  margin-top: auto;
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-from {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.price-amount {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.price-period {
  font-size: 10px;
  color: var(--text-muted);
}

.btn-card-quote {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: #253521;
  border: 1px solid rgba(136, 168, 13, 0.4);
  color: var(--green-light);
  font-size: 12px;
  font-weight: 700;
}

.btn-card-quote:hover {
  background: var(--green);
  color: #172018;
  border-color: var(--green);
}

/* ==========================================================
   7. 24/7 EMERGENCY & ASSISTANCE SECTION
   ========================================================== */
.emergency-action-section {
  padding: 40px 0 80px;
}

.emergency-card-banner {
  background: linear-gradient(135deg, #182416 0%, #111a10 100%);
  border: 1px solid rgba(136, 168, 13, 0.35);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.emergency-card-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(136, 168, 13, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.emergency-badge-lime {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(136, 168, 13, 0.15);
  border: 1px solid rgba(136, 168, 13, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green-light);
  margin-bottom: 16px;
}

.emergency-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #fff;
  margin-bottom: 12px;
}

.emergency-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.emergency-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-call-emergency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: #172018;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(136, 168, 13, 0.3);
}

.btn-call-emergency:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
}

.btn-call-emergency svg {
  width: 18px;
  height: 18px;
}

.btn-wa-emergency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-wa-emergency:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

.btn-wa-emergency svg {
  width: 18px;
  height: 18px;
}

.btn-report-claim-banner {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  background: #f4f7ed;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.btn-report-claim-banner:hover {
  background: #ffffff; box-shadow: 0 2px 6px rgba(23, 32, 24, 0.06);
  border-color: var(--green);
  color: var(--green-light);
}

/* ==========================================================
   8. FAQ ACCORDION SECTION
   ========================================================== */
.faq-section {
  padding: 80px 0;
  background: #f8faf5;
  border-top: 1px solid var(--line-subtle);
}

.faq-accordion-list {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: rgba(136, 168, 13, 0.4);
  background: #f4f7ed;
}

.faq-question {
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--green);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.faq-answer strong {
  color: #fff;
}

/* ==========================================================
   9. INSTITUTIONAL FOOTER (BCU REGULATED)
   ========================================================== */
.insurance-footer {
  background: #090c08;
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1320px;
  margin: auto;
  padding: 0 24px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 20px;
}

.footer-logo span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green);
  border-left: 1px solid var(--line);
  padding-left: 10px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-emergency-capsule {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.footer-emergency-capsule span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
}

.footer-emergency-capsule strong {
  color: var(--green-bright);
  font-size: 15px;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #172018;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

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

.footer-regulatory-box {
  background: #f7f9f4;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 30px;
}

.bcu-seal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bcu-seal svg {
  width: 28px;
  height: 28px;
  color: var(--green);
  flex-shrink: 0;
}

.bcu-seal strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #172018;
  margin-bottom: 2px;
}

.bcu-seal span {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line-subtle);
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================
   10. INTERACTIVE MODALS (MAPFRE DIALOGS)
   ========================================================== */
.mapfre-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: none;
  background: transparent;
  padding: 16px;
  max-width: 100vw;
  max-height: 100vh;
  z-index: 999;
}

.mapfre-dialog::backdrop {
  background: rgba(15, 20, 16, 0.55);
  backdrop-filter: blur(8px);
}

.mapfre-dialog:not([open]) {
  display: none !important;
}

.dialog-card {
  width: min(580px, calc(100vw - 32px));
  max-height: 88vh;
  overflow-y: auto;
  background: #f0f3eb;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(136, 168, 13, 0.2);
}

.dialog-card-wide {
  width: min(840px, calc(100vw - 32px));
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-subtle);
  padding-bottom: 16px;
}

.dialog-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--green);
  display: block;
  margin-bottom: 4px;
}

.dialog-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #172018;
}

.dialog-close-btn {
  font-size: 28px;
  color: var(--text-dim);
  line-height: 1;
  padding: 0 4px;
}

.dialog-close-btn:hover {
  color: #fff;
}

.dialog-lead-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Stepper for Claim Wizard */
.claim-stepper {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.claim-stepper .step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.claim-stepper .step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef2e6;
  color: var(--text-dim);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.claim-stepper .step.active {
  color: var(--green-light);
}

.claim-stepper .step.active span {
  background: var(--green);
  color: #172018;
  font-weight: 700;
}

.step-instructions {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-step-next, .btn-step-submit {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: #172018;
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
}

.btn-step-next:hover, .btn-step-submit:hover {
  background: var(--green-bright);
}

.step-buttons-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  margin-top: 18px;
}

.btn-step-prev {
  padding: 13px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

/* Confirmation Box */
.confirmation-panel {
  text-align: center;
  padding: 10px 0;
}

.confirmation-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(136, 168, 13, 0.2);
  color: var(--green-bright);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.confirmation-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.confirmation-title {
  font-size: 22px;
  font-weight: 800;
  color: #172018;
  margin-bottom: 6px;
}

.confirmation-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.claim-case-number-box {
  background: #f2f5ec;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.claim-case-number-box span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}

.claim-case-number-box strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--green-light);
}

.claim-next-steps {
  background: #f7f9f4;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  margin-bottom: 22px;
}

.claim-next-steps h4 {
  font-size: 13px;
  color: #172018;
  margin-bottom: 8px;
}

.claim-next-steps ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.btn-dialog-finish {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: #172018;
  font-size: 14px;
  font-weight: 700;
}

/* Certificado Mercosur Preview */
.dialog-lookup-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-lookup-submit {
  padding: 0 20px;
  background: var(--green);
  color: #172018;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mercosur-certificate-preview {
  background: #f8faf5;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.cert-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
  text-align: center;
}

.cert-flag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  margin-bottom: 4px;
}

.cert-header strong {
  font-size: 12px;
  color: #172018;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.cert-grid small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--text-dim);
}

.cert-grid strong {
  font-size: 14px;
  color: #172018;
}

.cert-valid {
  color: var(--green-bright) !important;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  gap: 16px;
}

.cert-qr-mock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
}

.cert-qr-mock svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.btn-download-cert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--green-light);
  font-size: 12px;
  font-weight: 700;
}

.btn-download-cert svg {
  width: 14px;
  height: 14px;
}

/* Bill Lookup / Payment Modal */
.bill-summary-card {
  background: #f2f5ec;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.bill-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.bill-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  display: block;
}

.bill-concept {
  font-size: 16px;
  font-weight: 700;
  color: #172018;
}

.bill-status-pill {
  background: rgba(242, 139, 36, 0.15);
  color: #ff9f43;
  border: 1px solid rgba(242, 139, 36, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
}

.bill-amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-subtle);
  padding-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.bill-total {
  font-size: 20px;
  font-weight: 800;
  color: #172018;
}

.payment-methods-picker {
  margin-bottom: 20px;
}

.picker-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}

.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.payment-option input {
  width: auto;
}

.payment-option.selected {
  border-color: var(--green);
  background: #f4f7ed;
  color: #fff;
}

.btn-process-payment {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: #172018;
  font-size: 14px;
  font-weight: 700;
}

.payment-success-banner {
  text-align: center;
  padding: 20px 0;
}

.payment-success-banner .success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(136, 168, 13, 0.2);
  color: var(--green-bright);
  font-size: 26px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

/* Talleres Search Modal */
.talleres-search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.flex-2 { flex: 2; }
.flex-3 { flex: 3; }

.talleres-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.taller-item-card {
  background: #f7f9f4;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.taller-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #172018;
  margin-bottom: 4px;
}

.taller-address {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.taller-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.taller-tag {
  background: #eef2e6;
  color: var(--text-dim);
  border: 1px solid var(--line-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 10px;
}

.btn-taller-call {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--green-light);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-taller-call:hover {
  background: var(--green);
  color: #172018;
}

/* Portal Asegurados (Mi Cuenta) */
.portal-login-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portal-login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.btn-portal-enter {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #172018;
  font-size: 13px;
  font-weight: 700;
}

.btn-demo-quick-login {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #f4f7ed;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.portal-user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.welcome-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
}

.user-name {
  font-size: 20px;
  font-weight: 800;
  color: #172018;
}

.user-meta {
  font-size: 11px;
  color: var(--text-dim);
}

.btn-logout {
  font-size: 12px;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-subtle);
}

.portal-policies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.policy-card-item {
  background: #f7f9f4;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.policy-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.policy-type-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
}

.policy-status-green {
  background: rgba(136, 168, 13, 0.15);
  color: var(--green-bright);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 9px;
  font-weight: 700;
}

.policy-vehicle-name {
  font-size: 17px;
  font-weight: 700;
  color: #172018;
  margin-bottom: 4px;
}

.policy-number {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.policy-specs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  padding: 10px 0;
  margin-bottom: 14px;
}

.policy-specs span {
  color: var(--text-muted);
}

.policy-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-policy-subaction {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: #f4f7ed;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.btn-policy-subaction.highlight {
  color: var(--green-light);
  border-color: rgba(136, 168, 13, 0.4);
}

/* Alquiler Calculation Modal */
.alquiler-result-card {
  background: #f2f5ec;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 18px;
}

.approval-chip {
  display: inline-block;
  background: rgba(136, 168, 13, 0.15);
  color: var(--green-bright);
  border: 1px solid rgba(136, 168, 13, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 8px;
}

.approval-heading {
  font-size: 18px;
  font-weight: 700;
  color: #172018;
  margin-bottom: 14px;
}

.alquiler-figures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.alquiler-figures-grid small {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
}

.alquiler-figures-grid strong {
  font-size: 15px;
  color: #172018;
}

.alquiler-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Cotización Modal Result */
.quote-modal-result-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-plan-box {
  background: #f2f5ec;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.quote-plan-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.quote-plan-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.quote-plan-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--green-bright);
}

.quote-plan-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--line-subtle);
  padding-top: 12px;
  margin-top: 12px;
}

.quote-plan-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.btn-quote-confirm {
  padding: 13px;
  border-radius: var(--radius-md);
  background: var(--green);
  color: #172018;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.btn-quote-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: var(--radius-md);
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.btn-quote-wa svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================
   11. RESPONSIVE MEDIA QUERIES (MOBILE FIRST COMPLIANCE)
   ========================================================== */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-badges-row {
    grid-template-columns: 1fr;
  }
  .services-six-grid {
    grid-template-columns: 1fr 1fr;
  }
  .products-display-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .assistance-link:not(:first-child),
  .assistance-sep {
    display: none;
  }
  .country-pill {
    display: none;
  }
  .insurance-nav {
    display: none;
  }
  .btn-portal-secondary {
    display: none;
  }
  .btn-cotizar-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .services-six-grid {
    grid-template-columns: 1fr;
  }
  .products-display-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .quoter-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .talleres-search-bar {
    flex-direction: column;
  }
  .portal-policies-grid {
    grid-template-columns: 1fr;
  }
  .portal-login-actions {
    grid-template-columns: 1fr;
  }
  .quote-plan-actions {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-quoter-card {
    padding: 20px 16px;
  }
  .dialog-card {
    padding: 22px 16px;
  }
  .emergency-card-banner {
    padding: 30px 16px;
  }
  .step-buttons-row {
    grid-template-columns: 1fr;
  }
  .payment-options-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   LIGHT MODE OVERRIDES & BOTTOM-LEFT RETURN BUTTON
   ========================================================== */
body {
  background-color: #ffffff;
  color: #172018;
}

.mapfre-hero {
  background: #ffffff;
}

.hero-quoter-card {
  box-shadow: 0 16px 40px rgba(23, 32, 24, 0.08), 0 0 0 1px var(--line);
}

.dialog-card {
  box-shadow: 0 25px 70px rgba(23, 32, 24, 0.22), 0 0 0 1px var(--line);
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.faq-question {
  color: var(--text);
  font-weight: 700;
}

.faq-answer {
  color: var(--text-muted);
}

.emergency-card-banner {
  background: #172018;
  color: #ffffff;
  border: 1px solid #283726;
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: 0 16px 45px rgba(23, 32, 24, 0.12);
}

.emergency-card-banner .emergency-title {
  color: #ffffff;
}

.emergency-card-banner .emergency-desc {
  color: #d2ded1;
}

.insurance-footer {
  background: #f4f6f0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

/* Boton Volver a Landing: Abajo a la izquierda */
body .demo-vertical-return {
  position: fixed !important;
  left: 20px !important;
  right: auto !important;
  bottom: 20px !important;
  z-index: 9999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 13px 19px !important;
  border-radius: 99px !important;
  background: #172018 !important;
  color: #ffffff !important;
  border: 1px solid #364434 !important;
  font: 500 12px 'Urbanist', Arial, sans-serif !important;
  box-shadow: 0 6px 22px rgba(23, 32, 24, 0.28) !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body .demo-vertical-return svg {
  width: 18px !important;
  height: 18px !important;
  color: #a2c815 !important;
  flex-shrink: 0 !important;
}

body .demo-vertical-return:hover {
  background: #253322 !important;
  transform: translateY(-2px) !important;
}

body .demo-vertical-return:focus-visible {
  outline: 2px solid #88a80d !important;
  outline-offset: 4px !important;
}

@media (max-width: 600px) {
  body .demo-vertical-return {
    left: 14px !important;
    right: auto !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    padding: 12px 16px !important;
    font-size: 11px !important;
  }
}

/* UNIFORM ICON COLOR FOR ALL SERVICE CARDS (VERDE LIMA CORPORATIVO) */
.card-icon-bubble,
.bubble-orange,
.bubble-green,
.bubble-blue,
.bubble-cyan,
.bubble-lime,
.bubble-purple {
  background: rgba(136, 168, 13, 0.12) !important;
  color: #637d09 !important;
  border: 1px solid rgba(136, 168, 13, 0.25) !important;
}

.card-icon-bubble svg,
.bubble-orange svg,
.bubble-green svg,
.bubble-blue svg,
.bubble-cyan svg,
.bubble-lime svg,
.bubble-purple svg {
  color: #637d09 !important;
}

/* PRODUCT CARD PHOTOS & HIGH CONTRAST */
.product-highlight-card {
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 4px 18px rgba(23, 32, 24, 0.05) !important;
}

.product-card-photo {
  position: relative;
  height: 180px;
  margin: -28px -28px 20px -28px;
  overflow: hidden;
  background: #f0f3eb;
  border-bottom: 1px solid var(--line);
}

.product-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-highlight-card:hover .product-card-photo img {
  transform: scale(1.05);
}

/* HIGH CONTRAST PRICES */
.product-price-box {
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.price-from {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #61705d !important;
  font-weight: 700 !important;
}

.price-amount {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #172018 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
}

.price-period {
  font-size: 12px !important;
  color: #61705d !important;
  font-weight: 500 !important;
}

/* HIGH CONTRAST BUTTONS */
.btn-card-quote {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 12px 20px !important;
  border-radius: 99px !important;
  background: #88a80d !important;
  border: 1px solid #789709 !important;
  color: #172018 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(136, 168, 13, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.btn-card-quote:hover {
  background: #9abf12 !important;
  color: #172018 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(136, 168, 13, 0.35) !important;
}

/* HERO PHOTO SHOWCASE (VEHICULOS & CASAS) */
.hero-photo-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.hero-photo-item {
  position: relative;
  height: 135px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(23, 32, 24, 0.06);
}

.hero-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-photo-item:hover img {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 32, 24, 0.05) 0%, rgba(23, 32, 24, 0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px;
  color: #ffffff;
}

.photo-tag {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #a2c815;
  text-transform: uppercase;
}

.photo-overlay strong {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 600px) {
  .hero-photo-showcase {
    grid-template-columns: 1fr;
  }
  .hero-photo-item {
    height: 120px;
  }
}