/* ==========================================================================
   Beatriz Diniz - Psicóloga | site styles
   Loaded after Bootstrap 5.3 and FontAwesome 6.4 (see index.php <head>)
   ========================================================================== */

:root {
    --navy: #0b3c5d;
    --navy-deep: #072a42;
    --gold: #d9b310;
    --gold-soft: #f3e7b3;
    --blue: #328cc1;
    --soft-bg: #f9f5f3;
    --white: #ffffff;
    --text: #3a3a3a;
    --muted: #63615f;
    --line: rgba(11, 60, 93, 0.12);

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 10px 30px rgba(11, 60, 93, 0.08);
    --shadow-hover: 0 18px 40px rgba(11, 60, 93, 0.14);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --header-h: 76px;
}

/* Soft background options - put ONE of these classes on <body> (easy to switch in DevTools) */
.bg-cream { --soft-bg: #f9f5f3; }   /* original warm cream */
.bg-a     { --soft-bg: #e4eff4; }   /* A - clear sky blue-grey (coolest) */
.bg-b     { --soft-bg: #e8eef1; }   /* B - less saturated blue-grey */
.bg-c     { --soft-bg: #ebeff0; }   /* C - mist, near neutral */
.bg-d     { --soft-bg: #eceeec; }   /* D - greige with a touch of blue (warmest) */
.bg-e     { --soft-bg: #e6ecec; }   /* E - blue-sage */
.bg-f     { --soft-bg: #fbf8ea; }   /* F - warm ivory (brand gold at ~9% on white) */
.bg-g     { --soft-bg: #fbfaf4; }   /* G - warm off-white (current) */

/* Base
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--soft-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }

a {
    color: var(--blue);
    transition: color .2s var(--ease);
}

img { max-width: 100%; height: auto; }

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    padding: .6rem 1rem;
    background: var(--white);
    color: var(--navy);
    border-radius: var(--radius-sm);
}

.skip-link:focus { top: 1rem; }

/* Buttons
   ========================================================================== */
.btn {
    font-weight: 600;
    border-radius: 999px;
    padding: .7rem 1.6rem;
    transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .9rem; }

.btn:hover { transform: translateY(-2px); }

.btn-gold {
    background: var(--gold);
    color: var(--navy-deep);
    border: 2px solid var(--gold);
}

.btn-gold:hover, .btn-gold:focus-visible {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.btn-navy:hover, .btn-navy:focus-visible {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy-deep);
}

.btn-outline-light { border-width: 2px; }

/* Header
   ========================================================================== */
.site-header {
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
    padding: .75rem 0;
}

.site-header.scrolled,
.site-header:has(.navbar-collapse.show),
.site-header:has(.navbar-collapse.collapsing) {
    background: rgba(7, 42, 66, 0.96);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    padding: .35rem 0;
}

.navbar-brand img {
    height: 52px;
    width: auto;
    transition: height .3s var(--ease);
}

.site-header.scrolled .navbar-brand img { height: 44px; }

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
    padding: .5rem .9rem !important;
}

.navbar-dark .nav-link::after {
    content: "";
    position: absolute;
    left: .9rem;
    right: .9rem;
    bottom: .25rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.navbar-dark .nav-link:hover,
.navbar-dark .nav-link.active { color: var(--white); }

.navbar-dark .nav-link:hover::after,
.navbar-dark .nav-link.active::after { transform: scaleX(1); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.header-icon:hover { color: var(--gold); }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: 1rem 0 1.25rem; }
    .navbar-dark .nav-link::after { display: none; }
    .header-actions { padding-top: .75rem; border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: .5rem; }
}

/* Flash message (form success)
   ========================================================================== */
.flash {
    position: fixed;
    top: calc(var(--header-h) + 1rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: .75rem;
    max-width: calc(100% - 2rem);
    padding: .9rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    box-shadow: var(--shadow-hover);
    border-left: 4px solid #2e9d6a;
    animation: flash-in .5s var(--ease);
}

.flash-success i.fa-circle-check { color: #2e9d6a; font-size: 1.25rem; }

.flash-close {
    background: none;
    border: 0;
    color: var(--muted);
    padding: .25rem;
    margin-left: .5rem;
}

@keyframes flash-in {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Sections & shared pieces
   ========================================================================== */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-white { background: var(--white); }

/* Illustrated background with a white wash; .pattern-bg is moved on scroll by js/main.js (parallax) */
.section-pattern {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--white);
}

.pattern-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: -25%;
    bottom: -25%;
    z-index: -1;
    background: url(../image/pattern-psicologia.webp) center / 1100px auto repeat;
    will-change: transform;
}

.pattern-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 767.98px) {
    .pattern-bg { background-size: 700px auto; }
}

.section-navy {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
}

.section-navy h2,
.section-navy h3 { color: var(--white); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-head h2 { margin-bottom: 0; }
.section-head p { margin-top: 1.25rem; color: var(--muted); }

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .75rem;
}

.eyebrow-light { color: var(--gold); }

.gold-rule {
    display: block;
    width: 56px;
    height: 2px;
    background: var(--gold);
    margin: 1.25rem auto 0;
}

.text-start .gold-rule { margin-left: 0; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .55rem;
}

.check-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .75rem;
    position: absolute;
    left: 0;
    top: .3rem;
    color: var(--gold);
}

/* Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: var(--white);
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: hero-zoom 18s var(--ease) forwards;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 42, 66, 0.94) 0%, rgba(11, 60, 93, 0.82) 45%, rgba(11, 60, 93, 0.45) 100%);
}

@keyframes hero-zoom {
    to { transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 3rem;
}

.hero-text { max-width: 640px; }

.hero h1 {
    color: var(--white);
    margin-bottom: .75rem;
}

/* h1 holds both the eyebrow and the name (keywords in the main heading), styled as before */
.hero-title .eyebrow {
    display: block;
    font-family: var(--font-body);
    line-height: 1.7;
}

.hero-name { display: block; }

.hero-sub {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    border-left: 2px solid var(--gold);
    padding-left: 1.25rem;
    margin-bottom: 2.25rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-strip {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(7, 42, 66, 0.55);
    backdrop-filter: blur(6px);
}

.hero-strip-list {
    list-style: none;
    margin: 0;
    padding: 1.1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2.5rem;
    font-size: .92rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-strip-list i {
    color: var(--gold);
    margin-right: .5rem;
}

/* Psicologia Clínica
   ========================================================================== */
.section-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.info-card {
    height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.info-card h3 { margin-bottom: .75rem; }

.info-card p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.info-card strong { color: var(--navy); }

.info-icon,
.area-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--soft-bg);
    color: var(--navy);
    margin-bottom: 1rem;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

/* Áreas de intervenção
   ========================================================================== */
.area-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--soft-bg);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem 1.5rem;
    border: 1px solid var(--line);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}

.area-card:hover {
    transform: translateY(-4px);
    background: var(--white);
    border-color: var(--line);
    box-shadow: var(--shadow-hover);
}

.area-card:hover .area-icon {
    background: var(--navy);
    color: var(--gold);
}

.area-card .area-icon { background: var(--white); }

.area-num {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold);
    opacity: .75;
}

/* Cards don't stretch to their row, so opening one doesn't move the others;
   fixed title/text heights keep the closed cards aligned */
.area-card h3 { margin-bottom: .5rem; }

.area-card > p {
    color: var(--muted);
    font-size: .93rem;
    margin-bottom: 1rem;
    min-height: calc(3 * 1.7em);
}

@media (min-width: 768px) {
    .area-card h3 { min-height: calc(2 * 1.2em); }
}

/* Cards without "Saber mais" get the same height as the closed cards that have it */
.area-card:not(:has(.area-more)) { padding-bottom: calc(1.5rem + 27px); }

.area-more summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: .9rem;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.area-more summary::-webkit-details-marker { display: none; }

.area-more summary::after {
    content: "\2b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--navy);
    transition: transform .3s var(--ease);
}

.area-more[open] summary::after { transform: rotate(45deg); }

.area-more[open] > *:not(summary) { animation: fade-down .35s var(--ease); }

.area-more .area-goal {
    font-weight: 600;
    color: var(--navy);
    font-size: .88rem;
    margin: 1rem 0 .25rem;
}

.area-more .area-goal.small { font-weight: 500; margin-top: 0; }

.area-more .check-list {
    margin-top: .75rem;
    font-size: .88rem;
    color: var(--muted);
}

@keyframes fade-down {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* Quote band
   ========================================================================== */
.quote-band {
    position: relative;
    background: var(--navy-deep);
    color: var(--white);
    padding: clamp(4rem, 8vw, 6rem) 0;
    overflow: hidden;
}

.quote-mark {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: .6;
    color: var(--gold);
    margin-bottom: 1rem;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin: 0;
}

.quote-meta {
    margin: 1.25rem 0 0;
    font-size: .85rem;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, 0.75);
}

/* Sobre
   ========================================================================== */
.about-media {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

.about-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.about-media::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}

#sobre { position: relative; z-index: 0; }
#sobre .section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.fact {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
}

.fact-label {
    display: block;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}

.fact-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--navy);
}

.about-activity { margin-bottom: 2.5rem; }
.about-activity h3 { margin-bottom: .5rem; }

.timeline-title { margin-bottom: 1.25rem; }

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 5.25rem;
    top: .5rem;
    bottom: .5rem;
    width: 1px;
    background: var(--line);
}

.timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1.5rem;
    padding: .55rem 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: calc(5.25rem - 5px);
    top: 1.05rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--soft-bg);
    border: 2px solid var(--gold);
    transition: background-color .3s var(--ease);
}

.timeline li:hover::before { background: var(--gold); }

.tl-year {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--navy);
    text-align: right;
    white-space: nowrap;
}

.tl-text {
    color: var(--text);
    font-size: .95rem;
}

/* Como funciona
   ========================================================================== */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(217, 179, 16, 0.5);
}

.step {
    position: relative;
    text-align: center;
}

.step-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.step:hover .step-num {
    background: var(--gold);
    color: var(--navy-deep);
}

.step h3 { margin-bottom: .5rem; }

.step p {
    font-size: .93rem;
    margin: 0 auto;
    max-width: 260px;
}

/* Preços
   ========================================================================== */
.price-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .6rem;
    padding: 2.5rem 1.75rem;
    border-radius: var(--radius);
    background: var(--soft-bg);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}

.price-card:hover {
    transform: translateY(-6px);
    background: var(--white);
    box-shadow: var(--shadow-hover);
    color: var(--text);
}

.price-tag {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
}

.price-card h3 { margin: 0; }

.price-duration {
    color: var(--muted);
    font-size: .9rem;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    color: var(--navy);
    line-height: 1;
    margin-top: .5rem;
}

.price-value::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: var(--gold);
    margin: 1rem auto 0;
    transition: width .35s var(--ease);
}

.price-card:hover .price-value::after { width: 64px; }

.price-info {
    max-width: 760px;
    margin: 3.5rem auto 0;
    padding: 2rem 2.25rem;
    border-radius: var(--radius);
    background: var(--soft-bg);
    border-left: 3px solid var(--gold);
}

.price-info h3 { margin-bottom: 1rem; }

/* Contactos
   ========================================================================== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (max-width: 991.98px) {
    .contact-cards { grid-template-columns: 1fr; margin-bottom: 2rem; }
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    word-break: break-word;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.contact-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
    color: var(--navy);
}

.contact-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold);
}

.contact-label {
    display: block;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

.online-card {
    padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: .93rem;
    margin-bottom: 1.5rem;
}

.online-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.online-card h3 i { color: var(--gold); }
.online-card strong { color: var(--white); }

.social {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 600;
    color: var(--navy);
}

.social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.social-item:hover {
    background: var(--gold);
    color: var(--navy-deep);
    transform: translateY(-2px);
}

.social-item-light {
    background: rgba(255, 255, 255, 0.12);
}

.form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.form-card .form-label {
    font-weight: 600;
    font-size: .88rem;
    color: var(--navy);
    margin-bottom: .35rem;
}

.form-card .form-control {
    border-radius: var(--radius-sm);
    border: 1px solid #d9d4cf;
    background: var(--soft-bg);
    padding: .8rem 1rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

.form-card .form-control:focus {
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(50, 140, 193, 0.15);
}

.form-alert {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1.1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    background: #fdecec;
    color: #9b2c2c;
    font-weight: 500;
}

.map-wrap { line-height: 0; }

.map {
    width: 100%;
    height: 380px;
    border: 0;
    filter: grayscale(.25);
}

/* Footer
   ========================================================================== */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.78);
    padding: 4.5rem 0 0;
    font-size: .93rem;
}

.site-footer img {
    width: 160px;
    height: auto;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--white);
    margin: 1rem 0 1.25rem;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: .6rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    word-break: break-word;
}

.footer-links a:hover { color: var(--gold); }

.footer-contacts i {
    color: var(--gold);
    width: 1.5rem;
}

.footer-bottom {
    margin-top: 3.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: .82rem;
    text-align: center;
}

.footer-bottom a { color: var(--white); }

/* Scroll reveal (only when JS is available, see js/main.js)
   ========================================================================== */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .about-media { position: relative; top: 0; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 767.98px) {
    .about-facts { grid-template-columns: 1fr; }
    .hero-strip-list { flex-direction: column; gap: .5rem; }
    .about-media::before { inset: .75rem -.75rem -.75rem .75rem; }
    .price-info { padding: 1.5rem; }
}

@media (max-width: 575.98px) {
    .steps { grid-template-columns: 1fr; }
    .hero-ctas .btn { width: 100%; }
    .timeline::before { left: 4.25rem; }
    .timeline li { grid-template-columns: 3.5rem 1fr; gap: 1.5rem; }
    .timeline li::before { left: calc(4.25rem - 5px); }
    .tl-year { font-size: .9rem; }
}

/* Reduced motion: no animations, everything visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .js .reveal { opacity: 1; transform: none; }
    .hero-bg { transform: none; }
}
