/* Homepage refinement. City and neighborhood templates keep their existing system. */
html:has(.smd-home) { font-size: 100%; scroll-behavior: smooth; }
.smd-home {
  --smd-ink: #252824;
  --smd-muted: #62665e;
  --smd-paper: #f7f6f2;
  --smd-gold: #bf9d7f;
  --smd-accent: #805c3c;
  background: var(--smd-paper);
  color: var(--smd-ink);
  font-family: Cairo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word;
}
.smd-home *, .smd-home *::before, .smd-home *::after { box-sizing: border-box; }
.smd-home[dir="ltr"] { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.smd-home :is(h1,h2,h3,h4,h5,h6,p,a,button,dt,dd) { font-family: inherit; }
.smd-home :is(a,button) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.smd-home :is(a,button,input,summary):focus-visible { outline: 3px solid #956840; outline-offset: 5px; }
.smd-home :is(section,article)[id] { scroll-margin-top: 112px; }
.smd-home p { font-size: 1rem; line-height: 1.95; }
.smd-home h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.5; font-weight: 650; }
.smd-home h3 { font-size: 1.35rem; line-height: 1.6; font-weight: 650; }
.smd-home[dir="ltr"] :is(h1,h2,h3) { letter-spacing: -.025em; }
.smd-home .container { width: min(1180px, calc(100% - 64px)); max-width: 100%; padding-inline: 0; }
.smd-home .row { margin-inline: 0; }
.smd-home .smd-skip { position: fixed; top: 12px; inset-inline-start: 16px; z-index: 10010; padding: 12px 20px; background: #fff; color: #252824; border-radius: 10px; transform: translateY(-180%); }
.smd-home .smd-skip:focus { transform: none; }

/* Floating material provides a consistent navigation surface over photos and text. */
.smd-header { position: fixed; z-index: 1000; top: 16px; inset-inline: 24px; max-width: 1280px; margin-inline: auto; border-radius: 20px; background: rgba(29,32,29,.94); color: #fff; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 8px 32px #0002; }
@supports (backdrop-filter: blur(20px)) { .smd-header { background: rgba(29,32,29,.85); backdrop-filter: blur(20px) saturate(130%); } }
.smd-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; padding: 12px 22px; }
.smd-home .smd-brand { display: flex; align-items: center; min-height: 48px; flex: 0 0 auto; }
.smd-home .smd-brand img { width: 190px; height: auto; max-height: 48px; object-fit: contain; }
.smd-nav-links { display: flex; align-items: center; justify-content: flex-end; flex: 1; min-width: 0; max-width: 100%; flex-wrap: wrap; gap: 8px; }
.smd-home .smd-nav-links a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 9px 14px; color: #f7f6f2; font-size: .9rem; font-weight: 550; border-radius: 11px; text-decoration: none; transition: background-color 140ms ease, color 140ms ease; }
.smd-home .smd-nav-links a:hover { background: #ffffff12; }
.smd-home .smd-nav-links .smd-nav-cta { background: #bf9d7f; color: #201c17; margin-inline-start: 8px; font-weight: 700; }
.smd-home .smd-nav-links .smd-nav-cta:hover { background: #d1b497; }
.smd-menu-toggle { display: none; min-width: 48px; min-height: 48px; border: 1px solid #ffffff3b; border-radius: 12px; background: transparent; color: white; font-size: 24px; line-height: 1; }
.smd-home :is(.smd-menu-toggle,.smd-nav-cta,.more_btn,.smd-hero-controls button,.smd-service-index a,.smd-city-links a):active, .smd-home .smd-hero .carousel-desc a:active { transform: scale(.97); }

/* Opacity transitions start at the currently presented value on rapid selection. */
.smd-home .smd-hero { position: relative; height: auto; margin: 0; padding: 0; background: #222821; }
.smd-home .smd-hero > .container { width: 100%; max-width: none; }
.smd-home .smd-hero #myCarousel { height: clamp(650px, 85svh, 900px); min-height: max(650px, 38rem); position: relative; }
.smd-home .smd-hero #myCarousel .carousel-inner { position: absolute; inset: 0; height: 100%; }
.smd-home .smd-hero #myCarousel .carousel-inner .item { display: block !important; position: absolute !important; inset: 0 !important; width: 100%; height: 100%; opacity: 0; transform: none !important; transition: opacity 350ms ease; pointer-events: none; }
.smd-home .smd-hero #myCarousel .carousel-inner .item.active { opacity: 1; z-index: 1; pointer-events: auto; }
.smd-home .smd-hero #myCarousel .carousel-inner .item .fill { position: absolute; inset: 0; height: 100%; background-position: center; }
.smd-home .smd-hero #myCarousel .carousel-inner .item .fill::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #111b1760, #111b1752 25%, #111b17ad 100%); opacity: 1; }
.smd-home .smd-hero #myCarousel .carousel-img { display: none; }
.smd-home .smd-hero #myCarousel .inner-content { position: absolute; inset: 110px 24px 125px; display: flex; justify-content: center; align-items: center; padding: 0; transform: none; width: auto; }
.smd-home .smd-hero #myCarousel .inner-content > .col-md-6 { float: none; width: 100%; padding: 0; }
.smd-home .smd-hero #myCarousel .carousel-desc { position: static; text-align: center; max-width: 900px; margin: auto; padding: 0; }
.smd-home .smd-hero #myCarousel .carousel-desc :is(h1,h2) { color: #fff; font-family: inherit; font-size: clamp(2.1rem, 4.8vw, 4.6rem); font-weight: 600; line-height: 1.4; letter-spacing: 0; padding: 0; margin: 0 auto 28px; text-transform: none; max-width: 900px; }
.smd-home[dir="ltr"] .smd-hero #myCarousel .carousel-desc :is(h1,h2) { letter-spacing: -.035em; line-height: 1.12; }
.smd-home .smd-hero #myCarousel .carousel-desc h4 { color: #ede6db; font-size: .85rem; line-height: 1.5; letter-spacing: .16em; font-weight: 600; padding: 0; margin: 0 0 22px; }
.smd-home .smd-hero #myCarousel .carousel-desc br { display: none; }
.smd-home .smd-hero #myCarousel .carousel-desc a { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 52px; padding: 12px 26px; margin: 0 auto; background: #d0b294; color: #231e18; border-radius: 13px; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.smd-home .smd-hero #myCarousel .carousel-desc a::before, .smd-home .smd-hero #myCarousel .carousel-desc a::after { display: none; }
.smd-home .smd-hero #myCarousel .animated { animation: none !important; }
.smd-hero-controls { position: absolute; inset-inline: 0; bottom: 62px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px; }
.smd-home .smd-hero-controls button { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0; border: 1px solid #ffffff45; border-radius: 50%; background: #1a211b55; color: #fff; font-size: 22px; cursor: pointer; }
.smd-slide-options { display: flex; gap: 0; }
.smd-home .smd-slide-options button { border: 0; background: transparent; }
.smd-slide-options button span { width: 7px; height: 7px; border-radius: 50%; background: #fff8; transition: width 160ms ease, background-color 160ms ease; }
.smd-slide-options button[aria-current="true"] span { width: 24px; border-radius: 8px; background: #e0c5a9; }
.smd-home .smd-hero-explore { position: absolute; inset-inline: 0; bottom: 8px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; color: #f2ede6; font-size: .85rem; text-decoration: none; }
.smd-home .smd-hero :focus-visible { outline-color: #f3d2ad; }

/* Readable editorial content and a short route into each service. */
.smd-home .welcome_to_evo { padding-block: 88px; background: #fff; }
.smd-home .welcome_to_evo .provide_qualty .provide_qualty_content { padding-inline: 36px; padding-block: 24px; }
.smd-home .welcome_to_evo .provide_qualty :is(h2,h4) { font-family: inherit; line-height: 1.55; padding-bottom: 0; }
.smd-home .welcome_to_evo .provide_qualty h4 { color: var(--smd-accent); font-size: 1.1rem; margin-block: 18px; }
.smd-home .welcome_to_evo .provide_qualty p { font: inherit; color: var(--smd-muted); }
.smd-home .welcome_to_evo img { max-width: 100%; border-radius: 24px; }
.smd-home .more_btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; height: auto; padding: 12px 24px; width: auto; border-radius: 12px; background: var(--smd-ink); color: #fff; line-height: 1.5; }
.smd-home .more_btn::before, .smd-home .more_btn::after { display: none; }
.smd-home button.button { min-height: 48px; padding: 12px 24px; border-radius: 12px; font-family: inherit; line-height: 1.5; }
.smd-home .smd-services { padding-block: 96px; background: var(--smd-paper); }
.smd-eyebrow { display: block; color: var(--smd-accent); font-size: .85rem; font-weight: 700; margin-bottom: 16px; }
.smd-section-heading { max-width: 800px; margin-bottom: 32px; }
.smd-section-heading h2 { margin: 0 0 24px; }
.smd-section-heading p { color: var(--smd-muted); margin: 0; }
.smd-service-index { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.smd-home .smd-service-index a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 16px; border: 1px solid #d8d9d0; border-radius: 12px; color: #3b4538; background: #fff9; font-size: .85rem; text-decoration: none; }
.smd-service-index a:hover { border-color: #805c3c; background: #fff; }
.smd-service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.smd-service-card { position: relative; padding: 36px; background: #fff; border: 1px solid #e6e5df; border-radius: 22px; }
.smd-service-number { display: block; color: var(--smd-accent); font-family: system-ui,sans-serif; font-size: .8rem; font-weight: 600; margin-bottom: 18px; }
.smd-service-card h3 { margin: 0 0 16px; }
.smd-service-card p { color: var(--smd-muted); margin: 0; }
.smd-city-links { margin-top: 56px; padding-top: 32px; border-top: 1px solid #dcddd5; }
.smd-city-links p { color: var(--smd-muted); }
.smd-city-links ul { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 24px 0 0; }
.smd-home .smd-city-links a { display: inline-flex; align-items: center; min-height: 46px; padding: 9px 16px; border-radius: 12px; background: #eaece4; color: #34422f; font-size: .9rem; text-decoration: none; }
.smd-home :is(.our_news_area,.geo-content,.faq-section,.links-section) { padding-block: 72px !important; }
.smd-home :is(.geo-content,.faq-section,.links-section) { background: #f0f0e9; }
.smd-home :is(.geo-block,.faq-list) { max-width: 900px; margin-inline: auto; }
.smd-home .faq-item { border-inline-start: 0; border: 1px solid #dfdfd5; padding: 28px; border-radius: 18px; box-shadow: none; margin-bottom: 12px; }
.smd-home .faq-item:hover { transform: none; box-shadow: none; }
.smd-home .faq-question { font-size: 1.15rem; line-height: 1.7; }
.smd-home .faq-question::before { content: none; }
.smd-home .faq-answer { font-size: 1rem; line-height: 1.9; }
.smd-home .geo-block { box-shadow: none; border: 1px solid #dfdfd5; }
.smd-home .comparison-table :is(th,td) { padding: 18px; font-size: .95rem; }
.smd-home .comparison-table th { background: #374332; color: #fff; }
.smd-home .whatsapp { position: fixed; top: auto !important; bottom: max(20px,env(safe-area-inset-bottom)); right: 20px; left: auto; width: 56px; height: 56px; padding: 0; border-radius: 50%; background: #2e422e; box-shadow: 0 4px 18px #0003; z-index: 900; }
.smd-home .whatsapp:hover { padding: 0; }
.smd-home .whatsapp a { display: grid; place-items: center; width: 56px; height: 56px; color: #fff; border-radius: 50%; }
.smd-home .whatsapp i { font-size: 32px; margin: 0; line-height: 1; }
.smd-home .footer_area { background: #232b23; color: #e0e3da; }
.smd-home .loc-home-teaser { background: #e8ece2; }
@media (max-width: 1000px) and (min-width: 768px) {
  .smd-nav { gap: 12px; padding-inline: 14px; }
  .smd-home .smd-brand img { width: 145px; }
  .smd-home .smd-nav-links a { padding-inline: 9px; font-size: .8rem; }
}
@media (max-width: 767px) {
  .smd-home .container { width: calc(100% - 40px); }
  .smd-header { top: 10px; inset-inline: 12px; border-radius: 17px; }
  .smd-nav { flex-wrap: wrap; gap: 0; min-height: 72px; padding: 10px 14px; }
  .smd-home .smd-brand img { width: 165px; }
  .smd-menu-toggle { display: grid; place-items: center; }
  .smd-nav-links { display: none; flex: 0 0 100%; width: 100%; padding-block: 12px 4px; gap: 6px; border-top: 1px solid #ffffff1f; margin-top: 10px; }
  .smd-nav-links[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; max-height: calc(100svh - 110px); overflow-y: auto; }
  .smd-home .smd-nav-links a { justify-content: flex-start; font-size: 1rem; min-height: 48px; }
  .smd-home .smd-nav-links .smd-nav-cta { margin-inline-start: 0; justify-content: center; }
  .smd-home .smd-hero #myCarousel { height: 740px; height: min(840px,94svh); min-height: max(620px,38rem); }
  .smd-home .smd-hero #myCarousel .inner-content { inset: 110px 24px 140px; }
  .smd-home .smd-hero #myCarousel .carousel-desc :is(h1,h2) { font-size: clamp(1.9rem, 7.8vw, 2.8rem); line-height: 1.5; margin-bottom: 24px; }
  .smd-home .smd-hero #myCarousel .carousel-desc h4 { font-size: .7rem; letter-spacing: .12em; }
  .smd-home .welcome_to_evo { padding-block: 48px; }
  .smd-home .welcome_to_evo .provide_qualty .provide_qualty_content { padding: 0 0 32px; }
  .smd-home .welcome_to_evo .provide_images { margin: 0 !important; }
  .smd-home .smd-services { padding-block: 56px; }
  .smd-service-grid { grid-template-columns: 1fr; gap: 12px; }
  .smd-service-card { padding: 26px; border-radius: 18px; }
  .smd-service-card h3 { font-size: 1.2rem; }
  .smd-home .smd-service-index a { font-size: .8rem; padding: 8px 12px; }
  .smd-home :is(.our_news_area,.geo-content,.faq-section,.links-section) { padding-block: 44px !important; }
  .smd-home .geo-block { padding: 24px; }
  .smd-home .faq-item { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.smd-home) { scroll-behavior: auto; }
  .smd-home *, .smd-home *::before, .smd-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .smd-home :is(a,button):active { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) { .smd-header { background: #1d201d; backdrop-filter: none; } }
@media (prefers-contrast: more) {
  .smd-header { background: #151815; backdrop-filter: none; border-color: #fff; }
  .smd-home { --smd-muted: #33382f; --smd-accent: #644122; }
  .smd-service-card, .smd-home .smd-service-index a { border-color: #777; }
}
