:root{
  --brand:#E30611;     
  --ink:#c50a0a;      
  --body:#3E434C;    
  --muted:#8A9099;     
  --bg:#FFFFFF;
  --alt:#F5F6F7;            
  --safe-top: env(safe-area-inset-top, 0px); 
  --header-h: 64px;
  --title-top: clamp(4rem, 22svh, 12rem);   
  --hero-bottom-gap: clamp(8rem, 18svh, 14rem); 
}


*{box-sizing:border-box}
html,body{margin:0}
body{ font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:var(--body); height:100% }
h1,h2,h3{ font-family:'Unbounded', sans-serif; color:var(--ink); letter-spacing:.3px; }



.logo {
  display: flex;
  align-items: center;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #ff000d;
}

.logo-icon {
  width: 1.4em;
  height: auto;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(1.1) blur(6px);
  background:rgba(255,255,255,.85);
  border-bottom:1px solid #eee;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 16px;
  padding-top: var(--safe-top);
}
.brand{
  display:flex; 
  align-items:center;
   gap:10px;
    text-decoration:none;
    color:inherit
  }
.brand__mark{
  width:28px;
   height:28px; 
   fill:var(--red)
  
  }
.brand__name{font-weight:800}
.nav{
  display:flex; 
  gap:14px;
   flex-wrap:wrap
  }
.nav a{
  color:inherit;
   text-decoration:none; 
   padding:8px 10px; 
   border-radius:10px
  }
.nav a:hover{background:var(--alt)}
.section{padding:64px 16px}
.section--alt{background:var(--alt)}
.container{
  max-width:1120px;
   margin:0 auto
  }



.cards--3{ display:grid; gap:16px; grid-template-columns:repeat(3,1fr); }
@media (max-width:1120px){ .cards--3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .cards--3{ grid-template-columns:1fr; } }


.dash{ margin:12px 0 18px; padding:0; list-style:none; }
.dash li{ margin:8px 0; line-height:1.5; }

#services h2 {
  text-align: center;
  font-weight: 800;  
  margin-bottom: 32px;
}


.price-table th {
  text-align: left;
  font-weight: 700;
  padding: 12px 12px;
  border-bottom: 2px solid #ddd;
}
.price-table thead th {
  padding: 12px 12px 16px; 
  font-weight: 700;
  border-bottom: 2px solid #ddd;
}


/*
@keyframes bob{
  0%   { transform: translateY(0) rotate(-1deg) }
  50%  { transform: translateY(-6px) rotate(1deg) }
  100% { transform: translateY(0) rotate(-1deg) }
}
*/

/*
@media (prefers-reduced-motion: reduce){
  .hero-boat{ animation:none }
}
*/

.hero{
  --baseline: clamp(2px, 1svh, 22px); 
  --pharos-offset: -150px;                
  --boat-offset:   -161px; 
  --logo-offset: -150px;     
  position: relative;
  min-height: 85svh;
  overflow: hidden;
}

.hero-boat{
  position:absolute;
  left: 25vw;                            
  bottom: calc(var(--baseline) + var(--boat-offset));          
  width: clamp(250px, 30vw, 670px);
  height:auto; display:block;
  z-index:2; pointer-events:none;

  
  transform: translateX(-50%) translateY(var(--boat-shift));
  animation: bob 4.5s ease-in-out infinite;
}



.hero__inner{ position: relative; z-index: 2; text-align: center; }


.hero::before{
  content:"";
  position:absolute; inset:0;
  background: url("./pharos.svg")
              center bottom / cover no-repeat;
  z-index: 0; pointer-events:none;
  height: 100%;
  left:-10%; width:120%;    
}

.hero::after{
  content:"";
  position:absolute; display:block;
  left: 1rem;
  bottom: calc(var(--baseline) + var(--pharos-offset));              
  width: clamp(220px,32vw,520px);
  aspect-ratio: 2 / 5;
  background: url("./pharos.webp") left bottom / contain no-repeat;
  z-index: 2; pointer-events:none;
  transform: translateZ(0);
}

.hero h1{
  color:var(--ink);
  font-weight:800;    
  padding-top: 10rem;       
  font-size:clamp(40px,5.5vw,80px);
  line-height:1.1;
  margin:0 0 50px;
}
.lead{
  color:var(--muted);
  font-weight:600;
  letter-spacing:.2px;
  margin-bottom: 2rem;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

details.faq div {
  margin-top: 12px;
  padding-top: 5px;
  border-top: 1px solid #af3a3a;
  color: #444;
}

.btn {
  display: inline-block;
  padding: 14px 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: 0.2s;
  min-width: 180px; 
  text-align: center; 
  box-sizing: border-box; 
}


.btn--primary {
  background:  #e32424;
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 0, 13, 0.28);
}





.btn--ghost {
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn--ghost:hover {
  background: #e32424;
  color: #fff;
}
/* Cards */
.cards{display:grid; gap:16px; grid-template-columns:repeat(3,1fr)}
.card{background:#fff; border:1px solid #eee; padding:18px; border-radius:14px; transition:.2s}
.card:hover{transform:translateY(-4px); box-shadow:0 10px 24px rgba(0,0,0,.06)}
.card h3{margin:6px 0 8px}
.link{color:var(--red); text-decoration:none; font-weight:600}

/* Price table */
.table-wrap{overflow:auto}
.price-table{width:100%; border-collapse:collapse}
.price-table th, .price-table td{padding:12px 10px; border-bottom:1px solid #eee}
.price-table th{text-align:left}

/* Gallery */
.gallery{display:grid; gap:12px; grid-template-columns:repeat(3,1fr)}
.gallery__item img{width:100%; height:220px; object-fit:cover; border-radius:12px}

/* Benefits */
.benefits{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; list-style:none; padding:0; margin:0}
.benefits li{background:#fff; border:1px solid #eee; padding:16px; border-radius:12px; font-weight:600}

/* FAQ */
.faq{background:#fff; border:1px solid #eee; border-radius:12px; padding:12px; margin:10px 0}
.faq summary{cursor:pointer; font-weight:700; color:var(--red)}

/* Map */
.mapbox{border:1px solid #eee; border-radius:16px; overflow:hidden; background:#fff}
.mapbox__placeholder{display:grid; place-items:center; padding:28px; text-align:center}
.mapbox__links{display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:8px}
.contacts{list-style:none; padding:0; margin:18px 0 0; display:grid; gap:8px}

/* Footer */
.footer{padding:20px 16px; border-top:1px solid #eee; color:#555}
.footer__inner{display:flex; align-items:center; justify-content:space-between}
.footer__phone{color:var(--red); text-decoration:none; font-weight:700}

/* Sticky mobile CTA */
.sticky-cta{display:none; z-index:10}
@media (max-width:768px){
  .cards{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr}
  .benefits{grid-template-columns:1fr 1fr}
  .sticky-cta{position:fixed; left:0; right:0; bottom:0; display:flex; gap:8px;
    padding:10px; background:#fff; border-top:1px solid #eee}
  .sticky-cta a{flex:1; text-align:center; padding:12px; border-radius:10px; text-decoration:none;
    background:var(--red); color:#fff; font-weight:800}
  body{padding-bottom:68px}
  .hero{
  --baseline: clamp(2px, 1svh, 22px);
  --pharos-offset: -70px;                 
  --boat-offset:   -95px; 
  --logo-offset: -250px; 
  }
  .nav {
    gap: 6px;  
    margin-left: 15px;         
  }

  .nav a {
    font-size: 14px;         
    padding: 4px 6px; 
  }

  .header {
    padding: 0 8px;          
  }

  .brand {
    font-size: 16px;         
  }


.hero::after{left: -45px;}

.hero-boat{left: 40vw;}

}


.reveal{opacity:0; transform:translateY(12px); transition:opacity .5s ease, transform .5s ease}
.reveal.is-visible{opacity:1; transform:none}


@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none; transition:none}
  .btn--primary:hover{transform:none; box-shadow:none}
}


@media (min-width: 769px) and (max-width: 1023px) {
  .hero {
    min-height: 45vh; 

  }

  .hero h1 {
    font-size: clamp(32px, 4vw, 56px); 
  }

  .hero-boat {
    width: clamp(200px, 28vw, 500px);
    bottom: -5rem;       
  }

  .hero::after {
    width: clamp(180px, 28vw, 400px); 
    bottom: -4rem;
    left: -1rem;
  }

  .cta {
    gap: 10px;
  }

  .btn {
    min-width: 150px;
    padding: 12px 18px;
  }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .hero {
    min-height: 85vh; 

  }

  .hero h1 {
    font-size: clamp(32px, 4vw, 56px); 
  }

  .hero-boat {
    width: clamp(200px, 28vw, 500px);
    bottom: -6rem;       
  }

  .hero::after {
    width: clamp(180px, 28vw, 400px); 
    bottom: -4rem;
    left: -1rem;
  }

  .cta {
    gap: 10px;
  }

  .btn {
    min-width: 150px;
    padding: 12px 18px;
  }
}

.brand{ transform: translateY(0); }      
@media (max-height: 800px){
  .brand{ transform: translateY(1px); }    
}