:root {
  color-scheme: light;
  --heylo-orange: #f26116;
  --heylo-gold: #efb31f;
  --heylo-ink: #111827;
  --heylo-muted: #5b6472;
  --heylo-border: #ffedd5;
  --heylo-surface: #ffffff;
}

html { scroll-behavior: smooth; }
body { min-width: 320px; overflow-x: hidden; background: var(--heylo-surface); color: var(--heylo-ink); }
body.menu-open { overflow: hidden; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(242, 97, 22, .35); outline-offset: 3px; }
html:not(.dark) .text-xs.text-\[\#F26116\],
html:not(.dark) .text-sm.text-\[\#F26116\] { color: #b9470d !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(251, 146, 60, .16);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 12px rgba(15, 23, 42, .04);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(100% - 2rem, 1200px);
  min-height: 80px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand { display: inline-flex; align-items: center; gap: .75rem; min-width: max-content; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; }
.brand strong { font-size: 1.2rem; line-height: 1.2; color: #111827; }
.brand small { margin-top: .15rem; font-size: .72rem; color: #64748b; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(.75rem, 1.5vw, 1.6rem); }
.desktop-nav a { color: #374151; font-size: .875rem; font-weight: 650; white-space: nowrap; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--heylo-orange); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; }
.phone-link { padding: .65rem .85rem; border-radius: 999px; background: #fff7ed; color: #1f2937; font-weight: 700; white-space: nowrap; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .65rem 1rem; border-radius: .55rem; background: linear-gradient(90deg, var(--heylo-orange), var(--heylo-gold)); color: white; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px rgba(242, 97, 22, .17); }
.primary-action:hover { filter: saturate(1.07) brightness(.98); }
.theme-toggle, .menu-toggle { width: 42px; height: 42px; border: 1px solid var(--heylo-border); border-radius: 999px; background: #fff7ed; color: var(--heylo-orange); display: inline-grid; place-items: center; }
.theme-toggle__icon { display: inline-grid; place-items: center; min-width: 1.25rem; font-size: 1.2rem; font-weight: 800; line-height: 1; }
.menu-toggle { display: none; gap: 4px; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 19px; height: 2px; border-radius: 999px; background: currentColor; }
.mobile-nav { position: fixed; inset: 80px 0 auto; padding: 1rem 1.25rem 1.5rem; background: white; border-bottom: 1px solid var(--heylo-border); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); }
.mobile-nav:not([hidden]) { display: grid; gap: .35rem; }
.mobile-nav > a { padding: .75rem; border-radius: .5rem; font-weight: 650; }
.mobile-nav > a:hover, .mobile-nav > a[aria-current="page"] { background: #fff7ed; color: var(--heylo-orange); }
.mobile-nav .mobile-theme-toggle { width: 42px; height: 42px; margin: .35rem .75rem 0; padding: 0; border-radius: 999px; justify-self: start; color: var(--heylo-orange); }
.mobile-nav .primary-action { margin-top: .4rem; color: white; }

main { min-height: 50vh; }
main > div > style { display: none; }

.heylo-home-page .photo-hero .home-hero-card { text-align: center; }
.heylo-home-page .photo-hero .home-hero-card > .mt-4.flex { justify-content: center; }

.heylo-home-page .home-benefits { padding-block: clamp(1.5rem, 3vw, 2.25rem) !important; }
.heylo-home-page .home-benefits > div > .text-center { margin-bottom: 1rem !important; }
.heylo-home-page .home-benefits > div > .text-center h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem) !important;
  line-height: 1.15;
}
.heylo-home-page .home-benefits > div > .text-center p {
  margin-top: .4rem !important;
  font-size: .95rem;
}
.heylo-home-page .home-benefits .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .75rem !important;
}
.heylo-home-page .home-benefits .grid > div > div > .p-5 { padding: 1rem !important; }
.heylo-home-page .home-benefits .grid .w-14.h-14 {
  width: 2.5rem !important;
  height: 2.5rem !important;
  margin-bottom: .65rem !important;
  border-radius: .65rem !important;
}
.heylo-home-page .home-benefits .grid .w-14.h-14 svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
}
.heylo-home-page .home-benefits .grid h3 {
  margin-bottom: .3rem !important;
  font-size: 1rem !important;
  line-height: 1.25;
}
.heylo-home-page .home-benefits .grid p {
  font-size: .875rem;
  line-height: 1.45;
}
.heylo-home-page .home-benefits > div > p:last-child {
  margin-top: .9rem !important;
  font-size: .82rem;
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .heylo-home-page .home-benefits .grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 480px) {
  .heylo-home-page .home-benefits .grid { grid-template-columns: minmax(0, 1fr) !important; }
  .heylo-home-page .home-benefits .grid > div > div > .p-5 {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    column-gap: .75rem;
    row-gap: .15rem;
    align-items: center;
    padding: .75rem !important;
  }
  .heylo-home-page .home-benefits .grid .w-14.h-14 {
    grid-row: 1 / span 2;
    margin-bottom: 0 !important;
  }
  .heylo-home-page .home-benefits .grid h3,
  .heylo-home-page .home-benefits .grid p { grid-column: 2; }
}

/* Shared vertical rhythm for standard content pages. The request and
   confirmation flows have their own purpose-built spacing rules below. */
main > div:not(.new-request-page):not(.quote-submitted-page) > section:is(.py-12, .py-14, .py-16) {
  padding-block: clamp(2.25rem, 4vw, 3rem) !important;
}
main > div:not(.new-request-page):not(.quote-submitted-page) > section:is(.py-8, .py-10) {
  padding-block: clamp(1.5rem, 3vw, 2rem) !important;
}
main > div:not(.new-request-page):not(.quote-submitted-page) > section .mb-12 { margin-bottom: 2rem !important; }
main > div:not(.new-request-page):not(.quote-submitted-page) > section .mb-10 { margin-bottom: 1.75rem !important; }
main > div:not(.new-request-page):not(.quote-submitted-page) > section .mb-8 { margin-bottom: 1.5rem !important; }
main > div:not(.new-request-page):not(.quote-submitted-page) > section .mb-6 { margin-bottom: 1rem !important; }
main > div:not(.new-request-page):not(.quote-submitted-page) > section .gap-12 { gap: 2rem !important; }
main > div:not(.new-request-page):not(.quote-submitted-page) > section .gap-10 { gap: 2rem !important; }
main > div:not(.new-request-page):not(.quote-submitted-page) > section .gap-8 { gap: 1.5rem !important; }

.site-footer { border-top: 1px solid var(--heylo-border); background: linear-gradient(#fff, #fffaf2, #fff); padding: 3rem max(1rem, calc((100% - 1200px) / 2)) 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr .8fr 1fr; gap: clamp(2rem, 3vw, 3rem); padding-inline: 1rem; }
.site-footer section > h2 { margin-bottom: 1rem; font-size: 1.05rem; font-weight: 750; }
.site-footer nav { display: grid; gap: .7rem; }
.site-footer nav a, .footer-brand > a:not(.brand) { color: #596273; transition: color .2s; }
.site-footer nav a:hover, .footer-brand > a:not(.brand):hover { color: var(--heylo-orange); }
.footer-brand { display: grid; justify-items: start; gap: .8rem; }
.footer-brand p { max-width: 34rem; color: #596273; line-height: 1.7; }
.copyright { margin-top: 2rem; padding: 1.25rem 1rem; border-top: 1px solid var(--heylo-border); color: #64748b; font-size: .85rem; text-align: center; }

.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: .65rem; font-weight: 650; }
.form-status[data-state="error"] { background: #fff1f2; color: #9f1239; }
.form-status[data-state="success"] { background: #ecfdf5; color: #065f46; }
.field-error { color: #b42318; font-size: .78rem; font-weight: 650; line-height: 1.35; }
.new-request-page #request-form .field-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, .14) !important;
}
.dark .field-error { color: #fca5a5; }
.dark .form-status[data-state="error"] { background: rgba(127, 29, 29, .36); color: #fecaca; }
.request-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }

.new-request-page > section:first-of-type { padding-block: 1.25rem !important; }
.new-request-page .request-header-icon { margin-bottom: .55rem !important; }
.new-request-page .request-header-icon > div { width: 2.5rem !important; height: 2.5rem !important; }
.new-request-page .request-header-icon svg { width: 1.25rem !important; height: 1.25rem !important; }
.new-request-page h1 {
  margin-bottom: .55rem !important;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem) !important;
  line-height: 1.1 !important;
}
.new-request-page > section:first-of-type p { max-width: 52rem; margin-inline: auto; font-size: clamp(.95rem, 1.5vw, 1.05rem) !important; line-height: 1.5 !important; }
.new-request-page > section:nth-of-type(2) { padding-bottom: 2.5rem !important; }
.new-request-page .request-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.new-request-page .request-card__inner { padding: 1rem 0 0 !important; }
.new-request-page form#request-form .new-request-form-shell,
.new-request-page form#request-form .new-request-form-frame {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.dark .new-request-page form#request-form .new-request-form-shell,
.dark .new-request-page form#request-form .new-request-form-frame { background: transparent !important; border-color: transparent !important; }
.new-request-page #request-form input:not([type="hidden"]) { min-height: 44px; }
.new-request-page #request-form > * + * { margin-top: 1rem !important; }
.new-request-page #request-form .new-request-form-frame > * + * { margin-top: 1rem !important; }
.new-request-page #request-form .grid { gap: .875rem !important; }
.new-request-page #request-form .space-y-2 > * + * { margin-top: .375rem !important; }
.new-request-page #description { min-height: 7.5rem; }
.request-progress { margin-bottom: 1rem; }
.request-progress__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; color: #4b5563; font-size: .86rem; font-weight: 650; }
.request-progress__heading strong { color: #9a3d0b; font-size: .9rem; }
.request-progress__track { height: 9px; overflow: hidden; border-radius: 999px; background: #ffedd5; box-shadow: inset 0 1px 2px rgba(124, 45, 18, .08); }
.request-progress__fill { display: block; width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--heylo-orange), var(--heylo-gold)); transition: width .3s ease; }
.dark .request-progress__heading { color: #d6d3d1; }
.dark .request-progress__heading strong { color: #fdba74; }
.dark .request-progress__track { background: rgba(124, 45, 18, .46); }

@media (max-width: 640px) {
  .new-request-page > section:first-of-type { padding-block: 1rem !important; }
  .new-request-page .request-card__inner { padding-top: .85rem !important; }
  .new-request-page > section:nth-of-type(2) { padding-bottom: 2rem !important; }
  .quote-submitted-page {
    min-height: 0 !important;
    align-items: flex-start !important;
    padding-top: 1.25rem !important;
    padding-bottom: 2.5rem !important;
  }
}

.image-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(12, 10, 9, .92); }
.image-lightbox[hidden] { display: none; }
.image-lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; border-radius: .8rem; }
.image-lightbox button { position: fixed; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 999px; background: white; color: #111827; font-size: 1.5rem; }

[data-about-carousel] > div:last-child { gap: 0 !important; }
[data-about-carousel] button[aria-label^="Show photo"] {
  position: relative;
  width: 44px !important;
  min-width: 44px;
  height: 44px !important;
  min-height: 44px;
  background: transparent !important;
}
[data-about-carousel] button[aria-label^="Show photo"]::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  transform: translate(-50%, -50%);
  transition: width .2s ease, background-color .2s ease;
}
[data-about-carousel] button[aria-label^="Show photo"]:hover::after { background: rgba(255, 255, 255, .9); }
[data-about-carousel] button[aria-label^="Show photo"][aria-current="true"]::after { width: 32px; background: white; }

.not-found { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 4rem 1.5rem; text-align: center; }
.not-found__code { color: var(--heylo-orange); font-size: 1rem; font-weight: 800; letter-spacing: .15em; }
.not-found h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; }

.dark { color-scheme: dark; --heylo-ink: #fff7ed; --heylo-muted: #d6d3d1; --heylo-border: rgba(251, 146, 60, .22); --heylo-surface: #12100d; }
.dark .site-header { background: rgba(18, 16, 13, .95); border-color: var(--heylo-border); }
.dark .brand strong, .dark .desktop-nav a, .dark .phone-link { color: #fff7ed; }
.dark .brand small { color: #a8a29e; }
.dark .phone-link, .dark .theme-toggle, .dark .menu-toggle { background: #1c1917; }
.dark .mobile-nav { background: #12100d; }
.dark .mobile-nav > a:hover, .dark .mobile-nav > a[aria-current="page"] { background: rgba(68, 35, 17, .95); color: #fb923c; }
.dark .site-footer { background: linear-gradient(#12100d, #1c1917, #12100d); }
.dark .site-footer nav a, .dark .footer-brand p, .dark .footer-brand > a:not(.brand), .dark .copyright { color: #d6d3d1; }
.dark .quote-submitted-page a[href="/gallery"] button {
  border-color: rgba(251, 146, 60, .62) !important;
  background: #29201b !important;
  color: #fff7ed !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24) !important;
}
.dark .quote-submitted-page a[href="/gallery"] button:hover {
  border-color: #fb923c !important;
  background: #3a2518 !important;
}
.dark .gallery-page .bg-white\/90 {
  background: rgba(28, 25, 23, .92) !important;
  color: #fff7ed !important;
  border: 1px solid rgba(251, 146, 60, .32);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}
.dark .gallery-page button.bg-white\/90:hover { background: rgba(68, 35, 17, .96) !important; }
.dark .service-detail-page .bg-white\/90 {
  background: rgba(28, 25, 23, .9) !important;
  border-color: rgba(251, 146, 60, .24) !important;
}

@media (max-width: 1240px) {
  .desktop-nav { display: none; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-grid; }
  /* Dark mode follows the hamburger; phone and estimate prefer the header. */
  .header-actions > .theme-toggle { display: none; }
  .mobile-nav > .mobile-phone,
  .mobile-nav > .primary-action { display: none; }
}

@media (max-width: 700px) {
  .site-header__inner { width: min(100% - 1.25rem, 1200px); min-height: 70px; }
  .mobile-nav { inset-block-start: 70px; max-height: calc(100dvh - 70px); overflow-y: auto; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .phone-link, .header-actions > .primary-action, .header-actions > .theme-toggle { display: none; }
  .mobile-nav .mobile-theme-toggle { display: grid; }
  .mobile-nav > .mobile-phone { display: block; }
  .mobile-nav > .primary-action { display: inline-flex; }
  .site-footer { padding-top: 2.25rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer nav { gap: .55rem; }
  .copyright { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
