/* =====================================================
   KOTWICA — Bistro & Bar | Władysławowo
   styles.css — motyw: premium, minimalistyczny
   ===================================================== */

:root{
  --white:#FFFFFF;
  --ice:#F4F6F9;
  --blue:#1B5FA8;
  --bluedark:#134778;
  --bluedeep:#0F3258;
  --text:#16273A;
  --textmute:rgba(22,39,58,.66);
  --whitemute:rgba(255,255,255,.72);
  --line:rgba(22,39,58,.12);
}

/* ---------- Reset ---------- */
*{box-sizing:border-box;}
body,h1,h2,h3,h4,p,figure{margin:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--white);
  color:var(--text);
  font-family:'Poppins',sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  -webkit-tap-highlight-color:transparent;
  text-size-adjust:100%;
  -webkit-text-size-adjust:100%;
}
img{max-width:100%; display:block;}
a{text-decoration:none; color:inherit;}
button{font:inherit; cursor:pointer; background:none; border:none; color:inherit;}
ul{list-style:none; margin:0; padding:0;}
.font-display{font-family:'Fraunces',serif;}
code{font-family:inherit;}

::-webkit-scrollbar{width:10px;}
::-webkit-scrollbar-track{background:var(--ice);}
::-webkit-scrollbar-thumb{background:var(--blue); border-radius:8px;}

a:focus-visible, button:focus-visible{outline:2px solid var(--blue); outline-offset:3px; border-radius:2px;}

/* =====================================================
   SCROLL PROGRESS BAR (utworzony w JS, brakowało stylu)
   ===================================================== */
#scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg, var(--blue), var(--bluedeep));
  z-index:60; pointer-events:none;
  transition:width .12s linear;
}

/* =====================================================
   CUSTOM CURSOR (desktop, pointer:fine only — nigdy na dotyku)
   ===================================================== */
@media (hover:hover) and (pointer:fine){
  html.has-custom-cursor, html.has-custom-cursor a, html.has-custom-cursor button, html.has-custom-cursor [role="tab"]{
    cursor:none;
  }
}
#kursor{
  position:fixed; top:0; left:0; width:8px; height:8px; margin:-4px 0 0 -4px;
  background:var(--blue); border-radius:50%; pointer-events:none; z-index:9999;
  opacity:0;
  transition:opacity .25s ease, width .25s ease, height .25s ease, margin .25s ease, transform .15s ease, background-color .25s ease;
}
#kursor-ring{
  position:fixed; top:0; left:0; width:34px; height:34px; margin:-17px 0 0 -17px;
  border:1.5px solid var(--blue); border-radius:50%; pointer-events:none; z-index:9998;
  opacity:0;
  transition:opacity .25s ease, width .3s ease, height .3s ease, margin .3s ease, border-color .3s ease;
}
#kursor.kursor--hover{width:14px; height:14px; margin:-7px 0 0 -7px;}
#kursor-ring.kursor--hover{width:56px; height:56px; margin:-28px 0 0 -28px; border-color:var(--bluedark);}
#kursor.kursor--click{transform:scale(.7);}

section, header{scroll-margin-top:84px;}
.hidden{display:none !important;}

.container{max-width:1280px; margin:0 auto; padding-inline:1.5rem;}
@media(max-width:380px){.container{padding-inline:1.15rem;}}
@media(min-width:768px){.container{padding-inline:2.5rem;}}

/* =====================================================
   REVEAL ON SCROLL (Płynne animacje)
   ===================================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.92); }

.reveal.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Sekwencyjne animacje tagów */
.pill-row .tag {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible .pill-row .tag { opacity: 1; transform: translateY(0); }
.reveal.is-visible .pill-row .tag:nth-child(1) { transition-delay: 0.1s; }
.reveal.is-visible .pill-row .tag:nth-child(2) { transition-delay: 0.2s; }
.reveal.is-visible .pill-row .tag:nth-child(3) { transition-delay: 0.3s; }
.reveal.is-visible .pill-row .tag:nth-child(4) { transition-delay: 0.4s; }

@keyframes fadeIn{from{opacity:0;}to{opacity:1;}}
@keyframes fadeUp{from{opacity:0; transform:translateY(20px);}to{opacity:1; transform:translateY(0);}}
.anim-fade-in{animation:fadeIn 1s ease both;}
.anim-fade-up{animation:fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;}
.anim-delay-1{animation-delay:.25s;}
.anim-delay-2{animation-delay:.5s;}
.anim-delay-3{animation-delay:.7s;}

/* =====================================================
   SPLIT TEXT — animacja słowo-po-słowie dla tytułów sekcji
   (klasy generowane w JS, brakowało stylu)
   ===================================================== */
.split-word{display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:.08em;}
.split-word-inner{
  display:inline-block;
  transform:translateY(110%);
  opacity:0;
  transition:transform .7s cubic-bezier(0.22, 1, 0.36, 1), opacity .7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay:inherit; /* przejmuje delay ustawiony inline na rodzicu .split-word */
}
.split-word-inner.visible{transform:translateY(0); opacity:1;}

@keyframes bobY{0%,100%{transform:translateY(0);}50%{transform:translateY(-8px);}}
@keyframes cardIn{from{opacity:0; filter:blur(6px); transform:translateY(20px);}to{opacity:1; filter:blur(0); transform:translateY(0);}}
@keyframes rippleOut{from{width:0; height:0; opacity:.45;}to{width:480px; height:480px; opacity:0;}}
@keyframes swing{0%,100%{transform:rotate(0deg);}30%{transform:rotate(-9deg);}60%{transform:rotate(6deg);}80%{transform:rotate(-3deg);}}
@keyframes tideDrift{from{transform:translateX(0px);}to{transform:translateX(-1440px);}}

/* =====================================================
   EYEBROW LABEL & TAGS
   ===================================================== */
.stamp{
  display:inline-flex; align-items:center; gap:.5em;
  font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.18em;
  padding-bottom:.3rem; border-bottom:2px solid var(--blue);
  color:var(--text);
}

.tag{
  display:inline-flex; align-items:center; gap:.45em;
  border:1.5px solid var(--line); color:var(--text);
  padding:.45rem 1rem; border-radius:99px;
  font-weight:600; font-size:.72rem; text-transform:uppercase; letter-spacing:.06em;
  background:var(--white);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn{
  position:relative; overflow:hidden;
  display:inline-flex; align-items:center; gap:.6rem;
  font-weight:600; font-size:.85rem; text-transform:uppercase; letter-spacing:.06em;
  padding:.95rem 1.7rem; border-radius:6px; border:1.5px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn:active{transform:translateY(0);}

.btn-ripple{
  position:absolute; left:0; top:0; transform:translate(-50%,-50%);
  border-radius:50%; background:rgba(255,255,255,.55); pointer-events:none;
  animation:rippleOut .7s ease-out forwards;
}
.btn-ghost .btn-ripple{background:rgba(27,95,168,.18);}

.btn-primary{background:var(--blue); color:var(--white); box-shadow:0 10px 24px -8px rgba(27,95,168,.45);}
.btn-primary:hover{background:var(--bluedark); box-shadow:0 14px 28px -8px rgba(27,95,168,.55);}

.btn-ghost{background:transparent; border-color:var(--line); color:var(--text);}
.btn-ghost:hover{border-color:var(--blue); color:var(--blue);}

/* =====================================================
   NAV (Zmienione na wariant ciemny/Premium)
   ===================================================== */
#site-nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  padding:1.1rem 1.25rem;
  padding-top:calc(1.1rem + env(safe-area-inset-top));
  padding-left:calc(1.25rem + env(safe-area-inset-left));
  padding-right:calc(1.25rem + env(safe-area-inset-right));
  background:transparent;
  border-bottom:1px solid rgba(255,255,255,0);
  transition:background-color .4s ease, border-color .4s ease, padding .4s ease, box-shadow .4s ease;
}
@media(min-width:768px){#site-nav{padding:1.1rem 2.5rem;}}

#site-nav.scrolled{
  background-color: rgba(15, 50, 88, 0.98); /* var(--bluedeep) z lekkim alpha */
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,255,255,0.05);
  box-shadow: 0 4px 24px -12px rgba(0,0,0,0.5);
  padding-bottom: .85rem;
  padding-top: calc(.85rem + env(safe-area-inset-top));
}

.nav-inner{max-width:1280px; margin:0 auto; display:flex; align-items:center; justify-content:space-between;}

.logo{display:flex; align-items:center; gap:.7rem;}
.logo-img{height:2.4rem; width:2.4rem; border-radius:50%; transition:transform .4s ease;}
.logo:hover .logo-img{transform:rotate(-10deg);}
.logo-text{font-family:'Fraunces',serif; font-style:italic; color:var(--white); font-size:1.4rem; font-weight:700; letter-spacing:.01em;}

.nav-links{display:none; align-items:center; gap:2.1rem;}
@media(min-width:1024px){.nav-links{display:flex;}}

.nav-link{
  position:relative; color:rgba(255,255,255,0.7);
  font-size:12.5px; font-weight:600; text-transform:uppercase; letter-spacing:.1em;
  transition:color .25s ease;
}
.nav-link::after{content:''; position:absolute; left:0; bottom:-7px; width:0; height:2px; background:var(--white); transition:width .3s ease;}
.nav-link:hover{color:var(--white);}
.nav-link:hover::after, .nav-link.active::after{width:100%;}
.nav-link.active{color:var(--white);}

.nav-separator { width: 1px; height: 18px; background: rgba(255,255,255,0.15); margin: 0 0.25rem; }
.nav-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: var(--white); background: rgba(255, 255, 255, 0.1);
  font-size: 14px; transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.nav-social-link:hover { background: var(--white); color: var(--blue); transform: translateY(-2px); }

.burger{display:flex; align-items:center; justify-content:center; width:2.75rem; height:2.75rem; margin-right:-.35rem; color:var(--white); font-size:1.4rem;}
@media(min-width:1024px){.burger{display:none;}}

/* Menu mobilne ciemne dla spójności */
#mobile-panel{
  max-height:0; overflow:hidden; opacity:0;
  background: rgba(15, 50, 88, 0.98); 
  backdrop-filter:blur(8px);
  border-radius:0 0 6px 6px; border-top:1px solid rgba(255,255,255,0.05);
  transition:max-height .4s ease, opacity .3s ease;
}
@media(min-width:1024px){#mobile-panel{display:none;}}
.mobile-panel-inner{max-width:1280px; margin:0 auto; display:flex; flex-direction:column; gap:.25rem; padding:1.25rem 1rem 1.25rem;}
.mobile-link{
  display:flex; align-items:center; min-height:44px;
  font-size:.85rem; font-weight:600; text-transform:uppercase; letter-spacing:.06em;
  color: rgba(255,255,255,0.7); padding:.75rem 0; border-bottom:1px solid rgba(255,255,255,0.1);
  transition: color 0.2s ease;
}
.mobile-link:hover { color: var(--white); }
.mobile-social-link {
  color: var(--white); display: flex; align-items: center; gap: 0.6rem;
  border-bottom: none; margin-top: 0.25rem;
}

/* =====================================================
   HERO (Full-bleed z paralaksą)
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Efekt paralaksy — tylko na dużych ekranach z myszką, patrz media query niżej */
  color: var(--white);
  overflow: hidden;
}
/* background-attachment:fixed jest niestabilny i "skacze" na telefonach (iOS/Android),
   więc na dotykowych/mniejszych ekranach wyłączamy paralaksę na rzecz zwykłego przewijania */
@media (max-width:1024px), (hover:none) and (pointer:coarse){
  .hero{background-attachment:scroll;}
}
/* Na wąskich, wysokich ekranach telefonów zdjęcie (poziome) jest kadrowane głównie
   w BOKACH, nie w pionie — cover dopasowuje wysokość, więc nadmiar szerokości jest
   przycinany. Neon "Kotwica" jest w prawej części zdjęcia (zmierzone: tekst ok.
   66–95% szerokości), więc przesuwamy punkt odniesienia w prawo, żeby napis
   zmieścił się w kadrze zamiast się urywać. */
@media (max-width:767px){
  .hero{background-position: 93% center;}
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 50, 88, 0.65) 0%, rgba(15, 50, 88, 0.25) 100%);
  z-index: 1;
}

/* Warstwa mgły dodawana w JS przy scrollu (brakowało stylu — była niewidoczna) */
.hero-fog{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(15,50,88,0) 0%, rgba(15,50,88,.55) 60%, var(--white) 100%);
  opacity: 0;
}

.hero-inner {
  position: relative;
  z-index: 10;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.hero-stamp {
  font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3em;
  color: var(--white); margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Fraunces', serif; font-style: italic; color: var(--white);
  font-size: 3.4rem; font-weight: 700; line-height: 1.1; margin-bottom: 0.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
@media(min-width: 380px){.hero-title{font-size: 4rem;}}
@media(min-width: 480px){.hero-title{font-size: 5rem;}}
@media(min-width: 768px){.hero-title{font-size: 6.5rem;}}

.hero-location {
  font-size: 1rem; font-weight: 500; letter-spacing: .2em; color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem; text-transform: uppercase;
}
@media(min-width: 380px){.hero-location{font-size: 1.1rem;}}

.hero-actions{display:flex; flex-wrap:wrap; justify-content:center; gap:1.1rem;}

.scroll-cue{
  display:none; position:absolute; bottom:2.4rem; left:50%; transform:translateX(-50%);
  flex-direction:column; align-items:center; gap:.5rem;
  color:rgba(255,255,255,.7); font-size:10.5px; font-weight:600; text-transform:uppercase; letter-spacing:.18em;
  z-index: 10;
}
@media(min-width:768px){.scroll-cue{display:flex;}}
.scroll-cue i{animation:bobY 1.8s ease-in-out infinite; color:var(--white);}

/* =====================================================
   MENU
   ===================================================== */
.menu-section{position:relative; background:var(--white); padding:6rem 1.5rem 6rem 1.5rem;}
@media(min-width:768px){.menu-section{padding:7.5rem 2.5rem 7.5rem 2.5rem;}}

.menu-header{max-width:40rem; margin:0 auto 3rem; text-align:center;}
.menu-title{font-family:'Fraunces',serif; color:var(--text); font-size:2.1rem; font-weight:700; margin:1rem 0 1.1rem;}
@media(min-width:768px){.menu-title{font-size:2.8rem;}}
.menu-desc{color:var(--textmute); line-height:1.75;}

.tabs{
  display:flex; flex-wrap:nowrap; justify-content:flex-start; gap:.55rem; margin-bottom:2.4rem;
  overflow-x:auto; overflow-y:hidden; padding:.2rem 1.5rem 1rem; margin-inline:-1.5rem;
  -webkit-overflow-scrolling:touch; scrollbar-width:none; scroll-snap-type:x proximity;
  mask-image:linear-gradient(to right, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
}
.tabs::-webkit-scrollbar{display:none;}
@media(min-width:768px){
  .tabs{flex-wrap:wrap; justify-content:center; overflow-x:visible; padding:0; margin-inline:0; margin-bottom:3rem; mask-image:none;}
}

.tab-btn{
  flex:0 0 auto; scroll-snap-align:start; white-space:nowrap;
  font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  padding:.7rem 1.15rem; border-radius:99px; border:1.5px solid var(--line);
  color:var(--text); background:var(--white); transition:all .25s ease;
}
@media(min-width:768px){.tab-btn{font-size:12.5px; padding:.6rem 1.1rem;}}
.tab-btn i{margin-right:.4rem;}
.tab-btn.active{background:var(--blue); color:var(--white); border-color:var(--blue);}

.menu-panel{display:flex; flex-direction:column; gap:0;}
.panel-anim{animation:fadeUp .55s cubic-bezier(0.22, 1, 0.36, 1) both;}

.menu-note{
  grid-column:1/-1; display:flex; align-items:center; gap:.6rem;
  color:var(--blue); font-size:.8rem; font-weight:600;
  margin-bottom:1.4rem;
}
.menu-note i{font-size:.85rem; transform:rotate(-12deg);}

.menu-group-label{
  grid-column:1/-1; display:flex; align-items:center; gap:.9rem;
  font-family:'Fraunces',serif; font-style:italic; color:var(--text);
  font-size:1.2rem; font-weight:700; margin:0 0 1.1rem;
}
.menu-group-label:not(:first-child){margin-top:.6rem;}
.menu-group-label::after{content:''; flex:1; height:1px; background:var(--line);}

.menu-grid{display:grid; gap:1.4rem; margin-bottom:2.6rem;}
@media(min-width:640px){.menu-grid{grid-template-columns:repeat(2,1fr);}}
@media(min-width:1024px){.menu-grid{grid-template-columns:repeat(3,1fr);}}
.menu-grid:last-child{margin-bottom:0;}

.menu-card{
  position:relative; background:var(--white); border:1px solid var(--line);
  border-radius:10px; padding:1.7rem 1.5rem 1.5rem; transition:transform .4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .4s ease;
}
.panel-anim .menu-card{
  animation:cardIn .6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay:calc(var(--stagger, 0) * 45ms);
}
.menu-card:hover{transform:translateY(-6px) scale(1.01); box-shadow:0 24px 36px -16px rgba(22,39,58,.18);}

.menu-card-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:1.1rem;}
.menu-card-icon{width:2.6rem; height:2.6rem; border-radius:50%; background:rgba(27,95,168,.1); display:flex; align-items:center; justify-content:center; color:var(--blue); font-size:1rem; transition:transform .3s ease;}
.menu-card:hover .menu-card-icon{transform:rotate(-8deg) scale(1.06);}
.menu-card-title{font-family:'Fraunces',serif; font-style:italic; color:var(--text); font-size:1.15rem; margin-bottom:.3rem;}
.menu-card-desc{color:var(--textmute); font-size:.85rem; line-height:1.5; margin-bottom:1.2rem;}
.menu-card-desc--empty{margin-bottom:0;}
.menu-card-footer{border-top:1px dashed var(--line); padding-top:.9rem; display:flex; justify-content:space-between; align-items:center;}
.menu-card-footer .label{color:var(--textmute); font-size:.72rem; font-weight:500; text-transform:uppercase; letter-spacing:.05em;}
.menu-card-footer .price{font-weight:700; color:var(--blue); font-size:.9rem;}

.menu-card-footer.multi{flex-direction:column; align-items:stretch; gap:.4rem;}
.menu-card-footer.multi .price-row{display:flex; justify-content:space-between; align-items:baseline; font-size:.82rem;}
.menu-card-footer.multi .price-row .label{color:var(--textmute); text-transform:none; font-weight:500; letter-spacing:0;}
.menu-card-footer.multi .price-row .price{color:var(--blue); font-weight:700;}

/* =====================================================
   OPINIE
   ===================================================== */
.reviews{background:var(--ice); padding:6rem 1.5rem 6rem 1.5rem;}
@media(min-width:768px){.reviews{padding:7.5rem 2.5rem 7.5rem 2.5rem;}}
.reviews-inner{max-width:46rem; margin:0 auto; text-align:center;}
.reviews-title{font-family:'Fraunces',serif; color:var(--text); font-size:2.1rem; font-weight:700; margin:1rem 0 2.6rem;}
@media(min-width:768px){.reviews-title{font-size:2.8rem;}}
.reviews-card{
  background:var(--white); border-radius:10px; padding:1.5rem;
  border:1px solid var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.reviews-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -12px rgba(22,39,58,0.12); }
@media(min-width:768px){.reviews-card{padding:2.3rem;}}

/* =====================================================
   KARIERA
   ===================================================== */
.career{
  position:relative; overflow:hidden;
  background:var(--white);
  padding:6rem 1.5rem 6rem 1.5rem;
}
@media(min-width:768px){.career{padding:7.5rem 2.5rem 7.5rem 2.5rem;}}

.career-inner{position:relative; z-index:10; max-width:52rem; margin:0 auto; text-align:center;}
.career-title{font-family:'Fraunces',serif; color:var(--text); font-size:2.1rem; font-weight:700; margin:1rem 0 1.4rem;}
@media(min-width:768px){.career-title{font-size:2.8rem;}}
.career-text{color:var(--textmute); line-height:1.75; max-width:38rem; margin:0 auto 2.2rem;}

.pill-row{display:flex; flex-wrap:wrap; justify-content:center; gap:.7rem; margin-bottom:2.4rem;}

.career-actions{display:flex; flex-wrap:wrap; justify-content:center; gap:1rem;}

/* =====================================================
   FOOTER
   ===================================================== */
.footer{position:relative; overflow:hidden; background:var(--bluedeep); padding:6.5rem 1.5rem 4rem;}
@media(min-width:768px){.footer{padding:7.2rem 2.5rem 4rem 2.5rem;}}

#footer-canvas{
  position:absolute; inset:0; display:block;
  width:100%; height:100%; z-index:0; pointer-events:none;
}

.footer-wave{position:absolute; top:0; left:0; width:100%; height:52px; display:block;}
@media(min-width:768px){.footer-wave{height:68px;}}
.footer-wave path{fill:var(--white); animation:tideDrift 24s linear infinite;}

.footer-centered {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.footer-logo img { 
  height: 4.5rem; 
  width: 4.5rem; 
  border-radius: 50%; 
  flex-shrink: 0; 
}

.footer-logo-img { transform-origin: 50% 15%; }
.footer-logo:hover .footer-logo-img { animation: swing .65s ease; }

.footer-logo-text { 
  font-family: 'Fraunces', serif; 
  font-style: italic; 
  color: var(--white); 
  font-size: 2rem; 
  font-weight: 700; 
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.8rem;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--whitemute);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .25s ease, transform .25s ease;
}

.footer-contact-icon {
  width: 1.7rem;
  height: 1.7rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  transition: border-color .25s ease, background .25s ease;
}

.footer-contact-link:hover { color: var(--white); transform: translateX(2px); }
.footer-contact-link:hover .footer-contact-icon { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }

.social-links { 
  display: flex; 
  justify-content: center; 
  gap: .8rem; 
}

.social-link {
  width: 3rem; 
  height: 3rem; 
  font-size: 1.25rem;
  border-radius: 50%; 
  border: 1.5px solid rgba(255,255,255,.25);
  display: flex; 
  align-items: center; 
  justify-content: center; 
  color: var(--whitemute);
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
  outline-offset: 3px;
}

.social-link:hover { 
  color: var(--white); 
  border-color: rgba(255,255,255,.6); 
  background: rgba(255,255,255,.08); 
  transform: translateY(-3px);
}

.social-link:focus-visible { border-radius: 50%; }

.footer-bottom{
  max-width:1280px; margin:0 auto; border-top:1px solid rgba(255,255,255,.12); padding-top:1.8rem;
  display:flex; justify-content:center; align-items:center;
}
.footer-copy{color:rgba(255,255,255,.5); font-size:.75rem;}

/* =====================================================
   TO TOP
   ===================================================== */
#to-top{
  position:fixed; bottom:1.5rem; right:1.5rem; z-index:40;
  bottom:calc(1.5rem + env(safe-area-inset-bottom));
  right:calc(1.5rem + env(safe-area-inset-right));
  width:2.9rem; height:2.9rem; min-width:44px; min-height:44px; border-radius:50%;
  background:var(--white); color:var(--blue); border:1.5px solid var(--line);
  box-shadow:0 10px 24px -10px rgba(22,39,58,.3);
  display:flex; align-items:center; justify-content:center; font-size:1.05rem;
  opacity:0; pointer-events:none; transform:translateY(8px);
  transition:opacity .3s ease, transform .3s ease;
}
#to-top.visible{opacity:1; pointer-events:auto; transform:translateY(0);}
#to-top.footer-near{opacity:0; pointer-events:none; transform:translateY(8px);}
#to-top:hover{transform:translateY(-2px); box-shadow:0 14px 28px -10px rgba(22,39,58,.35);}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
  .reveal{opacity:1 !important; transform:none !important;}
}