/**
* Template Name: Append
* Template URL: https://bootstrapmade.com/append-bootstrap-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "PT Serif", serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1f2227; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #9f1615; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #3a3939;  /* The default color of the main navmenu links */
  --nav-hover-color: #9f1615; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #3a3939; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #9f1615; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 24px;
  font-weight: 600;
  padding-left: 3px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 4px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #ffffff;
  --nav-color: rgba(255, 255, 255, 0.5);
  --nav-hover-color: #ffffff;
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: #ffffff;
  --heading-color: #32353a;
  --nav-color: #3a3939;
  --nav-hover-color: #e84545;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--default-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-brokerage {
  margin-bottom: 14px;
}

.footer .footer-broker-logo {
  max-width: 140px;
  height: auto;
  max-height: 28px;
  display: block;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.footer .footer-broker-logo:hover {
  opacity: 1;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 98px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 64px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
  padding: 10px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
  border-radius: 7px;
  display: inline-block;
}

.about .content h2 {
  font-weight: 700;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

.about .icon-box {
  background-color: var(--surface-color);
  padding: 50px 40px;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease-out 0s;
}

.about .icon-box i {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  line-height: 0;
  transition: all 0.4s ease-out 0s;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.about .icon-box h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
}

.about .icon-box p {
  margin-bottom: 0;
}

.about .icon-box:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.about .icon-boxes .col-md-6:nth-child(4) .icon-box {
  margin-top: -40px;
}

@media (max-width: 768px) {

  .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
  .about .icon-boxes .col-md-6:nth-child(4) .icon-box {
    margin-top: 0;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Joe Barragan Realtor Landing Page Custom Styles
--------------------------------------------------------------*/
/* Top Bar */
.topbar {
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  width: 100%;
}

.topbar a {
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.topbar a:hover {
  opacity: 0.85;
}

.topbar .topbar-info i {
  font-size: 15px;
}

.topbar .topbar-social a {
  background: rgba(255, 255, 255, 0.18);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.topbar .topbar-social a:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  opacity: 1;
}

.topbar .topbar-social i {
  font-size: 14px;
  line-height: 1;
  margin: 0;
}

.header {
  padding: 0 !important;
  flex-direction: column;
}

.header .branding {
  width: 100%;
  padding: 7px 0;
  transition: all 0.3s ease;
}

.header .logo img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

/* Header Logo Toggle: Light logo for transparent/dark hero header, Dark logo for scrolled/white header */
.header .logo .logo-light {
  display: block;
}

.header .logo .logo-dark {
  display: none;
}

.scrolled .header .logo .logo-light {
  display: none !important;
}

.scrolled .header .logo .logo-dark {
  display: block !important;
}

/* Hero Customizations */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 175px 0 80px 0;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 130px 0 50px 0;
  }
}

.hero .hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 18, 22, 0.88) 0%, rgba(30, 15, 15, 0.82) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}

.hero .lead-text {
  font-size: 1.25rem;
  color: #e5e7eb;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 750px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px); */
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-badge-item i {
  color: #9f1615; /* bright checkmark */
  font-size: 1.1rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.btn-hero-primary {
  background: var(--accent-color);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 34px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(159, 22, 21, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-primary:hover {
  background: #7d1110;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(159, 22, 21, 0.5);
  color: #ffffff;
}
.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.btn-hero-whatsapp {
  background: #25D366;
  border: 1.5px solid #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 28px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-hero-whatsapp:hover {
  background: #1eb956;
  border-color: #1eb956;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Cotizar Form Section */
.cotizar-section {
  padding: 90px 0;
}

.cotizar-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  padding: 45px;
}

@media (max-width: 576px) {
  .cotizar-card {
    padding: 25px 18px;
  }
}

.cotizar-card .form-label {
  font-weight: 600;
  color: #2b2d42;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.cotizar-card .form-control,
.cotizar-card .form-select {
  border: 1.5px solid #dee2e6;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.cotizar-card .form-control:focus,
.cotizar-card .form-select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(159, 22, 21, 0.15);
}

/* Form Action Buttons */
.form-actions-wrapper {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #edf2f7;
}

.btn-submit-primary {
  background: var(--accent-color);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 8px;
  width: 100%;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.btn-submit-primary:hover {
  background: #7d1110;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(159, 22, 21, 0.3);
}

.btn-whatsapp-submit {
  background: #25D366;
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 8px;
  width: 100%;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.btn-whatsapp-submit:hover {
  background: #1eb956;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.form-trust-note {
  font-size: 0.85rem;
  color: #6c757d;
  text-align: center;
  margin-top: 15px;
}

.form-trust-note i {
  color: #198754;
  margin-right: 4px;
}

/* Modern How It Works Section */
.how-it-works {
  position: relative;
  overflow: hidden;
}

.steps-connector {
  position: absolute;
  top: 95px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--accent-color) 0, var(--accent-color) 8px, transparent 8px, transparent 16px);
  z-index: 1;
  opacity: 0.35;
}

.step-card-modern {
  background: #ffffff;
  border-radius: 16px;
  padding: 38px 28px 30px;
  position: relative;
  border: 1px solid #edf2f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2;
}

.step-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(159, 22, 21, 0.12);
  border-color: rgba(159, 22, 21, 0.3);
}

.step-card-modern .step-watermark {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent-color);
  opacity: 0.06;
  line-height: 1;
  font-family: var(--heading-font);
  user-select: none;
  pointer-events: none;
}

.step-card-modern .step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.step-card-modern .step-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(159, 22, 21, 0.08) 0%, rgba(159, 22, 21, 0.16) 100%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: all 0.3s ease;
  border: 1px solid rgba(159, 22, 21, 0.15);
}

.step-card-modern:hover .step-icon-box {
  background: var(--accent-color);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(159, 22, 21, 0.35);
}

.step-card-modern .step-badge {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 50px;
  background: #f1f3f5;
  color: #495057;
  transition: all 0.3s ease;
}

.step-card-modern:hover .step-badge {
  background: rgba(159, 22, 21, 0.1);
  color: var(--accent-color);
}

.step-card-modern h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1a1d20;
}

.step-card-modern p {
  color: #555a64;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.step-card-modern .step-footer {
  padding-top: 15px;
  border-top: 1px solid #f1f3f5;
}

.step-card-modern .step-highlight {
  font-size: 0.85rem;
  font-weight: 600;
  color: #198754;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.step-cta-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 30px;
  border: 1.5px dashed rgba(159, 22, 21, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  max-width: 680px;
  margin: 0 auto;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 90px;
  z-index: 999;
  background: #25D366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

/* Premium Respaldo / Stats Section */
.stats,
.stats.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.stats img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.stats .stats-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 16, 20, 0.75) 0%, rgba(28, 12, 12, 0.65) 100%);
  z-index: 2;
}

.stats .container {
  position: relative;
  z-index: 3;
}

.stats-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(159, 22, 21, 0.25);
  border: 1px solid rgba(159, 22, 21, 0.5);
  color: #ff8a88;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
}

.stat-card-premium {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 35px 22px 28px;
  text-align: center;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-card-premium:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(159, 22, 21, 0.6);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(159, 22, 21, 0.25);
}

.stat-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(159, 22, 21, 0.2);
  border: 1.5px solid rgba(159, 22, 21, 0.4);
  color: #ff6b68;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.stat-card-premium:hover .stat-icon-wrapper {
  background: var(--accent-color);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(159, 22, 21, 0.5);
}

.stat-number-wrapper {
  font-size: 2.7rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--heading-font);
}

.stat-number-wrapper .stat-symbol {
  color: var(--accent-color);
  margin-left: 2px;
}

.stat-card-premium h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.stat-card-premium p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* CTA Final Section */
.cta-final-section {
  position: relative;
  padding: 100px 0;
  color: #ffffff;
  overflow: hidden;
}

.cta-final-section img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cta-final-section .cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 16, 20, 0.85) 0%, rgba(38, 14, 14, 0.8) 100%);
  z-index: 2;
}

.cta-final-section .container {
  position: relative;
  z-index: 3;
}

.cta-final-section h2 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .cta-final-section h2 {
    font-size: 2rem;
  }
}

.cta-final-section p.lead {
  color: #e2e8f0;
  font-size: 1.25rem;
  margin-bottom: 35px;
}

/*--------------------------------------------------------------
# Privacy Policy & Terms Pages
--------------------------------------------------------------*/
.privacy-page .page-title,
.terms-page .page-title {
  background: linear-gradient(135deg, #181b20 0%, #2c1212 100%);
  color: #ffffff;
  padding: 55px 0 45px;
}

.privacy-page .page-title h1,
.terms-page .page-title h1 {
  color: #ffffff;
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.privacy-page .page-title .last-update,
.terms-page .page-title .last-update {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(159, 22, 21, 0.35);
  border: 1px solid rgba(159, 22, 21, 0.55);
  color: #ffb4b3;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
}

.privacy-page .page-title .breadcrumbs,
.terms-page .page-title .breadcrumbs {
  background: transparent;
  padding: 15px 0 0;
}

.privacy-page .page-title .breadcrumbs ol,
.terms-page .page-title .breadcrumbs ol {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.privacy-page .page-title .breadcrumbs ol a,
.terms-page .page-title .breadcrumbs ol a {
  color: #ffffff;
  text-decoration: none;
}

.privacy-page .page-title .breadcrumbs ol a:hover,
.terms-page .page-title .breadcrumbs ol a:hover {
  color: #ff8a88;
}

.privacy-page .page-title .breadcrumbs ol li + li::before,
.terms-page .page-title .breadcrumbs ol li + li::before {
  color: rgba(255, 255, 255, 0.4);
}

.privacy-content-section {
  background-color: #f8f9fa;
  padding: 60px 0 90px;
}

/* Sticky Table of Contents */
.privacy-toc-wrapper {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e9ecef;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  padding: 24px;
}

.privacy-toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2227;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f3f5;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: calc(100vh - 360px);
  overflow-y: auto;
}

.privacy-toc-list li {
  margin-bottom: 6px;
}

.privacy-toc-list a {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 8px;
  color: #495057;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.35;
}

.privacy-toc-list a:hover,
.privacy-toc-list a.active {
  background-color: rgba(159, 22, 21, 0.1);
  color: var(--accent-color);
  padding-left: 16px;
  font-weight: 600;
}

.privacy-toc-help {
  margin-top: 20px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(159, 22, 21, 0.08) 0%, rgba(159, 22, 21, 0.03) 100%);
  border: 1px dashed rgba(159, 22, 21, 0.3);
  border-radius: 10px;
  text-align: center;
}

.privacy-toc-help h6 {
  font-weight: 700;
  color: #1f2227;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.privacy-toc-help p {
  font-size: 0.82rem;
  color: #6c757d;
  margin-bottom: 10px;
}

/* Privacy Legal Body */
.privacy-legal-body .privacy-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e9ecef;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  padding: 34px 38px;
  margin-bottom: 26px;
  scroll-margin-top: 110px;
}

@media (max-width: 768px) {
  .privacy-legal-body .privacy-card {
    padding: 24px 20px;
  }
}

.privacy-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1f2227;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.privacy-card h2 .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(159, 22, 21, 0.1);
  color: var(--accent-color);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.privacy-card p {
  color: #4b5563;
  line-height: 1.75;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.privacy-card p:last-child {
  margin-bottom: 0;
}

.privacy-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.privacy-card ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #4b5563;
  line-height: 1.65;
  font-size: 0.96rem;
}

.privacy-card ul li::before {
  content: "\F270";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent-color);
  font-size: 1rem;
}

.privacy-highlight-box {
  background: #fdf3f3;
  border-left: 4px solid var(--accent-color);
  border-radius: 0 10px 10px 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.privacy-highlight-box p {
  margin-bottom: 0;
  color: #7f1d1d;
  font-weight: 600;
}

.privacy-contact-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}

.privacy-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.privacy-contact-item:last-child {
  margin-bottom: 0;
}

.privacy-contact-item i {
  width: 36px;
  height: 36px;
  background: rgba(159, 22, 21, 0.1);
  color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.privacy-contact-item .contact-detail strong {
  display: block;
  font-size: 0.82rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy-contact-item .contact-detail span,
.privacy-contact-item .contact-detail a {
  font-size: 0.98rem;
  color: #1e293b;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Language Switcher
--------------------------------------------------------------*/
.header-actions {
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  user-select: none;
}

.lang-switcher .lang-item {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lang-switcher .lang-item:hover {
  color: #ffffff;
}

.lang-switcher .lang-item.active {
  color: #ffffff;
  font-weight: 800;
  cursor: default;
}

.lang-switcher .lang-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

/* Scrolled Header or Non-Index Pages */
.scrolled .lang-switcher,
.header:not(.fixed-top) .lang-switcher,
.privacy-page .lang-switcher,
.terms-page .lang-switcher {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

.scrolled .lang-switcher .lang-item,
.header:not(.fixed-top) .lang-switcher .lang-item,
.privacy-page .lang-switcher .lang-item,
.terms-page .lang-switcher .lang-item {
  color: #6c757d;
}

.scrolled .lang-switcher .lang-item:hover,
.header:not(.fixed-top) .lang-switcher .lang-item:hover,
.privacy-page .lang-switcher .lang-item:hover,
.terms-page .lang-switcher .lang-item:hover {
  color: var(--accent-color);
}

.scrolled .lang-switcher .lang-item.active,
.header:not(.fixed-top) .lang-switcher .lang-item.active,
.privacy-page .lang-switcher .lang-item.active,
.terms-page .lang-switcher .lang-item.active {
  color: var(--accent-color);
  font-weight: 800;
}

.scrolled .lang-switcher .lang-sep,
.header:not(.fixed-top) .lang-switcher .lang-sep,
.privacy-page .lang-switcher .lang-sep,
.terms-page .lang-switcher .lang-sep {
  color: #cbd5e1;
}

@media (max-width: 1200px) {
  .header .header-actions {
    order: 2;
    margin: 0 10px 0 0;
  }
}

@media (max-width: 576px) {
  .header-actions {
    gap: 6px;
  }
  .lang-switcher {
    padding: 3px 8px;
    font-size: 11.5px;
    gap: 4px;
  }
  .header .btn-getstarted {
    font-size: 11.5px !important;
    padding: 6px 12px !important;
  }
}

/* Toast Notification for Coming Soon */
.lang-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.lang-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-toast i {
  color: #ff6b68;
  font-size: 20px;
  flex-shrink: 0;
}

/*--------------------------------------------------------------
# Quien Soy Section
--------------------------------------------------------------*/
.quien-soy-section {
  padding: 85px 0;
  background-color: #ffffff;
  position: relative;
}

.quien-soy-img-wrapper {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

.quien-soy-img-wrapper .img-frame {
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border: 3px solid rgba(159, 22, 21, 0.2);
  border-radius: 24px;
  z-index: 1;
  transition: all 0.3s ease;
}

.quien-soy-img-wrapper:hover .img-frame {
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border-color: var(--accent-color);
}

.quien-soy-img-wrapper img {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.quien-soy-badge {
  position: absolute;
  bottom: -15px;
  right: 10px;
  z-index: 3;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 14px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quien-soy-badge i {
  font-size: 26px;
  color: var(--accent-color);
}

.quien-soy-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.quien-soy-badge .badge-text strong {
  font-size: 0.92rem;
  color: #1f2227;
}

.quien-soy-badge .badge-text span {
  font-size: 0.78rem;
  color: #6c757d;
}

.quien-soy-content {
  padding-left: 20px;
}

@media (max-width: 991px) {
  .quien-soy-content {
    padding-left: 0;
    margin-top: 40px;
  }
}

.quien-soy-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  margin-bottom: 8px;
  display: inline-block;
}

.quien-soy-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1f2227;
  margin-bottom: 14px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .quien-soy-content h2 {
    font-size: 1.95rem;
  }
}

.quien-soy-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 18px;
  line-height: 1.5;
}

.quien-soy-text {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 16px;
}

.quien-soy-highlights {
  margin: 24px 0 32px;
}

.quien-soy-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease;
  height: 100%;
}

.quien-soy-pill:hover {
  background: #ffffff;
  border-color: rgba(159, 22, 21, 0.4);
  box-shadow: 0 4px 15px rgba(159, 22, 21, 0.08);
  transform: translateY(-2px);
}

.quien-soy-pill i {
  font-size: 20px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.quien-soy-pill span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
}

.quien-soy-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/*--------------------------------------------------------------
# Contact Section Info Items
--------------------------------------------------------------*/
.contact .info-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 36px 26px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  text-align: center;
}

.contact .info-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(159, 22, 21, 0.3);
}

.contact .info-item .icon-box {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  transition: all 0.3s ease;
}

.contact .info-item:hover .icon-box {
  transform: scale(1.08);
}

.contact .info-item .icon-box.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.contact .info-item .icon-box.email {
  background: rgba(159, 22, 21, 0.1);
  color: var(--accent-color);
}

.contact .info-item .icon-box.location {
  background: rgba(30, 41, 59, 0.08);
  color: #1e293b;
}

.contact .info-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2227;
  margin-bottom: 8px;
}

.contact .info-item .contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.contact .info-item .contact-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact .info-item .action-btn {
  margin-top: auto;
}

/*==============================================================
# Comprehensive Mobile & Responsive Refinements
==============================================================*/

/* Reclaim vertical screen real estate when page is scrolled */
.scrolled .topbar {
  display: none !important;
}

.scrolled .header .branding {
  padding: 8px 0;
}

/* Tablet & Mobile Adjustments (<= 768px) */
@media (max-width: 768px) {
  /* Section padding tightening */
  section,
  .section {
    padding: 55px 0;
    scroll-margin-top: 60px;
  }

  .section-title {
    padding-bottom: 35px;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .section-title h2:before,
  .section-title h2:after {
    width: 30px;
  }

  /* Header & Logo */
  .header .branding {
    padding: 8px 0;
  }

  .header .logo img {
    max-height: 36px;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
    padding: 130px 0 50px 0;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.22;
    margin-bottom: 16px;
  }

  .hero .lead-text {
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  /* Form Elements: 16px font-size prevents annoying iOS Safari auto-zoom */
  .cotizar-card .form-control,
  .cotizar-card .form-select {
    font-size: 16px !important;
  }

  /* QuiÃ©n Soy: Prevent negative offsets from causing horizontal overflow */
  .quien-soy-img-wrapper {
    max-width: 340px;
    margin: 0 auto;
  }

  .quien-soy-img-wrapper .img-frame {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border-width: 2px;
  }

  .quien-soy-img-wrapper:hover .img-frame {
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
  }

  .quien-soy-content {
    margin-top: 35px;
  }

  .quien-soy-content h2 {
    font-size: 1.85rem;
  }

  /* Floating WhatsApp and Scroll Top Buttons */
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
  }

  .scroll-top {
    bottom: 82px;
    right: 23px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    z-index: 9998;
  }

  .scroll-top i {
    font-size: 22px;
  }
}

/* Smartphone Adjustments (<= 576px) */
@media (max-width: 576px) {
  /* Slim, single-line Top Bar */
  .topbar {
    padding: 6px 0;
    font-size: 12px;
  }

  .topbar-social {
    display: none !important;
  }

  .topbar-info {
    width: 100%;
    justify-content: center;
    gap: 12px !important;
  }

  .topbar-info span.d-none.d-sm-inline {
    display: inline !important;
  }

  /* Header Actions & Get Started Button */
  .header-actions {
    gap: 6px;
  }

  .lang-switcher {
    padding: 4px 8px;
    font-size: 11px;
    gap: 4px;
  }

  .header .btn-getstarted {
    font-size: 11.5px !important;
    padding: 6px 11px !important;
    letter-spacing: 0;
    font-weight: 700;
  }

  .header .logo img {
    max-height: 34px;
  }

  /* Hero Badges & Buttons */
  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }

  .hero-badge-item {
    font-size: 0.82rem;
    padding: 5px 12px;
    gap: 6px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn-hero-primary,
  .hero-cta-group .btn-hero-whatsapp {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.98rem;
  }

  /* QuiÃ©n Soy Section */
  .quien-soy-section {
    padding: 50px 0;
  }

  .quien-soy-img-wrapper {
    max-width: 290px;
  }

  .quien-soy-badge {
    bottom: -10px;
    right: 0;
    padding: 7px 12px;
    gap: 8px;
    border-radius: 10px;
  }

  .quien-soy-badge i {
    font-size: 20px;
  }

  .quien-soy-badge .badge-text strong {
    font-size: 0.82rem;
  }

  .quien-soy-badge .badge-text span {
    font-size: 0.72rem;
  }

  .quien-soy-content h2 {
    font-size: 1.7rem;
  }

  .quien-soy-lead {
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .quien-soy-text {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .quien-soy-pill {
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  .quien-soy-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .quien-soy-cta-group .btn-hero-primary,
  .quien-soy-cta-group .btn-hero-whatsapp {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.98rem;
  }

  /* Beneficios (About) */
  .about .content h2 {
    font-size: 1.7rem;
  }

  .about .content .read-more {
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
    margin-bottom: 20px;
  }

  .about .icon-box {
    padding: 26px 18px;
    margin-bottom: 12px;
  }

  .about .icon-box i {
    width: 60px;
    height: 60px;
    font-size: 26px;
    margin-bottom: 16px;
  }

  .about .icon-box h3 {
    font-size: 1.15rem;
  }

  .about .icon-box p {
    font-size: 0.92rem;
  }

  /* Cotizar Form */
  .cotizar-section {
    padding: 55px 0;
  }

  .cotizar-card {
    padding: 22px 15px;
    border-radius: 12px;
  }

  .cotizar-card .form-label {
    font-size: 0.9rem;
  }

  .btn-submit-primary,
  .btn-whatsapp-submit {
    padding: 13px 16px;
    font-size: 0.95rem;
  }

  .form-trust-note {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  /* CÃ³mo Funciona */
  .how-it-works {
    padding: 55px 0;
  }

  .step-card-modern {
    padding: 24px 18px 20px;
    border-radius: 14px;
  }

  .step-card-modern .step-watermark {
    font-size: 2.8rem;
    top: 8px;
    right: 12px;
  }

  .step-card-modern .step-icon-box {
    width: 50px;
    height: 50px;
    font-size: 22px;
    border-radius: 12px;
  }

  .step-card-modern h4 {
    font-size: 1.15rem;
  }

  .step-card-modern p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .step-cta-box {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .step-cta-box .d-flex {
    flex-direction: column;
    gap: 10px !important;
  }

  .step-cta-box .btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  /* Confianza / Stats */
  .stats.section {
    padding: 55px 0;
  }

  .stats.section h2 {
    font-size: 1.65rem;
  }

  .stats-badge-tag {
    font-size: 0.78rem;
    padding: 5px 14px;
    letter-spacing: 0.4px;
  }

  .stat-card-premium {
    padding: 20px 15px;
    border-radius: 14px;
  }

  .stat-icon-wrapper {
    width: 46px;
    height: 46px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .stat-number-wrapper {
    font-size: 2.2rem;
    margin-bottom: 4px;
  }

  .stat-card-premium h4 {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .stat-card-premium p {
    font-size: 0.84rem;
  }

  /* FAQ */
  .faq.section {
    padding: 55px 0;
  }

  .faq .faq-container .faq-item {
    padding: 16px 14px;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .faq .faq-container .faq-item h3 {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 28px 0 0;
  }

  .faq .faq-container .faq-item .faq-toggle {
    top: 16px;
    right: 14px;
    font-size: 15px;
  }

  .faq .faq-container .faq-item .faq-content p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* CTA Final */
  .cta-final-section {
    padding: 65px 0;
  }

  .cta-final-section h2 {
    font-size: 1.75rem;
  }

  .cta-final-section p.lead {
    font-size: 1.05rem;
    margin-bottom: 24px;
  }

  .cta-final-section .d-flex {
    flex-direction: column;
    width: 100%;
    gap: 12px !important;
  }

  .cta-final-section .btn-hero-primary,
  .cta-final-section .btn-hero-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Contacto */
  .contact.section {
    padding: 55px 0;
  }

  .contact .info-item {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .contact .info-item .icon-box {
    width: 52px;
    height: 52px;
    font-size: 22px;
    margin-bottom: 14px;
  }

  .contact .info-item h4 {
    font-size: 1.15rem;
  }

  .contact .info-item .contact-value {
    font-size: 1rem;
  }

  .contact .info-item .contact-desc {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }

  /* Footer */
  .footer .footer-top {
    padding-top: 40px;
  }

  .footer {
    padding-bottom: 35px;
  }

  /* Toast Notification */
  .lang-toast {
    left: 15px;
    right: 15px;
    bottom: 20px;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
    font-size: 12.5px;
  }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
  .header-actions {
    gap: 4px;
  }

  .lang-switcher {
    padding: 3px 6px;
    font-size: 10.5px;
  }

  .header .btn-getstarted {
    font-size: 10.5px !important;
    padding: 5px 8px !important;
  }

  .header .logo img {
    max-height: 29px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .btn-submit-primary,
  .btn-whatsapp-submit {
    font-size: 0.88rem;
    padding: 12px 12px;
  }
}

/*--------------------------------------------------------------
# Cookie Consent Banner (Modern & Non-Intrusive)
--------------------------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 430px;
  width: calc(100% - 48px);
  background: #0d1520;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(159, 22, 21, 0.25);
  z-index: 99999;
  padding: 20px 22px;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.4s ease;
  font-family: var(--default-font, 'Montserrat', sans-serif);
}

.cookie-consent-banner.cookie-banner-show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.98rem;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.cookie-btn-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.cookie-btn-close:hover {
  color: #ffffff;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.cookie-banner-text a {
  color: #f87171;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
  color: #ef4444;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.cookie-btn {
  flex: 1;
  padding: 9px 16px;
  border-radius: 25px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--primary-color, #9f1615);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(159, 22, 21, 0.35);
}

.cookie-btn-accept:hover {
  background-color: var(--primary-hover, #bf1d1c);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(159, 22, 21, 0.5);
}

.cookie-btn-essential {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-essential:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 576px) {
  .cookie-consent-banner {
    bottom: 14px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    padding: 16px 18px;
    border-radius: 14px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-btn {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.86rem;
  }
}