.home-page {
  --home-primary: #1678b8;
  --home-primary-dark: #0d5f94;
  --home-primary-soft: #eaf5fb;
  --home-ink: #17232b;
  --home-muted: #65727a;
  --home-cream: #fbfaf7;
  --home-line: #e4e9eb;
  padding-bottom: 82px;
  background: var(--home-cream);
  color: var(--home-ink);
}

.home-page .container { width: min(calc(100% - 28px), 1180px); }
.home-page button,
.home-page a { touch-action: manipulation; }
.home-page button:focus-visible,
.home-page a:focus-visible,
.home-page input:focus-visible + span { outline: 3px solid rgba(22, 120, 184, .28); outline-offset: 3px; }

.home-header {
  height: 68px;
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid rgba(228, 233, 235, .85);
  backdrop-filter: blur(16px);
}
.home-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.home-header .brand-mark { background: var(--home-primary); }
.home-header .brand-copy b { font-size: 22px; }
.home-desktop-nav { display: none; align-items: center; gap: 34px; color: #4d5b64; font-weight: 700; }
.home-desktop-nav a { min-height: 48px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.home-desktop-nav a:hover { color: var(--home-primary-dark); border-color: var(--home-primary); }
.home-header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 13px; background: #f0f2f2; color: var(--home-ink); }
.menu-toggle svg { width: 24px; }
.header-booking { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 15px; border-radius: 13px; background: var(--home-primary); color: white; font-weight: 800; box-shadow: 0 8px 18px rgba(22, 120, 184, .2); }
.header-booking:hover { background: var(--home-primary-dark); }
.mobile-menu { position: absolute; top: 68px; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--home-line); box-shadow: 0 16px 30px rgba(21, 39, 49, .12); }
.mobile-menu[hidden] { display: none; }
.mobile-menu .container { display: grid; padding-block: 10px 16px; }
.mobile-menu a { min-height: 52px; display: flex; align-items: center; padding-inline: 6px; border-bottom: 1px solid #eef1f2; font-weight: 700; }
.mobile-menu a:last-child { border: 0; }

.home-hero { min-height: min(760px, calc(100svh - 68px)); position: relative; display: grid; align-items: end; overflow: hidden; background: #4c5960; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.home-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 25, .08) 15%, rgba(10, 19, 24, .86) 100%); }
.home-hero-content { position: relative; z-index: 1; color: white; padding-block: 82px 42px; text-align: center; }
.home-kicker { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; }
.home-hero h1 { max-width: 760px; margin: 14px auto 7px; font-size: clamp(36px, 10vw, 64px); line-height: 1.35; letter-spacing: -.045em; }
.home-hero-content > p { margin: 0 auto 25px; color: rgba(255,255,255,.86); font-size: clamp(16px, 4vw, 20px); }
.home-hero-actions { display: grid; gap: 10px; max-width: 500px; margin-inline: auto; }
.home-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: .2s ease; }
.home-button:hover { transform: translateY(-2px); }
.home-button-primary { background: var(--home-primary); color: white; box-shadow: 0 12px 26px rgba(22,120,184,.25); }
.home-button-primary:hover { background: var(--home-primary-dark); }
.home-button-light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.38); color: white; backdrop-filter: blur(10px); }
.home-button-outline { background: white; border-color: #bcd8e7; color: var(--home-primary-dark); }
.home-hero-content > small { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.78); }
.home-hero-content > small svg { width: 18px; }

.home-section { padding: 66px 0; scroll-margin-top: 68px; }
.home-section-heading { margin-bottom: 25px; }
.home-section-heading.centered { text-align: center; }
.home-section-heading > span,
.home-section-heading > div > span,
.quick-booking-copy > span { color: var(--home-primary-dark); font-size: 14px; font-weight: 800; }
.home-section-heading h2,
.quick-booking-copy h2 { margin: 5px 0 7px; font-size: clamp(27px, 7vw, 41px); line-height: 1.4; letter-spacing: -.035em; }
.home-section-heading p,
.quick-booking-copy > p { margin: 0; max-width: 650px; color: var(--home-muted); }

.services-showcase { background: #fff; }
.home-services-grid { display: grid; gap: 14px; }
.home-service-card { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 190px; overflow: hidden; border: 1px solid var(--home-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(28, 47, 58, .055); }
.home-service-card > img { width: 100%; height: 100%; object-fit: cover; }
.home-service-card > div { min-width: 0; display: flex; flex-direction: column; padding: 15px 13px; }
.home-service-card h3 { margin: 0 0 3px; font-size: 18px; }
.home-service-card p { margin: 0; color: var(--home-muted); font-size: 12px; }
.home-service-card p b { display: block; color: var(--home-ink); font-size: 14px; }
.home-service-card > div > span { margin-top: 5px; color: #7b878e; font-size: 11px; }
.service-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: auto; padding-top: 9px; }
.service-actions a,
.service-actions button { min-height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid #c9dce6; border-radius: 11px; background: white; color: var(--home-primary-dark); font-size: 12px; font-weight: 800; }
.service-actions button { border-color: var(--home-primary); background: var(--home-primary); color: white; }

.selected-work { background: #f1f5f5; }
.portfolio-filters { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
.portfolio-filters::-webkit-scrollbar { display: none; }
.portfolio-filters button { min-width: fit-content; min-height: 48px; padding: 0 17px; border: 1px solid #d7dfe2; border-radius: 999px; background: white; color: #53616a; font-weight: 700; }
.portfolio-filters button.active { border-color: var(--home-primary); background: var(--home-primary); color: white; }
.home-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.home-gallery figure { height: 245px; position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: #dce1e2; }
.home-gallery figure.is-hidden { display: none; }
.home-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-gallery figure:hover img { transform: scale(1.035); }
.home-gallery figcaption { position: absolute; right: 9px; bottom: 9px; padding: 7px 11px; border-radius: 9px; background: rgba(13, 23, 29, .62); color: white; font-size: 12px; backdrop-filter: blur(6px); }
.gallery-more { width: 100%; margin-top: 18px; }

.booking-explainer { background: #fff; }
.home-booking-steps { list-style: none; display: grid; gap: 12px; margin: 28px 0 0; padding: 0; }
.home-booking-steps li { position: relative; display: grid; grid-template-columns: 54px minmax(0,1fr); column-gap: 13px; min-height: 118px; padding: 18px; border: 1px solid var(--home-line); border-radius: 19px; background: #fff; }
.home-booking-steps li > b { position: absolute; top: 10px; left: 12px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--home-primary); color: white; font-size: 12px; }
.home-booking-steps svg { grid-row: 1 / span 2; width: 52px; height: 52px; padding: 12px; border-radius: 16px; background: var(--home-primary-soft); color: var(--home-primary-dark); }
.home-booking-steps h3 { margin: 0; align-self: end; font-size: 17px; }
.home-booking-steps p { margin: 2px 0 0; color: var(--home-muted); font-size: 13px; }

.quick-booking-section { background: #163240; color: white; }
.quick-booking-layout { display: grid; gap: 28px; }
.quick-booking-copy > span { color: #8fd1f4; }
.quick-booking-copy > p { color: #becbd2; }
.quick-booking-copy ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: #d6e1e6; font-size: 14px; }
.quick-booking-copy li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 8px; border-radius: 50%; background: rgba(105, 205, 159, .15); color: #76daa9; font-weight: 800; }
.quick-booking-card { padding: 20px; border-radius: 22px; background: white; color: var(--home-ink); box-shadow: 0 20px 45px rgba(0,0,0,.17); }
.quick-progress > div { display: flex; justify-content: space-between; color: var(--home-muted); font-size: 13px; }
.quick-progress > div b { color: var(--home-primary-dark); }
.quick-progress > i { height: 7px; display: block; margin-top: 9px; overflow: hidden; border-radius: 999px; background: #e8eef1; }
.quick-progress > i span { width: 25%; height: 100%; display: block; border-radius: inherit; background: var(--home-primary); }
.quick-booking-card fieldset { padding: 0; margin: 24px 0 16px; border: 0; }
.quick-booking-card legend { margin-bottom: 13px; font-size: 19px; font-weight: 800; }
.quick-service-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.quick-service-options label { cursor: pointer; }
.quick-service-options input { position: absolute; opacity: 0; pointer-events: none; }
.quick-service-options span { min-height: 50px; display: grid; place-items: center; border: 1px solid #d9e0e3; border-radius: 12px; color: #526069; font-weight: 700; }
.quick-service-options input:checked + span { border-color: var(--home-primary); background: var(--home-primary-soft); color: var(--home-primary-dark); box-shadow: inset 0 0 0 1px var(--home-primary); }
.quick-continue { width: 100%; border: 0; }
.quick-continue:disabled { background: #cbd3d7; box-shadow: none; cursor: not-allowed; }
.quick-booking-card > small { display: block; margin-top: 10px; text-align: center; color: #7b878e; }

.why-diyar { background: #fff; }
.benefits-grid { display: grid; gap: 9px; }
.benefits-grid article { min-height: 72px; display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--home-line); border-radius: 16px; }
.benefits-grid svg { width: 43px; height: 43px; flex: 0 0 43px; padding: 10px; border-radius: 13px; background: var(--home-primary-soft); color: var(--home-primary-dark); }
.benefits-grid b { font-size: 15px; }

.testimonials { background: #f1f5f5; }
.testimonial-grid { display: grid; gap: 12px; }
.testimonial-grid blockquote { margin: 0; padding: 20px; border-radius: 19px; background: white; border: 1px solid var(--home-line); }
.testimonial-grid blockquote > p { min-height: 70px; margin: 0 0 18px; color: #45545d; }
.testimonial-grid footer { display: flex; align-items: center; gap: 10px; }
.testimonial-grid footer > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--home-primary-soft); color: var(--home-primary-dark); font-weight: 800; }
.testimonial-grid footer div { display: grid; }
.testimonial-grid footer small { color: var(--home-muted); }

.contact-section { background: #fff; }
.contact-layout { display: grid; gap: 24px; }
.contact-details { display: grid; gap: 10px; }
.contact-details p { margin: 0; display: grid; gap: 2px; }
.contact-details b { font-size: 13px; color: var(--home-muted); }
.contact-details a,
.contact-details span { font-size: 16px; font-weight: 700; }
.contact-actions { display: grid; gap: 8px; margin-top: 20px; }
.whatsapp-button { background: #1e9e62; color: white; }
.map-card { min-height: 270px; position: relative; overflow: hidden; border-radius: 24px; background: #dce8e8; color: var(--home-ink); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card > a { position: absolute; right: 14px; bottom: 14px; min-height: 48px; display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; border-radius: 12px; background: rgba(255,255,255,.94); color: var(--home-primary-dark); box-shadow: 0 10px 25px rgba(29,54,65,.16); font-weight: 800; }
.map-card > a svg { width: 22px; }

.home-footer { padding: 34px 0 115px; background: #14242d; color: #dbe3e7; text-align: center; }
.home-footer .container { display: grid; justify-items: center; gap: 8px; }
.home-footer .brand-copy small { color: #9eabb1; }
.home-footer p { margin: 5px 0; color: #aab7bd; }
.home-footer .container > span { color: #7f9099; font-size: 12px; }

.mobile-action-bar { position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; height: calc(76px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 6px; align-items: center; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--home-line); background: rgba(255,255,255,.97); box-shadow: 0 -12px 30px rgba(21,40,50,.1); backdrop-filter: blur(14px); }
.mobile-action-bar a { min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 13px; color: #59676f; font-size: 11px; }
.mobile-action-bar svg { width: 22px; height: 22px; }
.mobile-action-bar .mobile-main-action { flex-direction: row; gap: 7px; background: var(--home-primary); color: white; font-size: 14px; font-weight: 800; box-shadow: 0 8px 18px rgba(22,120,184,.24); }

@media (min-width: 600px) {
  .home-hero-actions { grid-template-columns: 1.1fr 1fr; }
  .home-services-grid { grid-template-columns: repeat(2, 1fr); }
  .home-service-card { grid-template-columns: 145px minmax(0, 1fr); }
  .home-gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .home-gallery figure { height: 360px; }
  .home-booking-steps { grid-template-columns: repeat(3, 1fr); }
  .home-booking-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 18px; }
  .home-booking-steps svg { margin-bottom: 11px; }
  .quick-service-options { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-actions { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .home-page { padding-bottom: 0; }
  .home-header { height: 78px; }
  .home-header .brand-copy b { font-size: 25px; }
  .home-desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .header-booking { min-width: 150px; }
  .mobile-menu { display: none !important; }
  .home-hero { min-height: 690px; align-items: center; }
  .home-hero > img { object-position: center; }
  .home-hero-overlay { background: linear-gradient(270deg, rgba(10,20,25,.78), rgba(10,20,25,.35) 55%, rgba(10,20,25,.06)); }
  .home-hero-content { padding-block: 80px; text-align: right; }
  .home-hero h1,
  .home-hero-content > p,
  .home-hero-actions { margin-right: 0; margin-left: auto; }
  .home-hero h1 { max-width: 670px; }
  .home-hero-actions { max-width: 455px; }
  .home-section { padding: 98px 0; scroll-margin-top: 78px; }
  .home-section-heading { margin-bottom: 34px; }
  .home-services-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .home-service-card { display: flex; flex-direction: column; min-height: 470px; }
  .home-service-card > img { height: 250px; }
  .home-service-card > div { flex: 1; padding: 17px; }
  .home-service-card h3 { font-size: 20px; }
  .home-service-card p { font-size: 13px; }
  .home-service-card p b { font-size: 14px; }
  .home-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
  .portfolio-filters { flex: 0 0 auto; }
  .home-gallery { grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .home-gallery figure { height: 410px; }
  .gallery-more { width: fit-content; min-width: 230px; display: flex; margin: 25px auto 0; }
  .home-booking-steps { gap: 20px; }
  .home-booking-steps li { min-height: 240px; justify-content: center; }
  .home-booking-steps svg { width: 64px; height: 64px; }
  .home-booking-steps h3 { font-size: 20px; }
  .quick-booking-layout { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 75px; }
  .quick-booking-card { padding: 30px; }
  .benefits-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .benefits-grid article { min-height: 145px; flex-direction: column; justify-content: center; text-align: center; }
  .benefits-grid svg { width: 50px; height: 50px; }
  .contact-layout { grid-template-columns: 1fr .9fr; align-items: stretch; gap: 55px; }
  .map-card { min-height: 420px; }
  .home-footer { padding: 38px 0; }
  .mobile-action-bar { display: none; }
}

@media (max-width: 380px) {
  .home-header .brand-copy small { display: none; }
  .header-booking { padding-inline: 11px; font-size: 13px; }
  .home-service-card { grid-template-columns: 96px minmax(0, 1fr); }
  .service-actions { grid-template-columns: 1fr; }
  .home-gallery figure { height: 215px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-button:hover,
  .home-gallery figure:hover img { transform: none; }
}
