/* =====================================================================
   PREMIUM DESIGN LAYER — Perearstikeskus Maire Nirk
   Calm "sage & ivory" spa-premium system. Loaded after style.css.
   Palette: sage green + deep forest + warm ivory + muted sand accent.
   Type: Plus Jakarta Sans (display) + Inter (body/UI).
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
    --forest-900: #232e26;
    --forest-800: #2e3b31;   /* deep forest — headings, footer */
    --forest-700: #3b4a3e;
    --sage-600:   #566254;
    --sage-500:   #7c8f7b;   /* primary sage */
    --sage-400:   #97a895;
    --sage-300:   #bac5b4;
    --sage-200:   #d8dfd0;
    --sage-100:   #e9ede2;
    --sage-050:   #f0f2ea;

    --ivory: #f6f3ec;
    --paper: #ffffff;
    --ink:   #2a312a;
    --body:  #565d53;
    --muted: #8a9086;
    --sand:      #c2a878;     /* muted warm accent, used sparingly */
    --sand-soft: #d8c6a8;

    --line:        rgba(46, 59, 49, 0.12);
    --line-strong: rgba(46, 59, 49, 0.20);

    --shadow-sm: 0 1px 3px rgba(35, 46, 38, 0.05);
    --shadow-md: 0 12px 34px -20px rgba(35, 46, 38, 0.22);
    --shadow-lg: 0 26px 60px -30px rgba(35, 46, 38, 0.30);

    --radius: 16px;
    --radius-lg: 24px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------------ *
 * 0. GLOBAL
 * ------------------------------------------------------------------ */
html, body { overflow-x: hidden; max-width: 100%; }
body {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.1px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--forest-800);
    letter-spacing: -0.015em;
}
p { color: var(--body); line-height: 1.78; }
a { transition: color .25s var(--ease); }

/* Wide tables scroll inside their container rather than widen the page */
.table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.admission-table { min-width: 440px; }
.pricelist-table { min-width: 360px; }

.section-padding, .section-padding4 { padding: 112px 0; }
@media (max-width: 767px) { .section-padding, .section-padding4 { padding: 66px 0; } }

/* Calm editorial rhythm — ivory / white / soft sage */
#admission  { background: var(--ivory); }
#prices     { background: var(--paper); }
#team       { background: var(--sage-050); }
#houserules { background: var(--paper); }
#patient    { background: var(--sage-050); }
#insurance  { background: var(--paper); }

/* Section headings — quiet, centered, hairline sage rule */
.patient-area h2,
.pricelist-area h2,
.insurance-area h2,
.specialist-area h2 {
    position: relative;
    font-weight: 600;
    font-size: 38px;
    line-height: 1.14;
    color: var(--forest-800);
    margin-bottom: 52px;
    padding-bottom: 24px;
    text-transform: none;
}
.patient-area h2::after,
.pricelist-area h2::after,
.insurance-area h2::after,
.specialist-area h2::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 46px; height: 2px;
    border-radius: 2px;
    background: var(--sage-400);
}
@media (max-width: 767px) {
    .patient-area h2, .pricelist-area h2,
    .insurance-area h2, .specialist-area h2 { font-size: 28px; margin-bottom: 40px; }
}

.patient-area h3 {
    font-family: var(--font-display) !important;
    font-weight: 600;
    font-size: 22px !important;
    color: var(--forest-800) !important;
    letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------ *
 * 1. TOP BAR + HEADER / NAV
 * ------------------------------------------------------------------ */
.header-top {
    background: var(--forest-900);
    padding: 0;
}
.header-top .container > .row { align-items: center; }
.header-top .d-md-flex { align-items: center; }
.header-top h6 {
    margin: 0 24px 0 0 !important;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body) !important;
    font-weight: 400 !important;
    font-size: 12.5px !important;
    letter-spacing: 0.3px;
    text-transform: none !important;
    line-height: 42px;
    color: rgba(246, 243, 236, 0.72) !important;
}
.header-top h6 a { color: rgba(246, 243, 236, 0.72) !important; text-transform: none !important; font-weight: 400; }
.header-top h6 a:hover { color: #fff !important; text-decoration: none; }
.header-top h6 abbr {
    font-family: var(--font-body) !important;
    font-variant: normal !important;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    border: 0 !important;
    color: inherit;
    margin-left: 4px;
}
.header-top .fa { color: var(--sage-400); font-size: 13px !important; top: 0 !important; }
.header-top .language-select {
    margin-top: 0 !important;
    display: inline-flex;
    align-items: center;
    line-height: 42px;
}
.header-top .language-select a {
    color: var(--sand-soft) !important;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 11.5px;
}
.header-top .language-select a:hover { color: #fff !important; }

#header {
    background: rgba(246, 243, 236, 0.92);
    backdrop-filter: saturate(120%) blur(10px);
    box-shadow: 0 1px 0 var(--line);
    padding: 12px 0;
    top: 44px;   /* sit flush under the 44px top bar — JS glues it on scroll */
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
#header.header-scrolled {
    background: rgba(246, 243, 236, 0.96);
    box-shadow: 0 6px 24px -14px rgba(35, 46, 38, 0.4);
    padding: 9px 0;
}
/* Top bar is hidden below 992px, so pin the header to the very top there */
@media (max-width: 991.98px) { #header { top: 0; } }
.header-top { min-height: 44px; }
#header .row { align-items: center; }

/* Typographic wordmark logo */
#logo a {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    border: 0 !important;
    padding: 0 !important;
}
#logo .logo-kicker {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 3.4px;
    text-transform: uppercase;
    color: var(--sage-500);
    margin-bottom: 4px;
    padding-left: 1px;
}
#logo .logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
    color: var(--forest-800);
}
#logo .logo-name b { color: var(--sage-600); font-weight: 700; }

/* Clean text nav — no grey pills */
.nav-menu > li {
    background: transparent !important;
    padding: 0 !important;
    margin-left: 2px !important;
    border-radius: 0 !important;
}
.nav-menu > li > a {
    font-family: var(--font-body) !important;
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.1px;
    color: var(--forest-800) !important;
    text-shadow: none !important;
    padding: 9px 15px !important;
    border-radius: 10px;
    transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-menu > li > a:hover,
.nav-menu > li.menu-active > a {
    color: var(--sage-600) !important;
    background: var(--sage-100);
    text-decoration: none !important;
}
#header.header-scrolled .nav-menu > li > a { color: var(--forest-800) !important; }

/* Mobile navigation (premium) */
#mobile-nav-toggle {
    top: 16px; right: 16px;
    width: 46px; height: 46px;
    border-radius: 13px;
    background: var(--forest-800);
    box-shadow: var(--shadow-md);
    align-items: center; justify-content: center;
    padding: 0;
}
@media (max-width: 960px) { #mobile-nav-toggle { display: flex !important; } }
#mobile-nav-toggle i { color: var(--ivory) !important; font-size: 22px; font-weight: 400; }

#mobile-nav {
    left: -320px; width: 300px;
    padding-top: 86px;
    background: var(--forest-900);
    box-shadow: 16px 0 50px rgba(20, 26, 18, 0.35);
}
body.mobile-nav-active #mobile-nav { left: 0; }
#mobile-nav ul li a {
    font-family: var(--font-body);
    text-transform: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.1px;
    color: rgba(246, 243, 236, 0.82);
    padding: 14px 28px;
    border-bottom: 1px solid rgba(246, 243, 236, 0.08);
    transition: background .25s var(--ease), padding-left .25s var(--ease), color .25s var(--ease);
}
#mobile-nav ul li a:hover {
    color: #fff;
    background: rgba(246, 243, 236, 0.06);
    padding-left: 34px;
}
#mobile-body-overly { background: rgba(20, 26, 18, 0.55); }

/* ------------------------------------------------------------------ *
 * 2. HERO / BANNER
 * ------------------------------------------------------------------ */
.banner-area { padding: 300px 0 210px; }
.main-img-overlay {
    background: linear-gradient(100deg,
        rgba(28, 37, 30, 0.72) 0%,
        rgba(46, 59, 49, 0.48) 44%,
        rgba(124, 143, 123, 0.10) 82%) !important;
}
.banner-area .container { position: relative; z-index: 2; }
.banner-area .col-lg-5 { max-width: 640px; }

.banner-area h4 {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3.6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--sand-soft);
    margin-bottom: 20px;
}
.banner-area h1 {
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    font-size: 52px;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.22);
    margin-bottom: 22px;
    overflow-wrap: break-word;
    hyphens: auto;
}
.banner-area p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16.5px;
    line-height: 1.72;
    max-width: 30em;
}
.banner-area p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Hero announcement chip — clickable, opens raatusetk.ee in a new tab */
.banner-area .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    max-width: 100%;
    margin: 6px 0 30px;
    padding: 11px 20px 11px 18px;
    border-radius: 999px;
    background: rgba(246, 243, 236, 0.12);
    border: 1px solid rgba(246, 243, 236, 0.28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.1px;
    text-decoration: none;
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
    transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.banner-area .hero-badge strong { font-weight: 600; color: #fff; }
.banner-area .hero-badge::before {
    content: "\f274"; /* fa-calendar-check-o */
    font-family: FontAwesome;
    font-size: 14px;
    color: var(--sand-soft);
    flex: 0 0 auto;
}
.banner-area .hero-badge::after {
    content: "\f08e"; /* fa-external-link */
    font-family: FontAwesome;
    font-size: 11px;
    color: rgba(246, 243, 236, 0.7);
    flex: 0 0 auto;
    margin-left: 2px;
    transition: transform .3s var(--ease), color .3s var(--ease);
}
.banner-area .hero-badge:hover {
    background: rgba(246, 243, 236, 0.2);
    border-color: rgba(246, 243, 236, 0.45);
    transform: translateY(-2px);
    color: #fff;
}
.banner-area .hero-badge:hover::after { color: #fff; transform: translate(2px, -2px); }
@media (max-width: 767px) {
    .banner-area .hero-badge { font-size: 13px; padding: 10px 16px; gap: 9px; }
}

@media (max-width: 767px) {
    .banner-area { padding: 170px 0 110px; }
    .banner-area h1 { font-size: 33px; }
    .banner-area p { font-size: 15.5px; }
    a[href*="perearst24"].template-btn { transform: scale(0.82); transform-origin: bottom right; }
}

/* ------------------------------------------------------------------ *
 * SHARED — content card
 * ------------------------------------------------------------------ */
.premium-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px 44px;
}

/* ------------------------------------------------------------------ *
 * 3. RECEPTION (#admission)
 * ------------------------------------------------------------------ */
#admission .text-left p { font-size: 16.5px; }

#admission ul {
    list-style: none;
    padding: 0;
    margin: 22px 0 6px;
    display: grid;
    gap: 10px;
}
#admission ul li {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 15px 18px 15px 52px;
    font-size: 15.5px;
    color: var(--ink);
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}
#admission ul li::before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 15px; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    line-height: 26px; text-align: center;
    font-size: 11px;
    color: var(--sage-600);
    background: var(--sage-100);
    border-radius: 50%;
}

/* Timetable */
.admission-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--paper);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.admission-table thead td {
    background: var(--sage-050);
    color: var(--forest-800) !important;
    font-weight: 600;
    font-family: var(--font-body);
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    letter-spacing: 0.4px;
    border-bottom: 1px solid var(--line);
}
.admission-table thead td.text-left { background: var(--sage-100); }
.admission-table tbody td {
    text-align: center;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    color: var(--body);
    font-variant-numeric: tabular-nums;
    font-size: 15px;
}
.admission-table tbody tr:last-child td { border-bottom: none; }
.admission-table tbody td.text-left { text-align: left; color: var(--ink); font-weight: 500; }
.admission-table tbody td.text-left strong { color: var(--forest-800); }

/* Registration block */
#admission .col-lg-8.mt-4 { margin-top: 60px !important; }
#admission .col-lg-8.mt-4 .text-left {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--sage-500);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}
#admission .col-lg-8.mt-4 .text-left p { margin: 0; font-size: 16px; }
#admission .col-lg-8.mt-4 .text-left strong { color: var(--forest-800); }

/* ------------------------------------------------------------------ *
 * 4. PRICELIST (#prices)
 * ------------------------------------------------------------------ */
.pricelist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.pricelist-table thead td {
    background: var(--sage-050);
    color: var(--forest-800) !important;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 15px 22px;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}
.pricelist-table thead td.price { text-align: right; }
.pricelist-table tbody td {
    padding: 14px 22px;
    border-bottom: 1px solid var(--line);
    color: var(--body);
    font-size: 15px;
}
.pricelist-table tbody tr:last-child td { border-bottom: none; }
.pricelist-table tbody tr:hover td { background: var(--sage-050); }
.pricelist-table tbody td.price {
    text-align: right; white-space: nowrap;
    font-weight: 600; color: var(--forest-800);
    font-variant-numeric: tabular-nums;
}
.pricelist-table tbody td.text-left.pl-4 { color: var(--muted); font-style: italic; }

/* ------------------------------------------------------------------ *
 * 5. TEAM (#team) — calm photoless initials cards
 * ------------------------------------------------------------------ */
.specialist-area .row.justify-content-center { margin-top: 4px; }
.specialist-area .col-lg-3 { margin-bottom: 28px; }
.specialist-area .single-doctor { height: 100%; }
.specialist-area .single-doctor .content-area,
.specialist-area .single-doctor:hover .content-area { box-shadow: none !important; }

.specialist-area .single-doctor {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.specialist-area .single-doctor:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--sage-200);
}

.specialist-area .doctor-img {
    position: relative;
    padding: 40px 20px 28px;
    background: var(--paper);
    display: flex;
    justify-content: center;
}
.premium-avatar {
    position: relative;
    width: 100px; height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 33px;
    letter-spacing: 0.5px;
    color: var(--forest-800);
    background: var(--sage-100);
    border: 1px solid var(--sage-200);
}
.premium-avatar::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--sage-200);
    transition: inset .4s var(--ease), border-color .4s var(--ease);
}
.single-doctor:hover .premium-avatar { background: var(--sage-050); }
.single-doctor:hover .premium-avatar::before { inset: -9px; border-color: var(--sage-300); }

.specialist-area .single-doctor .doctor-name,
.specialist-area .single-doctor:hover .doctor-name {
    background: var(--paper) !important;
    padding: 4px 18px 28px !important;
    text-align: center;
}
.specialist-area .single-doctor .doctor-name h3,
.specialist-area .single-doctor:hover .doctor-name h3 {
    color: var(--forest-800) !important;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px !important;
    min-height: 0;
    margin-bottom: 8px;
}
.specialist-area .single-doctor .doctor-name h6,
.specialist-area .single-doctor:hover .doctor-name h6 {
    color: var(--sage-600) !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    line-height: 1.5;
}

/* ------------------------------------------------------------------ *
 * 6. HOUSE RULES (#houserules) — two-column calm list
 * ------------------------------------------------------------------ */
#houserules .col-lg-8 { max-width: 1040px; flex: 0 0 100%; margin: 0 auto; }
#houserules .col-lg-8 > .text-center {
    text-align: left !important;
    column-count: 2;
    column-gap: 32px;
}
@media (max-width: 767px) { #houserules .col-lg-8 > .text-center { column-count: 1; } }
#houserules .text-center p {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 15px 18px 15px 44px;
    margin: 0 0 14px !important;
    font-size: 14.5px;
    line-height: 1.62;
    box-shadow: var(--shadow-sm);
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}
#houserules .text-center p:hover { border-color: var(--sage-200); transform: translateY(-2px); }
#houserules .text-center p::before {
    content: "";
    position: absolute;
    left: 18px; top: 21px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--sage-400);
}
#houserules .text-center p a { color: var(--sage-600); font-weight: 600; }

/* ------------------------------------------------------------------ *
 * 7. PATIENT INFO (#patient)
 * ------------------------------------------------------------------ */
#patient .col-lg-8 > .text-center {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px 44px;
}
#patient .text-center p { font-size: 16.5px; margin-bottom: 14px; }
#patient .text-center p:first-child { font-weight: 600; color: var(--forest-800); }
#patient .text-center a { color: var(--sage-600); font-weight: 600; }
@media (max-width: 767px) { #patient .col-lg-8 > .text-center { padding: 26px 22px; } }

/* ------------------------------------------------------------------ *
 * 8. INSURANCE (#insurance)
 * ------------------------------------------------------------------ */
#insurance .col-lg-8 > .text-center {
    background: var(--sage-050);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px 44px;
}
#insurance .text-center p { margin-bottom: 10px; font-size: 16px; }
#insurance .text-center a { color: var(--sage-600); font-weight: 600; }
@media (max-width: 767px) { #insurance .col-lg-8 > .text-center { padding: 26px 22px; } }

/* ------------------------------------------------------------------ *
 * 9. FOOTER / CONTACT (#contact)
 * ------------------------------------------------------------------ */
.footer-area {
    background: var(--forest-900) !important;
    position: relative;
}
.footer-area .footer-widget { position: relative; z-index: 1; }
.footer-area h2 {
    color: #fff !important;
    font-family: var(--font-display);
    font-weight: 600;
}
.footer-area h2::after {
    content: ""; display: block;
    width: 46px; height: 2px; border-radius: 2px;
    margin: 20px auto 0;
    background: var(--sage-400);
}
.footer-area ul, .footer-area li { color: rgba(246, 243, 236, 0.78); line-height: 1.75; }
.footer-area li strong { color: #fff; font-weight: 600; }
.footer-area a { color: var(--sand-soft); }
.footer-area a:hover { color: #fff; }
.footer-area abbr { color: #fff !important; }

.footer-area .footer-authorities {
    clear: both;   /* drop below the floated contact columns so the rule doesn't overlap text */
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid rgba(246, 243, 236, 0.12);
}
/* Contain the floated contact columns */
.footer-area row { display: block; overflow: hidden; }
.footer-area .footer-authorities h4 {
    color: rgba(246, 243, 236, 0.9);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2.2px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
}
.footer-area .footer-authorities ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 34px;
    list-style: none;
    padding: 0;
}
@media (max-width: 767px) { .footer-area .footer-authorities ul { grid-template-columns: 1fr; } }
.footer-area .footer-authorities li { padding-left: 22px; position: relative; font-size: 14px; }
.footer-area .footer-authorities li::before {
    content: "\f0f0";
    font-family: FontAwesome;
    position: absolute; left: 0; top: 3px;
    color: var(--sage-400);
    font-size: 12px;
}

/* ------------------------------------------------------------------ *
 * BUTTONS
 * ------------------------------------------------------------------ */
.template-btn {
    background: var(--forest-800) !important;
    border-radius: 999px !important;
    padding: 15px 36px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.8px;
    box-shadow: 0 10px 26px -14px rgba(35, 46, 38, 0.7);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.template-btn:hover {
    color: #fff !important;
    opacity: 1 !important;
    background: var(--forest-700) !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -16px rgba(35, 46, 38, 0.8);
}

/* Perearst24 floating badge */
a[href*="perearst24"].template-btn {
    background: var(--paper) !important;
    color: var(--forest-800) !important;
    border: 1px solid var(--line);
    border-radius: 16px !important;
    box-shadow: var(--shadow-lg);
}

::selection { background: var(--sage-200); color: var(--forest-800); }
