/* ========== BASE ========== */
@font-face {
  font-family: "athelas";
  src: url("../fonts/Athelas-Regular.ttf") format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: "zar";
  src: url("../fonts/Zarcasual2.otf") format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: "rubik-r";
  src: url("../fonts/Rubik-Regular.ttf") format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: "rubik-l";
  src: url("../fonts/Rubik-Light.ttf") format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: "rubik-b";
  src: url("../fonts/Rubik-Bold.ttf") format("truetype");
  font-weight: normal;
}

body {
  font-family: "rubik-r", Arial, sans-serif;
  color: #333;
  margin: 0;
}

.highlight {
  color: #BA4C29;
  font-family: "zar", Arial, sans-serif;
}

.highlight-white {
  color: #fff;
  font-family: "zar", Arial, sans-serif;
}

/* ========== HERO ========== */
.hero {
  background: url("../img/bg-hero.jpg") center center / cover no-repeat;
  height: auto;
  position: relative;
  max-height: 800px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 50px;
  font-family: 'zar';
  color: #4D475C;
}
.hero p {
  font-size: 25px;
  font-family: 'zar';
  color: #BA4C29
}

.hero img {
  margin-bottom: 30px;
  margin-top: 20px;
}

.hero .elementos {
  position: absolute;
  z-index: 1;
}

.hero .img-elemento-1 {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  left: 5%;
  width: 70px;
  margin: 0;
}

.hero .img-elemento-2 {
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  right: 5%;
  width: 150px;
  margin: 0;
}
/* ========== INFO CARDS ========== */

.info .row {
  margin: 0;
}
.info-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.info-card img {
  width: 100%;
}
.info-card:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.info-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
}
.info-card span {
  font-size: 32px;
  font-family: 'zar';
}

/* ========== ICONS ========== */
.icons .icon {
  max-width: 140px;
  transition: transform 0.3s ease;
}
.icons .icon:hover {
  transform: scale(1.05);
}

/* ========== CERTIFICATIONS ========== */
.row-certifications {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.row-certifications div{
  width: 50%;
}
.certifications h2 {
  font-size: 40px;
  margin-bottom: 2rem;
  font-family: 'rubik-l';
}
.certifications img {
  max-height: 120px;
  margin-bottom: 10px;
}
.certifications p {
  color: #63A70A;
  font-size: 18px;
  font-family: 'zar'
}

/* ============ FOOD ============= */
.food {
  background-image: url(../img/bg-food.png);
  background-repeat: no-repeat;
  background-position: left center;
}

.food h2 {
  color: #79B9AE;
  font-family: 'zar';
  font-size: 20px;
  text-align: left;
  padding-left: 30px;
}

.food h3 {
  color: #FF98AB;
  font-family: 'zar';
  font-size: 30px;
  text-align: left;
  position: relative;
  display: flex;
  padding-left: 30px;
}

.food h3::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -10px;
  width: 38px;
  height: 45px;
  background: url(../img/elemento-txt-pink.svg) center center / contain no-repeat;
}

.food p {
  font-family: 'athelas';
  font-size: 18px;
  text-align: left;
}

.food p span {
  color: #FF98AB;
  font-family: 'athelas';
}

.quote {
  background-image: url(../img/bg-intention.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.quote h2 {
  color: #D8755B;
  font-family: 'zar';
  font-size: 30px;
  line-height: 1;
  position: relative;
  display: flex;
  justify-self: center;
}

.quote h2::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 15px;
  height: 100%;
  background: url(../img/element-txt-black.svg) center center / contain no-repeat;
}

.quote h3 {
  color: #000;
  font-family: 'zar';
  font-size: 40px;
  line-height: 1;
  position: relative;
  display: flex;
  justify-self: center;
}

.quote h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: -38px;
  width: 38px;
  height: 100%;
  background: url(../img/element-txt-orange.svg) center center / contain no-repeat;
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(90deg, #2B2135, #2B2135);
  font-size: 15px;
}
.footer a {
  color: #fff;
  transition: all 0.3s ease;
}

.footer a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.footer-address {
  display: flex;
  gap: 20px;
  flex-direction: column;
  text-align: center;
  justify-content: end;
  margin-top: 15px;
}

.footer-address p strong{
  font-family: 'athelas';
}

.footer-address p {
  font-family: 'rubik-r';
  font-size: 16px;
  margin: 0 auto;
  text-align: center;
}

.footer-col {
  display: flex;
  flex-direction:column;
  gap: 10px;
  width: 100%;
  text-align: center;
}

.footer-col small {
  font-family: 'rubik-r';
  font-size: 12px;
}

.footer-col small span{
  color: #fff
}

.row-address {
  border-bottom: 1px solid #fff;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.row-address img{
  margin: 0 auto;
}

.order-3-xs {
  order: 3;
}

.order-1-xs{
  order: 1;
}

/* ========== POP UP ============= */
/* Fondo del popup */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.modal {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Contenedor del popup */
.popup-container {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.popup-container h2 {
  font-size: 25px;
  font-family: 'zar';
  line-height: 1;
  color: #4D475C;
  text-align: center;
}

.popup-container h3 {
  font-size: 40px;
  font-family: 'zar';
  line-height: 1;
  color: #BA4C29;
  text-align: center;
}

.popup-container p {
  font-size: 20px;
  font-family: 'athelas';
  line-height: 1;
  color: #000;
  text-align: center;
  margin-bottom: 15px;
  margin-top: 15px;
}

.popup-form input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 5px 25px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.popup-form input::placeholder {
  color: #1C3C30
}

.popup-form input:focus {
  border-bottom: 1px solid #BA4C29;
}

.popup-form button {
  display: block;
  margin: 20px auto 0;
  background: none;
  border: none;
  color: #BA4C29;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.95rem;
}

.popup-form button:focus-visible {
  outline: none;
  border: none;
}

.popup-form button:focus {
  outline: none;
  border: none;
}

.popup-form button:active {
  outline: none;
  border: none;
}

.popup-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

.popup-overlay.hide .popup-container {
  transform: scale(0.9);
  opacity: 0;
}


.site-content {
  display: none;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.icons .d-flex {
  flex-wrap: wrap;
  gap: 20px
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
  body {
    font-family: "rubik-r", Arial, sans-serif;
    color: #333;
    margin: 0;
  }

  .hero {
    height: 85vh;
    min-height:800px;
  }

  .hero img {
    margin-bottom: 100px;
    margin-top: 60px;
  }

  .hero h1 { font-size: 40px; }
  .hero p { font-size: 80px; }

  .hero .img-elemento-1 {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    left: 5%;
    width: 90px;
    margin: 0;
  }

  .hero .img-elemento-2 {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
    right: 5%;
    width: 250px;
    margin: 0;
  }

  .quote h3 {
    font-size: 90px
  }

  .icons .d-flex {
    flex-wrap: initial;
    gap: 20px
  }
  .row-certifications {
    display: flex;
    gap: 80px;
    justify-content: center;
  }

  .row-certifications div {
    flex: 1
  }

  .footer-address {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 100px;
    margin-top: 0;
  }

  .footer-address p {
    text-align: left;
  }

  .footer-address div:first-of-type {
    width: 130px;
  }


  .footer-address p strong {
    font-family: 'rubik-b';
  }

  .footer-col {
    display: flex;
    flex-direction: row;
    gap: 50px;
  }

  .row-address img {
    margin: 0;
  }

  .order-3-xs {
    order: 1;
  }
  .order-1-xs{
    order: 2;
  }

  .food h2 {
    font-size: 30px;
    padding-left: 0;
  }

  .food h3 {
    font-size: 50px;
    padding-left: 0;
  }

  .food h3::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -45px;
    width: 38px;
    height: 45px;
    background: url(../img/elemento-txt-pink.svg) no-repeat center center;
  }

  .food p {
    font-size: 18px;
  }

  .quote h2 {
    font-size: 45px;
    line-height: 1;
    padding-left: 0;
  }

  .quote h2::after {
    content: "";
    position: absolute;
    top: 0;
    right: -30px;
    width: 26px;
    height: 100%;
    background: url(../img/element-txt-black.svg) no-repeat center center;
  }

  .quote h3 {
    font-size: 40px;
    padding-left: 0;
  }

  .quote h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: -38px;
    width: 38px;
    height: 100%;
    background: url(../img/element-txt-orange.svg) no-repeat center center;
  }
}
@media (min-width: 1200px) {
  .hero h1 { font-size: 40px; }
  .order-3-xs{
    order: 1;
  }
  .order-1-xs{
    order: 2;
  }

}

@media (max-width: 400px) {
  .popup-container {
    padding: 20px;
    max-width: 320px;
  }

  .popup-container h2 {
    font-size: 24px;
  }
}
