@charset "UTF-8";
/* =========================================================
   PLEINSOLEIL MENORCA — Hoja de estilos única (SCSS)
   Compila con: npm run sass   (o "Watch Sass" en VS Code)
   Salida:      assets/css/styles.css

   Índice:
     1. Variables
     2. Mixins
     3. Base / reset
     4. Topbar (idiomas)
     5. Header / nav
     6. Hero / video
     7. Franja de título + intro
     8. Features (home)
     9. Botones
    10. Listado de villas
    11. Detalle de villa
    12. Contacto
    13. Footer
    14. Modal
    15. Animaciones / utilidades
========================================================= */
/* ============================ 1. VARIABLES ============================ */
/****/
:root {
  --c-aqua: #B5DDD6;
  --c-aqua-dark: #8FC9C1;
  --c-cream: #EDE6D6;
  --c-cream-dark: #E1D7BF;
  --c-orange: #D88E48;
  --c-orange-light: #E0A572;
  --c-brown: #7C5A3F;
  --c-brown-dark: #6B4A35;
  --c-line: #C7B89B;
  --c-white: #FFFFFF;
  --c-black: #1A1A1A;
  --ff-base: Quicksand, Segoe UI, system-ui, -apple-system, sans-serif;
  --ff-heading: Quicksand, Segoe UI, sans-serif;
}

/* ============================ 2. MIXINS ============================ */
/* ============================ 3. BASE / RESET ============================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Quicksand", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #7C5A3F;
  background: #EDE6D6;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #D88E48;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #7C5A3F;
}

img {
  max-width: 100%;
  display: block;
}

hr.divider-orange {
  border: 0;
  height: 2px;
  background: #D88E48;
  max-width: 60px;
  margin: 16px auto;
}

/* ============================ 4. TOPBAR ============================ */
.topbar {
  background: #B5DDD6;
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 1px;
}
.topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar .topbar-info {
  color: #6B4A35;
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar .topbar-info a {
  color: #6B4A35;
}
.topbar .topbar-info a:hover {
  color: #D88E48;
}
.topbar .topbar-info i {
  margin-right: 6px;
  color: #7C5A3F;
  opacity: 0.85;
}
.topbar .topbar-info .topbar-sep {
  opacity: 0.4;
}
.topbar .lang-switch {
  text-align: right;
  white-space: nowrap;
}
.topbar .lang-switch a {
  color: #FFFFFF;
  margin: 0 6px;
  text-transform: uppercase;
  opacity: 1;
  font-weight: 500;
}
.topbar .lang-switch a.active, .topbar .lang-switch a:hover {
  color: #7C5A3F;
}
.topbar .lang-switch .sep {
  color: #FFFFFF;
  opacity: 0.55;
}
@media (max-width: 767px) {
  .topbar .topbar-inner {
    justify-content: center;
  }
  .topbar .topbar-info {
    display: none;
  }
  .topbar .lang-switch {
    text-align: center;
  }
}

/* ============================ 5. HEADER / NAV ============================ */
.site-header {
  background: #EDE6D6;
  padding: 28px 0 20px;
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-stuck {
  padding: 14px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}
.site-header .header-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.site-header .logo {
  margin-right: auto;
  display: inline-block;
}
.site-header .logo img {
  max-height: 70px;
  width: auto;
  transition: max-height 0.3s ease;
}
.site-header.is-stuck .logo img {
  max-height: 52px;
}
.site-header .nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #7C5A3F;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 12px;
  transition: color 0.2s;
}
.site-header .nav-toggle:hover {
  color: #D88E48;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.site-header nav a {
  color: #7C5A3F;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.site-header nav a.active, .site-header nav a:hover {
  color: #D88E48;
}
.site-header nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #D88E48;
}
@media (max-width: 991px) {
  .site-header {
    padding: 18px 0;
  }
  .site-header nav {
    gap: 18px;
  }
}
@media (max-width: 767px) {
  .site-header .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-header nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .site-header nav a {
    font-size: 16px;
    padding: 13px 2px;
    border-top: 1px solid rgba(124, 90, 63, 0.14);
  }
  .site-header nav a.active::after {
    display: none;
  }
  .site-header nav.open {
    max-height: 320px;
    margin-top: 10px;
  }
}

/* ============================ 6. HERO / VIDEO ============================ */
.hero {
  width: 100%;
  height: 70vh;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #8FC9C1;
  position: relative;
}
.hero.hero-tall {
  height: 80vh;
  min-height: 520px;
}
@media (max-width: 991px) {
  .hero {
    height: 50vh;
    min-height: 320px;
  }
}

.hero-video {
  width: 100%;
  background: #000;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.hero-video video, .hero-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================ 7. TÍTULO + INTRO ============================ */
.section-title-bar {
  background: #D88E48;
  color: #fff;
  padding: 18px 0;
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 300;
}
.section-title-bar--home {
  padding: 30px 16px;
}
.section-title-bar .title-bar-intro {
  display: block;
  max-width: 860px;
  margin: 18px auto 0;
  text-transform: none;
  letter-spacing: normal;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}
@media (max-width: 991px) {
  .section-title-bar {
    font-size: 18px;
    letter-spacing: 3px;
  }
  .section-title-bar .title-bar-intro {
    font-size: 16px;
  }
}

.intro-text {
  max-width: 760px;
  margin: 40px auto;
  text-align: center;
  font-size: 20px;
  color: #7C5A3F;
}

/* ============================ 8. FEATURES (HOME) ============================ */
.features {
  padding: 40px 0 60px;
}

.feature {
  text-align: center;
  padding: 20px;
}
.feature .icon {
  font-size: 42px;
  color: #D88E48;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h3 {
  font-size: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D88E48;
  margin: 10px 0 25px;
  position: relative;
  padding-bottom: 25px;
  font-weight: 500;
}
.feature h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #D88E48;
}
.feature p {
  font-size: 18px;
}

/* ============================ 9. BOTONES ============================ */
.btn-outline-pleinsoleil, .btn-pleinsoleil {
  border-radius: 24px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-pleinsoleil {
  background: #D88E48;
  color: #fff;
  border: 0;
  padding: 12px 40px;
}
.btn-pleinsoleil:hover {
  background: #7C5A3F;
  color: #fff;
  transform: translateY(-1px);
}
.btn-pleinsoleil.btn-sm {
  padding: 8px 24px;
  font-size: 16px;
}

.btn-outline-pleinsoleil {
  background: transparent;
  color: #D88E48;
  border: 2px solid #D88E48;
  padding: 10px 36px;
}
.btn-outline-pleinsoleil:hover {
  background: #D88E48;
  color: #fff;
}

/* ============================ 10. LISTADO DE VILLAS ============================ */
.villas-grid {
  padding: 0 0 60px;
}

.villa-card {
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}
.villa-card .img-wrap {
  position: relative;
  overflow: hidden;
}
.villa-card .img-wrap img {
  width: 100%;
  transition: transform 0.6s ease;
}
.villa-card:not(.is-sold):hover .img-wrap img {
  transform: scale(1.04);
}
.villa-card.is-sold .img-wrap {
  cursor: default;
}
.villa-card .villa-name {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #7C5A3F;
  padding: 16px 0 12px;
  border-bottom: 1px solid #C7B89B;
  margin-bottom: 18px;
}
.villa-card .badge-sold {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #D88E48;
  color: #fff;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2;
}
@media (max-width: 767px) {
  .villa-card .badge-sold {
    width: 90px;
    height: 90px;
    font-size: 12px;
  }
}

/* ============================ 11. DETALLE DE VILLA ============================ */
.slick-dotted.slick-slider {
  margin-bottom: 0 !important;
}

.villa-slider {
  position: relative;
  margin-bottom: 0 !important;
}
.villa-slider .slick-slide img {
  width: 100%;
  height: 60vh;
  min-height: 380px;
  object-fit: cover;
}
.villa-slider .slick-prev, .villa-slider .slick-next {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  z-index: 5;
  transition: background 0.2s;
}
.villa-slider .slick-prev:hover, .villa-slider .slick-prev:focus, .villa-slider .slick-next:hover, .villa-slider .slick-next:focus {
  background: #fff;
}
.villa-slider .slick-prev {
  left: 24px;
}
.villa-slider .slick-next {
  right: 24px;
}
.villa-slider .slick-prev::before, .villa-slider .slick-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 1;
}
.villa-slider .slick-prev::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D88E48' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5 8 12l7 7'/%3E%3C/svg%3E");
}
.villa-slider .slick-next::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D88E48' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}
.villa-slider .slick-dots {
  bottom: 16px;
  margin: 0;
  z-index: 6;
}
.villa-slider .slick-dots li button::before {
  color: #fff;
  opacity: 0.55;
  font-size: 9px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.villa-slider .slick-dots li.slick-active button::before {
  color: #D88E48;
  opacity: 1;
}
@media (max-width: 991px) {
  .villa-slider .slick-slide img {
    height: 40vh;
    min-height: 280px;
  }
  .villa-slider .slick-dots {
    bottom: 10px;
  }
}

.villa-features {
  padding: 50px 0;
}
.villa-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.villa-features ul li {
  border-bottom: 1px solid #C7B89B;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 500;
  color: #7C5A3F;
  display: flex;
  padding: 10px 0;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
  justify-content: start;
  gap: 5px;
  align-items: center;
}
.villa-features ul li:last-child {
  border-bottom: 0;
}
.villa-features ul li .val {
  color: #D88E48;
  font-weight: 700;
}

.villa-description p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.villa-actions a {
  display: block;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  font-weight: 500;
  color: #7C5A3F;
  border-bottom: 1px solid #C7B89B;
}
.villa-actions a:last-child {
  border-bottom: 0;
}
.villa-actions a:hover {
  color: #D88E48;
}
.villa-actions a i {
  color: #D88E48;
  margin-right: 8px;
}

.villa-buttons {
  text-align: center;
  padding: 30px 0 70px;
}
.villa-buttons .btn-pleinsoleil {
  margin: 6px 10px;
}
@media (max-width: 767px) {
  .villa-buttons .btn-pleinsoleil {
    display: block;
    margin: 8px auto;
    max-width: 280px;
  }
}

#form-info-villa {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================ 12. CONTACTO ============================ */
.contact-block {
  background: #6B4A35;
  color: #fff;
  padding: 40px;
  border-radius: 0;
  height: 100%;
}
.contact-block.orange {
  background: #D88E48 !important;
}
.contact-block.orange .btn-pleinsoleil {
  background: #6B4A35;
}
@media (max-width: 991px) {
  .contact-block {
    padding: 24px;
  }
}
.contact-block h2, .contact-block h3 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 24px;
}
.contact-block .form-control {
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 12px;
}
.contact-block .form-control::placeholder {
  color: #999;
}
.contact-block textarea.form-control {
  min-height: 110px;
  resize: vertical;
}
.contact-block .form-check {
  font-size: 12px;
  margin: 10px 0 18px;
}
.contact-block .form-check .form-check-input {
  margin-top: 4px;
}
.contact-block .form-check .form-check-label {
  padding-left: 6px;
  opacity: 0.9;
}
.contact-block .info-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}
.contact-block .info-line i {
  color: #E0A572;
  font-size: 18px;
  margin-top: 2px;
}
.contact-block .contact-group + .contact-group {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-block .contact-group .contact-group-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  color: #E0A572;
  margin-bottom: 16px;
}

.map-wrap {
  width: 100%;
  height: 500px;
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================ 13. FOOTER ============================ */
.site-footer {
  background: #B5DDD6;
  color: #6B4A35;
  padding: 16px 0;
  font-size: 12px;
  letter-spacing: 1px;
}
.site-footer .logo-mini {
  font-weight: 600;
  color: #D88E48;
}
.site-footer .phone strong {
  color: #D88E48;
}

/* ============================ 14. MODAL ============================ */
.modal-content {
  border-radius: 6px;
  border: 0;
  background: #6B4A35;
  color: #fff;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.modal-header .btn-close {
  filter: invert(1);
}

.modal-title {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 16px;
}

/* ============================ 15. ANIMACIONES / UTILIDADES ============================ */
.fade-in-up {
  will-change: transform, opacity;
}

.section-pad {
  padding: 60px 0;
}

.section-pad-sm {
  padding: 30px 0;
}
