/* ============================================================
   FORTO Finance — Brand CSS
   Loaded after Bootstrap 5 CDN
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
    --forto-bottle:  #1F3526;
    --forto-moss:    #2D5240;
    --forto-fox:     #C94A2C;
    --forto-cream:   #F0EAD6;
    --forto-heading: Arial, "Helvetica Neue", Helvetica, sans-serif;
    --forto-body:    "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

    /* Bootstrap overrides */
    --bs-primary:        #C94A2C;
    --bs-primary-rgb:    201, 74, 44;
    --bs-link-color:     #C94A2C;
    --bs-link-hover-color: #a33a20;
    --bs-body-font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    --bs-body-bg:        var(--forto-cream);
    --bs-body-color:     #1a1a1a;
}

/* --- Base ------------------------------------------------- */
body {
    font-family: var(--forto-heading);
    background: var(--forto-cream);
    color: #1a1a1a;
}

h1,
.display-1, .display-2, .display-3 {
    font-family: var(--forto-heading);
    font-weight: 700;
}

h2, h3, h4, h5, h6,
.display-4, .display-5, .display-6 {
    font-family: var(--forto-heading);
    font-weight: 700;
}

/* --- Section Utilities ------------------------------------ */
.section-dark  { background: var(--forto-bottle); color: var(--forto-cream); }
.section-moss  { background: var(--forto-moss);   color: var(--forto-cream); }
.section-cream { background: var(--forto-cream);  color: #1a1a1a; }

.section-dark  h1, .section-dark  h2, .section-dark  h3,
.section-moss  h1, .section-moss  h2, .section-moss  h3 { color: var(--forto-cream); }

.section-moss .eyebrow { font-size: 2.4rem; font-weight: 700; color: var(--forto-cream); letter-spacing: normal; }
.section-moss h2 { font-size: 1rem !important; color: rgba(240,234,214,.7) !important; font-weight: 400 !important; }

/* --- Navbar ----------------------------------------------- */
.navbar {
    background: var(--forto-bottle) !important;
    border-bottom: 1px solid rgba(240,234,214,.1);
    min-height: 56px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-brand img {
    height: 36px;
    width: auto;
}

.navbar .nav-link {
    font-family: var(--forto-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    color: rgba(240,234,214,.6) !important;
    transition: color .2s;
    padding: .5rem .9rem;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--forto-cream) !important;
}

.navbar .nav-link.active::after {
    content: '';
    display: block;
    height: 2px;
    background: var(--forto-fox);
    position: absolute;
    bottom: 0;
    left: .9rem;
    right: .9rem;
    border-radius: 1px;
}

.navbar-toggler {
    border-color: rgba(240,234,214,.3);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28240%2C234%2C214%2C0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav-cta {
    background: var(--forto-fox);
    color: #fff !important;
    border: none;
    font-family: var(--forto-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    padding: 6px 18px;
    border-radius: 3px;
    transition: opacity .2s;
    text-decoration: none;
}
.btn-nav-cta:hover { opacity: .85; color: #fff !important; }

/* --- Buttons ---------------------------------------------- */
.btn-forto-primary {
    background: var(--forto-fox);
    color: var(--forto-cream);
    border: none;
    font-family: var(--forto-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 10px 26px;
    border-radius: 3px;
    transition: opacity .2s;
    text-decoration: none;
    display: inline-block;
}
.btn-forto-primary:hover { opacity: .85; color: var(--forto-cream); }

.btn-forto-outline {
    background: transparent;
    color: var(--forto-cream);
    border: 1px solid rgba(240,234,214,.35);
    font-family: var(--forto-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 10px 26px;
    border-radius: 3px;
    transition: border-color .2s;
    text-decoration: none;
    display: inline-block;
}
.btn-forto-outline:hover { border-color: rgba(240,234,214,.7); color: var(--forto-cream); }

/* --- Eyebrow Label ---------------------------------------- */
.eyebrow {
    font-family: var(--forto-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--forto-fox);
    margin-bottom: .4rem;
}

/* --- Hero ------------------------------------------------- */
.forto-hero {
    position: relative;
    overflow: hidden;
    background: var(--forto-bottle);
    color: var(--forto-cream);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.forto-hero .hero-logo {
    height: 130px;
    width: auto;
    margin-bottom: 1.5rem;
}

/* Hide the fox baked into the logo on the home hero — the animated
   fox walks in and occupies this space instead */
#hero-logo {
    clip-path: inset(57% 0 0 0);
}

.forto-hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 700;
    color: var(--forto-cream);
    line-height: 1.1;
    margin-bottom: .4rem;
}

.forto-hero h1 em {
    color: #C9A84C;
    font-style: italic;
}

.forto-hero .hero-rule {
    display: none;
}
.forto-hero .forto-rule {
    display: none;
}

.forto-hero .hero-tag {
    font-family: var(--forto-body);
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    color: var(--forto-cream);
    margin-bottom: 2rem;
}

/* --- Stats Bar -------------------------------------------- */
.stats-bar {
    background: var(--forto-moss);
    padding: 1.5rem 0;
}

.stats-bar .stat-item {
    text-align: center;
    padding: .5rem 1rem;
}

.stats-bar .stat-val {
    font-family: var(--forto-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--forto-fox);
    line-height: 1.1;
    margin-bottom: .2rem;
}

.stats-bar .stat-lbl {
    font-size: 14px;
    color: rgba(240,234,214,.6);
    line-height: 1.5;
    font-weight: 400;
}

.stats-bar .stat-divider {
    flex: 0 0 1px;
    width: 1px;
    padding: 0;
    background: rgba(240,234,214,.15);
    align-self: stretch;
}

/* --- Tag Bar ---------------------------------------------- */
.tag-bar {
    background: var(--forto-fox);
    padding: 9px 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tag-bar span {
    color: #fff;
    font-family: var(--forto-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.tag-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    flex-shrink: 0;
}

/* --- Services Pills --------------------------------------- */
.service-pill {
    border: 1px solid rgba(240,234,214,.22);
    border-radius: 4px;
    padding: 10px 14px;
    font-family: var(--forto-heading);
    font-size: 13px;
    color: rgba(240,234,214,.8);
    text-align: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.service-pill:hover {
    background: rgba(240,234,214,.08);
    border-color: rgba(240,234,214,.45);
}

/* --- Flip Cards ------------------------------------------- */
.flip-card {
    -webkit-perspective: 900px;
    perspective: 900px;
    height: 200px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.flip-card.is-flipped .flip-card-inner { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 6px;
    overflow: hidden;
}

.flip-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: .85rem;
    border: 1px solid rgba(240,234,214,.12);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.flip-card-front .card-title {
    font-family: var(--forto-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forto-cream);
    position: relative;
    z-index: 1;
    line-height: 1.2;
    text-align: center;
}

.flip-card-front .card-hint { display: none; }

.flip-card-front .card-art {
    position: absolute;
    top: .6rem;
    right: .6rem;
    pointer-events: none;
}

.flip-card-front .card-art svg { width: 32px; height: 32px; }

.flip-card-front .card-art svg * { stroke: var(--forto-fox); stroke-width: 4.5; }

.flip-card-back {
    background: var(--forto-cream);
    -webkit-transform: rotateY(180deg) translateZ(0);
    transform: rotateY(180deg) translateZ(0);
    padding: .9rem;
    display: flex;
    flex-direction: column;
}

.flip-card-back .back-title {
    font-family: var(--forto-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--forto-bottle);
    border-bottom: 2px solid var(--forto-fox);
    padding-bottom: 4px;
    margin-bottom: 6px;
}

.flip-card-back .back-tag {
    font-size: 9px;
    color: var(--forto-fox);
    letter-spacing: .04em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.flip-card-back .back-text {
    font-size: 11px;
    color: #3a5040;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
}

.flip-card-back .back-cta {
    font-family: var(--forto-heading);
    font-size: 9.5px;
    font-weight: 700;
    color: var(--forto-fox);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    text-align: left;
}

/* --- How It Works ----------------------------------------- */
.how-steps {
    max-width: 900px;
    margin: 0 auto;
}

.how-step {
    position: relative;
    max-width: 560px;
    margin: 0 0 2rem;
    padding: 2rem 1.75rem 1.5rem;
    background: var(--forto-bottle);
    border: 1px solid rgba(240,234,214,.22);
    border-radius: 20px;
    text-align: left;
}

.how-step:last-child {
    margin-bottom: 0;
}

.how-step-right {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.how-step-number {
    position: absolute;
    top: 0;
    left: -8px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--forto-fox);
    color: var(--forto-cream);
    font-family: var(--forto-heading);
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 0 8px 2px rgba(201,74,44,.65), 0 0 20px 4px rgba(201,74,44,.35);
    animation: how-step-glow 2.4s ease-in-out infinite;
}

@keyframes how-step-glow {
    0%, 100% {
        box-shadow: 0 0 8px 2px rgba(201,74,44,.65), 0 0 20px 4px rgba(201,74,44,.35);
    }
    50% {
        box-shadow: 0 0 12px 4px rgba(201,74,44,.85), 0 0 28px 8px rgba(201,74,44,.5);
    }
}

.how-step-right .how-step-number {
    left: auto;
    right: -8px;
}

.how-step-title {
    font-family: var(--forto-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--forto-fox);
    margin-bottom: .5rem;
}

.how-step-text {
    font-size: 15px;
    color: rgba(240,234,214,.7);
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .how-step,
    .how-step-right {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }
}

/* --- Team Cards ------------------------------------------- */
.team-card {
    background: rgba(240,234,214,.05);
    border: 1px solid rgba(240,234,214,.12);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}

.team-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--forto-fox);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--forto-heading);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: .85rem;
    flex-shrink: 0;
}

.team-avatar--photo { background: transparent; }
.team-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.team-card .team-avatar {
    width: 120px;
    height: 120px;
    font-size: 24px;
}

.team-name {
    font-family: var(--forto-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--forto-cream);
    margin-bottom: 2px;
}

.team-role {
    font-family: var(--forto-heading);
    font-size: 9.5px;
    font-weight: 700;
    color: var(--forto-fox);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .65rem;
}

.team-bio {
    font-size: 12.5px;
    color: rgba(240,234,214,.55);
    line-height: 1.7;
}

/* --- CTA Section ------------------------------------------ */
.cta-section {
    background: var(--forto-moss);
    padding: 4rem 1.5rem;
    text-align: center;
}

.cta-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid #C9A84C;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #C9A84C;
    font-size: 20px;
}

.cta-section h2 {
    font-size: 1.5rem;
    color: var(--forto-cream);
    font-weight: 700;
    margin-bottom: .4rem;
    line-height: 1.35;
}

.cta-section h2 strong { color: var(--forto-fox); font-weight: 700; }

.cta-section p {
    font-size: 13px;
    color: rgba(240,234,214,.58);
    margin-bottom: 1.5rem;
}

.legal-note {
    font-size: 12px;
    color: rgba(240,234,214,.3);
    font-style: italic;
    line-height: 1.7;
    max-width: 480px;
    margin: 1.75rem auto 0;
    border-top: 1px solid rgba(240,234,214,.1);
    padding-top: 1.25rem;
}

.disclaimer-section {
    background: var(--forto-moss);
    padding: 0 1.5rem 2.5rem;
    text-align: center;
}

.disclaimer-section .legal-note {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

/* --- Values (About) --------------------------------------- */
.val-card {
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(240,234,214,.12);
    text-align: center;
}
.val-card:last-child { border-right: none; }

.val-num {
    font-family: var(--forto-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--forto-fox);
    line-height: 1;
    margin-bottom: .25rem;
}

.val-title {
    font-family: var(--forto-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forto-cream);
    margin-bottom: .5rem;
}

.val-text {
    font-size: 12px;
    color: rgba(240,234,214,.58);
    line-height: 1.7;
}

/* --- Quotes (About) --------------------------------------- */
.quote-card {
    border-left: 3px solid var(--forto-fox);
    padding: 1.25rem 1.5rem;
    background: rgba(240,234,214,.04);
    height: 100%;
}

.quote-text {
    font-family: var(--forto-heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--forto-cream);
    line-height: 1.55;
    margin-bottom: .6rem;
    font-weight: 300;
}

.quote-attr {
    font-family: var(--forto-heading);
    font-size: 9.5px;
    font-weight: 700;
    color: var(--forto-fox);
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* --- Team Full Cards (About) ------------------------------ */
.tf-card {
    background: rgba(240,234,214,.06);
    border: 1px solid rgba(240,234,214,.12);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.tf-card-top {
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    border-bottom: 1px solid rgba(240,234,214,.08);
}

.tf-card-top .team-avatar {
    width: 120px;
    height: 120px;
    font-size: 24px;
    margin-bottom: .25rem;
}

.tf-bio {
    padding: 1.1rem 1.25rem;
    font-size: 12px;
    color: rgba(240,234,214,.55);
    line-height: 1.75;
}

/* --- Product Cards (Products page) ------------------------ */
.prod-card {
    background: var(--forto-cream);
    border: 2px solid var(--forto-moss);
    border-radius: 8px;
    overflow: hidden;
    transition: background .2s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prod-card:hover { background: rgba(240,234,214,.88); }

.prod-card-header {
    padding: 1.25rem 1.25rem 1rem;
    position: relative;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-bottom: 1px solid var(--forto-moss);
}

.prod-card-header-bg {
    position: absolute;
    inset: 0;
    background: var(--forto-cream) !important;
}

.prod-card-icon {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 40px;
    height: 40px;
}

.prod-card-icon svg * { stroke: var(--forto-fox); }

.prod-card-tag {
    font-family: var(--forto-heading);
    font-size: 8.5px;
    font-weight: 700;
    color: var(--forto-moss);
    letter-spacing: .08em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    margin-bottom: 3px;
}

.prod-card-name {
    font-family: var(--forto-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--forto-bottle);
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.prod-card-body {
    padding: 1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-card-desc {
    font-size: 12px;
    color: rgba(31,53,38,.7);
    line-height: 1.65;
    flex: 1;
    margin-bottom: .75rem;
}

.prod-card-link {
    font-family: var(--forto-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--forto-fox);
    letter-spacing: .06em;
    text-transform: uppercase;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline;
    text-align: left;
}

/* --- Lender Badges ---------------------------------------- */
.lender-badge {
    background: rgba(240,234,214,.07);
    border: 1px solid rgba(240,234,214,.14);
    border-radius: 4px;
    padding: 5px 14px;
    font-size: 11px;
    color: rgba(240,234,214,.68);
    font-family: var(--forto-heading);
    font-weight: 600;
}

/* --- Footer ----------------------------------------------- */
.site-footer {
    background: var(--forto-bottle);
    border-top: 1px solid rgba(240,234,214,.08);
    padding: 1.5rem 0;
}

.footer-copy {
    font-size: 10px;
    color: rgba(240,234,214,.28);
    margin: 0;
}

.footer-links a {
    font-size: 11px;
    color: rgba(240,234,214,.45);
    text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: var(--forto-cream); }

.soc-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(240,234,214,.14);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s;
    text-decoration: none;
}
.soc-btn:hover { border-color: rgba(240,234,214,.4); }
.soc-btn svg { width: 13px; height: 13px; fill: rgba(240,234,214,.45); }

/* --- Rule / Divider --------------------------------------- */
.forto-rule {
    width: 40px;
    height: 1px;
    background: rgba(240,234,214,.2);
    margin: 1rem auto;
}

/* --- News Cards ------------------------------------------- */
.news-card {
    display: block;
    height: 100%;
    position: relative;
}

.news-card-inner {
    background: rgba(240,234,214,.05);
    border: 1px solid rgba(240,234,214,.12);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: background .2s, border-color .2s;
}

.news-card:hover .news-card-inner {
    background: rgba(240,234,214,.09);
    border-color: rgba(240,234,214,.28);
}

.news-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin-bottom: .75rem;
}

.news-date {
    font-family: var(--forto-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--forto-fox);
    text-transform: uppercase;
}

.news-author {
    font-family: var(--forto-heading);
    font-size: 10px;
    color: rgba(240,234,214,.4);
    letter-spacing: .04em;
}

.news-title {
    font-family: var(--forto-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forto-cream);
    line-height: 1.3;
    margin-bottom: .65rem;
}

.news-summary {
    font-size: 12px;
    color: rgba(240,234,214,.55);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
}

.news-read-more {
    font-family: var(--forto-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--forto-fox);
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
}

.news-read-more::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* --- Post Body -------------------------------------------- */
.post-body {
    font-family: var(--forto-heading);
    font-size: 15px;
    line-height: 1.85;
    color: #2a2a2a;
}

.post-body h2 {
    font-family: var(--forto-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--forto-bottle);
    margin: 2rem 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--forto-fox);
    display: inline-block;
}

.post-body h3 {
    font-family: var(--forto-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--forto-moss);
    margin: 1.5rem 0 .5rem;
}

.post-body p { margin-bottom: 1.1rem; }

.post-body ul, .post-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.1rem;
}

.post-body li { margin-bottom: .35rem; }

.post-body strong { color: var(--forto-bottle); font-weight: 700; }

.post-back {
    font-family: var(--forto-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--forto-fox);
    text-decoration: none;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.post-back:hover { color: var(--forto-bottle); }

.post-body blockquote {
    border-left: 3px solid var(--forto-fox);
    margin: 1.75rem 0;
    padding: .75rem 1.25rem;
    background: rgba(31,53,38,.04);
    border-radius: 0 4px 4px 0;
}
.post-body blockquote p {
    font-style: italic;
    color: var(--forto-moss);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 6px;
}
.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.news-cat {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--forto-fox);
    text-transform: uppercase;
    border: 1px solid rgba(201,74,44,.35);
    padding: 1px 6px;
    border-radius: 3px;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

/* --- Contact Modal Inputs --------------------------------- */
.forto-input {
    width: 100%;
    background: rgba(240,234,214,.06);
    border: 1px solid rgba(240,234,214,.18);
    border-radius: 4px;
    padding: 9px 12px;
    color: var(--forto-cream);
    font-family: var(--forto-heading);
    font-size: 13px;
    transition: border-color .2s;
    outline: none;
}
.forto-input:focus {
    border-color: rgba(240,234,214,.45);
    background: rgba(240,234,214,.09);
}
.forto-input option { background: var(--forto-bottle); color: var(--forto-cream); }
.forto-input::placeholder { color: rgba(240,234,214,.3); }

/* --- Responsive ------------------------------------------- */
/* --- WhatsApp Navbar Button -------------------------------- */

.btn-nav-wa {
    width: 36px;
    height: 36px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s, box-shadow .2s;
}

.btn-nav-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,.55);
    animation: none;
}

.btn-nav-wa svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* --- LinkedIn Navbar Button -------------------------------- */
.btn-nav-li {
    width: 36px;
    height: 36px;
    background: #0A66C2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.btn-nav-li:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10,102,194,.55);
}
.btn-nav-li svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* --- Instagram Navbar Button ------------------------------- */
.btn-nav-ig {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.btn-nav-ig:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(214,36,159,.45);
}
.btn-nav-ig svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 767px) {
    .flip-card { height: 210px; }
    .flip-card-front .card-title { font-size: 1.4rem; }
    .flip-card-back .back-tag  { font-size: 10px; }
    .flip-card-back .back-text { font-size: 12px; }
    .flip-card-back .back-cta  { font-size: 10px; }
    .val-card { border-right: none; border-bottom: 1px solid rgba(240,234,214,.12); }
    .val-card:last-child { border-bottom: none; }
    .stats-bar .stat-divider { display: none; }
    .stats-bar .stat-item { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(240,234,214,.12); }
    .stats-bar .stat-item:last-child { border-bottom: none; }
    .news-card-inner { padding: 1.25rem; }
    .news-title { font-size: 1rem; }

    .team-card { text-align: center; }
    .team-card .team-avatar { margin-left: auto; margin-right: auto; }
    .tf-card-top { align-items: center; text-align: center; }
}

/* --- Privacy / Prose Pages -------------------------------- */
.privacy-prose h2 {
    font-family: var(--forto-heading);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forto-bottle);
    margin-top: 2.5rem;
    margin-bottom: .75rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid rgba(31,53,38,.12);
}
.privacy-prose h2:first-child { margin-top: 0; }
.privacy-prose p, .privacy-prose li {
    font-size: 15px;
    line-height: 1.8;
    color: #2a2a2a;
}
.privacy-prose ul, .privacy-prose ol {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}
.privacy-prose li { margin-bottom: .35rem; }
.privacy-prose a { color: var(--forto-fox); text-decoration: underline; }
.privacy-prose hr {
    border: none;
    border-top: 1px solid rgba(31,53,38,.1);
    margin: 2rem 0;
}
.privacy-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 1.25rem;
}
.privacy-prose th {
    background: var(--forto-bottle);
    color: var(--forto-cream);
    font-family: var(--forto-heading);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .6rem 1rem;
    text-align: left;
}
.privacy-prose td {
    padding: .55rem 1rem;
    border-bottom: 1px solid rgba(31,53,38,.1);
    vertical-align: top;
    color: #2a2a2a;
}
.privacy-prose tr:last-child td { border-bottom: none; }
.privacy-prose strong { color: #1a1a1a; }

/* --- Cookie Consent Banner -------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--forto-bottle);
    border-top: 1px solid rgba(240,234,214,.15);
    padding: 1rem 1.5rem;
}
.cookie-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner__text {
    flex: 1;
    margin: 0;
    font-size: 13px;
    color: rgba(240,234,214,.75);
    line-height: 1.6;
}
.cookie-banner__link {
    color: var(--forto-cream);
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
}
.cookie-btn {
    font-size: 13px;
    font-weight: 600;
    padding: .45rem 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: opacity .2s;
    font-family: var(--forto-heading);
}
.cookie-btn--primary {
    background: var(--forto-fox);
    color: #fff;
}
.cookie-btn--outline {
    background: transparent;
    border: 1px solid rgba(240,234,214,.3);
    color: rgba(240,234,214,.7);
}
.cookie-btn:hover { opacity: .8; }
@media (max-width: 575px) {
    .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
    .cookie-banner__actions { width: 100%; justify-content: flex-end; }
}

/* --- Fox Walk Animation (Hero) ---------------------------- */
#fox-intro {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    z-index: 10;
    pointer-events: none;
}
#fox-walker {
    display: inline-block;
    transition: transform 6s linear;
}
#fox-frames {
    position: relative;
    display: inline-block;
}
#fox-frame-1,
#fox-frame-2 {
    display: block;
    height: 60px;
    width: auto;
    transform: scaleX(1);
}
#fox-frame-2 {
    position: absolute;
    top: 0;
    left: 0;
    animation: foxFrame2 0.65s steps(1) infinite;
}
#fox-frame-1 {
    animation: foxFrame1 0.65s steps(1) infinite;
}
@keyframes foxFrame1 {
    0%,  50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
@keyframes foxFrame2 {
    0%,  50% { opacity: 0; }
    51%, 100% { opacity: 1; }
}
@media (max-width: 575px) {
    #fox-frame-1,
    #fox-frame-2 { height: 42px; }
}
