/* ==========================================================================
   Direct Care – front-end styles
   Uses logical properties (inline-start/end) so LTR and RTL share one sheet.
   ========================================================================== */
:root {
    --brand: #0365d3;
    --brand-rgb: 3, 101, 211;
    --brand-dark: #0252ab;
    --cyan: #19b5e8;
    --navy: #0f3564;
    --navy-2: #123866;
    --teal-dark: #122f2a;
    --teal-black: #051d1f;
    --text: #636363;
    --heading: #0f3564;
    --soft: #f1f6f7;
    --border: #e4e8eb;
    --white: #fff;
    --whatsapp: #25d366;
    --radius: 18px;
    --shadow: 0 10px 35px rgba(15, 53, 100, .08);
    --shadow-hover: 0 18px 45px rgba(15, 53, 100, .16);
    --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 90px;
}
[dir="rtl"] {
    --font-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
    --font-heading: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body { line-height: 1.85; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--heading); font-weight: 600; line-height: 1.3; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 700; line-height: 1.5; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; }
.text-brand { color: var(--brand) !important; }
.bg-soft { background: var(--soft); }
.skip-link { position: absolute; inset-inline-start: 1rem; top: 1rem; z-index: 2000; background: var(--white); padding: .5rem 1rem; border-radius: 6px; }

/* Directional icons flip in RTL */
[dir="rtl"] .dir-icon { transform: scaleX(-1); display: inline-block; }

/* Buttons */
.btn { border-radius: 50px; font-weight: 500; transition: all .25s ease; }
.btn-brand {
    background: var(--brand); color: var(--white); border: 2px solid var(--brand);
    padding: .65rem 1.6rem; display: inline-flex; align-items: center; gap: .4rem;
}
.btn-brand:hover, .btn-brand:focus { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(var(--brand-rgb), .3); }
.btn-lg.btn-brand { padding: .8rem 2rem; font-size: 1rem; }

/* Section scaffolding */
.section { padding: 100px 0; }
.section-head { max-width: 760px; margin-bottom: 50px; }
.section-tag {
    display: inline-block; color: var(--brand); font-weight: 600; font-size: .95rem;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; position: relative; padding-inline-start: 34px;
}
[dir="rtl"] .section-tag { letter-spacing: 0; text-transform: none; }
.section-tag::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 24px; height: 2px; background: var(--brand); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 1.2rem; }
.section-head.text-center .section-tag { padding-inline-start: 0; }
.section-head.text-center .section-tag::before { display: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--white); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 25px rgba(15, 53, 100, .1); }
.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .88rem; padding: 9px 0; transition: margin .3s ease; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--white); }
.topbar i { color: var(--cyan); margin-inline-end: 6px; }
.topbar__social i { color: inherit; margin: 0; }
.site-header.is-scrolled .topbar { margin-top: -44px; }
.main-nav { min-height: var(--header-h); padding: 10px 0; }
.navbar-brand { padding: 0; margin-inline-end: 1.5rem; }
.brand-logo { height: 74px; width: auto; }
.brand-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.45rem; color: var(--navy); white-space: nowrap; }
.brand-text i { color: var(--brand); }
.brand-text--light { color: var(--white); }
.brand-text--light i { color: var(--cyan); }
.main-nav .nav-link { color: var(--navy); font-weight: 500; padding: .6rem .9rem !important; position: relative; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--brand); }
@media (min-width: 992px) {
    .main-nav .nav-link::after { border: 0; }
    .main-nav .nav-link:not(.dropdown-toggle)::after, .main-nav .nav-link.dropdown-toggle::before {
        content: ""; position: absolute; inset-inline: .9rem; bottom: 2px; height: 2px; background: var(--brand);
        transform: scaleX(0); transition: transform .25s ease;
    }
    .main-nav .nav-link:hover::after, .main-nav .nav-link.active::after, .main-nav .nav-link.dropdown-toggle.active::before, .main-nav .nav-link.dropdown-toggle:hover::before { transform: scaleX(1); }
    .main-nav .dropdown-toggle::after { display: inline-block; content: ""; border-top: .3em solid; border-inline: .3em solid transparent; vertical-align: .2em; margin-inline-start: .3em; position: static; background: none; height: auto; transform: none; }
    .dropdown-hover:hover > .dropdown-menu { display: block; margin-top: 0; animation: dropIn .2s ease; }
}
@keyframes dropIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.main-nav .dropdown-menu { border: 0; border-radius: 12px; box-shadow: var(--shadow-hover); padding: .6rem; min-width: 250px; border-top: 3px solid var(--brand); }
.main-nav .dropdown-item { border-radius: 8px; padding: .5rem .9rem; color: var(--navy); white-space: normal; }
.main-nav .dropdown-item:hover { background: var(--soft); color: var(--brand); }
.lang-switch {
    display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600;
    border: 1px solid var(--border); border-radius: 50px; padding: .45rem .95rem; font-size: .92rem; white-space: nowrap;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }
.lang-switch[lang="ar"] { font-family: "Cairo", Tahoma, sans-serif; }
.lang-switch[lang="en"] { font-family: "Roboto", Arial, sans-serif; }
.navbar-toggler { border: 0; font-size: 1.5rem; color: var(--navy); padding: .3rem .5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .25); }
@media (max-width: 991.98px) {
    .offcanvas .nav-link { border-bottom: 1px solid var(--border); padding: .85rem .25rem !important; }
    .offcanvas .dropdown-menu { box-shadow: none; border-top: 0; padding-inline-start: 1rem; }
    :root { --header-h: 74px; }
    .brand-logo { max-height: 50px; }
    .brand-text { font-size: 1.15rem; }
    .main-nav > .container { flex-wrap: nowrap; }
    .navbar-brand { min-width: 0; flex-shrink: 1; overflow: hidden; margin-inline-end: .5rem; }
    .brand-text { display: block; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 420px) {
    .brand-text { font-size: 1rem; }
    .brand-logo { max-height: 42px; }
    .lang-switch { padding: .35rem .7rem; font-size: .85rem; }
}

/* ===== Hero ===== */
.hero { position: relative; background: var(--navy); }
.hero-slide { position: relative; min-height: 620px; display: flex; align-items: stretch; overflow: hidden; }
.hero-slide__media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 62%; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide__panel {
    position: relative; z-index: 2; width: 56%; display: flex; align-items: center;
    background: linear-gradient(135deg, var(--teal-black) 0%, var(--navy) 55%, var(--navy-2) 100%);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}
[dir="rtl"] .hero-slide__panel { clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%); }
.hero-slide__panel::after {
    content: ""; position: absolute; inset-block: 0; inset-inline-end: 12%; width: 6px;
    background: linear-gradient(var(--cyan), var(--brand)); transform: skewX(-12deg); opacity: .9;
}
[dir="rtl"] .hero-slide__panel::after { transform: skewX(12deg); }
.hero-slide__content { padding-block: 90px 110px; padding-inline: max(calc((100vw - 1296px) / 2 + 12px), 24px) 17%; color: rgba(255, 255, 255, .88); }
.hero-slide__title { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 3.1rem); font-weight: 700; margin-bottom: 1.2rem; }
.hero-slide__text { font-size: 1.12rem; margin-bottom: 2rem; max-width: 520px; }
.carousel-item.active .hero-slide__title, .carousel-item.active .hero-slide__text, .carousel-item.active .hero-slide__content .btn { animation: heroUp .9s ease both; }
.carousel-item.active .hero-slide__text { animation-delay: .15s; }
.carousel-item.active .hero-slide__content .btn { animation-delay: .3s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-indicators { justify-content: flex-start; margin: 0; inset-inline-start: max(calc((100vw - 1296px) / 2 + 12px), 24px); inset-inline-end: auto; bottom: 40px; }
.carousel-indicators.hero-indicators [data-bs-target], .testimonial-indicators [data-bs-target] {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; opacity: .8; margin: 0 5px; transition: all .3s;
}
.carousel-indicators.hero-indicators .active { background: var(--cyan); border-color: var(--cyan); width: 30px; border-radius: 10px; opacity: 1; }
@media (max-width: 991.98px) {
    .hero-slide { flex-direction: column; min-height: 0; }
    .hero-slide__media { position: relative; width: 100%; height: 300px; }
    .hero-slide__panel, [dir="rtl"] .hero-slide__panel { width: 100%; clip-path: none; }
    .hero-slide__panel::after { display: none; }
    .hero-slide__content { padding: 45px 24px 75px; }
    .hero-indicators { bottom: 25px; inset-inline-start: 24px; }
}
@media (max-width: 575.98px) { .hero-slide__media { height: 230px; } }

/* ===== Service cards ===== */
.service-card {
    position: relative; overflow: hidden; background: var(--white); border-radius: var(--radius);
    padding: 40px 30px 32px; box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease;
    display: flex; flex-direction: column; border-bottom: 3px solid transparent;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-bottom-color: var(--brand); }
.service-card__corner {
    position: absolute; top: 0; inset-inline-end: 0; width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--cyan), var(--brand)); border-end-start-radius: 100%; opacity: .95; transition: all .35s ease;
}
.service-card:hover .service-card__corner { width: 110px; height: 110px; }
.service-card__icon {
    width: 76px; height: 76px; border-radius: 50%; background: rgba(var(--brand-rgb), .1); color: var(--brand);
    display: grid; place-items: center; font-size: 2rem; margin-bottom: 22px; transition: all .35s ease;
}
.service-card:hover .service-card__icon { background: var(--brand); color: var(--white); transform: rotateY(180deg); }
.service-card__icon img { width: 40px; height: 40px; object-fit: contain; }
.service-card__title { font-size: 1.25rem; margin-bottom: .75rem; }
.service-card__title a { color: var(--heading); }
.service-card__title a:hover { color: var(--brand); }
.service-card__text { margin-bottom: 1.2rem; flex-grow: 1; }
.service-card__link { font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; margin-top: auto; }
.service-card__link i { transition: transform .25s ease; }
.service-card__link:hover i { transform: translateX(5px); }
[dir="rtl"] .service-card__link:hover i { transform: scaleX(-1) translateX(5px); }

/* ===== Homecare ===== */
.homecare__media { position: relative; padding: 0 0 26px; padding-inline-start: 26px; }
.homecare__media::before {
    content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 70%; height: 75%;
    border-radius: 30px; background: linear-gradient(135deg, var(--cyan), var(--brand)); z-index: 0;
}
.homecare__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-hover); }
.highlight-list { margin: 1.5rem 0; }
.highlight-list span {
    display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 12px;
    padding: .85rem 1rem; font-weight: 600; color: var(--navy); height: 100%; transition: all .25s;
}
.highlight-list span:hover { background: var(--brand); color: var(--white); }
.highlight-list span:hover i { color: var(--white); }
.highlight-list i { color: var(--brand); font-size: 1.15rem; }

/* ===== Trusted ===== */
.trusted {
    position: relative; padding: 110px 0;
    background: linear-gradient(120deg, rgba(5, 29, 31, .96), rgba(18, 47, 42, .93) 50%, rgba(15, 53, 100, .95)), var(--trusted-image, none) center / cover no-repeat;
}
.trusted__box { background: var(--white); border-radius: 30px; padding: 55px 50px; box-shadow: 0 25px 60px rgba(0, 0, 0, .25); }
.trusted-item { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--soft); height: 100%; transition: all .3s; }
.trusted-item:hover { background: var(--navy); }
.trusted-item:hover .trusted-item__title, .trusted-item:hover .trusted-item__text { color: var(--white); }
.trusted-item__num {
    position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
    line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--brand-rgb), .45);
}
.trusted-item__icon {
    width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem;
    color: var(--white); background: linear-gradient(135deg, var(--cyan), var(--brand)); margin-bottom: 20px; box-shadow: 0 10px 25px rgba(var(--brand-rgb), .35);
}
.trusted-item__title { font-size: 1.3rem; margin-bottom: .6rem; transition: color .3s; }
.trusted-item__text { transition: color .3s; }
.trusted-item:hover .service-card__link { color: var(--cyan); }
@media (max-width: 767.98px) { .trusted { padding: 70px 0; } .trusted__box { padding: 35px 22px; } }

/* ===== Testimonials ===== */
.testimonials { background: var(--soft); position: relative; }
.testimonial-carousel { max-width: 860px; margin: 0 auto; padding-bottom: 50px; }
.testimonial-card { background: var(--white); border-radius: 24px; padding: 50px 50px 40px; box-shadow: var(--shadow); margin: 10px; text-align: center; position: relative; }
.testimonial-card__quote { font-size: 2.6rem; color: rgba(var(--brand-rgb), .2); margin-bottom: 1rem; }
[dir="rtl"] .testimonial-card__quote { transform: scaleX(-1); }
.testimonial-card__text { font-size: 1.12rem; font-style: italic; color: #4a4a4a; margin-bottom: 1.8rem; }
[dir="rtl"] .testimonial-card__text { font-style: normal; }
.testimonial-card__author { display: inline-flex; align-items: center; gap: 16px; text-align: start; }
.testimonial-card__author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand); padding: 3px; background: var(--white); }
.testimonial-card__author strong { display: block; color: var(--heading); font-family: var(--font-heading); font-size: 1.1rem; }
.testimonial-card__author small { color: var(--brand); }
.sample-badge { display: inline-block; margin-top: 4px; font-size: .72rem; font-weight: 600; color: #8a6d00; background: #fff4cc; border-radius: 20px; padding: 1px 10px; }
.testimonial-indicators { bottom: 0; margin-bottom: 0; }
.testimonial-indicators [data-bs-target] { border-color: var(--brand) !important; }
.testimonial-indicators .active { background: var(--brand) !important; width: 30px !important; border-radius: 10px !important; }
@media (max-width: 575.98px) { .testimonial-card { padding: 35px 22px 30px; } }

/* ===== Inner pages ===== */
.page-banner {
    position: relative; padding: 95px 0 90px; color: var(--white); text-align: center; overflow: hidden;
    background: linear-gradient(120deg, rgba(5, 29, 31, .92), rgba(15, 53, 100, .88)), var(--banner-image, none) center / cover no-repeat, var(--navy);
}
.page-banner::after {
    content: ""; position: absolute; inset-inline-end: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
    border: 40px solid rgba(25, 181, 232, .12);
}
.page-banner__title { color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin-bottom: .8rem; }
.page-banner__crumbs { justify-content: center; }
.page-banner__crumbs a { color: rgba(255, 255, 255, .85); }
.page-banner__crumbs a:hover { color: var(--cyan); }
.page-banner__crumbs .breadcrumb-item.active { color: var(--cyan); }
.page-banner__crumbs .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }
.page-content p { margin-bottom: 1rem; }
.service-detail__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

.sidebar-box { background: var(--soft); border-radius: var(--radius); padding: 30px; }
.sidebar-box__title { font-size: 1.25rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--border); }
.sidebar-links li + li { border-top: 1px solid var(--border); }
.sidebar-links a { display: flex; gap: 10px; align-items: center; padding: .7rem 0; color: var(--navy); font-weight: 500; }
.sidebar-links a:hover { color: var(--brand); padding-inline-start: 6px; }
.sidebar-links i { color: var(--brand); font-size: .8rem; }
.help-box { background: linear-gradient(135deg, var(--navy), var(--brand)); color: rgba(255, 255, 255, .9); border-radius: var(--radius); padding: 36px 30px; text-align: center; }
.help-box__icon { font-size: 2.6rem; color: var(--cyan); margin-bottom: 1rem; }
.help-box__title { color: var(--white); font-size: 1.4rem; }
.help-box__phone { display: block; color: var(--white); font-size: 1.35rem; font-weight: 700; }
.help-box__phone:hover { color: var(--cyan); }
.steps-list li { display: flex; align-items: center; gap: 14px; padding: .55rem 0; color: var(--navy); font-weight: 500; }
.steps-list span { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; font-weight: 700; }

.faq-accordion .accordion-item { border: 0; border-radius: 14px !important; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-accordion .accordion-button { font-family: var(--font-heading); font-weight: 600; color: var(--navy); padding: 1.15rem 1.4rem; font-size: 1.05rem; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--brand); color: var(--white); box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .25); }
.faq-accordion .accordion-body p:last-child { margin-bottom: 0; }

.info-card { background: var(--white); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); height: 100%; transition: transform .3s; text-align: center; }
.info-card:hover { transform: translateY(-6px); }
.info-card__icon { width: 66px; height: 66px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1.6rem; color: var(--white); background: linear-gradient(135deg, var(--cyan), var(--brand)); margin-bottom: 16px; }
.info-card__title { font-size: 1.15rem; }
.info-card .footer-social { justify-content: center; }
.form-box { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 575.98px) { .form-box { padding: 26px 18px; } }
.form-control, .form-select { border-radius: 10px; padding: .75rem 1rem; border-color: var(--border); background-color: #fbfcfd; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .15); }
.form-label { font-weight: 500; color: var(--navy); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
.map-box { border-radius: var(--radius); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); background: var(--soft); }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.cta-band { background: linear-gradient(120deg, var(--brand), var(--navy)); color: rgba(255, 255, 255, .9); padding: 55px 0; }
.cta-band__title { color: var(--white); font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: .4rem; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .97rem; }
.site-footer__top { padding: 80px 0 50px; background: radial-gradient(circle at 90% 0%, rgba(25, 181, 232, .15), transparent 45%); }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--cyan); }
.footer-brand img { height: 120px; width: auto; }
.footer-title { color: var(--white); font-size: 1.2rem; margin-bottom: 1.4rem; position: relative; padding-bottom: .7rem; }
.footer-title::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--cyan); }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { display: inline-flex; gap: 8px; align-items: center; transition: all .2s; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .75rem; color: var(--cyan); }
[dir="rtl"] .footer-links a::before { content: "\f104"; }
.footer-links a:hover { padding-inline-start: 5px; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 1rem; }
.footer-contact i { color: var(--cyan); margin-top: 6px; width: 18px; text-align: center; flex-shrink: 0; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .1); color: var(--white); transition: all .25s;
}
.footer-social a:hover { background: var(--brand); color: var(--white); transform: translateY(-3px); }
.footer-social--dark a { background: var(--soft); color: var(--navy); }
.site-footer__bottom { background: rgba(0, 0, 0, .18); padding: 18px 0; font-size: .9rem; }
.footer-lang { font-weight: 600; }

/* ===== Floating WhatsApp & back-to-top ===== */
.whatsapp-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 1050;
    width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: var(--white);
    display: grid; place-items: center; font-size: 2rem; box-shadow: 0 8px 25px rgba(37, 211, 102, .45);
    transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); z-index: -1;
    animation: waPulse 2.2s ease-out infinite;
}
.whatsapp-float:hover, .whatsapp-float:focus { color: var(--white); transform: scale(1.08); box-shadow: 0 12px 30px rgba(37, 211, 102, .6); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float::before { animation: none; } }
.back-to-top {
    position: fixed; right: 32px; bottom: 98px; z-index: 1040; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: var(--brand); color: var(--white); box-shadow: var(--shadow-hover);
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .3s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy); }
@media (max-width: 575.98px) {
    .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 1.8rem; }
    .back-to-top { right: 21px; bottom: 82px; width: 42px; height: 42px; }
    .section { padding: 70px 0; }
}
