:root {
    --orange: #F5A623;
    --blue: #0066A1;
    --red: #FE4C4D;
    --dark-blue: #003D6B;
}

body { font-family: 'Arial', sans-serif; }

.fs-7 { font-size: 12px; }

.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }
.text-dark-blue { color: var(--dark-blue); }
.text-red { color: var(--red); }
.text-grey { color: #989898; }

.bg-orange { background-color: var(--orange); }
.bg-blue { background-color: var(--blue); }
.bg-dark-blue { background-color: var(--dark-blue); }
.bg-red { background-color: var(--red); }
.bg-grey { background-color: #989898; }

hr {
  height: 3px;
  border: none;
}


/* NAVBAR */
.navbar-brand img { height: 48px; }
.navbar .nav-link { font-weight: 600; color: #143e7c; }
.nav-link .caderm { color: #ffa333; }
.nav-link .kerato { color: #2a7cbe; }
.nav-link .granada { color: #fe4c4c; }
.lang-select { border: none; background: transparent; font-weight: 600; color: #143e7c; }
.navbar-toggler { border: none; }
/* HERO */
.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

/* INFO BLOCK */
/*.info-section { margin-top: -60px; position: relative; z-index: 3; }*/

.pill {
  background: url('img/pill-bg.svg') center/contain no-repeat;
  color: #fff;
  padding: 3rem;
  height: 200px;
  max-height: 200px;
  max-width: 260px;
  border-radius: 50px;
  /*font-weight: 600;*/
  text-align: center;
  margin-top: -90px;
  position: relative;
  z-index: 1;
}

.highlight-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #0b3c6d;
  text-align: center;
}

/* Curved sections */
.curved-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.curve-position-orange {
    position: absolute;
    top: 0px;
    right: -5%;
    z-index: 0;
}

.curve-position-blue {
    position: absolute;
    top: 15%;
    left: -10%;
    z-index: 0;
}

.curve-position-red {
    position: absolute;
    top: 0px;
    right: -5%;
    z-index: 0;
}

.curve-img{
    height: 360px;
    width: auto;
}

.content-wrapper { position: relative; z-index: 1; }

/* Brand colors */
.brand-orange { color: var(--orange); }
.brand-blue { color: var(--blue); }
.brand-red { color: var(--red); }
.bg-orange { background-color: var(--orange); }
.bg-blue { background-color: var(--blue); }
.bg-red { background-color: var(--red); }

/* Icon circles */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50% ;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
}

.icon-circle.orange { background-color: var(--orange); }
.icon-circle.blue { background-color: var(--blue); }
.icon-circle.red { background-color: var(--red); }


.icon-beneficios{
    width: 70px;
    height: auto;
}

/* Product cards */
.product-card {
    transition: transform 0.3s;
}

.product-card:hover { transform: translateY(-5px); }

.product-info{
    width: 200px;
    margin-top: 70px;
}
.product-badge {
    font-size: 14px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.product-icon{
    width: auto;
    height: 40px;
}

.volume-badge {
    color: white;
    border-radius: 15px;
    padding: 5px 15px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

/* Buttons */
.btn-custom {
    border-radius: 25px;
    padding: 12px 35px;
    border: none;
    font-weight: 500;
    color: white;
}

.btn-orange { background-color: var(--orange); }
.btn-orange:hover { background-color: #E09612; color: white; }

.btn-blue { background-color: var(--blue); }
.btn-blue:hover { background-color: #005080; color: white; }

.btn-red { background-color: var(--red); }
.btn-red:hover { background-color: #C0392B; color: white; }

.info-badge {
    width: 150px;
    height: 150px;
    background-color: var(--dark-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-size: 11px;
    line-height: 1.3;
}

/* Video play button */
.video-overlay {
    position: relative;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--red);
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: white;
}

.footer-brand { height:36px; }

/* =========================================
   JUSTIFICACIÓN DE TEXTOS
   ========================================= */

/* 1. Texto de la introducción (bajo la píldora) */
.highlight-text {
    text-align: justify;
}

/* 2. Descripciones principales de las secciones (LetiCaderm, Kerato, Granada) */
/* Usamos .px-3 para asegurar que solo afecte al texto principal y no a los iconos */
.content-wrapper .px-3 p.text-grey {
    text-align: justify;
}

/* 3. Descripciones dentro de las fichas de producto */
.product-card p {
    text-align: justify;
    /* "hyphens" ayuda a cortar palabras con guiones si quedan huecos muy grandes */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* 4. Páginas legales (Aviso Legal y Cookies) */
.legal-content,
.legal-content p {
    text-align: justify;
}
