/* ============================================================
   Shared stylesheet for the static voicesforanimals.ru snapshot.
   Used by inner pages; the homepage (index.html) carries its own
   inline copy of the same rules.
   ============================================================ */

/* ============================== Fonts ============================== */
@font-face{font-family:"Gogh";font-style:normal;font-weight:300;font-display:swap;src:url("../fonts/Gogh-Light.woff2") format("woff2")}
@font-face{font-family:"Gogh Book";font-style:normal;font-weight:300;font-display:swap;src:url("../fonts/Gogh-Book.woff2") format("woff2")}
@font-face{font-family:"Gogh";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/Gogh-Regular.woff2") format("woff2")}
@font-face{font-family:"Gogh";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/Gogh-Medium.woff2") format("woff2")}
@font-face{font-family:"Gogh";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/Gogh-Bold.woff2") format("woff2")}
@font-face{font-family:"Gogh Extra";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/Gogh-ExtraBold.woff2") format("woff2")}
@font-face{font-family:"Gogh";font-style:normal;font-weight:900;font-display:swap;src:url("../fonts/Gogh-Black.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/Montserrat-Regular.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/Montserrat-Medium.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/Montserrat-Bold.woff2") format("woff2")}

/* ============================== Design tokens ============================== */
:root{
    --teal:#006581;
    --teal-dark:#00506b;
    --green:#578270;
    --green-dark:#476a5b;
    --yellow:#e4d864;
    --yellow-dark:#d5c94f;
    --mint:#c5d8c3;
    --ink:#000;
    --paper:#fff;
    --bg-soft:#f8f9fc;
    --card-grey:#f5f5f5;
    --line:#ededed;
    --grad:linear-gradient(45deg,#578270,#006581);
    --radius:20px;
    --container:1240px;
    --header-h:76px;
}

/* ============================== Base ============================== */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:"Gogh",Arial,sans-serif;
    font-size:16px;
    font-weight:300;
    line-height:1.55;
    background:var(--paper);
    color:var(--ink);
}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4,h5{margin:0;font-weight:400;line-height:1.2}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
ul{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.on-dark :focus-visible,.on-dark:focus-visible{outline-color:var(--yellow)}

.container{max-width:var(--container);margin:0 auto;padding:0 16px}
.sr-only{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.skip-link{
    position:absolute;left:16px;top:-60px;z-index:200;
    padding:10px 20px;border-radius:0 0 12px 12px;
    background:var(--yellow);color:var(--teal);
    font-weight:700;text-decoration:none;transition:top .2s ease;
}
.skip-link:focus{top:0}

.section__chaptertitle{
    font-size:13px;font-weight:700;letter-spacing:.7em;
    text-transform:uppercase;line-height:1.4;
}
.section{padding:96px 0}
.section--soft{background:var(--bg-soft)}
.section--dark{background:var(--grad);color:#fff}
.section--dark .section__chaptertitle{color:#fff}

/* Text link with arrow icon */
.section__morelink{
    display:inline-flex;align-items:center;gap:12px;
    font-family:"Gogh Book",Arial,sans-serif;font-size:16px;
    text-decoration:none;transition:color .2s ease;
}
.section__morelink svg{width:24px;height:24px;flex:0 0 auto;transition:transform .2s ease}
.section__morelink:hover svg{transform:translateX(4px)}
.on-dark .section__morelink:hover{color:var(--yellow)}
body:not(.on-dark) .section__morelink:hover{color:var(--teal)}

/* Pill buttons */
.btn{
    display:inline-flex;align-items:center;justify-content:center;
    height:60px;padding:0 36px;border-radius:122px;
    font-size:15px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;
    text-decoration:none;line-height:1;white-space:nowrap;
    transition:background-color .2s ease,color .2s ease,border-color .2s ease;
}
.btn--donate{background:var(--yellow);color:var(--teal)}
.btn--donate:hover{background:var(--yellow-dark)}
.btn--primary{background:var(--teal);color:#fff}
.btn--primary:hover{background:var(--teal-dark)}
.btn--glass{background:hsla(0,0%,100%,.4);color:var(--teal)}
.btn--glass:hover{background:var(--yellow)}
.btn--outline{
    background:transparent;color:var(--ink);
    border:1px solid rgba(0,0,0,.2);
}
.btn--outline:hover{background:var(--teal);border-color:var(--teal);color:#fff}

/* ============================== Header ============================== */
.header{
    position:sticky;top:0;z-index:100;
    background:var(--grad);color:#fff;
}
.header__inner{
    display:flex;align-items:center;gap:28px;
    min-height:var(--header-h);
}
.header__logo{flex:0 0 auto;display:inline-flex;text-decoration:none}
.header__logo img{height:38px;width:auto}
.header__menu{display:flex;flex-wrap:wrap;gap:8px 28px;margin:0 auto}
.header__menu a{
    font-size:15px;font-weight:500;text-decoration:none;
    transition:color .2s ease;
}
.header__menu a:hover,
.header__menu a.is-active{color:var(--yellow)}
.header__donate{margin-left:auto}
.header__burger{
    display:none;width:48px;height:48px;
    align-items:center;justify-content:center;border-radius:50%;
    transition:color .2s ease;
}
.header__burger:hover{color:var(--yellow)}
.header__burger svg{width:26px;height:26px}

/* Mobile menu overlay */
.mnav{
    position:fixed;inset:0;z-index:150;
    background:var(--grad);color:#fff;
    display:flex;flex-direction:column;
    padding:24px 16px 40px;
    opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;
}
.mnav.is-open{opacity:1;visibility:visible}
.mnav__top{display:flex;align-items:center;justify-content:space-between;min-height:var(--header-h)}
.mnav__top img{height:38px;width:auto}
.mnav__close{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.mnav__close:hover{color:var(--yellow)}
.mnav__close svg{width:26px;height:26px}
.mnav__list{display:flex;flex-direction:column;gap:8px;margin:auto 0;padding:0}
.mnav__list a{
    display:block;padding:10px 0;
    font-size:26px;font-weight:500;text-decoration:none;
}
.mnav__list a:hover{color:var(--yellow)}
.mnav__donate{margin-top:auto}

/* ============================== Inner page hero ============================== */
.page-hero{padding:72px 0 24px}
.page-hero .section__chaptertitle{margin-bottom:24px}
.page-hero h1{
    font-family:"Gogh Extra",Arial,sans-serif;font-weight:700;
    font-size:clamp(30px,4vw,48px);line-height:1.15;
    max-width:900px;
}
.page-hero__lead{
    font-family:"Gogh Book",Arial,sans-serif;
    font-size:20px;line-height:1.5;max-width:760px;margin-top:20px;
}

/* ============================== Generic content (articles, pages) ============================== */
.content{font-family:"Gogh Book",Arial,sans-serif;font-size:17px;line-height:1.6;max-width:820px}
.content p{margin-bottom:1.1em}
.content h2{font-family:"Gogh Extra",Arial,sans-serif;font-size:28px;font-weight:700;line-height:1.25;margin:1.6em 0 .7em}
.content h3{font-family:"Gogh",Arial,sans-serif;font-size:22px;font-weight:500;line-height:1.3;margin:1.4em 0 .6em}
.content ul,.content ol{margin:0 0 1.2em;padding-left:22px}
.content ul{list-style:disc}
.content ol{list-style:decimal}
.content li{margin-bottom:.5em}
.content a{text-decoration:none;box-shadow:inset 0 -6px 0 0 rgba(78,127,113,.25);transition:box-shadow .2s ease}
.content a:hover{box-shadow:inset 0 -4px 0 0 rgba(78,127,113,.55)}
.content img{border-radius:14px;margin:1.5em 0}
.content blockquote{
    position:relative;margin:1.6em 0;padding:24px 28px;
    background:#568270;color:#fff;border-radius:14px;
}
.content blockquote p{margin:0}
.content figure{margin:1.5em 0}
.content figcaption{font-size:14px;font-style:italic;color:rgba(0,0,0,.6);padding-top:8px}
.content table{width:100%;border-collapse:collapse;margin:1.5em 0;font-size:15px}
.content table th{border:1px solid #c9c9c9;background:var(--bg-soft);text-align:left}
.content table td{border:1px solid #c9c9c9}
.content table th,.content table td{padding:10px 12px}
.content iframe{max-width:100%}
.content .wp-video,.content .video-embed{position:relative;width:100%;aspect-ratio:16/9;margin:1.5em 0;background:#000;border-radius:14px;overflow:hidden}
.content .wp-video iframe,.content .video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Article (news post) header */
.article__meta{
    font-family:"Gogh Book",Arial,sans-serif;
    font-size:14px;color:rgba(0,0,0,.55);margin-bottom:16px;
}
.article__title{
    font-family:"Gogh Extra",Arial,sans-serif;font-weight:700;
    font-size:clamp(26px,3.6vw,40px);line-height:1.2;
    margin-bottom:28px;max-width:900px;
}
.article__cover{width:100%;border-radius:var(--radius);margin-bottom:36px;background:var(--card-grey)}
.article__back{margin-top:48px}

/* Cards grid (reusable) */
.grid{display:grid;gap:20px}
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{
    background:var(--card-grey);border-radius:var(--radius);
    padding:28px;display:flex;flex-direction:column;text-decoration:none;
    transition:background-color .2s ease,transform .2s ease;
}
.card:hover{background:#eee;transform:translateY(-2px)}
.card__title{font-family:"Gogh Extra",Arial,sans-serif;font-weight:700;font-size:19px;line-height:1.35}
.card__text{font-family:"Gogh Book",Arial,sans-serif;font-size:15px;line-height:1.5;color:rgba(0,0,0,.75);margin-top:12px}
.card__img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:14px;margin-bottom:18px;background:rgba(0,0,0,.06)}

@media (max-width:991.9px){
    .grid--3,.grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767.9px){
    .grid--2,.grid--3,.grid--4{grid-template-columns:1fr}
}

/* ============================== Forms (generic, light theme) ============================== */
.form{max-width:640px}
.form__row{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.form__field{display:flex;flex-direction:column;gap:6px;flex:1 1 220px;min-width:0}
.form__field label{font-size:14px;font-weight:500}
.form__field input[type="text"],
.form__field input[type="email"],
.form__field input[type="tel"],
.form__field input[type="number"],
.form__field textarea{
    height:52px;padding:0 18px;
    border:1px solid var(--mint);border-radius:14px;
    background:#fff;color:var(--ink);font:inherit;font-size:15px;width:100%;
}
.form__field textarea{height:auto;min-height:120px;padding:14px 18px;resize:vertical}
.form__field input:focus,.form__field textarea:focus{outline:2px solid var(--teal);outline-offset:1px}
.form__consent{
    display:flex;align-items:flex-start;gap:10px;
    font-size:13px;line-height:1.5;color:rgba(0,0,0,.7);
    margin:8px 0 20px;
}
.form__consent input{margin-top:3px;accent-color:var(--teal);width:16px;height:16px;flex:0 0 auto}
.form__consent a{color:var(--teal)}
.form .btn{width:100%}
@media (min-width:768px){
    .form .btn{width:auto;min-width:220px}
}
.form-status{
    margin-top:16px;padding:14px 18px;border-radius:14px;font-size:15px;
    display:none;
}
.form-status.is-visible{display:block}
.form-status.is-ok{background:#eef6ee;color:#2f5c3a}
.form-status.is-error{background:#fbeeec;color:#8a3a30}
.form-honeypot{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Dark-theme form variant (on gradient sections) */
.on-dark .form__field label{color:#fff}
.on-dark .form__field input,
.on-dark .form__field textarea{
    background:transparent;border-color:#fff;color:#fff;
}
.on-dark .form__field input::placeholder{color:rgba(255,255,255,.5)}
.on-dark .form__consent{color:rgba(255,255,255,.85)}
.on-dark .form__consent a{color:#fff}

/* ============================== Footer ============================== */
.footer{background:var(--teal);color:#fff;padding:72px 0 32px;font-family:"Gogh Book",Arial,sans-serif}
.footer a{color:#fff}
.footer__top{
    display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));
    gap:40px;margin-bottom:48px;
}
.footer__mailing .section__chaptertitle{margin-bottom:24px}
.footer__form-fields{display:flex;gap:12px;margin-bottom:16px}
.footer__mailing-form input[type="text"]{
    flex:0 0 40%;min-width:0;height:56px;padding:0 24px;
    background:transparent;border:1px solid #fff;border-radius:122px;
    color:#fff;font:inherit;font-size:15px;
}
.footer__mailing-form input[type="email"]{
    flex:1 1 auto;min-width:0;height:56px;padding:0 24px;
    background:transparent;border:1px solid #fff;border-radius:122px;
    color:#fff;font:inherit;font-size:15px;
}
.footer__mailing-form input::placeholder{color:rgba(255,255,255,.55);opacity:1}
.footer__mailing-form input[name="vfa_news_name"]::placeholder{color:rgba(255,255,255,.3)}
.footer__mailing-form input:focus{outline:2px solid var(--yellow);outline-offset:2px}
.footer__submit{
    flex:0 0 auto;width:56px;height:56px;border-radius:50%;
    border:1px solid #fff;display:flex;align-items:center;justify-content:center;
    color:#fff;transition:background-color .2s ease,color .2s ease;
}
.footer__submit svg{width:22px;height:22px}
.footer__submit:hover{background:var(--yellow);border-color:var(--yellow);color:var(--teal)}
.footer__consent{
    display:flex;align-items:flex-start;gap:10px;
    font-size:13px;line-height:1.5;color:rgba(255,255,255,.85);
}
.footer__consent input{margin-top:3px;accent-color:var(--yellow);width:16px;height:16px}
.footer__consent a{text-decoration:underline}
.footer__consent a:hover{text-decoration:none}
.footer__status{
    margin-top:16px;padding:14px 18px;border-radius:14px;
    background:rgba(255,255,255,.12);font-size:14px;
}
.footer__ul{display:flex;flex-direction:column;gap:10px}
.footer__ul a{font-size:15px;text-decoration:none;transition:color .2s ease}
.footer__ul a:hover{color:var(--yellow)}
.footer__ul--bold a{font-family:"Gogh",Arial,sans-serif;font-weight:700}
.footer__social{display:flex;gap:12px;margin-bottom:48px}
.footer__social a{
    width:44px;height:44px;border-radius:50%;
    border:1px solid rgba(255,255,255,.4);
    display:flex;align-items:center;justify-content:center;
    text-decoration:none;font-family:"Gogh",Arial,sans-serif;
    font-size:13px;font-weight:700;letter-spacing:.02em;
    transition:background-color .2s ease,color .2s ease,border-color .2s ease;
}
.footer__social a:hover{background:var(--yellow);border-color:var(--yellow);color:var(--teal)}
.footer__social svg{width:20px;height:20px}
.footer__info{
    display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);
    gap:40px;align-items:start;margin-bottom:40px;
}
.footer__org{font-family:"Gogh",Arial,sans-serif;font-weight:500;font-size:18px;line-height:1.4;max-width:460px}
.footer__req{font-size:15px;line-height:1.6;color:rgba(255,255,255,.9)}
.footer__contact{font-family:"Gogh",Arial,sans-serif;font-weight:700;font-size:20px;text-decoration:none}
.footer__contact:hover{color:var(--yellow)}
.footer__label{font-size:15px;color:rgba(255,255,255,.9)}
.footer__bottom{
    display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;
    border-top:1px solid rgba(255,255,255,.25);padding-top:24px;
}
.footer__policy{font-size:13px;color:rgba(255,255,255,.85);text-decoration:underline}
.footer__policy:hover{color:#fff;text-decoration:none}
.footer__dev{display:flex;align-items:center;gap:18px}
.footer__dev img{height:25px;width:auto}
.footer__verstak{
    font-family:"Gogh",Arial,sans-serif;font-size:11px;font-weight:700;
    letter-spacing:.2em;text-transform:uppercase;line-height:1.5;
    text-decoration:none;
}
.footer__verstak:hover{color:var(--yellow)}

/* Newsletter status colors inside footer */
.footer__status.is-ok{background:rgba(255,255,255,.12);color:#eaf7ea}
.footer__status.is-error{background:rgba(255,255,255,.12);color:#ffe3de}

/* ============================== Responsive ============================== */
@media (max-width:1199.9px){
    .grid--4{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:991.9px){
    .section{padding-top:72px;padding-bottom:72px}
    .page-hero{padding-top:48px}
    .header__menu,.header__donate--desktop{display:none}
    .header__burger{display:flex}
    .header__donate--mobile{margin-left:auto}
    .footer__top{grid-template-columns:repeat(2,minmax(0,1fr))}
    .footer__mailing{grid-column:1/-1}
    .footer__form-fields{flex-direction:column}
    .footer__mailing-form input[type="text"]{flex:none;width:100%}
    .footer__mailing-form input[type="email"]{flex:none;width:100%}
    .footer__submit{align-self:flex-end}
    .footer__info{grid-template-columns:1fr;gap:24px}
}
@media (max-width:767.9px){
    .footer__top{grid-template-columns:1fr}
    .header__logo img{height:32px}
}
@media (max-width:575.9px){
    .header__donate--mobile .btn{height:48px;padding:0 22px;font-size:13px;letter-spacing:.2em}
}

/* ============================== Motion preferences ============================== */
@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{transition:none!important}
}
