:root{
  --navy:#0e2138;
  --navy-2:#112843;
  --navy-3:#142c49;
  --yellow:#f4cc3c;
  --yellow-2:#f0c22a;
  --white:#ffffff;
  --text:#0e1a2b;
  --muted:#6f7a8c;
  --bg:#f3f4f7;
  --line:rgba(255,255,255,.1);
  --shadow:0 18px 40px rgba(0,0,0,.18);
  --radius:18px;
  --radius-lg:22px;
  --max:1320px;
  --header-h:84px;
}

/* =========================
   RESET / BASE
========================= */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-width:320px;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

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

a{
  color:inherit;
  text-decoration:none;
}

button{
  font:inherit;
  border:0;
  background:none;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  padding:10px 14px;
  background:#fff;
  color:#000;
  border-radius:12px;
  z-index:9999;
}

.skip-link:focus{
  left:12px;
  top:12px;
}

/* =========================
   BUTTONS
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 30px;
  border-radius:3px;
  border:1px solid transparent;
  font-weight:700;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn-yellow{
 background: linear-gradient(169deg, #f4cc3b 0%, #daab00 100%);
  color:#151515;
  box-shadow:0 8px 18px rgba(244,204,60,.24);
}

.btn-yellow:hover{
  background:var(--yellow-2);
}

.btn-navy{
  background: linear-gradient(169deg, #2a587d 0%, #0e2746 100%);
  color:#fff;
  border-color:rgba(255,255,255,.06);
  box-shadow:0 8px 18px rgba(0,0,0,.16);
}

.btn-light{
  background:#fff;
  color:#1a2232;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.btn-small{
  min-height:44px;
  padding:0 16px;
  font-size:.95rem;
}

/* =========================
   TYPO / SHARED SECTIONS
========================= */

.section{
  padding:58px 0;
}

.section-title,
.title{
  margin:0 0 18px;
  font-size:clamp(2rem, 4vw, 3.3rem);
  line-height:1;
  letter-spacing:-.04em;
  font-weight:900;
}

.section-title{
  color:#fff;
}

.section-title--dark,
.title{
  color:#0d1830;
}

.title-md{
  font-size:clamp(2rem, 3.6vw, 3rem);
}



.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(169deg, #2a587d 0%, #0e2746 100%);
    color: var(--yellow);
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.eyebrow::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--yellow), #c5a225);
}

.subtitle{
  margin:0;
  max-width:760px;
  color:var(--muted);
  font-size:1rem;
  line-height:1.6;
}

.grid{
  display:grid;
}

.cards-hint{
  display:none;
}

/* =========================
   HEADER / NAV
========================= */

.site-header{
  position:sticky;
  top:0;
  z-index:1100;
  padding:0;
  backdrop-filter:blur(16px);
  background:rgba(13,33,58,.96);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav{
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
  font-weight:900;
  color:#fff;
}

.brand img{
  width:210px;
  height:auto;
  display:block;
}

.nav-menu{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex:1 1 auto;
}

.nav-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 12px;
  border-radius:12px;
  color:#fff;
  font-weight:800;
  opacity:.94;
  transition:background .2s ease, transform .2s ease, opacity .2s ease;
}

.nav-links a:hover{
  background:rgba(255,255,255,.06);
  transform:translateY(-1px);
  opacity:1;
}

.nav-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex:0 0 auto;
}

.nav-toggle{
  display:none;
  width:48px;
  height:48px;
  padding:0;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:#fff;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}

.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  border-radius:999px;
  background:#fff;
  transition:transform .22s ease, opacity .22s ease;
}

.nav-toggle.is-active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2){
  opacity:0;
}

.nav-toggle.is-active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* =========================
   HERO
========================= */

.home-hero{
  position:relative;
  overflow:hidden;
  background:#102340;
}

.home-hero__bg{
  position:absolute;
  inset:0;
}

.home-hero__bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.home-hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(12,29,52,.22) 0%, rgba(13,31,54,.12) 32%, rgba(13,31,54,.84) 100%);
}

.home-hero__inner{
  position:relative;
  z-index:2;
  min-height:700px;
  padding:110px 22px 80px;
}

.home-hero__content{
  max-width:520px;
  color:#fff;
}

.home-hero__title{
  margin:0;
  font-size:clamp(3.2rem, 6vw, 5.3rem);
  line-height:.96;
  letter-spacing:-.04em;
  font-weight:900;
}

.home-hero__lead{
  margin:28px 0 0;
  font-size:clamp(1.3rem, 2vw, 1.9rem);
  line-height:1.24;
  color:rgba(255,255,255,.96);
  font-weight:600;
}

.home-hero__list{
  list-style:none;
  padding:0;
  margin:28px 0 0;
  display:grid;
  gap:12px;
  max-width:520px;
}

.home-hero__list li{
  position:relative;
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0 18px 0 42px;
  border-radius:12px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:1rem;
  font-weight:600;
  backdrop-filter:blur(8px);
}

.home-hero__list li::before{
  content:"✓";
  position:absolute;
  left:16px;
  color:var(--yellow);
  font-size: 21px;
  font-weight:900;
}

.home-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:26px;
}

.home-hero__rating{
  position:absolute;
  right:34px;
  bottom:42px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  color:#fff;
}

.home-hero__rating strong{
  font-size:3rem;
  line-height:1;
  font-weight:900;
}

.home-hero__stars{
  color:var(--yellow);
  font-size:1.7rem;
  letter-spacing:.08em;
  line-height:1;
}

.home-hero__rating small{
  font-size:.8rem;
  opacity:.9;
  font-weight: 600;
}


.hero-lang{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-size: 1rem;
  font-weight:500;
  margin-top: 15px;
}

.hero-lang img{
  width:33px;
  border-radius:6px;
  height:auto;
  display:block;
}




/* =========================
   BASES
========================= */

.bases-section{
  position:relative;
  padding:46px 0 54px;
}

.bases-head{
  position:relative;
  z-index:1;
  text-align:center;
  max-width:900px;
  margin:0 auto 34px;
}

.bases-subtitle{
  max-width:720px;
  margin-inline:auto;
}


.home-bases{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:22px;
}

.base-card{
  position:relative;
  min-height:490px;
  overflow:hidden;
  border-radius:20px;
  box-shadow:var(--shadow);
}

.base-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.base-card__shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.66));
}

.base-card__content{
  position:absolute;
  left:26px;
  right:26px;
  bottom:24px;
  color:#fff;
}

.base-card__content h2{
  margin:0;
  font-size:clamp(2.5rem, 3vw, 3rem);
  line-height:1;
  font-weight:900;
  letter-spacing:-.03em;
}

#title-base-benidorm{
  color:var(--yellow);
  text-shadow:
    0 2px 8px rgba(244,204,60,.35);
}

.base-card__content p {
    margin: 6px 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.base-card__content span{
  display:block;
  margin-top:12px;
  font-size:1rem;
  color:rgba(255,255,255,.92);
}

.base-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}

/* =========================
   BENEFITS
========================= */

.benefits-section{
  padding:46px 0 54px;
  background:#f7f7f9;
}

.benefits-box{
  border-radius:20px;
}

.benefits-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}

.benefit-card{
  padding:22px 20px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}

.benefit-row{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:28px;
}

.benefit-divider{
  height:1px;
  margin:14px 0;
  background:#e8ebf0;
}

.benefit-card__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:999px;
  background:#fff7cf;
  color:#b49000;
  font-weight:900;
}

.benefit-row strong,
.benefit-row span{
  color:#17233a;
  font-size:1rem;
  line-height:1.3;
}

/* =========================
   PHOTOS / GALLERY
========================= */

.photos-section{
  position:relative;
  overflow:hidden;
  padding:58px 0 42px;
  background:#102340;
}

.photos-section__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(12,28,51,.92), rgba(12,28,51,.92)),
    url('/assets/img/sea-texture-bg.webp') center / cover no-repeat;
}

.photos-section__inner{
  position:relative;
  z-index:2;
}

.photos-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
}

.photos-grid figure{
  margin:0;
  overflow:hidden;
  border-radius:16px;
  box-shadow:var(--shadow);
}

.photos-grid img{
  width:100%;
  aspect-ratio:16/11;
  object-fit:cover;
  transition:transform .25s ease;
}

.photos-grid figure:hover img{
  transform:scale(1.03);
}

/* alias reutilizable si en otras landings usas gallery-grid */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:10px;
  margin-top:28px;
}

.gallery-grid img{
  width:100%;
  height:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:14px;
  border:1px solid var(--line);
  transition:transform .25s ease, box-shadow .25s ease;
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
  margin-top:28px;
}

.testimonial-card{
  display:grid;
  gap:14px;
  padding:26px 22px 22px;
  background:#102340;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  box-shadow:var(--shadow);
}

.testimonial-google-badge{
  width:39px;
  height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:#fff;
}

.testimonial-google-badge img{
  width:30px;
  height:30px;
  object-fit:contain;
}

.testimonial-top{
  display:grid;
  gap:4px;
}

.testimonial-name{
  font-size:1rem;
  font-weight:900;
  color:#fff;
}

.testimonial-source{
  font-size:.86rem;
  color:rgba(255,255,255,.68);
}

.testimonial-rating{
  display:flex;
  align-items:center;
  gap:10px;
}

.testimonial-stars{
  color:var(--yellow);
  letter-spacing:2px;
  font-size:1rem;
  line-height:1;
}

.testimonial-score{
  font-size:.95rem;
  font-weight:800;
  color:#fff;
}

.testimonial-text{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:.97rem;
  line-height:1.65;
}

/* =========================
   FAQ
========================= */

.faq-home-section{
  padding:54px 0;
  background:#f7f7f9;
}

.faq-home-box{
  max-width:980px;
  margin:0 auto;
}

.faq-list{
  display:grid;
  gap:14px;
}

.faq-item{
  overflow:hidden;
  background:#fff;
  border:1px solid #e6e9ef;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 20px;
  text-align:left;
  color:#17233a;
  font-weight:800;
  cursor:pointer;
}

.faq-icon{
  font-size:1.3rem;
  line-height:1;
  color:#0e2138;
  transition:transform .2s ease;
}

.faq-item.is-open .faq-icon{
  transform:rotate(45deg);
}

.faq-answer{
  padding:0 20px 18px;
}

.faq-answer p{
  margin:0;
  color:#6f7a8c;
  font-size:.98rem;
  line-height:1.5;
}

/* =========================
   MAP
========================= */

.map-full-section__inner{
  width:100%;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.map-full-section iframe{
  display:block;
  width:100%;
  height:460px;
  border:0;
  filter:saturate(1.05) contrast(1.02);
}

/* =========================
   FOOTER
========================= */

.footer{
  padding:75px 0 28px;
  background:#162841;
 
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .9fr .9fr;
  gap:32px;
  align-items:start;
  padding-bottom:75px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.footer-col{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-col--brand,
.footer-col--legal,
.footer-col--payments{
  align-items:flex-start;
}

.footer-logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:8px;
}

.footer-logo img{
  max-width:195px;
  height:auto;
}

.footer-brand{
  font-size:1.1rem;
  font-weight:900;
  color:#fff;
}

.footer-title{
  margin:0;
  font-size:1rem;
  font-weight:900;
  color:#fff;
}

.footer-copy{
  margin:0;
  max-width:500px;
  color:var(--muted);
  font-size:.95rem;
  line-height:1.6;
}

.footer-links--stack{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-links--stack a{
  color:var(--muted);
  font-weight:300;
  transition:color .2s ease, transform .2s ease;
}

.footer-links--stack a:hover{
  color:#fff;
  transform:translateY(-1px);
}

.footer-payments{
  margin-top:4px;
}

.footer-payments__text{
  margin:0;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.5;
}

.footer-payments img{
  display:block;
  width:100%;
  max-width:320px;
  height:auto;
  object-fit:contain;
  filter:brightness(0) invert(1) opacity(.9);
}

/* =========================
   SOCIALS
========================= */

.socials{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:12px;
  margin-top:6px;
}

.social-link{
  --size:48px;
  --icon-size:22px;
  width:var(--size);
  height:var(--size);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.02);
  color:#fff;
  transition:transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.social-icon{
  width:var(--icon-size);
  height:var(--icon-size);
  fill:currentColor;
}

.social-link:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.35);
  box-shadow:0 10px 25px rgba(0,0,0,.25);
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom{
  padding-top:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-bottom__left{
  color:var(--muted);
  font-size:.9rem;
}

.footer-bottom__right{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.footer-dev{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.footer-dev img{
  max-width:120px;
  height:auto;
  opacity:.85;
  transition:opacity .2s ease, transform .2s ease;
}

.footer-dev:hover img{
  opacity:1;
  transform:translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1100px){
  .home-bases,
  .benefits-grid,
  .footer-grid,
  .testimonials-grid{
    grid-template-columns:1fr;
  }

  .home-hero__rating{
    position:static;
    align-items:flex-start;
    margin-top:26px;
  }
}

@media (max-width:980px){
  .nav-toggle{
    display:flex;
  }

  .nav-menu{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
    padding:18px;
    background:rgba(8,18,33,.98);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    box-shadow:0 18px 48px rgba(0,0,0,.28);
  }

  .nav-menu.open{
    display:flex;
  }

  .nav-links{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .nav-links a{
    justify-content:flex-start;
    min-height:46px;
    padding:0 12px;
  }

  .nav-cta{
    flex-direction:column;
    align-items:stretch;
  }

  .nav-cta .btn{
    width:100%;
  }

  .base-card{
    min-height:500px;
  }

  .gallery-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:640px){
  .container{
    width:min(var(--max), calc(100% - 24px));
  }

  .home-hero__inner{
    min-height:auto;
    padding:88px 0 64px;
  }

  .home-hero__title{
    font-size:3.1rem;
  }

  .home-hero__lead{
    font-size:1.25rem;
  }

  .home-hero__actions,
  .base-card__actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .home-hero__rating strong{
    font-size:2.2rem;
  }

  .section-title,
  .title{
    font-size:2.2rem;
  }

  .map-full-section iframe{
    height:360px;
  }

  .gallery-grid{
    grid-template-columns:1fr;
  }
  
  
  
  
  
   .testimonials-grid{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:visible;
    touch-action:pan-x pan-y;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    padding:10px 15px;
    scroll-padding-left:15px;
    gap:15px;
  }

  .testimonials-grid > .testimonial-card{
    flex:0 0 85%;
    min-width:85%;
    max-width:85%;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  .testimonial-card{
    padding:18px;
  }
  
  
  
}












@media (max-width:768px){
  #rent-circuit .container{
    flex-direction:column;
    gap:24px;
    min-height:auto;
    padding:30px;
  }

  #rent-circuit .rent-circuit-visual{
    order:-1;
    width:100%;
    min-height:auto;
  }

  #rent-circuit .rent-circuit-content{
    max-width:100%;
  }

  #rent-circuit .rent-circuit-kart-wrap{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    max-width:100%;
  }

  #rent-circuit .rent-circuit-image{
    width:100%;
    max-width:420px;
    margin:0 auto;
  }






  .testimonials-grid{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:visible;
    touch-action:pan-x pan-y;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    padding:10px 15px;
    scroll-padding-left:15px;
    gap:15px;
  }

  .testimonials-grid > .testimonial-card{
    flex:0 0 85%;
    min-width:85%;
    max-width:85%;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  .testimonial-card{
    padding:18px;
  }
}



@media (max-width: 1100px) {
.photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;}
 
}




/* RENT CIRCUIT */
#rent-circuit .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  min-height:550px;
  background:linear-gradient(180deg, var(--card), var(--card-2));
  border-radius:30px;
  padding:45px;
}

#rent-circuit .rent-circuit-content{
  max-width:600px;
}

#rent-circuit .title,
#rent-circuit .rent-circuit-text{
  color:#fff;
}

#rent-circuit .rent-circuit-btn{
  display:inline-block;
  margin-top:20px;
  padding:14px 28px;
  background:linear-gradient(90deg, #ff2a00, #ffb300);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  border-radius:3px;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    opacity .22s ease;
}

#rent-circuit .rent-circuit-btn:hover{
  transform:translateY(-2px);
}

#rent-circuit .rent-circuit-visual{
  position:relative;
  width:45%;
  min-height:400px;
}

#rent-circuit .rent-circuit-kart-wrap{
  position:absolute;
  right:0;
  bottom:0;
  width:100%;
  max-width:100%;
}

#rent-circuit .rent-circuit-image{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  transform:none;
  transition:none;
}