/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (OFFICIAL EUROTALLER BRANDING)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Official Brand Palette - Pantones */
  --primary-blue: #003087;         /* Pantone 287 */
  --primary-blue-light: #0057b7;   /* Pantone 2935 */
  --accent-teal: #00b2a9;          /* Pantone 7466 */
  --accent-yellow: #fff200;        /* Process Yellow (Y 100%) */
  --accent-yellow-hover: #e6da00;
  
  /* Process Colors CMYK Equivalents */
  --color-process-1: #1a3668;      /* C 100% + M 75% + K 15% */
  --color-process-2: #59c2c6;      /* C 65% + Y 25% */
  --color-process-3: #1b1464;      /* C 100% + M 95% + Y 50% */
  --color-process-4: #0071bc;      /* C 100% + M 55% */
  --color-process-5: #7b868c;      /* C 5% + K 55% */
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
  --gradient-cool-gray: linear-gradient(180deg, var(--color-process-5) 0%, #ffffff 100%);
  
  /* Typography Colors */
  --text-dark: #0f172a;
  --text-light: #ffffff;
  --text-muted: var(--color-process-5);
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  
  /* Alert / Quiz Colors */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  /* Fonts */
  --font-heading: 'Blair', 'Blair ITC', sans-serif;
  --font-body: 'Raleway', sans-serif;
  
  /* Layout & Shadows */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 48, 135, 0.08), 0 8px 10px -6px rgba(0, 48, 135, 0.03);
  --shadow-lg: 0 20px 40px -15px rgba(0, 48, 135, 0.12);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

p {
  margin-bottom: 1.25rem;
}

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

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

a:hover {
  color: var(--accent-teal);
}

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

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-gray-gradient {
  background: var(--gradient-cool-gray);
}

.section-dark {
  background-color: var(--primary-blue);
  background-image: var(--gradient-hero);
  color: var(--text-light);
}

.section-dark h2 {
  color: var(--text-light);
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.section-dark .section-title {
  color: var(--text-light);
}

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

.section-dark .section-subtitle {
  color: #93c5fd;
}

.text-accent {
  color: var(--accent-teal);
}

.bg-dark-accent {
  color: var(--accent-yellow);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: none;
  box-shadow: none;
}

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

.header-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-logos .logo-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(255,255,255,0.3);
}

.logo-img {
  height: 50px;
  display: block;
}

.logo-img.groupauto {
  height: 40px;
}

/* ==========================================================================
   HERO / MAIN BLOCK
   ========================================================================== */
.hero {
  background: linear-gradient(90deg, rgba(0, 17, 51, 0.9) 0%, rgba(0, 17, 51, 0.7) 100%), url('hero_bg.jpg') center/cover no-repeat;
  color: var(--text-light);
  padding: 8rem 0 5rem 0;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('yellow_shape_final.png') right center/cover no-repeat;
  z-index: 0;
  opacity: 0.9;
  display: none;
}

@media (min-width: 992px) {
  .hero::before {
    display: block;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-form-wrapper {
  max-width: 440px;
  margin-left: auto;
  width: 100%;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 178, 169, 0.15);
  border: 1px solid rgba(0, 178, 169, 0.3);
  color: #38bdf8;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  align-self: flex-start;
}

.urgency-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-light);
}

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

.hero-subtitle {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.hero-benefit {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent-teal);
  padding: 1rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

.hero-benefit p {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.hero-benefit span {
  font-weight: 700;
  color: var(--accent-yellow);
}

.hero-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .hero-bullets {
    grid-template-columns: 1fr 1fr;
  }
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.bullet-icon {
  color: var(--primary-blue-light);
  font-weight: bold;
}

/* ==========================================================================
   INTERACTIVE WIDGET (QUIZ + 2-STEP FORM)
   ========================================================================== */
.quiz-widget {
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.widget-header {
  background: var(--primary-blue-light);
  color: var(--text-light);
  padding: 1rem;
  text-align: center;
  position: relative;
}

.widget-header h3 {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
}

.widget-header p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.progress-bar-container {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background-color: var(--accent-yellow);
  transition: width 0.4s ease;
}

.widget-body {
  padding: 1.5rem;
  flex-grow: 1;
}

/* Step States */
.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out forwards;
}

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

.quiz-question {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.option-btn:hover {
  background-color: rgba(0, 178, 169, 0.05);
  border-color: var(--accent-teal);
}

.option-btn .option-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.option-btn:hover .option-indicator {
  border-color: var(--accent-teal);
}

.option-btn.selected {
  background-color: rgba(0, 178, 169, 0.1);
  border-color: var(--accent-teal);
}

.option-btn.selected .option-indicator {
  border-color: var(--accent-teal);
  background-color: var(--accent-teal);
}

.option-btn.selected .option-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--text-light);
  border-radius: 50%;
}

/* Score Screen styling */
.score-display {
  text-align: center;
  margin-bottom: 1.5rem;
}

.score-gauge-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem auto;
}

.score-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 12;
}

.gauge-fill {
  fill: none;
  stroke: var(--primary-blue);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 452.38; /* 2 * pi * 72 */
  stroke-dashoffset: 452.38;
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-num {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary-blue);
  line-height: 1;
}

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

.score-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.score-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.score-divider-alert {
  background-color: rgba(245, 158, 11, 0.08);
  border: 1px dashed var(--color-warning);
  padding: 0.875rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  color: #a16207;
  margin-bottom: 1.5rem;
  text-align: left;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

/* Two Step Form Layout */
.form-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-step-title span {
  font-size: 0.8rem;
  color: var(--primary-blue);
  background-color: rgba(0, 48, 135, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0, 178, 169, 0.15);
}

.select-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236D7277' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1rem 0;
  text-align: left;
}

.checkbox-control {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-blue);
  margin-top: 0.15rem;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label a {
  text-decoration: underline;
  color: var(--primary-blue);
}

.btn-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--primary-blue);
  font-weight: 800;
}

.btn-primary:hover {
  background-color: var(--accent-yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 224, 0, 0.35);
}

.btn-secondary {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid var(--border-color);
  width: auto;
  padding: 0.875rem 1.25rem;
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

.error-message {
  color: var(--color-danger);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
  font-weight: 500;
}

.form-group.has-error .form-control {
  border-color: var(--color-danger);
}

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

/* ==========================================================================
   BLOCK 2: SITUATION CHECKBOXES
   ========================================================================== */
.sit-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

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

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

.sit-card {
  background: var(--primary-blue);
  border-radius: 0 40px 0 0;
  display: flex;
  flex-direction: column;
  color: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  padding-bottom: 1.5rem;
}

.sit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.sit-card-body {
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sit-icon {
  margin-bottom: 1.5rem;
  align-self: center;
}

.sit-card-body p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
  text-align: left;
}

.sit-card-footer {
  padding-top: 1.5rem;
  margin-top: auto;
}
.sit-card-footer label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background-color: #0057b7;
  padding: 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
}
.sit-card-footer label:hover {
  background-color: #0066cc;
}

.sit-checkbox {
  appearance: none;
  width: 14px;
  height: 14px;
  background-color: #cbd5e1;
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;
  position: relative;
}
.sit-checkbox:checked::after {
  content: 'Ã¢Å“â€';
  position: absolute;
  color: var(--primary-blue);
  font-size: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Checked state styling for the card */
.sit-checkbox:checked ~ span {
  color: var(--accent-yellow);
}

/* ==========================================================================
   BLOCK 3: SOLUTION (MOCKUP)
   ========================================================================== */
.solution-grid {
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 992px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 3D Mockup Cover in CSS */
.mockup-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.mockup-book {
  position: relative;
  width: 260px;
  height: 360px;
  transform: rotateY(-20deg) rotateX(10deg);
  transform-style: preserve-3d;
  box-shadow: 15px 15px 30px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
  border-radius: 4px 16px 16px 4px;
}

.mockup-book:hover {
  transform: rotateY(-10deg) rotateX(5deg) scale(1.02);
}

.book-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  border-radius: 4px 16px 16px 4px;
  padding: 2rem 1.5rem;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
  z-index: 2;
}

.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 1px 0 3px rgba(0,0,0,0.2);
}

.book-badge {
  background-color: var(--accent-teal);
  color: var(--text-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-title {
  color: var(--accent-yellow);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
}

.book-subtitle {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.book-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
}

.book-logo {
  height: 20px;
}

.book-logo-sec {
  height: 15px;
  opacity: 0.8;
}

.book-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 100%;
  background: var(--primary-blue);
  transform: rotateY(-90deg);
  transform-origin: left;
  z-index: 1;
  border-radius: 4px 0 0 4px;
}

.book-page {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 98%;
  height: 98%;
  background: #f1f5f9;
  border-radius: 0 12px 12px 0;
  z-index: 0;
  transform: translateZ(-10px);
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.book-page-2 {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 96%;
  height: 96%;
  background: #e2e8f0;
  border-radius: 0 10px 10px 0;
  z-index: -1;
  transform: translateZ(-20px);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
}

/* ==========================================================================
   BLOCK 4: BENEFITS GRID
   ========================================================================== */
.benefits-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.benefit-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 178, 169, 0.2);
}

.benefit-card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 178, 169, 0.08);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   BLOCK 5: TESTIMONIALS CAROUSEL
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-white);
}

.carousel-outer {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  padding: 1rem;
}

.testimonial-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  position: relative;
  text-align: center;
}

.testimonial-quote-icon {
  font-size: 4rem;
  color: rgba(0, 48, 135, 0.06);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: serif;
}

.testimonial-content {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.testimonial-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-blue);
  border: 3px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-blue);
}

.testimonial-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-badge {
  background-color: rgba(0, 48, 135, 0.08);
  color: var(--primary-blue);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Carousel controls */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background-color: var(--primary-blue);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   BLOCK 6: TRUST / BACKING (GROUPAUTO & MAP)
   ========================================================================== */
.trust-grid {
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 992px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

.trust-logo-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.trust-logo-card img {
  max-height: 32px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.trust-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.map-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   BLOCK 7: FAQ (ACCORDION)
   ========================================================================== */
.faq-container {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(0, 48, 135, 0.15);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-blue);
  cursor: pointer;
  user-select: none;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-toggle-icon {
  background-color: var(--accent-teal);
  color: var(--text-light);
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-content-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-content-inner {
  border-top-color: #f1f5f9;
}

/* ==========================================================================
   BLOCK 8: CTA FINAL
   ========================================================================== */
.final-cta {
  background: var(--gradient-hero);
  color: var(--text-light);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  z-index: 0;
}

.final-cta-content {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.final-cta-title {
  font-size: 2.25rem;
  color: var(--text-light);
}

.final-cta-text {
  color: #cbd5e1;
  font-size: 1.1rem;
}

.final-cta .btn {
  max-width: 320px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #0b192c;
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 1px solid #1e293b;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 350px;
}

.footer-logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo {
  height: 28px;
  opacity: 0.65;
  transition: var(--transition-smooth);
}

.footer-logo:hover {
  opacity: 1;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-title {
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #94a3b8;
}

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

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 0.8rem;
}

.whatsapp-float-container {
  display: flex;
  align-items: center;
}

.whatsapp-discrete {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #128c7e;
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.whatsapp-discrete:hover {
  background-color: #075e54;
  color: var(--text-light);
  transform: translateY(-1px);
}

.whatsapp-icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   THANK YOU PAGE (GRACIAS.HTML) SPECIFIC STYLES
   ========================================================================== */
.thankyou-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.thankyou-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .thankyou-card {
    padding: 4rem 3rem;
  }
}

.success-icon-badge {
  width: 80px;
  height: 80px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: scaleUp 0.5s ease forwards;
}

@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.thankyou-title {
  font-size: 2.25rem;
  color: var(--primary-blue);
  line-height: 1.2;
}

.thankyou-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.thankyou-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.thankyou-ctas .btn {
  width: 100%;
}

@media (min-width: 992px) { .bloque3-grid { grid-template-columns: 1fr 1fr !important; } } .checklist-3d-img { max-width: 100%; width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); margin: 0 auto; position: relative; z-index: 10; } @media (min-width: 992px) { .checklist-3d-img { max-width: 125%; width: 125%; left: -10%; margin-top: -10rem; margin-bottom: -4rem; } } .tool-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; max-width: 1050px; margin: 0 auto; } @media (min-width: 992px) { .tool-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; } } .tool-box { background-color: #002d72; border: 1px solid rgba(135, 175, 255, 0.4); border-radius: 4px; padding: 1.5rem; box-shadow: 0 15px 40px rgba(0,0,0,0.6); } @media (min-width: 768px) { .tool-box { padding: 2.5rem; } } @media (max-width: 991px) { .hero-form-wrapper { margin: 0 auto; max-width: 100%; } }
