:root {
  /* Define main color options */
  --red: 2, 100%;
  --green: 146, 39%;
  --blue: 212, 100%;
  --pink: 330, 97%;
  --dark-blue: 225, 40%;
  --orange: 12, 95%;

  --white: hsl(0, 100%, 100%);
  --black: hsl(0, 0%, 0%);
  --grey: hsl(0, 0%, 50%);

  /* Set the main highlight color */
  --hs-color: var(--blue);

  /* Dynamically adjust dark and light shades */
  --darker: hsl(var(--hs-color), 8%);
  --dark: hsl(var(--hs-color), 30%);
  --light: hsl(var(--hs-color), 70%);
  --lighter: hsl(var(--hs-color), 97%);

  /* Automatically adjust styles based on main color */
  --color: hsl(var(--hs-color), 50%);
  --color-light: hsl(var(--hs-color), 80%);
  --link-color: hsl(var(--hs-color), 50%);
  --link-color-hover: hsl(var(--hs-color), 35%);
  --button-color: var(--white);
  --border-color: hsl(var(--hs-color), 88%);
  --bg-color: var(--lighter);
  --icon-fill: hsl(var(--hs-color), 50%);
  --text-color: hsl(var(--hs-color), 15%);
  --text-color-light: hsla(var(--dark), 70%);
  --headings-color: hsl(var(--hs-color), 8%);
  --button-radius: 100px;
  --border-radius: 15px;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Figtree", Helvetica, Arial, sans-serif;
  color: var(--headings-color);
  background-color: var(--white);
  font-size: 16px;
  font-weight: 400;
  scroll-behavior: smooth;
}

/* COLORES */

.grey {
  color: var(--grey) !important;
}
.black {
  color: var(--black) !important;
}
.white {
  color: var(--white) !important;
}

.green {
  color: hsl(var(--green), 56%) !important;
}
.red {
  color: hsl(var(--red), 56%) !important;
}
.pink {
  color: hsl(var(--pink), 56%) !important;
}
.dark-blue {
  color: hsl(var(--dark-blue), 56%) !important;
}
.orange {
  color: hsl(var(--orange), 56%) !important;
}

.color {
  color: var(--color) !important;
}
.dark {
  color: var(--dark) !important;
}
.darker {
  color: var(--darker) !important;
}
.light {
  color: var(--light) !important;
}
.lighter {
  color: var(--lighter) !important;
}

/* TYPOGRAPHY */

h1,
h2,
h3 {
  color: var(--headings-color);
  padding-bottom: 20px;
}

.xxl {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  line-height: 1.3;
}

.xl {
  font-size: clamp(1.65rem, 4.5vw, 2.5rem);
  line-height: 1.3;
}

.large {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.4;
}

.medium {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.5;
}

p,
.standard {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
}

.small {
  font-size: clamp(0.875rem, 2vw, 0.95rem);
  line-height: 1.7;
}

.underline {
  border-bottom: 1px solid var(--border-color);
}

.thin {
  font-weight: 300;
}

.regular {
  font-weight: 400;
}

.bold {
  font-weight: 700;
}

b,
strong {
  font-weight: bold;
}

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

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: underline;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid var(--border-color);
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

:target {
  scroll-margin-top: 70px;
}

ul {
  list-style: none;
  padding-left: 10px;
  border-left: 1px solid #ddd;
  margin-bottom: 30px;
}

li {
  margin-bottom: 15px;
  padding-left: 15px;
  line-height: 1.6;
}

/* POSITIONING */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.justify {
  text-align: justify;
}

.pmargin {
  margin-top: 5px;
  margin-bottom: 0px;
}

.background-div {
  background-color: var(--color);
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* IMAGES */

img {
  vertical-align: middle;
  border: 0;
}

.image {
  width: 100%;
  border-radius: var(--border-radius);
  display: block;
  height: auto;
}

@media (max-width: 767px) {
  .image.img-full-width {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
  }
}

/* CSS GRID */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

@media (min-width: 768px) {
  .container {
    width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px;
    padding: 40px 20px;
  }
}

@media (min-width: 1400px) {
  .container {
    width: 1320px;
    padding: 60px 20px;
  }
}

/* Row */
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 1rem;
  padding-bottom: 1rem;
}

[class*="col-"] {
  padding: 0 1.5rem;
}

.col-xs-1 {
  grid-column: span 1;
}
.col-xs-2 {
  grid-column: span 2;
}
.col-xs-3 {
  grid-column: span 3;
}
.col-xs-4 {
  grid-column: span 4;
}
.col-xs-5 {
  grid-column: span 5;
}
.col-xs-6 {
  grid-column: span 6;
}
.col-xs-7 {
  grid-column: span 7;
}
.col-xs-8 {
  grid-column: span 8;
}
.col-xs-9 {
  grid-column: span 9;
}
.col-xs-10 {
  grid-column: span 10;
}
.col-xs-11 {
  grid-column: span 11;
}
.col-xs-12 {
  grid-column: span 12;
}

.col-xs-2-center {
  grid-column: 6 / span 2;
}
.col-xs-4-center {
  grid-column: 5 / span 4;
}
.col-xs-6-center {
  grid-column: 4 / span 6;
}
.col-xs-8-center {
  grid-column: 3 / span 8;
}
.col-xs-10-center {
  grid-column: 2 / span 10;
}

.visible-xs {
  display: block;
}
.hidden-xs {
  display: none;
}

/* Responsive grid */
@media (min-width: 768px) {
  [class*="col-sm-"] {
    display: block;
  }

  .col-sm-1 {
    grid-column: span 1;
  }
  .col-sm-2 {
    grid-column: span 2;
  }
  .col-sm-3 {
    grid-column: span 3;
  }
  .col-sm-4 {
    grid-column: span 4;
  }
  .col-sm-5 {
    grid-column: span 5;
  }
  .col-sm-6 {
    grid-column: span 6;
  }
  .col-sm-7 {
    grid-column: span 7;
  }
  .col-sm-8 {
    grid-column: span 8;
  }
  .col-sm-9 {
    grid-column: span 9;
  }
  .col-sm-10 {
    grid-column: span 10;
  }
  .col-sm-11 {
    grid-column: span 11;
  }
  .col-sm-12 {
    grid-column: span 12;
  }

  .col-sm-2-center {
    grid-column: 6 / span 2;
  }
  .col-sm-4-center {
    grid-column: 5 / span 4;
  }
  .col-sm-6-center {
    grid-column: 4 / span 6;
  }
  .col-sm-8-center {
    grid-column: 3 / span 8;
  }
  .col-sm-10-center {
    grid-column: 2 / span 10;
  }

  .visible-sm {
    display: block;
  }
  .hidden-sm {
    display: none;
  }
}

@media (min-width: 992px) {
  [class*="col-md-"] {
    display: block;
  }

  .col-md-1 {
    grid-column: span 1;
  }
  .col-md-2 {
    grid-column: span 2;
  }
  .col-md-3 {
    grid-column: span 3;
  }
  .col-md-4 {
    grid-column: span 4;
  }
  .col-md-5 {
    grid-column: span 5;
  }
  .col-md-6 {
    grid-column: span 6;
  }
  .col-md-7 {
    grid-column: span 7;
  }
  .col-md-8 {
    grid-column: span 8;
  }
  .col-md-9 {
    grid-column: span 9;
  }
  .col-md-10 {
    grid-column: span 10;
  }
  .col-md-11 {
    grid-column: span 11;
  }
  .col-md-12 {
    grid-column: span 12;
  }

  .col-md-2-center {
    grid-column: 6 / span 2;
  }
  .col-md-4-center {
    grid-column: 5 / span 4;
  }
  .col-md-6-center {
    grid-column: 4 / span 6;
  }
  .col-md-8-center {
    grid-column: 3 / span 8;
  }
  .col-md-10-center {
    grid-column: 2 / span 10;
  }

  .visible-md {
    display: block;
  }
  .hidden-md {
    display: none;
  }
}

@media (min-width: 1200px) {
  [class*="col-lg-"] {
    display: block;
  }

  .col-lg-1 {
    grid-column: span 1;
  }
  .col-lg-2 {
    grid-column: span 2;
  }
  .col-lg-3 {
    grid-column: span 3;
  }
  .col-lg-4 {
    grid-column: span 4;
  }
  .col-lg-5 {
    grid-column: span 5;
  }
  .col-lg-6 {
    grid-column: span 6;
  }
  .col-lg-7 {
    grid-column: span 7;
  }
  .col-lg-8 {
    grid-column: span 8;
  }
  .col-lg-9 {
    grid-column: span 9;
  }
  .col-lg-10 {
    grid-column: span 10;
  }
  .col-lg-11 {
    grid-column: span 11;
  }
  .col-lg-12 {
    grid-column: span 12;
  }

  .col-lg-2-center {
    grid-column: 6 / span 2;
  }
  .col-lg-4-center {
    grid-column: 5 / span 4;
  }
  .col-lg-6-center {
    grid-column: 4 / span 6;
  }
  .col-lg-8-center {
    grid-column: 3 / span 8;
  }
  .col-lg-10-center {
    grid-column: 2 / span 10;
  }

  .visible-lg {
    display: block;
  }
  .hidden-lg {
    display: none;
  }
}

/* NAVBAR */

.navbar {
  background-color: inherit;
  /*box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);*/
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  height: 70px;
  padding: 0px 00px;
  border-bottom: 1px solid var(--border-color);
}

.navbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.navbar li a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
}

.navbar .logo {
  display: block;
  float: left;
  font-size: 20px;
  text-decoration: none;
  height: 100%;
  height: 70px;
  line-height: 70px;
  padding-left: 20px;
}

/* menu */

.navbar .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  background-color: var(--bg-color);
  line-height: 30px;
}

/* menu icon */

.navbar .menu-icon {
  cursor: pointer;
  float: right;
  position: relative;
  user-select: none;
  margin-bottom: 0px;
  padding: 32px 30px;
}

.navbar .menu-icon .navicon {
  background: var(--color);
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}

.navbar .menu-icon .navicon:before,
.navbar .menu-icon .navicon:after {
  background: var(--color);
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.navbar .menu-icon .navicon:before {
  top: 5px;
}

.navbar .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.navbar .menu-btn {
  display: none;
}

.navbar .menu-btn:checked ~ .menu {
  max-height: 500px;
  padding: 20px;
}

.navbar .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.navbar .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.navbar .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.navbar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

@media (min-width: 1180px) {
  .navbar li {
    float: left;
  }

  .navbar li a {
    padding: 0px 20px;
  }

  .navbar .menu {
    clear: none;
    float: right;
    max-height: 69px;
    line-height: 70px;
    padding-right: 20px;
    background-color: inherit;
  }

  .navbar .menu-icon {
    display: none;
  }
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}

/* FOOTER COOKIE BANNER */

.cookiebanner {
  background-color: var(--bg-color);
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
  min-height: 00px;
  padding: 0 20px;
  border-top: 2px solid var(--color);
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional: nice visual */
}

/* SWITCHES */

.btn-switch input[type="radio"] {
  display: none;
}

.btn-switch {
  background-color: var(--lighter);
  color: var(--light);
  border-radius: 5px !important;
  font-weight: 400;
}
.btn-switch:hover,
.btn-switch:focus,
.btn-switch:active,
.btn-switch.active {
  background-color: var(--color);
  color: var(--white);
  border-radius: 5px !important;
}

/* BOTONES */

.btn {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 25px;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0.5rem 0px;
  line-height: 1.6;
  border-radius: var(--button-radius);
  -webkit-transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.btn-nav {
  padding: 7px 20px !important;
}

.btn-main {
  background-color: var(--link-color);
  color: var(--button-color);
  border: 2px var(--link-color) solid;
}

.btn-main:hover,
.btn-main:focus,
.btn-main:active,
.btn-main.active {
  background-color: var(--link-color-hover);
  color: var(--button-color);
  border: 2px var(--link-color-hover) solid;
}

.btn-secondary {
  background-color: var(--button-color);
  color: var(--link-color);
  border: 2px var(--link-color) solid;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
  background-color: var(--lighter);
  color: var(--link-color-hover);
  border: 2px var(--link-color-hover) solid;
}

.w100 {
  width: 100%;
}

@media (min-width: 768px) {
  .w100 {
    width: unset;
  }
}

/* ICONOS */

.icon {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-sizing: content-box;
  display: inline-block;
  color: var(--icon-fill);
  margin-right: 1rem;
  padding: 0.6rem 1rem;
  vertical-align: middle;
}

/* FAQS */

.faq-title {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-sizing: content-box;
  display: inline-block;
  color: var(--dark);
  padding: 0.6rem 1rem;
  margin-bottom: 0px;
}

.faq-item {
  border-radius: var(--border-radius);
  border: 2px solid var(--bg-color);
  box-sizing: content-box;
  display: inline-block;
  padding: 0.6rem 1rem;
  margin-top: 10px;
}

/* FORMS */

.form-color {
  background-color: var(--lighter);
  border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--text-color);
}

input,
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--text-color);
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border: 2px solid var(--color); /* Ensure full border definition */
  outline: none;
  -webkit-box-shadow:
    inset 0 1px 1px rgb(0 0 0 / 8%),
    0 0 8px rgb(0 0 0 / 20%);
  box-shadow:
    inset 0 1px 1px rgb(0 0 0 / 8%),
    0 0 8px rgb(0 0 0 / 20%);
}

input::placeholder,
select::placeholder,
textarea::placeholder {
  color: var(--grey);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

input:disabled {
  background: var(--lighter);
  cursor: not-allowed;
}

.stepper {
  display: flex;
  align-items: center;
}

.stepper button {
  width: 30px;
  height: 30px;
  font-size: 15px;
  text-align: center;
  border: 1px solid var(--color);
  border-radius: 100px;
  background-color: var(--color);
  cursor: pointer;
  color: white;
  font-weight: bold;
}

.stepper input[type="number"] {
  width: 60px;
  margin: 0px 5px;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--text-color);
  font-family: inherit;
  -moz-appearance: textfield; /* Hide spinner for older Firefox */
}

.stepper input[type="number"]:focus {
  border: 2px solid var(--color);
}

/* Remove arrows in input number field on Chrome */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide default checkbox */
input[type="checkbox"] {
  appearance: none;
  margin-top: 10px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
  background-color: var(--white);
}

/* Checkmark */
input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 5px;
  border: 2px solid white;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  top: 50%;
  left: 50%;
  opacity: 0;
  transition: 0.2s;
}

/* Checked state */
input[type="checkbox"]:checked {
  background-color: var(--color);
  border-color: var(--color);
}

input[type="checkbox"]:checked::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* BLOG */
.blog h1 {
  text-align: center;
  padding: 30px 25px !important;
  line-height: 1.35;
  font-weight: 700;
}

.blog h2 {
  margin-bottom: 23px;
  line-height: 1.5;
  padding-top: 30px;
  font-size: 23px;
  font-weight: 700;
}

.blog h3 {
  margin-bottom: 23px;
  line-height: 1.5;
  font-size: 18px;
}

.blog img {
  width: 100%;
}

.blog blockquote {
  background-color: var(--pink900);
  border-left: 5px solid var(--pink500);
  padding: 10px 20px 20px;
  font-size: inherit;
}

.blog .fuente {
  background-color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}
