:root{
  --header-height:73px;
  --hero-side-offset:40px;
  --social-icon-filter:brightness(0) saturate(100%) invert(18%) sepia(89%) saturate(4177%) hue-rotate(351deg) brightness(88%) contrast(91%);
  --primary:#d12222;
  --on-primary:#ffffff;
  --primary-container:#ffd8d4;
  --on-primary-container:#410001;
  --secondary:#775651;
  --on-secondary:#ffffff;
  --secondary-container:#ffdad4;
  --on-secondary-container:#2c1511;
  --tertiary:#6f5d2f;
  --on-tertiary:#ffffff;
  --tertiary-container:#fae1a6;
  --on-tertiary-container:#241a00;
  --surface:#fdf8f7;
  --surface-container:#f4efee;
  --surface-container-high:#ece6e4;
  --surface-container-low:#ffffff;
  --outline:#938f8e;
  --text:#211a19;
  --text-muted:#5f4743;
  --radius:20px;
}

body.dark{
  --social-icon-filter:brightness(0) saturate(100%) invert(87%) sepia(17%) saturate(658%) hue-rotate(307deg) brightness(107%) contrast(103%);
  --primary:#ffb4ab;
  --on-primary:#fff1f0;
  --primary-container:#93000c;
  --on-primary-container:#ffdad6;
  --secondary:#e7bdb7;
  --on-secondary:#442925;
  --secondary-container:#5d3f3a;
  --on-secondary-container:#ffdad4;
  --tertiary:#ddc58d;
  --on-tertiary:#3d2f04;
  --tertiary-container:#554519;
  --on-tertiary-container:#fae1a6;
  --surface:#171212;
  --surface-container:#100c0c;
  --surface-container-high:#211919;
  --surface-container-low:#1b1515;
  --outline:#a08c88;
  --text:#f1dedd;
  --text-muted:#d0bcba;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  height:100%;
  scroll-behavior:smooth;
  scroll-padding-top:96px;
  background:var(--surface-container);
}

body{
  height:100%;
  min-height:100%;
  margin:0;
  overflow:hidden;
  font-family:"Montserrat",sans-serif;
  background:var(--surface-container);
  color:var(--text);
  transition:background-color .3s,color .3s;
}

a{
  color:inherit;
}

.page-content{
  height:calc(100vh - var(--header-height));
  min-height:calc(100vh - var(--header-height));
  margin-top:var(--header-height);
  display:flex;
  flex-direction:column;
  gap:64px;
  padding-bottom:48px;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.page-content > *:not(.hero){
  padding-inline:48px;
}

.main-layout{
  display:flex;
  flex-direction:column;
  gap:64px;
}

.page-content::-webkit-scrollbar{
  width:0;
  height:0;
}

.page-scrollbar{
  position:fixed;
  top:var(--header-height);
  right:0;
  bottom:0;
  width:14px;
  padding:2px;
  border-radius:999px 0px 0px 999px;
  background:color-mix(in srgb,var(--surface-container) 58%, transparent);
  border:1px solid color-mix(in srgb,var(--outline) 18%, transparent);
  backdrop-filter:blur(10px);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease,background-color .2s ease,border-color .2s ease;
  z-index:950;
}

.page-scrollbar.visible{
  opacity:1;
  pointer-events:auto;
}

.page-scrollbar-thumb{
  position:absolute;
  left:2px;
  top:2px;
  width:8px;
  border-radius:999px 0px 0px 999px;
  background:color-mix(in srgb,var(--primary) 52%, var(--surface-container-high) 48%);
  cursor:pointer;
  transition:background-color .2s ease,opacity .2s ease;
}

.page-scrollbar:hover .page-scrollbar-thumb,
.page-scrollbar-thumb.dragging{
  background:color-mix(in srgb,var(--primary) 66%, var(--surface-container-high) 34%);
}

header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 40px;
  backdrop-filter:blur(14px);
  background:color-mix(in srgb,var(--surface) 82%, transparent);
  border-bottom:1px solid color-mix(in srgb,var(--outline) 24%, transparent);
}

body.dark header{
  background:color-mix(in srgb,var(--surface-container-low) 88%, transparent);
}

.brand-logo{
  display:flex;
  align-items:center;
  opacity:0;
  transform:translateY(-6px);
  pointer-events:none;
  transition:opacity .25s ease,transform .25s ease;
}

header.brand-visible .brand-logo{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.brand-logo img{
  display:block;
  height:34px;
  width:auto;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
}

nav{
  display:flex;
  align-items:center;
  gap:30px;
}

.nav-utilities{
  display:flex;
  align-items:center;
  gap:12px;
}

nav a{
  text-decoration:none;
  font-weight:500;
}

.nav-social{
  padding:0;
}

.nav-social,
#themeToggle{
  background:color-mix(in srgb,var(--surface-container-low) 52%, transparent);
  border:1px solid color-mix(in srgb,var(--outline) 20%, transparent);
}

.nav-social img{
  display:block;
  width:20px;
  height:20px;
  object-fit:contain;
  filter:var(--social-icon-filter);
}

.icon-btn{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  cursor:pointer;
  transition:background-color .2s ease,color .2s ease;
}

.icon-btn:hover{
  background:color-mix(in srgb,var(--text) 8%, transparent);
}

body.dark .icon-btn:hover{
  background:color-mix(in srgb,var(--text) 10%, transparent);
}

.material-symbols-rounded{
  font-size:22px;
  line-height:1;
}

.menu-btn{
  display:none;
}

.hero{
  position:relative;
  height:calc(100vh - var(--header-height));
  min-height:calc(100vh - var(--header-height));
  background:
    linear-gradient(180deg,rgba(10,10,10,.34),rgba(10,10,10,.22)),
    url("img/main-hero.jpg") center/cover;
  display:flex;
  align-items:stretch;
  justify-content:center;
  color:#fff;
}

.hero-logo{
  position:absolute;
  top:44px;
  left:var(--hero-side-offset);
  right:auto;
  width:min(1108px,calc(100% - (var(--hero-side-offset) * 2)));
  height:clamp(32px,6vw,82px);
  background:#fff;
  opacity:.95;
  filter:
    drop-shadow(0 4px 12px rgba(0,0,0,.38))
    drop-shadow(0 12px 28px rgba(0,0,0,.22));
  -webkit-mask:url("img/Logo-Hero.svg") left center/contain no-repeat;
  mask:url("img/Logo-Hero.svg") left center/contain no-repeat;
  pointer-events:none;
}

.hero-content{
  width:100%;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  padding:120px var(--hero-side-offset) 40px;
}

.hero h1{
  margin:0;
  max-width:18ch;
  font-size:56px;
  line-height:1.05;
  text-align:left;
  text-shadow:
    0 3px 10px rgba(0,0,0,.72),
    0 12px 32px rgba(0,0,0,.62),
    0 24px 56px rgba(0,0,0,.42),
    0 0 2px rgba(0,0,0,.95);
}

.hero-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:82px;
  padding:0 52px;
  border-radius:999px;
  border:1px solid color-mix(in srgb,var(--outline) 20%, transparent);
  background:color-mix(in srgb,var(--surface-container) 70%, rgba(20,20,20,.3));
  backdrop-filter:blur(14px);
  color:#fff;
  text-decoration:none;
  font-size:24px;
  font-weight:600;
  letter-spacing:.02em;
  box-shadow:0 16px 36px rgba(0,0,0,.22);
  transition:transform .2s ease,background-color .2s ease,border-color .2s ease;
}

.hero-cta:hover{
  transform:translateY(-2px);
  background:color-mix(in srgb,var(--primary) 28%, var(--surface-container) 72%);
  border-color:color-mix(in srgb,var(--primary) 44%, transparent);
}

.services h2,
.faq h2,
.callback-content h2{
  margin:0 0 48px;
  font-size:56px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.service-card{
  position:relative;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-radius:var(--radius);
  background-position:center;
  background-size:cover;
  box-shadow:
    0 20px 44px rgba(0,0,0,.18),
    0 6px 18px color-mix(in srgb,var(--primary) 10%, transparent);
}

.service-overlay{
  position:absolute;
  inset:0;
  padding:24px;
  display:flex;
  background:
    linear-gradient(180deg,rgba(10,10,10,.08) 0%,rgba(10,10,10,.58) 56%,rgba(8,8,8,.82) 100%);
  color:#fff;
  transition:background-color .35s ease,background .35s ease;
}

.service-card:hover .service-overlay{
  background:
    linear-gradient(180deg,rgba(10,10,10,.26) 0%,rgba(10,10,10,.72) 50%,rgba(8,8,8,.9) 100%);
}

.service-inner{
  width:100%;
  display:flex;
  flex-direction:column;
  min-height:100%;
  transform:translateY(calc(100% - 3.5rem));
  transition:transform 1.2s cubic-bezier(.22,1,.36,1);
}

.service-card:hover .service-inner{
  transform:translateY(0);
}

.service-inner h3{
  margin:0;
  font-size:30px;
  line-height:1.08;
}

.service-wrapper{
  display:flex;
  flex:1;
  min-height:0;
  flex-direction:column;
  opacity:0;
  transition:opacity .9s ease;
}

.service-card:hover .service-wrapper{
  opacity:1;
}

.service-card-static .service-inner{
  justify-content:flex-end;
  transform:none;
  transition:none;
}

.service-card-static:hover .service-inner{
  transform:none;
}

.service-sep{
  width:100%;
  height:1px;
  margin:14px 0 16px;
  background:rgba(255,255,255,.32);
}

.service-list{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
  min-height:0;
  overflow:auto;
  font-size:24px;
  line-height:1.25;
}

.service-list::-webkit-scrollbar{
  width:6px;
}

.service-list::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:rgba(255,255,255,.2);
}

.callback{
  position:relative;
  overflow:visible;
  display:flex;
  align-items:center;
}

.callback-overlay{
  position:relative;
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);
  overflow:hidden;
  border-radius:32px;
  border:1px solid color-mix(in srgb,var(--outline) 32%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb,var(--surface-container-high) 82%, rgba(18,10,10,.72)),
      color-mix(in srgb,var(--surface-container-low) 74%, rgba(56,22,22,.82))
    );
  box-shadow:
    0 28px 72px rgba(0,0,0,.22),
    0 6px 18px color-mix(in srgb,var(--primary) 14%, transparent);
}

.callback-content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  padding:48px;
  color:var(--text);
}

.callback-content h2{
  margin:0;
}

.callback-content p{
  margin:0;
  max-width:40rem;
  line-height:1.6;
  color:var(--text-muted);
}

.callback-visual{
  position:relative;
  min-height:100%;
  background:
    linear-gradient(180deg,rgba(205,36,34,.18),rgba(0,0,0,.08)),
    url("img/callback.jpg") center/cover;
}

.callback-visual::before{
  content:"";
  position:absolute;
  inset:20px;
  border-radius:28px;
  background:url("img/callback.jpg") center/cover;
  filter:blur(8px);
  transform:scale(1.03);
  opacity:.55;
}

.callback-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(16,16,16,.1),rgba(16,16,16,.38));
}

.form{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  scroll-margin-top:calc(var(--header-height) + 24px);
}

.form-status{
  min-height:24px;
  margin:0;
  color:var(--text-muted);
  font-size:14px;
  line-height:1.4;
}

.form-status.error{
  color:#ffd1d1;
}

.form-status.success{
  color:#d7ffe1;
}

.form input{
  width:100%;
  padding:14px 0;
  border:none;
  border-bottom:2px solid color-mix(in srgb,var(--outline) 58%, transparent);
  background:none;
  color:var(--text);
  font-size:16px;
}

.form input::placeholder{
  color:color-mix(in srgb,var(--text-muted) 82%, transparent);
}

.form input:focus{
  outline:none;
  border-bottom-color:color-mix(in srgb,var(--text) 88%, transparent);
}

.checkbox{
  display:flex;
  align-items:flex-start;
  gap:14px;
  width:100%;
  font-size:14px;
  line-height:1.5;
}

.checkbox input{
  width:18px;
  height:18px;
  margin:2px 0 0;
  flex:0 0 auto;
  accent-color:var(--primary);
}

.checkbox span{
  flex:1;
  min-width:0;
  color:var(--text);
}

.policy-link{
  display:inline;
  padding:0;
  border:none;
  background:none;
  color:inherit;
  font:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}

.policy-link:hover{
  color:var(--primary);
}

.policy-link:focus-visible{
  outline:2px solid color-mix(in srgb,var(--primary) 70%, white 30%);
  outline-offset:3px;
  border-radius:4px;
}

.footer-policy-link{
  display:inline;
  margin-top:0;
  color:var(--text-muted);
  font-size:14px;
}

.footer-policy-link:hover{
  color:var(--primary);
}

.policy-modal{
  position:fixed;
  inset:0;
  z-index:1200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease,visibility .25s ease;
}

.policy-modal.open{
  visibility:visible;
  opacity:1;
  pointer-events:auto;
}

.policy-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(8,10,14,.68);
  backdrop-filter:blur(10px);
}

.policy-modal-dialog{
  position:relative;
  width:min(760px,100%);
  height:min(80vh,860px);
  display:flex;
  flex-direction:column;
  padding:32px 28px 28px;
  box-sizing:border-box;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--outline) 30%, transparent);
  border-radius:28px;
  background:
    linear-gradient(
      160deg,
      color-mix(in srgb,var(--surface-container-high) 94%, rgba(255,255,255,.08)),
      color-mix(in srgb,var(--surface-container) 92%, rgba(20,20,20,.08))
    );
  box-shadow:0 24px 80px rgba(0,0,0,.28);
}

.policy-modal-dialog h2{
  margin:0 0 20px;
  padding-right:40px;
  font-size:30px;
}

.policy-modal-body{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;
}

.policy-modal-content{
  position:relative;
  height:100%;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:22px;
  box-sizing:border-box;
  color:var(--on-surface);
  line-height:1.7;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.policy-modal-content::-webkit-scrollbar{
  width:0;
  height:0;
}

.policy-modal-content p{
  margin:0 0 16px;
}

.policy-modal-content ul{
  margin:0 0 16px;
  padding-left:20px;
}

.policy-scrollbar{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:14px;
  padding:2px;
  border-radius:999px;
  background:color-mix(in srgb,var(--surface-container) 58%, transparent);
  border:1px solid color-mix(in srgb,var(--outline) 18%, transparent);
  backdrop-filter:blur(10px);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease,background-color .2s ease,border-color .2s ease;
}

.policy-scrollbar.visible{
  opacity:1;
  pointer-events:auto;
}

.policy-scrollbar-thumb{
  position:absolute;
  left:2px;
  top:2px;
  width:8px;
  border-radius:999px;
  background:color-mix(in srgb,var(--primary) 52%, var(--surface-container-high) 48%);
  cursor:pointer;
  transition:background-color .2s ease,opacity .2s ease;
}

.policy-scrollbar:hover .policy-scrollbar-thumb,
.policy-scrollbar-thumb.dragging{
  background:color-mix(in srgb,var(--primary) 66%, var(--surface-container-high) 34%);
}

.policy-modal-close{
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:color-mix(in srgb,var(--surface-container-high) 86%, transparent);
  color:var(--on-surface);
  cursor:pointer;
  transition:background-color .25s ease,transform .25s ease;
}

.policy-modal-close:hover{
  background:color-mix(in srgb,var(--primary) 18%, var(--surface-container-high) 82%);
  transform:rotate(90deg);
}

.outline-btn{
  padding:14px 32px;
  border:2px solid color-mix(in srgb,var(--primary) 50%, white 50%);
  border-radius:40px;
  background:none;
  color:var(--on-primary);
  font-size:18px;
  font-weight:600;
  cursor:pointer;
  transition:.3s;
}

.callback .outline-btn{
  color:var(--text);
}

.outline-btn:hover{
  background:var(--primary);
  border-color:var(--primary);
  color:var(--on-primary);
}

.outline-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
  background:transparent;
  border-color:color-mix(in srgb,var(--outline) 44%, transparent);
  color:color-mix(in srgb,var(--on-primary) 72%, transparent);
  pointer-events:none;
}

.callback .outline-btn:disabled{
  color:color-mix(in srgb,var(--text-muted) 72%, transparent);
}

.faq-box{
  padding:36px;
  border-radius:32px;
  border:1px solid color-mix(in srgb,var(--outline) 32%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb,var(--surface-container-high) 88%, rgba(22,8,8,.16)),
      color-mix(in srgb,var(--surface-container-low) 78%, rgba(82,20,20,.12))
    );
  box-shadow:
    0 24px 64px rgba(0,0,0,.14),
    0 6px 18px color-mix(in srgb,var(--primary) 8%, transparent);
}

.faq-item{
  padding:18px 0;
  border-bottom:1px solid color-mix(in srgb,var(--outline) 35%, transparent);
  cursor:pointer;
}

.faq-item:last-child{
  border-bottom:none;
}

.faq-item > div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:24px;
  font-weight:600;
  line-height:1.35;
}

.faq-item > div:first-child::after{
  content:"expand_more";
  flex:0 0 auto;
  color:var(--primary);
  font-family:"Material Symbols Rounded";
  font-size:30px;
  font-variation-settings:"FILL" 0,"wght" 500,"GRAD" 0,"opsz" 24;
  transition:transform .3s ease,color .3s ease;
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  font-size:18px;
  line-height:1.6;
  transition:max-height .35s ease,margin-top .35s ease;
}

.faq-item.active .faq-answer{
  max-height:240px;
  margin-top:10px;
}

.faq-item.active > div:first-child::after{
  transform:rotate(180deg);
}

.map{
  display:block;
  width:100%;
  height:400px;
  border:0;
}

.map-frame{
  overflow:hidden;
  border-radius:32px;
  border:1px solid color-mix(in srgb,var(--outline) 32%, transparent);
  background:var(--surface-container-high);
  box-shadow:
    0 28px 72px rgba(0,0,0,.16),
    0 6px 18px color-mix(in srgb,var(--primary) 10%, transparent);
}

.footer-shell{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:24px;
  padding:36px;
  border-radius:32px;
  border:1px solid color-mix(in srgb,var(--outline) 32%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb,var(--surface-container-high) 88%, rgba(22,8,8,.2)),
      color-mix(in srgb,var(--surface-container-low) 78%, rgba(82,20,20,.2))
    );
  box-shadow:
    0 24px 64px rgba(0,0,0,.14),
    0 6px 18px color-mix(in srgb,var(--primary) 8%, transparent);
}

.footer-brand{
  margin:0 0 14px;
  font-size:30px;
  line-height:1.05;
}

.footer-note{
  max-width:540px;
  margin:0;
  color:var(--text-muted);
  line-height:1.6;
}

.footer-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}

.footer-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px 18px 20px;
  border-radius:24px;
  background:color-mix(in srgb,var(--surface) 72%, transparent);
  border:1px solid color-mix(in srgb,var(--outline) 22%, transparent);
}

.footer-card .material-symbols-rounded{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:40px;
  height:40px;
  font-size:32px;
  color:var(--primary);
}

.footer-card-body{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.footer-label{
  display:block;
  margin-bottom:6px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-muted);
}

.footer-value{
  margin:0;
  font-size:18px;
  line-height:1.45;
}

.footer-value a{
  text-decoration:none;
}

.footer-side{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:24px;
}

.footer-socials{
  display:grid;
  gap:12px;
}

.footer-social{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-radius:18px;
  background:color-mix(in srgb,var(--surface) 68%, transparent);
  border:1px solid color-mix(in srgb,var(--outline) 22%, transparent);
  text-decoration:none;
  transition:transform .2s,background-color .2s,border-color .2s;
}

.footer-social:hover{
  transform:translateY(-2px);
  background:color-mix(in srgb,var(--primary-container) 55%, var(--surface) 45%);
  border-color:color-mix(in srgb,var(--primary) 30%, transparent);
}

.footer-social-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  flex:0 0 auto;
  overflow:hidden;
  color:var(--primary);
}

.footer-social-badge img{
  display:block;
  width:32px;
  height:32px;
  object-fit:contain;
  filter:var(--social-icon-filter);
}

.footer-social-badge .material-symbols-rounded{
  font-size:22px;
  line-height:1;
  color:var(--on-primary);
  font-variation-settings:"FILL" 0,"wght" 500,"GRAD" 0,"opsz" 24;
}

.footer-social-name{
  flex:1;
  min-width:0;
  font-weight:600;
}

.footer-copy{
  margin:0;
  font-size:14px;
  color:var(--text-muted);
  line-height:1.5;
}

@media (min-width:1921px) and (min-height:1081px){
  :root{
    --wide-page-gutter:88px;
    --header-height:84px;
    --hero-side-offset:56px;
  }

  html{
    scroll-padding-top:112px;
  }

  body{
    font-size:18px;
  }

  header{
    padding:20px 64px;
  }

  .brand-logo img{
    height:40px;
  }

  nav{
    gap:40px;
  }

  .icon-btn{
    width:44px;
    height:44px;
  }

  .page-content{
    display:block;
    padding-bottom:72px;
  }

  .page-content > *:not(.hero){
    padding-inline:var(--wide-page-gutter);
  }

  .hero{
    margin-inline:0;
  }

  .main-layout{
    display:grid;
    grid-template-columns:repeat(12,minmax(0,1fr));
    column-gap:var(--wide-page-gutter);
    row-gap:88px;
    align-items:stretch;
    padding:88px var(--wide-page-gutter) 0;
  }

  .main-layout > *{
    min-width:0;
  }

  .services{
    grid-column:1 / -1;
  }

  .callback{
    grid-column:1 / span 7;
  }

  .faq{
    grid-column:8 / -1;
  }

  .map-section{
    grid-column:1 / span 6;
  }

  .footer{
    grid-column:7 / -1;
  }

  .callback,
  .map-section,
  .faq,
  .footer{
    margin:0;
  }

  .hero-content{
    padding:144px 56px 56px;
  }

  .hero-logo{
    top:56px;
    width:min(1332px,calc(100% - (var(--hero-side-offset) * 2)));
    height:96px;
  }

  .hero h1{
    max-width:18ch;
    font-size:72px;
  }

  .hero-cta{
    min-height:94px;
    padding:0 60px;
    font-size:26px;
  }

  .services h2,
  .faq h2,
  .callback-content h2{
    margin-bottom:56px;
    font-size:68px;
  }

  .services-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:32px;
  }

  .service-overlay{
    padding:32px;
  }

  .service-inner{
    transform:translateY(calc(100% - 4rem));
  }

  .service-inner h3{
    font-size:34px;
  }

  .service-list{
    font-size:26px;
  }

  .callback-overlay{
    min-height:100%;
    grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  }

  .callback-content{
    gap:24px;
    padding:64px;
  }

  .callback-content p,
  .faq-answer,
  .footer-note{
    font-size:20px;
  }

  .form{
    gap:24px;
  }

  .form input{
    font-size:18px;
  }

  .outline-btn{
    padding:16px 36px;
    font-size:19px;
  }

  .faq-box{
    height:100%;
    padding:44px;
  }

  .faq-item{
    padding:22px 0;
  }

  .faq-item > div:first-child{
    font-size:28px;
  }

  .map-frame{
    height:100%;
    min-height:480px;
  }

  .map{
    height:100%;
    min-height:480px;
  }

  .footer{
    height:100%;
  }

  .footer-shell{
    height:100%;
    min-height:480px;
    gap:32px;
    padding:44px;
  }

  .footer-brand{
    font-size:36px;
  }

  .footer-value{
    font-size:20px;
  }
}

@media (max-width:1024px){
  .services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .footer-shell{
    grid-template-columns:1fr;
  }
}

@media (max-width:768px){
  :root{
    --header-height:64px;
    --hero-side-offset:20px;
  }

  html{
    scroll-padding-top:84px;
  }

  .page-content{
    gap:48px;
    padding-bottom:40px;
  }

  .page-content > *:not(.hero){
    padding-inline:20px;
  }

  .main-layout{
    gap:48px;
  }

  header{
    padding:12px 20px;
  }

  .page-scrollbar{
    width:12px;
  }

  .page-scrollbar-thumb{
    width:6px;
  }

  .brand-logo img{
    height:26px;
  }

  .menu-btn{
    display:flex;
  }

  nav{
    position:absolute;
    top:calc(100% + 10px);
    right:20px;
    min-width:240px;
    padding:14px;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    border-radius:24px;
    border:1px solid color-mix(in srgb,var(--outline) 28%, transparent);
    background:color-mix(in srgb,var(--surface) 92%, transparent);
    box-shadow:
      0 18px 48px rgba(0,0,0,.16),
      0 4px 16px color-mix(in srgb,var(--primary) 8%, transparent);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    pointer-events:none;
    transition:opacity .2s,transform .2s,visibility .2s;
  }

  header.menu-open nav{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }

  nav a{
    display:block;
    padding:12px 14px;
    border-radius:16px;
    background:color-mix(in srgb,var(--surface-container-low) 72%, transparent);
  }

  .nav-utilities{
    width:100%;
    justify-content:space-between;
    gap:8px;
  }

  .nav-social{
    flex:1;
    height:48px;
    justify-content:center;
    padding:0;
    border-radius:16px;
  }

  #themeToggle{
    flex:1;
    height:48px;
    justify-content:center;
    padding:0;
    border-radius:16px;
    background:color-mix(in srgb,var(--surface-container-low) 72%, transparent);
  }

  #themeToggle .material-symbols-rounded{
    margin-right:0;
  }

  .hero{
    height:calc(100vh - var(--header-height));
    min-height:calc(100vh - var(--header-height));
  }

  .hero-content{
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    height:100%;
    padding:110px 20px 20px;
    text-align:center;
  }

  .hero-logo{
    top:28px;
    left:50%;
    transform:translateX(-50%);
    width:calc(100% - (var(--hero-side-offset) * 2));
    height:28px;
    -webkit-mask-position:center;
    mask-position:center;
  }

  .hero h1,
  .services h2,
  .faq h2,
  .callback-content h2{
    font-size:34px;
  }

  .hero h1{
    line-height:1.08;
    max-width:none;
    padding-inline:20px;
    text-align:center;
  }

  .hero-cta{
    min-height:68px;
    min-width:280px;
    padding:0 36px;
    font-size:20px;
    white-space:nowrap;
  }

  .hero-cta:hover{
    transform:none;
  }

  .services-grid{
    grid-template-columns:1fr;
  }

  .service-inner h3{
    font-size:26px;
  }

  .service-list{
    font-size:20px;
  }

  .callback-overlay{
    grid-template-columns:1fr;
  }

  .callback-content{
    padding:56px 28px;
  }

  .checkbox{
    gap:12px;
    font-size:13px;
    line-height:1.45;
  }

  .checkbox span{
    display:block;
  }

  .checkbox .policy-link{
    display:inline;
    white-space:normal;
    text-align:left;
  }

  .policy-modal{
    padding:16px;
  }

  .policy-modal-dialog{
    height:min(84vh,860px);
    padding:28px 20px 22px;
    border-radius:22px;
  }

  .policy-modal-dialog h2{
    font-size:24px;
  }

  .policy-modal-content{
    padding-right:18px;
  }

  .callback-visual{
    min-height:220px;
  }

  .faq-box{
    padding:28px 22px;
  }

  .faq-item > div:first-child{
    font-size:20px;
  }

  .faq-answer{
    font-size:16px;
  }

  .footer-shell{
    padding:28px 22px;
    box-sizing:border-box;
  }

  .footer-meta{
    grid-template-columns:1fr;
  }

  .footer-card,
  .footer-social{
    width:100%;
    min-width:0;
    box-sizing:border-box;
  }

  .footer-social-name,
  .footer-value{
    min-width:0;
    overflow-wrap:anywhere;
  }
}

@supports (height:100dvh){
  .page-content{
    height:calc(100dvh - var(--header-height));
    min-height:calc(100dvh - var(--header-height));
  }

  .hero{
    height:calc(100dvh - var(--header-height));
    min-height:calc(100dvh - var(--header-height));
  }
}
