/* Austin Emergency Roofing & Siding
   Brand: the logo's navy and lime, with its roof-peak chevron and hexagon as the recurring shapes. */
:root {
  --navy: #0a1e37;
  --navy-2: #12305a;
  --navy-3: #1b3f70;
  --lime: #8cc919;
  --lime-2: #a4dc3a;
  --lime-dark: #4e7a05;
  --ink: #17263a;
  --muted: #55657a;
  --line: #dfe5ec;
  --tint: #f3f6f1;
  --white: #fff;
  --danger: #b3261e;
  --head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 12px 34px rgba(10, 30, 55, .12);
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-3); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--navy); font-family: var(--head); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(800px, 100% - 40px); }
.center { margin-top: 40px; text-align: center; }
.mt { margin-top: 28px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--lime); color: var(--navy); font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 24px; border: 2px solid transparent; border-radius: 8px; background: var(--navy); color: #fff; font: 700 .95rem/1.2 var(--head); text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: var(--lime-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); background: rgba(10, 30, 55, .25); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn--outline { border-color: var(--navy); background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar and header */
.topbar { background: var(--navy); color: #d9e2ee; font-size: .84rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar p { margin: 0; }
.topbar__msg { display: flex; align-items: center; gap: 9px; font-weight: 500; color: #fff; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(140, 201, 25, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(140, 201, 25, 0); } }
.head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.head__in { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.head__logo img { width: auto; height: 70px; }
.head__toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-size: 1.25rem; cursor: pointer; }
.nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 18px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link { display: block; padding: 12px 11px; color: var(--navy); font: 600 .92rem/1 var(--head); text-decoration: none; white-space: nowrap; }
.nav__link:hover, .nav__link.is-active { color: var(--lime-dark); }
.has-drop > .nav__link::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-2px) rotate(45deg); }
.nav__more { display: none; }
.drop { position: absolute; left: 0; top: 100%; z-index: 20; display: none; min-width: 270px; padding: 10px; border-top: 3px solid var(--lime); border-radius: 0 0 var(--radius) var(--radius); background: #fff; box-shadow: var(--shadow); }
.drop--wide { display: none; grid-template-columns: 1fr 1fr; gap: 0 10px; width: 540px; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop { display: block; }
.has-drop:hover > .drop--wide, .has-drop:focus-within > .drop--wide { display: grid; }
.drop a { display: block; padding: 9px 11px; border-radius: 6px; color: var(--ink); font-size: .93rem; font-weight: 500; line-height: 1.3; text-decoration: none; }
.drop a:hover { background: var(--tint); color: var(--lime-dark); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.head__phone { display: flex; align-items: center; gap: 9px; color: var(--navy); font: 800 1.04rem/1.15 var(--head); text-decoration: none; white-space: nowrap; }
.head__phone .ico { color: var(--lime-dark); width: 1.5em; height: 1.5em; }
.head__phone small { display: block; color: var(--muted); font: 500 .7rem/1.3 var(--body); }

/* Hero: the bottom edge is cut into the roof peak from the logo */
.hero { position: relative; z-index: 2; isolation: isolate; overflow: hidden; padding: 72px 0 118px; background: var(--navy); color: #e4ebf4; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 50% 100%, 0 calc(100% - 56px)); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 30, 55, .94) 0%, rgba(10, 30, 55, .78) 52%, rgba(10, 30, 55, .42) 100%); }
.hero__in { display: grid; gap: 48px; align-items: center; }
.hero--form .hero__in { grid-template-columns: minmax(0, 1fr) 430px; }
.hero__copy { max-width: 760px; }
.hero h1 { color: #fff; }
.hero__lead { max-width: 640px; margin-bottom: 26px; font-size: 1.16rem; }
.hero__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; margin-top: 26px; }
.hero__points li { display: flex; gap: 9px; color: #fff; font-size: .97rem; font-weight: 500; }
.hero__points .ico { margin-top: 3px; color: var(--lime); }
.hero--plain { padding-bottom: 100px; }
.eyebrow { margin: 0 0 12px; color: var(--lime-dark); font: 700 .8rem/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.hero .eyebrow, .sec--navy .eyebrow { color: var(--lime); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 16px; font-size: .87rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: #cbd7e6; }

/* Enquiry form */
.form { padding: 26px; border-top: 5px solid var(--lime); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.form-card .form { border: 1px solid var(--line); border-top: 5px solid var(--lime); }
.form__h { margin-bottom: 4px; font-size: 1.4rem; }
.form__note { margin-bottom: 14px; color: var(--muted); font-size: .92rem; }
.form__alert { padding: 9px 12px; border-radius: 6px; background: #fbe9e7; color: var(--danger); font-size: .92rem; font-weight: 500; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__small { margin: 10px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; text-align: center; }
.field { margin-bottom: 11px; }
.field label { display: block; margin-bottom: 3px; color: var(--navy); font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #b9c4d1; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-3); outline: 2px solid var(--lime); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { display: block; margin-top: 3px; color: var(--danger); font-size: .82rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sections */
.sec { padding: clamp(56px, 7vw, 92px) 0; }
.sec--tint { background: var(--tint); }
.sec--navy { background: var(--navy); color: #d6e0ec; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sechead { max-width: 760px; margin-bottom: 36px; }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead__lead { color: var(--muted); font-size: 1.08rem; }
.sec--navy .sechead__lead { color: #c5d1df; }
.intro { max-width: 800px; margin-bottom: 40px; }
.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split--top { align-items: start; }
.split__text { margin-bottom: 24px; font-size: 1.08rem; }
.frame { position: relative; margin: 0; }
.frame img { width: 100%; aspect-ratio: 4 / 3.4; border-radius: var(--radius); object-fit: cover; }
.frame::before { content: ""; position: absolute; right: -14px; bottom: -14px; z-index: 0; width: 46%; height: 46%; border-radius: var(--radius); background: var(--lime); }
.frame img { position: relative; z-index: 1; }
.frame--flat { margin-bottom: 22px; }
.frame--flat::before { display: none; }
.frame--flat img { aspect-ratio: 16 / 8; }

/* Hexagon badge, from the logo */
.hex { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 58px; height: 64px; background: var(--lime); color: var(--navy); clip-path: var(--hex); font-size: 1.32rem; }
.hex--sm { width: 46px; height: 51px; font-size: 1.05rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { border-color: var(--lime); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__img { position: relative; aspect-ratio: 16 / 9.5; background: var(--navy-2); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__img .hex { position: absolute; left: 20px; bottom: -24px; }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 38px 22px 20px; }
.card__body p { flex: 1; color: var(--muted); font-size: .96rem; }
.more { display: inline-flex; align-items: center; gap: 7px; color: var(--lime-dark); font: 700 .9rem/1 var(--head); }

/* Emergency band */
.alarm { position: relative; margin-top: -56px; padding: 112px 0 64px; background: var(--lime); }
.alarm__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.alarm .eyebrow { color: var(--navy); }
.alarm__head p:not(.eyebrow) { color: var(--navy); font-size: 1.06rem; }
.alarm__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: a; }
.alarm__steps li { padding: 20px; border-radius: var(--radius); background: #fff; counter-increment: a; }
.alarm__steps h3::before { content: counter(a); display: inline-flex; align-items: center; justify-content: center; margin-right: 9px; width: 28px; height: 31px; background: var(--navy); color: #fff; clip-path: var(--hex); font-size: .85rem; vertical-align: middle; }
.alarm__steps p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* Features */
.features { display: grid; gap: 20px; margin-bottom: 28px; }
.features li { display: flex; gap: 15px; }
.features h3 { margin-bottom: 3px; }
.features p { margin: 0; font-size: .96rem; line-height: 1.55; }
.features-wide .features { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; margin: 0; }
.block .features { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }

/* Stats */
.stats { padding: 34px 0; border-bottom: 1px solid var(--line); background: #fff; }
.stats__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.stats li { padding-left: 16px; border-left: 4px solid var(--lime); }
.stats strong { display: block; color: var(--navy); font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--head); }
.stats span { color: var(--muted); font-size: .93rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 34px 22px 20px; margin-top: 26px; border-radius: var(--radius); background: #fff; counter-increment: s; }
.step::before { content: counter(s); position: absolute; top: -26px; left: 22px; display: flex; align-items: center; justify-content: center; width: 50px; height: 56px; background: var(--navy); color: var(--lime); clip-path: var(--hex); font: 800 1.2rem/1 var(--head); }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Service areas */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 12px; }
.areas a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); text-decoration: none; transition: border-color .15s, background .15s; }
.areas a:hover { border-color: var(--lime); background: var(--tint); }
.areas .ico { color: var(--lime-dark); font-size: 1.15rem; }
.areas strong { display: block; font-family: var(--head); font-size: 1rem; line-height: 1.25; }
.areas small { color: var(--muted); font-size: .82rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 40px 18px 0; color: var(--navy); font: 700 1.03rem/1.35 var(--head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; color: var(--lime-dark); font-size: 1.6rem; font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding-right: 34px; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.reviews li { padding: 24px; border-radius: var(--radius); background: #fff; }
.reviews blockquote { margin: 0 0 14px; font-size: 1.02rem; }
.reviews p { margin: 0; color: var(--muted); font-size: .9rem; }
.reviews strong { color: var(--navy); }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post a { display: block; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.post a:hover { border-color: var(--lime); box-shadow: var(--shadow); }
.post__img { position: relative; aspect-ratio: 16 / 9; background: var(--navy-2); }
.post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 20px 22px 12px; }
.post__body > p:last-child { color: var(--muted); font-size: .95rem; }
.post__meta { margin-bottom: 7px; color: var(--lime-dark); font-size: .8rem; font-weight: 600; }
.post__meta span { margin-left: 8px; color: var(--muted); font-weight: 400; }
.post__byline { color: var(--muted); font-size: .93rem; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pager a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 7px; color: var(--navy); font-weight: 600; text-decoration: none; }
.pager [aria-current] { border-color: var(--navy); background: var(--navy); color: #fff; }

/* Closing call to action */
.cta { position: relative; padding: 64px 0; background: var(--lime); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin-bottom: 6px; }
.cta p { max-width: 640px; margin: 0; color: var(--navy); font-size: 1.08rem; }

/* Long-form content */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-block: 60px; }
.block { margin-bottom: 44px; }
.block--callout { padding: 28px; border-left: 5px solid var(--lime); border-radius: 0 var(--radius) var(--radius) 0; background: var(--tint); }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; font-size: 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--lime-dark); }
.prose a { color: var(--navy-3); font-weight: 500; }
.prose img { margin: 1.2em 0; border-radius: var(--radius); }
.prose blockquote { margin: 1.3em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--lime); color: var(--navy); font-weight: 500; }
.prose table { width: 100%; margin-bottom: 1.2em; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--tint); color: var(--navy); }
.prose > :first-child { margin-top: 0; }
.prose--lg { font-size: 1.07rem; }
.ticks { display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; }
.ticks .ico { margin-top: 4px; color: var(--lime-dark); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; object-fit: cover; }
.side { display: flex; flex-direction: column; gap: 20px; }
.side__box { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.side__box h2 { font-size: 1.1rem; }
.side__box--call { border-color: var(--navy); background: var(--navy); color: #d6e0ec; }
.side__box--call h2 { color: #fff; }
.side__list a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; }
.side__list li:last-child a { border: 0; }
.side__list a:hover, .side__list .is-current { color: var(--lime-dark); font-weight: 600; }
.side__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.side__tags a, .side__tags span { display: inline-block; padding: 5px 11px; border-radius: 99px; background: var(--tint); color: var(--navy); font-size: .86rem; font-weight: 500; text-decoration: none; }
.side__tags a:hover { background: var(--lime); }

/* Contact and map */
.contact { display: grid; gap: 18px; margin-top: 24px; }
.contact li { display: flex; align-items: center; gap: 14px; }
.contact li > div { min-width: 0; overflow-wrap: anywhere; }
.split > *, .with-side > * { min-width: 0; }
.contact small { display: block; color: var(--muted); font-size: .82rem; }
.contact a, .contact div > span { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact__h { display: block; font-weight: 500 !important; font-size: .95rem; }
.map { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius); }
.map-band .map { height: 420px; border-radius: 0; }

/* Sitemap */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.sitemap h2 { font-size: 1.2rem; }
.sitemap li { margin-bottom: 5px; }
.credits { overflow-wrap: anywhere; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.credits h2 { font-size: 1rem; }

/* Footer */
.foot { background: var(--navy); color: #bccada; font-size: .94rem; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1fr; gap: 40px; padding-block: 60px 44px; }
.foot__brand img { width: 250px; height: auto; margin-bottom: 18px; }
.foot__h { margin-bottom: 14px; color: #fff; font-size: .98rem; }
.foot__h--gap { margin-top: 26px; }
.foot a { color: #bccada; text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot__links li { margin-bottom: 7px; }
.foot__contact li { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.foot__contact a { display: flex; align-items: center; gap: 9px; }
.foot__contact .ico { color: var(--lime); }
.foot__social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.foot__hours li { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.foot__base { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.foot__base-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 16px; }
.foot__base p { margin: 0; }
.foot__base ul { display: flex; gap: 18px; }

/* Mobile call bar */
.callbar { display: none; }
.adminbar { position: fixed; right: 14px; bottom: 80px; z-index: 60; padding: 9px 14px; border-radius: 8px; background: var(--navy); color: #fff; box-shadow: var(--shadow); font-size: .85rem; font-weight: 600; text-decoration: none; }

@media (max-width: 1180px) {
  .topbar__right { display: none; }
  .head__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .head__in { min-height: 76px; }
  .head__logo img { height: 60px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 110px); padding: 8px 20px 20px; overflow: auto; border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { position: relative; border-bottom: 1px solid var(--line); }
  .nav__link { padding: 15px 0; font-size: 1rem; }
  .has-drop > .nav__link::after { display: none; }
  .nav__more { position: absolute; right: 0; top: 3px; display: block; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; }
  .nav__more::after { content: ""; display: block; margin: 0 auto; width: 9px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .15s; }
  .nav__more[aria-expanded="true"]::after { transform: rotate(-135deg); }
  .has-drop:hover > .drop, .has-drop:focus-within > .drop, .has-drop:hover > .drop--wide, .has-drop:focus-within > .drop--wide { display: none; }
  .drop, .drop--wide { position: static; width: auto; min-width: 0; padding: 0 0 10px; border: 0; box-shadow: none; grid-template-columns: 1fr; }
  .has-drop > .drop.is-open { display: block; }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: 14px; }
  .nav__cta .head__phone { justify-content: center; padding: 8px; }
  .hero--form .hero__in { grid-template-columns: minmax(0, 1fr) 390px; gap: 32px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero--form .hero__in, .split, .alarm__in, .with-side { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 48px; }
  .side { order: 2; }
  .frame::before { right: -8px; bottom: -8px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 60px; font-size: 16px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .topbar { font-size: .78rem; }
  .head__logo img { height: 52px; }
  .hero { padding: 38px 0 90px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 50% 100%, 0 calc(100% - 30px)); }
  .hero__lead { font-size: 1.04rem; }
  .btns .btn { width: 100%; }
  .hero__points, .block .features { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 20px; }
  .form__row, .alarm__steps { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .form__row { gap: 0; }
  .alarm { margin-top: -30px; padding: 72px 0 44px; }
  .cards, .posts { grid-template-columns: minmax(0, 1fr); }
  .areas { grid-template-columns: 1fr 1fr; }
  .areas a { padding: 11px 12px; gap: 8px; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 44px 26px; }
  .block--callout { padding: 20px; }
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 16px rgba(10, 30, 55, .2); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; font: 700 .98rem/1 var(--head); text-decoration: none; }
  .callbar__call { background: var(--navy); color: #fff; }
  .callbar__quote { background: var(--lime); color: var(--navy); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
