/* Presentation refinements: existing typography, imagery and navigation are retained. */
.hero-carousel .hero-slide{gap:0;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:stretch}
.hero-carousel .hero-copy{min-width:0;max-width:none;padding:40px clamp(28px,3.5vw,50px) 86px}
.hero-carousel .hero-media{height:auto;min-height:480px}
.hero-carousel .hero-slide h1,.hero-carousel .hero-slide .hero-headline{font-size:clamp(38px,4.1vw,58px);line-height:1.4;letter-spacing:-.8px}
.hero-carousel .hero-slide .hero-copy>p{font-size:15px;line-height:1.95;margin-top:20px}
.hero-carousel .hero-actions{gap:12px;margin-top:24px}
.hero-carousel .hero-actions>a{min-height:46px}
.hero-carousel .hero-carousel-controls{inset-inline-start:clamp(28px,3.5vw,50px);bottom:18px;gap:7px}
.hero-carousel-arrow,.hero-carousel-dots button{min-width:44px;width:44px;height:44px}
.hero-carousel-dots{gap:0}
.hero-carousel-dots button{background:transparent}
.hero-carousel-dots button[aria-current=true] span{width:24px}
.hero-carousel-arrow:focus-visible,.hero-carousel-dots button:focus-visible{outline-offset:2px}
html[lang=en] .hero-carousel .hero-copy{padding-inline:36px}
html[lang=en] .hero-carousel .hero-slide h1,html[lang=en] .hero-carousel .hero-headline{font-size:clamp(36px,3.8vw,54px);line-height:1.25;letter-spacing:-1.5px}

.section-heading{margin-bottom:30px}
.section-heading>p{margin-top:12px;line-height:1.9}
.service-grid{align-items:stretch}
.service-grid>.service-card{display:flex;flex-direction:column;min-width:0}
.service-card .service-visual{height:auto;aspect-ratio:16/10;flex-shrink:0}
.service-card .service-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.service-card .service-card-body{flex:1;min-height:224px;padding:20px;gap:0}
.service-card h3{font-size:17px;line-height:1.55;text-wrap:pretty}
.service-card p{font-size:13px;line-height:1.85;margin:10px 0 18px}
.service-card .card-footer{min-height:44px;margin-top:auto}
.service-card .card-number{min-width:25px;padding:2px 6px;border-radius:5px;background:#ffffffdf;color:#315b4b;text-align:center}
.hero-facts{gap:16px;margin-block:24px 0;padding-bottom:4px}

.home-care .split{gap:48px}
.home-care .home-art{min-height:0;aspect-ratio:4/3;overflow:hidden;border-radius:18px 64px 18px 18px}
.home-care .home-art>img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center}
.home-care .split>div>p{margin-block:16px 20px}
.home-care-actions{gap:12px;align-items:center}
.home-care-actions .button{min-height:46px;padding-inline:18px;white-space:normal;text-align:center;line-height:1.7}
.home-care-hours{line-height:1.8}
.branch-grid>.branch-card{display:flex;flex-direction:column;padding:26px;min-width:0}
.branch-card-top{margin-bottom:22px}
.branch-grid>.branch-card h3{font-size:24px;line-height:1.5}
.branch-grid>.branch-card>p{line-height:1.85;margin-bottom:22px}
.branch-grid>.branch-card .branch-hours{margin-top:auto;padding-top:16px;margin-bottom:18px}
.branch-grid>.branch-card .branch-card-footer{margin-top:0;min-height:47px}
.branch-grid>.branch-card:before,.branch-grid>.branch-card:after{opacity:.45;pointer-events:none}
.branch-index{font-family:Cairo,Inter,Arial,sans-serif}

.about-section{gap:30px 44px;align-items:center}
.about-section .about-photo-panel{margin:0;min-height:0}
.about-section .about-photo-panel>img:first-child{display:block;aspect-ratio:16/10;height:auto;min-height:0;max-height:none;object-fit:cover}
.about-section .section-heading>p{margin-top:16px;line-height:1.95}
.about-section>.values{gap:24px}
.about-section .values article{padding-top:22px}
html[data-theme=dark] .about-section{background:transparent}
.steps-section .steps{gap:30px}
.booking-panel .request-form{min-width:0}
.request-form input,.request-form select{min-height:46px}
.request-tabs .request-tab{display:flex;align-items:center;justify-content:center;min-height:44px;line-height:1.6}
.branch-page-actions{gap:12px}
.branch-page-actions .button,.detail-cta-group .button{min-height:46px;white-space:normal;text-align:center}
.blog-grid .article-card img{height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center 30%}
.branch-photo img{height:auto;max-height:none;aspect-ratio:16/9;object-fit:cover;object-position:center 35%}
.team-photo{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center top}
.footer-grid{gap:32px}
.footer-grid a{line-height:1.85}
.footer-grid .social-links{gap:9px}
.footer-grid .social-links>a,.footer-grid .social-inactive{width:42px;height:42px}
.footer-bottom{line-height:1.8}


/* Restore the existing testimonial layout only as clearly marked local design templates. */
.reviews-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.testimonial-carousel{position:relative;padding-inline:22px}
.testimonial-control{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #bfd7c8;border-radius:50%;background:#fff;color:#246653;box-shadow:0 5px 16px #193e381a}
.testimonial-control--start{inset-inline-start:0}
.testimonial-control--end{inset-inline-end:0}
.testimonial-control .bi-icon{width:19px;height:19px}
.testimonial-control:hover{background:#e9f4ed;border-color:#559a78}
.testimonial-control:active{transform:translateY(-50%) scale(.95)}
.testimonial-carousel:hover .testimonial-track,.testimonial-carousel:focus-within .testimonial-track,.testimonial-track.is-manual{animation-play-state:paused}
html[data-theme=dark] .testimonial-control{background:#223128;color:#d7f2e2;border-color:#698774;box-shadow:0 5px 16px #0005}
html[data-theme=dark] .testimonial-control:hover{background:#314c3a;border-color:#9ac6a8}
.testimonial-marquee{direction:ltr}
.testimonial-track{direction:ltr;gap:18px}
.testimonial-track[dir=rtl]>.testimonial-card{direction:rtl}
.testimonial-track[dir=ltr]>.testimonial-card{direction:ltr}
.testimonial-track>.testimonial-card{display:flex;flex-direction:column;flex-basis:340px;width:340px;min-height:258px}
.testimonial-card-footer{margin-top:auto}
.testimonial-card--placeholder .testimonial-quote{line-height:1}
.testimonial-placeholder-copy{margin:20px 0 28px;display:grid;gap:12px}
.testimonial-placeholder-copy>span{display:block;height:9px;border-radius:4px;background:color-mix(in srgb,var(--teal) 18%,white)}
.testimonial-placeholder-copy>span:nth-child(2){width:88%}
.testimonial-placeholder-copy>span:nth-child(3){width:62%}
.testimonial-card--placeholder .testimonial-card-footer strong{font-size:12px;color:var(--body);font-weight:600}
.testimonial-card--placeholder .testimonial-stars{color:#8b7c51}
html[data-theme=dark] .testimonial-placeholder-copy>span{background:#354039}
html[data-theme=dark] .testimonial-card--placeholder .testimonial-stars{color:#c4b78b}
@keyframes testimonial-ar{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 9px))}}
@keyframes testimonial-en{from{transform:translateX(calc(-50% - 9px))}to{transform:translateX(0)}}

 .header nav a{white-space:nowrap;flex:0 0 auto}
@media(min-width:1301px){
 .header-inner{gap:14px;min-height:84px;flex-wrap:nowrap}
 .header nav{gap:18px;flex-shrink:0;flex-wrap:nowrap}
 .header nav a{font-size:14px}
}
@media(min-width:601px) and (max-width:1300px){
 .header-inner{gap:12px;min-height:80px;padding-block:7px;flex-wrap:nowrap}
 .header .brand{margin-inline-end:auto}
 .header .brand img.brand-horizontal-logo{width:195px;height:65px}
 .header .menu-toggle{display:grid;place-items:center;order:0;width:44px;height:44px;padding:0}
 .header nav{display:none;position:absolute;top:100%;inset-inline:0;margin:0;padding:18px 30px;flex-direction:column;align-items:stretch;gap:4px;border-bottom:1px solid var(--line);background:#fff;box-shadow:0 12px 24px #173e3414}
 .header nav.open{display:flex}
 .header nav a{font-size:15px;padding:9px 4px}
 .header .language{border:0;padding:0;min-width:36px;text-align:center}
 .header .theme-toggle{width:40px;height:40px}
 .header .button.small,.header-phone{flex:0 0 132px;width:132px;min-height:46px;height:46px}
}
@media(min-width:601px) and (max-width:1100px){.branch-grid:has(.branch-home-care){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){
 .hero-carousel .hero-copy{padding-inline:28px}
 .hero-carousel .hero-media{min-height:440px}
 .home-care .split{gap:32px}
 .branch-grid>.branch-card{padding:24px}
}
@media(max-width:800px){
 .section{padding-block:44px}
 .section-heading{margin-bottom:26px}
 .section-heading h2{font-size:29px;line-height:1.45}
 .section-heading>p{font-size:14px;margin-top:12px}
 .hero-carousel .hero-slide{gap:0;min-height:0}
 .hero-carousel .hero-media{height:clamp(230px,57vw,360px);min-height:0;flex:none}
 .hero-carousel .hero-copy,html[lang=en] .hero-carousel .hero-copy{padding:24px 24px 86px;max-width:none}
 .hero-carousel .hero-slide h1,.hero-carousel .hero-slide .hero-headline{font-size:clamp(32px,7.4vw,42px);line-height:1.4}
 html[lang=en] .hero-carousel .hero-slide h1,html[lang=en] .hero-carousel .hero-headline{font-size:clamp(32px,7.4vw,42px);line-height:1.25;letter-spacing:-1px}
 .hero-carousel .hero-slide .hero-copy>p{font-size:14px;line-height:1.9;margin-top:15px}
 .hero-carousel .hero-actions{margin-top:20px;gap:10px}
 .hero-carousel .hero-carousel-controls{inset-inline-start:22px;bottom:16px;gap:6px}
 .hero-facts{margin-top:18px;gap:12px;padding-bottom:0}
 .service-card .service-visual{aspect-ratio:4/3}
 .service-card .service-card-body{min-height:220px;padding:16px}
 .service-card h3{font-size:15px;line-height:1.55}
 .service-card p{font-size:12.5px;line-height:1.85;margin:10px 0 17px}
 .service-card .card-footer{font-size:11px;min-height:44px;padding:9px}
 .home-care .split{gap:25px}
 .home-care .home-art{aspect-ratio:4/3;border-radius:16px 48px 16px 16px}
 .home-care .split>div>p{margin-block:14px 18px}
 .home-care .home-care-hours{gap:6px 10px;font-size:13px}
 .about-section{gap:22px;grid-template-columns:1fr}
 .about-section .about-photo-panel>img:first-child{height:auto;aspect-ratio:16/10}
 .about-section>.values{gap:18px;margin-top:6px}
 .about-section .values article{padding-top:18px;grid-template-columns:42px 1fr;gap:6px 12px}
 .about-section .values .value-icon{width:42px;height:42px;border-radius:12px;font-size:20px}
 .about-section .values h3{font-size:17px}
 .about-section .values p{font-size:13px;line-height:1.85}
 .steps-section{padding-block:44px}
 .footer-grid{gap:28px 24px}
 .footer-grid h3{font-size:14px;margin-bottom:12px}
 .footer-grid a{font-size:13px;padding-block:3px}
 footer{padding-block:40px 24px}
 .footer-bottom{margin-top:28px;padding-top:18px}
 .testimonial-track>.testimonial-card{flex-basis:290px;width:290px;min-height:240px;padding:24px}
}
@media(max-width:600px){
 .container{width:calc(100% - 36px)}
 .header-inner{display:grid;grid-template-columns:minmax(0,1fr) 38px 34px 38px;gap:8px;min-height:0;padding-block:8px}
 .header .brand{grid-column:1;grid-row:1;margin:0;min-width:0}
 .header .brand img.brand-horizontal-logo{width:195px;max-width:100%;height:auto;aspect-ratio:3/1}
 .header .theme-toggle{grid-column:2;grid-row:1;width:38px;height:38px}
 .header .language{grid-column:3;grid-row:1;display:grid;place-items:center;min-height:38px;border:0;padding:0;font-size:11px}
 .header .menu-toggle{grid-column:4;grid-row:1;display:grid;place-items:center;order:0;width:38px;height:38px;padding:0}
 .header nav{top:100%;padding:14px 22px;margin:0;max-height:calc(100dvh - 140px);overflow-y:auto}
 .header .button.small,.header-phone{width:calc(50% - 4px);min-width:0;height:45px;min-height:45px;flex:none;padding:7px 10px;grid-column:1/-1;grid-row:2}
 .header .button.small{justify-self:start;font-size:12px}
 .header-phone{justify-self:end}
 .header-phone strong{font-size:14px;letter-spacing:0}
 .header-phone small{font-size:9px}
 .header-phone .phone-icon{width:24px;height:24px}
 .hero-carousel{margin-top:14px}
 .hero-carousel .hero-slide{border-radius:18px}
 .hero-carousel .hero-copy,html[lang=en] .hero-carousel .hero-copy{padding:24px 20px 84px}
 .hero-carousel .hero-media{height:clamp(224px,60vw,265px)}
 .hero-carousel .hero-actions>a{min-height:46px;font-size:12px;padding:10px 15px}
 .hero-carousel .hero-carousel-controls{inset-inline-start:18px}
 .hero-facts>.fact-card,.hero-facts>.fact-card:nth-child(2n){min-height:144px;padding:18px 10px}
 .service-grid{gap:14px 12px}
 .service-card .service-card-body{padding:15px 13px;min-height:0}
 .service-card h3{font-size:14.5px}
 .service-card .card-footer{gap:5px;font-size:10.5px;padding-inline:8px}
 .home-care-actions .button{flex:1 1 150px;font-size:12px;padding-inline:12px}
 .branch-grid:has(.branch-home-care){grid-template-columns:1fr;gap:16px}
 .branch-grid>.branch-card{padding:24px;min-height:0}
 .branch-card-top{margin-bottom:19px}
 .branch-grid>.branch-card h3{font-size:25px}
 .branch-grid>.branch-card>p{margin-bottom:20px;min-height:0}
 .branch-grid>.branch-card .branch-hours{padding-top:15px;margin-bottom:15px}
 .booking-intro{padding:26px 24px}
 .booking-intro h2{font-size:29px}
 .booking-panel .request-form{padding:24px}
 .request-tabs{margin-bottom:22px}
 .form-grid{gap:17px}
 .request-form label{font-size:13px}
 .request-form .checkbox{font-size:12px;gap:10px}
 .request-form .checkbox input{min-height:16px}
 .request-form .button{min-height:48px}
 .branch-page-actions,.detail-cta-group{gap:10px}
 .branch-page-actions .button,.detail-cta-group .button{flex:1 1 145px;font-size:12px;padding:11px 14px;gap:8px}
 .whatsapp,.back-to-top{bottom:calc(14px + env(safe-area-inset-bottom));width:46px;height:46px}
 .whatsapp{inset-inline-end:14px}
 .back-to-top{inset-inline-start:14px}
 .reviews-heading{align-items:flex-start}
}
@media(min-width:601px) and (max-width:800px){
 .home-care .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
 .home-care h2{font-size:29px}
 .home-care .split>div>p{font-size:14px}
 .home-care-actions .button{width:100%;min-height:44px;font-size:12px}
}
@media(min-width:700px) and (max-width:800px){
 .about-section{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:24px}
 .about-section>.values{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .about-section .values article{display:block}
 .about-section .values .value-icon{margin-bottom:12px}
 .about-section .values h3{margin-bottom:7px;font-size:16px}
}

.whatsapp,.back-to-top{z-index:30;transition:background .18s,box-shadow .18s;transform:none!important}
@media(max-width:600px){footer{padding-bottom:90px}html{scroll-padding-bottom:90px}.whatsapp,.back-to-top{width:46px;height:46px;bottom:calc(16px + env(safe-area-inset-bottom));box-shadow:0 3px 16px #0003}}

@media(min-width:1301px){.header .brand{margin-inline-end:0}.header nav{margin-inline-end:auto}.header .language{min-width:38px;text-align:center}}

/* A shared 16:9 stage gives every image and video the same geometry. */
.hero-carousel .hero-wide-slide{display:grid;grid-template-columns:1fr;min-height:0;gap:0}
.hero-carousel .hero-wide-slide[hidden]{display:none}
.hero-carousel .hero-wide-slide .hero-media{grid-column:1;grid-row:1;position:relative;inset:auto;z-index:0;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:16/9;background:#f4f8f5;overflow:hidden}
.hero-carousel .hero-wide-slide .hero-media picture{display:block;position:absolute;inset:0;width:100%;height:100%}
.hero-carousel .hero-wide-slide .hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-carousel .hero-motion-slide .hero-media picture{display:none}
.hero-carousel .hero-motion-slide .hero-media video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;background:transparent}
.hero-carousel .hero-wide-slide .hero-copy,html[lang=en] .hero-carousel .hero-wide-slide .hero-copy{grid-column:1;grid-row:2;max-width:none;padding:18px 30px 74px}
.hero-carousel .hero-wide-slide h1,.hero-carousel .hero-wide-slide .hero-headline,html[lang=en] .hero-carousel .hero-wide-slide h1,html[lang=en] .hero-carousel .hero-wide-slide .hero-headline{font-size:clamp(24px,2.5vw,34px);line-height:1.5;max-width:none;letter-spacing:0}
.hero-carousel .hero-wide-slide .hero-copy>p{margin-top:8px;max-width:850px}
html[data-theme=dark] .hero-carousel .hero-wide-slide .hero-media{background:#111614}
@media(max-width:600px){.hero-carousel .hero-wide-slide .hero-copy,html[lang=en] .hero-carousel .hero-wide-slide .hero-copy{padding:14px 20px 70px}.hero-carousel .hero-wide-slide .hero-copy>p{font-size:14px;line-height:1.8}.hero-carousel .hero-carousel-dots button{min-width:36px;width:36px}}

.hero-carousel .hero-video-play{position:absolute;inset-inline-start:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 20px;min-height:48px;max-width:calc(100% - 32px);width:max-content;border:1px solid #b7d2c3;border-radius:999px;background:#f5faf7f5;color:#174a39;font:700 14px/1.5 Cairo,Inter,sans-serif;box-shadow:0 6px 24px #123c2830;cursor:pointer}.hero-carousel .hero-video-play[hidden]{display:none}html[dir=rtl] .hero-carousel .hero-video-play{transform:translate(50%,-50%)}.hero-video-play .bi-icon{width:21px;height:21px;flex:none}.hero-video-play:focus-visible{outline:3px solid #2b8a70;outline-offset:4px}html[lang=en] .hero-video-play{font-family:Inter,Cairo,sans-serif}html[data-theme=dark] .hero-carousel .hero-video-play{background:#18241df5;color:#e7f7ef;border-color:#75a88d}@media(max-width:600px){.hero-carousel .hero-video-play{font-size:13px;padding:10px 16px;min-height:44px}}
