/* AN-Travel | light editorial design */
:root{
  --bg:#f8f7f2;--surface:#fff;--surface-soft:#eef4f1;--ink:#203b3b;--text:#536563;
  --muted:#83918d;--teal:#397b75;--teal-dark:#245d59;--gold:#c69a5b;--line:#e5e8e1;
  --shadow:0 18px 55px rgba(32,59,59,.10);--radius:22px;--header-h:82px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",sans-serif;line-height:1.65;transition:background .25s,color .25s}
body.dark-theme{--bg:#172625;--surface:#203331;--surface-soft:#263c39;--ink:#edf3ed;--text:#bdcbc5;--muted:#93a49d;--teal:#8dc4b7;--teal-dark:#b0d7cd;--gold:#d7b47d;--line:#354a45;--shadow:0 18px 55px rgba(0,0,0,.22)}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,a,select{-webkit-tap-highlight-color:transparent}
.header{height:var(--header-h);padding:0 clamp(20px,5vw,82px);display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--surface);position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line);transition:background .25s}
.logo{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:500;letter-spacing:-.8px;white-space:nowrap}
.logo b{font-weight:700;color:var(--teal)}
.logo-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:white;font-family:"Playfair Display",serif;font-size:23px}
.navigation{display:flex;align-items:center;gap:clamp(16px,2.4vw,36px);margin-left:auto}
.navigation a{font-size:clamp(15px,1.15vw,16px);font-weight:600;color:var(--text);white-space:nowrap;transition:color .2s}
.navigation a:hover{color:var(--teal)}
.header-actions{display:flex;align-items:center;gap:12px}
#language-select,.theme-toggle{height:38px;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:10px;padding:0 10px;cursor:pointer}
.theme-toggle{width:38px;font-size:18px}
.header-button{background:var(--teal);color:#fff;padding:11px 19px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;transition:transform .2s,background .2s}
.header-button:hover,.button:hover{transform:translateY(-2px)}
.mobile-menu{display:none}
.hero{min-height:min(730px,calc(100vh - var(--header-h)));position:relative;display:flex;align-items:center;overflow:hidden;background:#345b55;color:#fff}
.hero-image,.hero-shade{position:absolute;inset:0}
.hero-image{background-image:url("https://images.unsplash.com/photo-1509316785289-025f5b846b35?auto=format&fit=crop&w=2200&q=90");background-size:cover;background-position:center 54%;transform:scale(1.02)}
.hero-shade{background:linear-gradient(90deg,rgba(15,37,35,.76) 0%,rgba(15,37,35,.48) 48%,rgba(15,37,35,.10) 100%),linear-gradient(0deg,rgba(10,27,25,.35),transparent 35%)}
.hero-content{position:relative;z-index:1;width:min(720px,90%);margin-left:clamp(24px,10vw,160px);padding:100px 0 125px}
.eyebrow{display:inline-block;font-size:10px;font-weight:700;letter-spacing:2.2px;color:var(--teal);text-transform:uppercase}
.hero-eyebrow{color:#e5c99b;margin-bottom:25px}
h1,h2,h3,p{margin-top:0}
h1,h2{font-family:"Playfair Display",serif;font-weight:600;letter-spacing:-1.5px}
.hero h1{font-size:clamp(48px,7vw,88px);line-height:1.08;margin:0 0 22px;color:#fff}
.hero h1 span{color:#e5c99b}
.hero-content>p{max-width:470px;color:rgba(255,255,255,.86);font-size:17px;margin-bottom:32px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:26px;border:0;border-radius:999px;padding:15px 22px;font-size:13px;font-weight:700;cursor:pointer;transition:transform .2s,background .2s}
.button-gold{background:#d3ad75;color:#203b3b}
.button-dark{background:var(--teal);color:white}
.hero-bottom{position:absolute;bottom:25px;left:clamp(24px,5vw,82px);right:clamp(24px,5vw,82px);display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:rgba(255,255,255,.75)}
.section{padding:clamp(76px,9vw,130px) clamp(22px,9vw,140px)}
.intro{display:grid;grid-template-columns:.7fr 1.3fr;gap:70px;align-items:start}
.intro-label{display:flex;align-items:center;gap:18px;padding-top:13px}
.intro-line{height:1px;background:var(--gold);width:70px}
.intro-copy{max-width:760px}
.intro h2,.section-heading h2,.contact h2{font-size:clamp(36px,4.5vw,58px);line-height:1.16;margin-bottom:20px}
.intro h2 span,.contact h2 span{color:var(--teal)}
.intro p,.section-heading>p,.contact>p{color:var(--text);max-width:580px;font-size:15px}
.tours{padding-top:50px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:42px}
.section-heading h2{margin:10px 0 0}
.section-heading>p{margin:0 0 8px;text-align:right}
.tour-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.tour-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 7px 24px rgba(32,59,59,.035);transition:transform .25s,box-shadow .25s}
.tour-card:hover{transform:translateY(-7px);box-shadow:var(--shadow)}
.tour-image{height:225px;display:block;position:relative;overflow:hidden;background:var(--surface-soft)}
.tour-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.tour-card:hover .tour-image img{transform:scale(1.06)}
.image-arrow{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#254c48}
.tour-info{padding:22px 22px 20px}
.tour-category{font-size:9px;letter-spacing:1.8px;color:var(--gold);font-weight:700}
.tour-info h3{font-family:"Playfair Display",serif;font-size:22px;line-height:1.25;margin:9px 0 10px}
.tour-info p{font-size:12px;line-height:1.7;color:var(--text);min-height:62px;margin-bottom:20px}
.tour-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:15px}
.text-link{font-size:12px;color:var(--teal);font-weight:700;display:inline-flex;gap:10px;align-items:center}
.tour-price{font-size:11px;font-weight:700;color:var(--ink);white-space:nowrap}
.experience{min-height:510px;display:grid;grid-template-columns:1fr 1fr;background:var(--surface-soft);margin:35px 0}
.experience-photo{background:url("https://images.unsplash.com/photo-1473580044384-7ba9967e16a0?auto=format&fit=crop&w=1400&q=85") center/cover;min-height:420px}
.experience-panel{padding:clamp(45px,7vw,100px);align-self:center}
.experience-panel h2{font:600 clamp(36px,4.2vw,54px)/1.14 "Playfair Display",serif;letter-spacing:-1px;margin:14px 0 20px}
.experience-panel p{color:var(--text);max-width:440px;margin-bottom:28px}
.reviews-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:30px}
.empty-reviews{grid-column:1/-1;background:var(--surface);border:1px dashed var(--line);border-radius:16px;padding:28px;color:var(--muted);text-align:center}
.review-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:22px}
.review-card h4{margin:0 0 5px}
.review-stars{color:var(--gold);letter-spacing:2px;margin-bottom:10px}
.review-card p{font-size:13px;color:var(--text);margin:0;overflow-wrap:anywhere}
.review-form{max-width:760px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:clamp(22px,4vw,36px)}
.review-form h3{font:600 26px "Playfair Display",serif;margin-bottom:20px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
input,select,textarea{width:100%;background:var(--bg);border:1px solid var(--line);border-radius:11px;color:var(--ink);padding:13px 15px;outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--teal)}
textarea{min-height:120px;resize:vertical;margin:12px 0}
.review-form small{display:block;color:var(--muted);font-size:10px;margin-top:13px}
.faq-section{padding-top:50px}
.faq-list{max-width:850px;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line);padding:20px 0}
.faq-item summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:after{content:"+";font-size:22px;color:var(--teal);font-weight:400}
.faq-item[open] summary:after{content:"−"}
.faq-item p{color:var(--text);font-size:13px;max-width:700px;margin:14px 0 0}
.contact{text-align:center;background:var(--surface-soft)}
.contact h2{margin:14px auto 18px;max-width:760px}
.contact>p{margin:0 auto 30px}
.contact-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:35px 0}
.contact-item {
    min-width: 180px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.65;
    text-decoration: none;
    transition: border .2s, transform .2s;
}
.contact-item:hover{border-color:var(--teal);transform:translateY(-3px)}
.contact-item span{color:var(--teal)}
.contact-location{font-size:10px!important;letter-spacing:2px;color:var(--muted)!important}
.footer{padding:28px clamp(22px,5vw,82px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface);border-top:1px solid var(--line)}
.footer-logo{font:600 22px "Playfair Display",serif}
.footer-logo span{color:var(--gold)}
.footer p,.footer>span{font-size:10px;color:var(--muted);margin:0}
.footer>span{letter-spacing:2px}
.floating-contact{position:fixed;right:25px;bottom:25px;width:52px;height:52px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;font-size:22px;box-shadow:var(--shadow);z-index:40}
.lightbox{position:fixed;inset:0;background:rgba(8,20,19,.92);z-index:100;display:none;align-items:center;justify-content:center;padding:30px}
.lightbox.active{display:flex}
.lightbox img{max-width:min(1100px,95vw);max-height:85vh;object-fit:contain;border-radius:10px}
.lightbox-close{position:absolute;top:20px;right:25px;background:none;border:0;color:#fff;font-size:42px;cursor:pointer}
@media(max-width:1100px){.tour-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tour-image{height:260px}.navigation{gap:13px}.navigation a{font-size:14px}}
@media(max-width:780px){
 :root{--header-h:70px}.header{padding:0 18px;gap:12px}.logo{font-size:19px}.logo-mark{width:31px;height:31px}
 .mobile-menu{display:block;border:0;background:transparent;color:var(--ink);font-size:24px;cursor:pointer;margin-left:auto}
 .navigation{display:none;position:absolute;top:69px;left:0;right:0;background:var(--surface);padding:18px 22px 24px;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;box-shadow:var(--shadow)}
 .navigation.open{display:flex}.navigation a{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
 .header-actions{gap:7px}.header-button{display:none}#language-select,.theme-toggle{height:35px}
 .hero{min-height:670px;min-height:calc(88svh - var(--header-h));}.hero-content{margin-left:25px;padding:90px 0 120px}.hero h1{font-size:clamp(45px,12vw,68px)}.hero-content>p{font-size:15px;max-width:360px}
 .hero-bottom{font-size:8px;left:22px;right:22px}
 .section{padding:76px 23px}.intro{grid-template-columns:1fr;gap:22px}.intro-label{padding:0}.intro h2,.section-heading h2,.contact h2{font-size:39px}
 .section-heading{display:block}.section-heading>p{text-align:left;margin-top:13px}
 .tour-grid{grid-template-columns:1fr;gap:18px}.tour-image{height:245px}.tour-info p{min-height:0}
 .experience{grid-template-columns:1fr;margin:10px 0}.experience-photo{min-height:280px}.experience-panel{padding:42px 25px 52px}
 .reviews-list{grid-template-columns:1fr}.form-row{grid-template-columns:1fr}.contact-links{flex-direction:column;max-width:330px;margin:28px auto}.contact-item{width:100%}
 .footer{flex-direction:column;text-align:center;padding:28px 20px;gap:10px}.floating-contact{right:17px;bottom:17px;width:48px;height:48px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Галерея фотографий экскурсий */
.photo-gallery {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.photo-gallery h2 {
    color: #203B49;
    margin-bottom: 22px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

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

@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.all-tours-button {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.all-tours-button a {
    display: inline-block;
    padding: 14px 30px;
    background: var(--ink);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: .25s;
}

.all-tours-button a:hover {
    background: var(--teal);
    transform: translateY(-3px);
}
/* Исправление кнопок в тёмной теме */
body.dark-theme .all-tours-button a {
    background: var(--teal);
    color: #172625;
}

body.dark-theme .all-tours-button a:hover {
    background: var(--teal-dark);
    color: #172625;
}

body.dark-theme .header-button,
body.dark-theme .button-dark,
body.dark-theme .floating-contact {
    color: #172625;
}

body.dark-theme .text-link {
    color: #a9d8cb;
}

body.dark-theme .photo-gallery h2 {
    color: var(--ink);
}
#whatsapp-link {
    color: var(--ink) !important;
    font-family: "DM Sans", sans-serif !important;
}