﻿:root{
  --bg:#0b0f14;
  --panel:#0f1620;
  --text:#e9eef5;
  --muted:#a8b3c3;
  --line:rgba(255,255,255,.08);
  --accent:#7dd3fc;
  --max:1100px;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  height:100%;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color:var(--text);
  line-height:1.55;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* UTIL */
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 18px;
}

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

p{
  text-align:justify;
  text-justify:inter-word;
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.75);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brandLogo{
  width:34px;
  height:34px;
  border-radius:8px;
  border:0;
  background:transparent;
  box-shadow:none;
  object-fit:contain;
}

.brandText{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand .name{
  font-weight:800;
}

.brand .tag{
  font-size:.9rem;
  color:var(--muted);
}

.menu{
  display:flex;
  gap:12px;
}

.menu a{
  padding:8px 12px;
  border-radius:10px;
  color:var(--muted);
}

.menu a.active{
  background:rgba(255,255,255,.06);
  color:var(--text);
}

/* COVER */
.cover{
  position:relative;
  height:50vh;
  min-height:300px;
  max-height:560px;
  overflow:hidden;
  border-bottom:1px solid var(--line);
}

.cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 30%;
  display:block;
}

.cover::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(11,15,20,.25) 0%, rgba(11,15,20,.55) 100%);
  pointer-events:none;
}

.coverCenter{
  position:absolute;
  top:6%;
  left:0;
  right:0;
  bottom:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  z-index:2;
}

.coverCards{
  margin-top:-120px;
  position:relative;
  z-index:2;
}

.xCardsCompact{
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;
}

.xCardsCompact .xCard{
  background:rgba(15,22,32,.85);
}

.socialLink{
  width:56px;
  height:56px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(11,15,20,.7);
  border:1px solid var(--line);
  transition:transform .2s ease, border-color .2s ease;
}

.socialLink img{
  width:30px;
  height:30px;
  object-fit:contain;
  display:block;
}

.socialLink:hover{
  transform:translateY(-2px);
  border-color:rgba(125,211,252,.5);
}

.fbSection{
  padding:20px 0 44px;
}

.fbSection .container{
  max-width:960px;
}

.fbGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  max-width:960px;
  margin:0 auto;
  align-items:stretch;
  justify-items:center;
}

.fbItem{
  background:rgba(11,15,20,.7);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  display:block;
  aspect-ratio: 16 / 9;
  width:100%;
  max-width:100%;
  margin:0 auto;
}

.fbItem iframe{
  width:100% !important;
  height:100% !important;
  border:0;
  display:block;
}

.fbThumb{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition:transform .2s ease, border-color .2s ease;
}

.fbThumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.fbThumb:hover{
  transform:translateY(-2px);
  border-color:rgba(125,211,252,.5);
}

/* CAROUSEL */
.carousel{
  position:relative;
  overflow:hidden;
}

.carouselTrack{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(240px, 1fr);
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:6px 4px 12px;
}

.carouselTrack.autoScroll{
  scroll-snap-type:none;
  scroll-behavior:auto;
}

.carouselTrack::-webkit-scrollbar{
  height:8px;
}

.carouselTrack::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.15);
  border-radius:999px;
}

.cItem{
  scroll-snap-align:center;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--panel);
}

.cItem img{
  width:100%;
  height:100%;
  display:block;
  aspect-ratio:16/10;
  object-fit:cover;
  -webkit-user-drag:none;
  user-select:none;
}

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999;
  padding:24px;
}

.lightbox.open{
  display:flex;
}

.lbInner{
  max-width:min(1100px, 92vw);
  max-height:88vh;
  display:flex;
  flex-direction:column;
  gap:10px;
}

#lightboxImg{
  width:100%;
  height:auto;
  max-height:80vh;
  object-fit:contain;
  border-radius:12px;
  border:1px solid var(--line);
  background:#0b0f14;
}

.lbHint{
  font-size:.9rem;
  color:var(--muted);
  text-align:center;
}

.lbNav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(11,15,20,.8);
  color:var(--text);
  padding:0;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:1000;
}

.lbNav::before{
  content:"";
  width:12px;
  height:12px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
}

.lbPrev{
  left:20px;
}

.lbNext{
  right:20px;
}

.lbPrev::before{
  transform:rotate(-135deg);
  margin-left:3px;
}

.lbNext::before{
  transform:rotate(45deg);
  margin-right:3px;
}

/* HERO */
.hero{
  padding:48px 0 60px;
}

.hero h1{
  margin:0 0 12px;
  font-size:clamp(1.8rem, 3vw, 2.6rem);
}

.hero p{
  margin:0;
  max-width:70ch;
  color:var(--muted);
}

.heroCenter{
  text-align:center;
}

.heroCenter p{
  margin:0 auto;
  text-align:center;
}

.aboutPage{
  background:
    linear-gradient(180deg, rgba(11,15,20,.75) 0%, rgba(11,15,20,.9) 100%),
    url("../img/rochebyibra.avif") center/cover no-repeat fixed;
}

/* ABOUT HERO */
.hero--about{
  position:relative;
  background:transparent;
  padding:56px 0 48px;
  border-bottom:0;
}

.hero--about .container{
  position:relative;
  z-index:1;
}

.aboutHero{
  display:grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap:22px;
  align-items:start;
}

.aboutStack{
  display:grid;
  gap:14px;
}

.aboutIntro{
  min-width:0;
  padding:0;
}

.aboutIntro h1{
  margin:0 0 6px;
}

.aboutIntro p{
  margin:0;
}

.aboutLogo{
  width:84px;
  height:84px;
  margin:0 0 14px;
  border-radius:18px;
  overflow:hidden;
  background:rgba(11,15,20,.7);
  border:1px solid var(--line);
  display:grid;
  place-items:center;
}

.aboutLogo img{
  width:70%;
  height:70%;
  object-fit:contain;
  display:block;
}

.aboutMedia{
  min-width:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--panel);
  align-self:start;
}

.aboutMedia img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio:auto;
  object-fit:contain;
}

.aboutCard{
  background:rgba(15,22,32,.6);
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 20px 20px;
}

.aboutBio h1{
  margin:0 0 6px;
}

.aboutSubtitle{
  margin:0 0 14px;
  color:var(--text);
}

.bioSpacer{
  height:10px;
}

.partners{
  margin-top:18px;
  text-align:center;
}

.partnersTitle{
  font-weight:400;
  margin:0 0 10px;
  color:var(--muted);
}

.partnersLogos{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px 18px;
}

.partnersLogos a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border-radius:0;
  background:transparent;
  border:0;
}

.partnersLogos img{
  height:52px;
  max-width:180px;
  width:auto;
  display:block;
  object-fit:contain;
}

.partnersLogos img.partnerLarge{
  height:64px;
  max-width:220px;
}

.partnersLogos img.partnerBigblue{
  height:82px;
  max-width:280px;
}

.trustSection{
  margin-top:18px;
}

.trustTitle{
  margin:0 0 12px;
  text-align:center;
  font-size:1rem;
  font-weight:400;
  letter-spacing:.02em;
  color:var(--muted);
}

.trustCarousel{
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(15,22,32,.55);
  overflow:hidden;
  padding:10px 0;
}

.trustTrack{
  display:flex;
  align-items:center;
  width:max-content;
  gap:30px;
  padding:0 16px;
  animation:trust-scroll 56s linear infinite;
}

.trustTrack a{
  display:inline-flex;
  align-items:center;
}

.trustCarousel:hover .trustTrack{
  animation-play-state:paused;
}

.trustTrack img{
  height:56px;
  width:auto;
  max-width:160px;
  object-fit:contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}

@keyframes trust-scroll{
  from{
    transform:translateX(0);
  }
  to{
    transform:translateX(-50%);
  }
}

.aboutBio .cardText{
  text-align:justify;
}

.aboutContent .cardTitle{
  font-weight:700;
  margin:0 0 6px;
  font-size:1.05rem;
}

.aboutContent .cardText{
  color:var(--text);
  line-height:1.7;
}

.aboutContent .cardText p{
  margin:0 0 12px;
}

.aboutContent .cardText p:last-child{
  margin-bottom:0;
}
/* GALLERY */
.galleryGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
  padding:8px 0 32px;
}

.gItem{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}

.gItem img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 4 / 3;
  object-fit:cover;
}

.gCap{
  padding:12px 14px 16px;
  font-size:.95rem;
  color:var(--muted);
  line-height:1.45;
}

/* EXPEDITIONS CARDS */
.xCards{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:14px;
  padding-bottom:32px;
}

.xCard{
  display:flex;
  flex-direction:column;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:transform .2s ease, border-color .2s ease;
}

.xCard:hover{
  transform:translateY(-2px);
  border-color:rgba(125,211,252,.5);
}

.xCover{
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background:#0b0f14;
}

.xCover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.xBody{
  padding:16px 16px 18px;
}

.xTitle{
  margin:0 0 8px;
  font-size:1.1rem;
  text-align:center;
}

.xMeta{
  margin:0 0 12px;
  color:var(--muted);
  font-size:.95rem;
  text-align:center;
  text-justify:auto;
  line-height:1.45;
}

.xTags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.xTag{
  font-size:.75rem;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:var(--muted);
}

@media (max-width: 900px){
  .fbGrid{
    grid-template-columns: 1fr;
  }
  .galleryGrid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .xCards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  .header{
    padding-top:8px;
    padding-bottom:10px;
  }
  .container{
    padding:0 18px;
  }

  .header .container{
    padding:0 22px;
  }

  .nav{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    padding:22px 18px 18px;
  }

  .brand .tag{
    font-size:.85rem;
  }

  .brandLogo{
    width:28px;
    height:28px;
  }

  .menu{
    flex-wrap:wrap;
    gap:8px;
  }

  .menu a{
    padding:6px 10px;
  }

  .cover{
    height:38vh;
    min-height:220px;
    max-height:420px;
    overflow:hidden;
  }

  .cover img{
    height:100%;
    aspect-ratio:auto;
  }

  .coverCenter{
    position:absolute;
    top:16px;
    left:0;
    right:0;
    width:100%;
    margin:0;
    transform:none;
    justify-content:center;
    align-items:center;
  }

  .socialLink{
    width:40px;
    height:40px;
    border-radius:10px;
  }

  .socialLink img{
    width:20px;
    height:20px;
  }

  .coverCenter{
    gap:10px;
    top:50%;
    bottom:auto;
    left:50%;
    right:auto;
    transform:translate(-50%, -50%);
    width:auto;
    justify-content:center;
    align-items:center;
  }

  .coverCards{
    margin-top:12px;
    padding:0 12px 12px;
  }

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

  .xCardsCompact .xCover{
    aspect-ratio: 4 / 3;
  }

  .xCardsCompact .xBody{
    padding:6px 6px 8px;
  }

  .xCardsCompact .xTitle{
    font-size:.78rem;
  }

  .xCardsCompact .xMeta{
    display:none;
  }

  .cover + .coverCards,
  .coverCards{
    display:block;
  }

  .socialLink{
    width:44px;
    height:44px;
    border-radius:12px;
  }

  .socialLink img{
    width:24px;
    height:24px;
  }

  .fbGrid{
    grid-template-columns: 1fr;
  }

  .hero{
    padding:34px 0 42px;
  }

  .hero h1{
    font-size:clamp(1.6rem, 5vw, 2.1rem);
  }

  .heroCenter{
    text-align:center;
  }

  .heroCenter h1,
  .heroCenter p{
    margin-left:auto;
    margin-right:auto;
  }

  .cardTitle{
    text-align:center;
  }

  .cardText{
    text-align:center;
  }

  .carouselTrack{
    justify-content:center;
  }

  .cItem{
    width:90%;
    margin:0 auto;
  }

  .aboutHero{
    grid-template-columns: 1fr;
    gap:16px;
  }

  .aboutStack{
    gap:16px;
  }

  .aboutIntro{
    padding:6px 10px;
  }

  .aboutMedia img{
    aspect-ratio: 16 / 10;
  }

  .trustTrack{
    gap:22px;
    animation-duration:48s;
  }

  .trustTrack img{
    height:48px;
    max-width:130px;
  }

  .aboutLogo{
    width:68px;
    height:68px;
    border-radius:14px;
  }

  .galleryGrid{
    grid-template-columns: 1fr;
    gap:14px;
  }
  .xCards{
    grid-template-columns: 1fr;
    gap:14px;
  }

  .xCards.xCardsCompact{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:8px;
  }
}

@media (max-width: 420px){
  .nav{
    padding:26px 18px 16px;
  }
}

/* FOOTER */
.footer{
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.15);
  padding:0;
  margin-top:auto;
}

.aboutPage .footer{
  border-top:0;
}

.footerInner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:12px 18px;
  flex-wrap:wrap;
}

.footBrand{
  font-weight:800;
  line-height:1.2;
}

.footNote{
  font-size:.9rem;
  color:var(--muted);
  line-height:1.2;
}

.footLinks{
  display:flex;
  gap:14px;
  font-size:.9rem;
  color:var(--muted);
  line-height:1.2;
}

/* MAP CONSENT */
.mapConsentWrap{
  position:relative;
}

.mapConsentOverlay{
  position:absolute;
  inset:0;
  z-index:4;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  border-radius:12px;
  background:rgba(6,10,15,.82);
}

.mapConsentPanel{
  width:min(760px, 100%);
  background:rgba(15,22,32,.96);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  text-align:center;
}

.mapConsentTitle{
  margin:0 0 8px;
  font-size:1.05rem;
}

.mapConsentText{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.mapConsentCheck{
  margin-top:12px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
  color:var(--text);
}

.mapConsentCheckInput{
  margin-top:2px;
}

.mapConsentCheckText{
  font-size:.95rem;
  text-align:left;
}

.mapConsentBtn{
  margin-top:14px;
  border:1px solid rgba(125,211,252,.45);
  background:rgba(125,211,252,.12);
  color:var(--text);
  border-radius:10px;
  padding:9px 12px;
  cursor:pointer;
  font:inherit;
}

.mapConsentBtn:hover{
  background:rgba(125,211,252,.2);
}

.mapConsentBtn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

