@charset "UTF-8";
:root {
  /* Colors */
  --colors-primary-100: #e8eefc;
  --colors-primary-200: #bfcff7;
  --colors-primary-300: #132a8c;
  --colors-primary-400: #0c2464;
  --colors-primary-500: #07163b;
  --colors-secondary-100: #e5f0db;
  --colors-secondary-200: #7f9f60;
  --colors-secondary-300: #3e5824;
  --colors-secondary-400: #2e411b;
  --colors-secondary-500: #19240f;
  --colors-light-100: #f3f3f2;
  --colors-light-200: #e6e7e4;
  --colors-light-300: #dadbd7;
  --colors-light-400: #cecfc9;
  --colors-light-500: #c1c2bc;
  --colors-dark-100: #848679;
  --colors-dark-200: #6a6b61;
  --colors-dark-300: #4f5049;
  --colors-dark-400: #353630;
  --colors-dark-500: #1a1b18;
  --colors-system-light-100: #fff;
  --colors-system-light-200: #f2f1ee;
  --colors-system-light-300: #ecece9;
  --colors-system-light-400: #e1dfdb;
  --colors-system-light-500: #cccac2;
  --colors-system-dark-100: #51575c;
  --colors-system-dark-200: #3f4448;
  --colors-system-dark-300: #373c3f;
  --colors-system-dark-400: #2f3438;
  --colors-system-dark-500: #1b2227;
  --colors-blue-100: #e8f3f9;
  --colors-blue-200: #c2e0f0;
  --colors-blue-300: #2c81b1;
  --colors-blue-400: #1b4e6a;
  --colors-brown-100: #f6ecec;
  --colors-brown-200: #d0b2a5;
  --colors-brown-300: #9f6b53;
  --colors-brown-400: #54382c;
  --colors-orange-100: #fcebdb;
  --colors-orange-200: #f7c89c;
  --colors-orange-300: #d97f26;
  --colors-orange-400: #6c4013;
  --colors-purple-100: #f6f2fb;
  --colors-purple-200: #dbcdee;
  --colors-purple-300: #9256bf;
  --colors-purple-400: #522a6f;
  --colors-pink-100: #fbf0f6;
  --colors-pink-200: #f1c6de;
  --colors-pink-300: #d65c9d;
  --colors-pink-400: #661942;
  --colors-gray-100: #f1f1ef;
  --colors-gray-200: #e7e7e4;
  --colors-gray-300: #787773;
  --colors-gray-400: #3f3e3c;
  --colors-red-100: #feebed;
  --colors-red-200: #fecdd2;
  --colors-red-300: #dd433e;
  --colors-red-400: #821a17;
  --colors-yellow-100: #fcf4db;
  --colors-yellow-200: #f8e2a5;
  --colors-yellow-300: #d49325;
  --colors-yellow-400: #8b6118;
  --colors-green-100: #ecf4ea;
  --colors-green-200: #cde3c9;
  --colors-green-300: #3b8b61;
  --colors-green-400: #204b34;
  --colors-white: #fff;
  --colors-black: #000;
  /* Typography */
  --font: "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  /* Gaps */
  --xs-gap: 0.25rem;
  --sm-gap: 0.5rem;
  --df-gap: 1rem;
  --md-gap: 1.5rem;
  --lg-gap: 3rem;
  --xl-gap: 6rem;
  --xxl-gap: 8rem;
  /* Radius */
  --radius-sm: 0.1875rem;
  --radius: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.125rem;
  --radius-xl: 1.5rem;
  /* Breakpoints */
  --breaks-xs: 21.4375rem;
  --breaks-sm: 44rem;
  --breaks-md: 60rem;
  --breaks-lg: 80rem;
  --breaks-xl: 100rem;
  --2k: 125rem;
  --4k: 120rem;
  /* Faq */
  --header-padding: 1rem 0;
  --content-padding: 0 1.5rem 1.5rem 1.5rem;
  --border-color: #e4e4e7;
  --title: 1rem;
  --content: 0.95rem;
  --icon-size: 1.5rem;
  --primary-color: var(--colors-primary-300);
  --border-radius: 0.75rem;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* Encabezados */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--colors-dark-500);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

/* Texto */
p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--colors-dark-400);
}

/* Enlaces */
a {
  color: var(--colors-primary-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--colors-blue-400);
}

/* Botones */
a {
  text-decoration: none;
}

button,
.btn {
  background-color: var(--colors-primary-300);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
.btn:hover {
  background-color: var(--colors-primary-400);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (width > 1024px) {
  .section-header {
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 2rem;
    padding: 0;
  }
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--colors-dark-500);
}
@media (width > 1024px) {
  .section-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 120%;
    color: var(--colors-dark-500);
    width: 450px;
  }
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 140%;
  color: var(--colors-dark-400);
}
@media (width > 1024px) {
  .section-subtitle {
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
    color: var(--colors-dark-400);
    width: 40%;
  }
}

@media (width > 1920px) {
  .container {
    max-width: 1440px;
    padding: 0;
  }
  .section-header {
    max-width: 1440px;
    margin: 0 auto 2rem;
  }
  .section-title {
    font-size: 2.5rem;
    width: 600px;
  }
  .section-subtitle {
    font-size: 1.125rem;
  }
}
/** Hero section styles
** 1 - Hero section container
** 2 - Hero content
** 3 - Hero title
** 4 - Hero subtitle
** 5 - Hero button
** 6 - Hero ribbon
*/
.hero-section {
  background: url("../img/secciones/hero-mobile.webp");
  background-size: cover;
  background-position: top;
  padding: 100px 1.5rem 0;
  min-height: 80vh;
  animation: fadeIn 0.7s ease-in-out;
}

.hero-section .inner {
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--colors-dark-500);
  animation: fadeInUp 0.7s ease-in-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero-title span {
  color: var(--colors-primary-300);
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 150%;
  color: var(--colors-dark-400);
  animation: fadeInUp 0.7s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.hero-content a {
  animation: fadeInUp 0.7s ease-in-out forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.ribbon {
  background: var(--colors-primary-300);
  animation: fadeIn 0.7s ease-in-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.ribbon .box-item {
  animation: fadeInUp 0.7s ease-in-out forwards;
  animation-delay: 0.9s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ribbon .item {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  padding: 1.5rem;
  gap: 1rem;
  color: #ffffff;
  width: 100%;
}

.ribbon .item:nth-child(2) {
  border-width: 1px 0 1px 0;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.2);
}

.ribbon h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 150%;
  color: #ffffff;
}

.ribbon p {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 150%;
  color: #ffffff;
  opacity: 0.85;
}

.ribbon-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
}

/** Version escritorio */
@media (width > 1024px) {
  .hero-section {
    position: relative;
    background: #ffffff;
    padding: 1rem 3rem 0rem 3rem;
    min-height: 680px;
    height: 100%;
  }
  .hero-section .inner {
    background: url("../img/hero/bg_hero_desktop.webp") no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    height: 680px;
    border-radius: 1.25rem 1.25rem 0 0;
  }
  .hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
  }
  .hero-content {
    max-width: 50%;
    margin-bottom: 4rem;
  }
  .ribbon {
    background: #ffffff;
    padding: 0rem 3rem 0rem 3rem;
    margin-bottom: 3rem;
  }
  .ribbon .inner {
    background: var(--colors-primary-300);
    border-radius: 0 0 1.25rem 1.25rem;
  }
  .ribbon .box-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .ribbon .item:nth-child(1) {
    padding-left: 0;
  }
  .ribbon .item:nth-child(2) {
    border-width: 0;
    border-style: none;
    border-color: transparent;
  }
  .ribbon .item:nth-child(3) {
    padding-right: 0;
  }
}

@media (width > 1920px) {
  .hero-section .inner {
    max-width: 1920px;
  }
  .hero-section .container {
    padding: 0 4rem;
  }
  .ribbon {
    max-width: 1920px;
    margin: 0 auto 2rem;
    padding: 0rem;
  }
  .ribbon .box-item {
    padding: 0 2rem;
  }
}
/** Por que elegirnos section
** 1 - Container
** 2 - Title
** 3 - Subtitle
** 4 - Features grid
** 5 - Feature card
*/
.why-choose-us-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.5rem;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}
@media (width > 1024px) {
  .why-choose-us-section {
    padding: 0 0 4rem 0rem;
  }
}
.why-choose-us-section .section-title {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}
.why-choose-us-section .section-subtitle {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  width: 100%;
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 1s;
  opacity: 0;
}

@media (width > 1920px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  border: 1px solid var(--colors-light-300);
}

.feature-card .feature-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--colors-dark-500);
}

.feature-card p {
  font-size: 1rem;
  color: var(--colors-dark-400);
  line-height: 140%;
}

/** Proceso section
** 1 - Container
** 2 - Steps grid
** 3 - Step card
*/
.process-section {
  padding: 2rem 1.5rem;
  background-color: var(--colors-secondary-100);
}
@media (width > 1024px) {
  .process-section {
    padding: 4rem 3rem;
  }
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

@media (width > 1920px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  border: 1px solid var(--colors-light-300);
  min-height: 600px;
}

.step-content {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (width > 1024px) {
  .step-content {
    height: 150px;
  }
}
@media (width > 1920px) {
  .step-content {
    justify-content: flex-end;
  }
}


.step-content .step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--colors-dark-500);
}
.step-content .step-description {
  font-size: 0.875rem;
  color: var(--colors-dark-400);
  line-height: 140%;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1;
}

.step-1 {
  background: url("../img/secciones/process-card-bg-01.webp") no-repeat center center;
  background-size: cover;
  background-position: bottom;
}

.step-2 {
  background: url("../img/secciones/process-card-bg-02.webp") no-repeat center center;
  background-size: cover;
  background-position: bottom;
}

.step-3 {
  background: url("../img/secciones/process-card-bg-03.webp") no-repeat center center;
  background-size: cover;
  background-position: bottom;
  box-shadow: 0 0 0 6px rgba(176, 228, 127, 0.5019607843);
}

/** Acerca de section
** 1 - Container
** 2 - Carrousel
** 3 - Card
*/
.about-section {
  background: url("../img/about/bg-about.webp") var(--colors-blue-100) no-repeat center center;
  background-size: 100%;
  background-position: bottom;
  padding-bottom: 450px;
  position: relative;
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}
@media (width > 1024px) {
  .about-section {
    background-size: 45% 100%;
    background-position: right;
    background-repeat: no-repeat;
    padding-bottom: 0;
  }
}
@media (width > 1920px) {
  .about-section {
    background-size: 45% 200%;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
}
@media (width > 1024px) {
  .about-content {
    max-width: 50%;
    padding: 4rem 3rem 4rem 0;
  }
}

.about-text {
  font-size: 1rem;
  color: var(--colors-dark-400);
  line-height: 1.6;
}

.faq-section {
  background-color: #ffffff;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (width > 1024px) {
  .faq-section {
    padding: 4rem 0;
  }
}

.section-header-faq {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (width > 1024px) {
  .section-header-faq {
    padding: 0;
    max-width: 40%;
  }
}

.faq-container {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0 1.5rem;
}
@media (width > 1024px) {
  .faq-container {
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 2rem;
  }
}

.accordion-container {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (width > 1024px) {
  .accordion-container {
    max-width: 100%;
  }
}

details {
  font-size: var(--title);
  width: 100%;
  position: relative;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease-in-out;
  background: #ffffff;
  border-radius: var(--border-radius);
}

details:hover {
  opacity: 1;
}

summary {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  padding: var(--header-padding);
  padding: 1.5rem;
}

summary:hover {
  text-decoration: underline;
}

summary:hover .title {
  opacity: 1;
}

summary:hover .accordion-icon {
  opacity: 1;
}

.accordion-title {
  color: #151518;
  width: 90%;
  font-weight: 500;
  transition: all 250ms ease-in-out;
}

.accordion-icon {
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
  right: 1rem;
  transition: all 150ms ease-out;
}

.accordion-icon svg {
  width: var(--icon-size);
  height: var(--icon-size);
  transition: transform 0.3s ease-in-out;
}

.accordion-content {
  color: #3c3e47;
  padding: var(--content-padding);
  font-size: var(--content);
  font-weight: 400;
  line-height: 1.65;
}

/** Remove Marker */
summary::-webkit-details-marker {
  display: none;
}

/** Rotate Icon */
details[open] .accordion-icon svg {
  transform: rotate(180deg);
}

.contact-section {
  padding: 2rem 0rem;
}
@media (width > 1024px) {
  .contact-section {
    padding: 4rem 3rem;
  }
}

.contact-section .container {
  background: var(--colors-light-100);
}
@media (width > 1024px) {
  .contact-section .container {
    border-radius: 1rem;
    background: url("../img/contact/bg-contact.webp") #ffffff no-repeat;
    background-size: cover;
    background-position: bottom right;
    border: 1px solid var(--colors-light-200);
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.5rem;
}
@media (width > 1024px) {
  .contact-info {
    max-width: 600px;
    padding: 4rem;
  }
}

.contact-info h2 {
  font-size: 1.5rem;
}
@media (width > 1024px) {
  .contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 110%;
  }
}

.contact-info .highlight {
  color: var(--colors-primary-300);
  font-weight: 700;
}

.contact-info p {
  color: var(--colors-dark-400);
}

.contact-info a {
  color: var(--colors-light-100);
}

.btn-whatsapp {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  background: #1bb353;
  color: var(--colors-light-100);
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.08);
  text-decoration: none;
  transition: background 0.2s;
  text-decoration: none;
}

.btn-text {
  text-decoration: none;
  color: var(--colors-dark-500);
}

.btn-icon {
  margin-right: 0.5rem;
  font-size: 1.2em;
  fill: var(--colors-dark-500);
}

.btn-whatsapp:hover {
  background: #128c7e;
}

.btn-whatsapp .btn-text {
  color: var(--colors-light-100);
}

.btn-whatsapp .icon {
  margin-right: 0.5rem;
  font-size: 1.2em;
}

.contact-methods {
  display: flex;
  gap: 1rem;
}

.contact-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem 1rem;
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  gap: 0.5rem;
  width: 100%;
}
@media (width > 1024px) {
  .contact-box {
    background: var(--colors-light-100);
  }
}

/* Responsive: First mobile */
@media (min-width: 600px) {
  .contact-arch {
    flex-direction: row;
    gap: 2.5rem;
    align-items: flex-start;
  }
  .contact-info,
  .contact-form {
    flex: 1 1 0;
    min-width: 280px;
  }
}
/** Header styles
** 1 - Header container
** 2 - Logo
** 3 - Navigation
** 4 - Menu toggle button 
*/
.header {
  text-align: center;
  z-index: 9999;
}

.header .container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 1.5rem;
}

/* Logo */
.header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40%;
}

.header img {
  max-width: 100%;
}

/* Navigation */
.header .navigation {
  display: none;
}

#menu-toggle {
  display: none;
}

#menu-button {
  display: none;
  padding-top: 0.75rem;
  width: 2rem;
  height: 40px;
  cursor: pointer;
  z-index: 9999;
}

.bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  margin-bottom: 8px;
  transition: transform 0.3s;
}

#menu-toggle:checked + #menu-button .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-3px, 4px);
}

#menu-toggle:checked + #menu-button .bar:nth-child(2) {
  transform: rotate(45deg) translate(-3px, -4px);
}

#menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: auto;
  background-color: #ffffff;
  z-index: 99;
  text-align: center;
  opacity: 0;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  backdrop-filter: blur(8px);
  box-shadow: 0 4rem 4rem rgba(0, 0, 0, 0.1);
}

#menu-toggle:checked ~ #menu {
  display: block;
  opacity: 1;
  animation-name: fadeDown;
}

@keyframes fadeDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}
#menu-toggle:not(:checked) ~ #menu {
  animation-name: fadeTop;
}

@keyframes fadeTop {
  0% {
    transform: translateY(0%);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}
#menu ul {
  list-style: none;
  padding: 1.5rem;
  text-align: left;
}

/* Responsive styles for desktop */
@media (width > 1024px) {
  /* Show navigation menu */
  .header .navigation {
    display: block;
  }
  /* Hide hamburger menu button */
  #menu-toggle,
  #menu-button {
    display: none;
  }
  /* Show menu as horizontal bar */
  #menu {
    display: flex;
    position: relative;
    background: none;
    box-shadow: none;
    opacity: 1;
    animation: none;
    height: auto;
    top: 0;
  }
  #menu ul {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
    text-align: left;
    margin: 0;
  }
  #menu ul li {
    margin-bottom: 0;
  }
  #menu a {
    color: var(--colors-dark-400);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
  }
  #menu a:hover {
    color: var(--colors-primary-400);
  }
  #social-links {
    position: static;
    margin-left: 2rem;
  }
  .header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}
#menu ul li {
  margin-bottom: 20px;
}

#menu a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--colors-dark-400);
  text-decoration: none;
}

#menu a:hover {
  color: var(--colors-primary-400);
}

#social-links {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}

#social-links a {
  display: inline-block;
  margin: 0 10px;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}

.fade-out {
  animation-name: fadeOut;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/** Version escritorio */
@media (width > 1024px) {
  .header .logo {
    max-width: 150px;
  }
  #menu {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
  }
  #menu ul {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
  }
  #menu ul li {
    margin-bottom: 0;
  }
  #menu a {
    color: var(--colors-dark-400);
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
  }
  .header-actions {
    display: flex;
  }
  .header-actions a {
    width: max-content;
  }
}
/** Seccion CTA
** 1 - CTA section container
** 2 - CTA title
** 3 - CTA subtitle
** 4 - CTA button
** 5 - CTA Caracteristicas
*/
.cta-section {
  background: url("../img/cta/bg-cta.webp");
  background-size: cover;
  background-position: center;
  padding: 60px 1.5rem;
  color: #ffffff;
  min-height: 80vh;
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.cta-section .cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  gap: 1rem;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 120%;
  color: var(--colors-dark-500);
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.cta-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 150%;
  color: var(--colors-dark-400);
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.cta-button {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.cta-features {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.cta-features {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 1s;
  opacity: 0;
}

.cta-features .feature {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 0.5rem;
}

.cta-features .feature img {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-features .feature h4 {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 120%;
  color: var(--colors-dark-500);
}

@media (width > 1024px) {
  .cta-section {
    background: url("../img/cta/bg-cta-lg.webp");
    background-size: cover;
    background-position: center;
    padding: 80px 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    max-height: 400px;
    height: 100%;
    min-height: 380px;
    border-radius: 1.125rem;
  }

  @media (width > 1920px) {
    .cta-section {
          max-width: 1440px;
          max-height: 500px;
          min-height: 450px;
    }

    .cta-content {
      margin-top: 3rem;
    }
  }
  

  .cta-section .container {
    margin: 0 0 0 auto;
  }
  .cta-section .cta-content {
    max-width: 50%;
  }
  .cta-title {
    font-size: 2.5rem;
  }
  .cta-subtitle {
    font-size: 1.125rem;
  }
  .cta-features {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* Sección principal */
.insurance-section {
  padding: 60px 0;
  background: var(--colors-blue-100);
  color: white;
  animation: fadeIn 0.7s ease-in-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.insurance-section .section-header {
  display: flex;
  flex-flow: column;
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}
.insurance-section .section-header h2 {
  animation: fadeInUp 0.7s ease-in-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}
.insurance-section .section-header p {
  animation: fadeInUp 0.7s ease-in-out forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

/* Embla Carousel Styles */
.embla {
  position: relative;
  padding-left: 1.5rem;
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  margin-left: -1rem;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.embla__slide {
  transform: translate3d(0, 0, 0);
  flex: 0 0 100%;
  min-width: 0;
  padding-left: 1rem;
}

/* Tarjetas */
.card {
  background: #000000;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

@media (width > 768px) {
  .card {
    height: 500px;
    padding: 1.5rem;
  }
}
.card-1 {
  background: url("../img/servicios/poliza-01.webp");
  background-position: bottom center;
  background-size: 100%;
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}
.card-1 .card-title {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}
.card-1 .card-description {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

.card-2 {
  background: url("../img/servicios/poliza-02.webp");
  background-position: bottom center;
  background-size: 100%;
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}
.card-2 .card-title {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}
.card-2 .card-description {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

.card-3 {
  background: url("../img/servicios/poliza-03.webp");
  background-position: bottom center;
  background-size: 100%;
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}
.card-3 .card-title {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 1s;
  opacity: 0;
}
.card-3 .card-description {
  animation: fadeInUp 1s ease-in-out forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.card-description {
  font-size: 0.875rem;
  color: var(--colors-light-300);
  line-height: 1.5;
}

/* Controles de Embla */
.embla__controls {
  display: grid;
  grid-template-columns: auto 1fr;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.embla__buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  align-items: center;
}

.embla__button {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  box-shadow: inset 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
  width: 3.6rem;
  height: 3.6rem;
  z-index: 1;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.embla__button:disabled {
  color: rgba(255, 255, 255, 0.3);
  cursor: not-allowed;
}

.embla__button:not(:disabled):hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 0.2rem rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.embla__button:not(:disabled):active {
  transform: scale(0.95);
}

.embla__button svg {
  transition: transform 0.2s ease;
}

.embla__button:hover svg {
  transform: scale(1.1);
}

/* Dots/Indicadores */
.embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin-right: -0.6rem;
}

.embla__dot {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.embla__dot:after {
  box-shadow: inset 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  content: "";
  transition: all 0.3s ease;
}

.embla__dot:hover:after {
  box-shadow: inset 0 0 0 0.2rem rgba(255, 255, 255, 0.4);
}

.embla__dot--selected:after {
  box-shadow: inset 0 0 0 0.2rem rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.9);
}

/* Mejoras visuales adicionales */
.card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

/* Responsive Design */
/* Desktop: Grid layout cuando no hay carrusel */
@media (min-width: 1024px) {
  .embla.desktop-grid .embla__viewport {
    overflow: visible;
  }
  .embla.desktop-grid .embla__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-left: 0;
  }
  .embla.desktop-grid .embla__slide {
    padding-left: 0;
    flex: none;
  }
  .embla.desktop-grid .embla__controls {
    display: none;
  }
  .embla.desktop-grid .embla__dots {
    display: none;
  }
}
/* Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
  .embla__slide {
    flex: 0 0 85%;
  }
}
/* Mobile */
@media (max-width: 767px) {
  .insurance-section {
    padding: 40px 0;
  }
  .embla__slide {
    flex: 0 0 90%;
  }
  .embla__button {
    width: 3rem;
    height: 3rem;
  }
  .embla__button svg {
    width: 20px;
    height: 20px;
  }
  .embla__controls {
    margin-top: 1.2rem;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .card-description {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .embla__slide {
    flex: 0 0 95%;
  }
  .embla__controls {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .embla__buttons {
    justify-self: center;
  }
  .embla__dots {
    justify-content: center;
    margin-right: 0;
    margin-top: 1rem;
  }
}
@media (max-width: 767px) {
  /* ...existing code... */
  .embla__controls {
    justify-content: flex-end;
    grid-template-columns: 1fr;
    text-align: right;
  }
  .embla__buttons {
    justify-self: flex-end;
    justify-content: flex-end;
    display: flex;
    gap: 0.6rem;
  }
}
/* Estados de focus para accesibilidad */
.embla__dot:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.embla.desktop-grid .embla__controls {
  display: none;
}

@media (min-width: 1024px) {
  .embla:not(.desktop-grid) .embla__slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
@media (width > 1024px) {
  .insurance-section .section-header {
    display: flex;
    flex-flow: row nowrap;
    padding: 0;
  }
  .embla {
    padding-left: 0rem;
  }
  .card {
    height: 550px;
  }
  .card-1 {
    background: url("../img/servicios/poliza-01-xl.webp");
    background-position: bottom center;
    background-size: cover;
  }
  .card-2 {
    background: url("../img/servicios/poliza-02-xl.webp");
    background-position: bottom center;
    background-size: cover;
  }
  .card-3 {
    background: url("../img/servicios/poliza-03-xl.webp");
    background-size: cover;
    background-position: bottom center;
  }
}
@media (width > 1920px) {
  .card {
    height: 650px;
  }
}
footer {
  background: url("../img/foo/bg-foo-mv.webp") var(--colors-blue-100) no-repeat center center;
  background-size: 100%;
  padding: 1.5rem 0rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background-size: cover;
  height: 850px;
}
@media (width > 1024px) {
  footer {
    background: url("../img/foo/bg-foo.webp") var(--colors-blue-100) no-repeat center center;
    padding: 4rem 3rem;
    background-size: 100%;
  }
}

.logo-box p {
  color: var(--colors-light-100);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 120%;
}

.foo-content {
  display: flex;
  flex-direction: column;
  align-items: space-between;
  gap: 1rem;
  padding: 1.5rem;
}
@media (width > 1024px) {
  .foo-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

.foo-content h3 {
  color: var(--colors-light-100);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 120%;
}

.foo-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-width: 1px 0;
  border-style: solid;
  border-color: rgba(243, 243, 242, 0.1882352941);
  padding: 1.5rem 0;
}
@media (width > 1024px) {
  .foo-contact {
    margin-left: 20%;
    border: 0;
  }
}

.foo-content .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--colors-light-100);
}

.foo-content .item:hover {
  color: var(--colors-primary-300);
}

.foo-content .item .btn-icon {
  fill: var(--colors-light-100);
  font-size: 0.875rem;
}

.foo-content .btn-text {
  color: var(--colors-light-100);
  font-weight: 400;
  font-size: 0.875rem;
  text-decoration: none;
}

/** Footer legal links */
.foo-legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.foo-legal .foo-link {
  color: var(--colors-light-100);
  font-weight: 400;
  font-size: 0.875rem;
  text-decoration: none;
}

.foo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.5rem;
}

.foo-copy p {
  color: var(--colors-light-100);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 120%;
}

.fade-in {
  animation: fadeIn 0.7s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fade-in-up {
  animation: fadeInUp 0.7s ease-in-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal .container{
  padding: 1.5rem;
  max-width: 768px;
  margin: 0 auto;
}

.legal h1 {
 font-size: 1.5rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

.legal h3 {
  font-size: 1.125rem;
  margin-top: 1rem;
}

.legal p {
  margin-top: 1rem;
  line-height: 1.6;
  color: var(--colors-dark-400);
}