/* Mojavewifi theme – colours and layout follow the previous WordPress "Loudin" theme. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/montserrat-latin.311d352d9323.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("../fonts/montserrat-latin-italic.7921052ef928.woff2") format("woff2"); }

:root {
    --teal: #226685;
    --teal-dark: #1a4f67;
    --orange: #dc7327;
    --orange-dark: #c2611b;
    --sand: #f7ebdd;
    --grey-bg: #efeded;
    --text: #79787f;
    --dark: #1e1d24;
    --topbar: #0d0d0d;
    --footer: #141419;
    --footer-bottom: #121212;
    --border: #dddddd;
    --container: 1170px;
    --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 14px/1.75 "Montserrat", Arial, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--orange); }
h1, h2, h3, h4, h5 { font-family: inherit; color: var(--dark); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: 2.6rem; color: var(--teal); }
h2 { font-size: 2rem; color: var(--teal); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.visually-hidden, .hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; font: 600 13px/1.2 "Montserrat", sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-align: center; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-wrap.align-center { text-align: center; }
.btn-wrap.align-right { text-align: right; }

/* Top bar */
.topbar { background: var(--topbar); color: #b2b2b2; font-size: 12.5px; border-bottom: 1px solid #222; }
/* Phone and support hours sit in the centre; the social icons keep to the right. */
.topbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 42px; gap: 16px; }
.topbar-info { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; align-items: center; text-align: center; }
.topbar .social { grid-column: 3; justify-self: end; }
.topbar-phone { color: #8c8c8c; }
.topbar-phone .icon { color: #fff; margin-right: 4px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.social { display: flex; gap: 18px; align-items: center; }
.social a { color: #fff; }

/* Header & navigation */
.site-header { background: #000; position: relative; z-index: 20; }
.home .site-header { background: transparent; position: absolute; left: 0; right: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: none; color: #fff; font-weight: 700; text-decoration: none; }
.brand img { display: block; height: 48px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; }
.menu-item { position: relative; }
.menu-item > a { display: flex; align-items: center; gap: 4px; padding: 26px 14px; color: #fff; font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.menu-item > a:hover, .menu-item.active > a, .menu-item.ancestor > a { color: var(--orange); }
.caret { opacity: .8; }
.sub-menu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); border-top: 3px solid var(--orange); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s; }
.has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 8px 20px; color: var(--dark); font-size: 13.5px; text-decoration: none; }
.sub-menu a:hover, .sub-menu .active > a { color: var(--orange); background: #faf6f1; }
.btn-nav { padding: 11px 18px; }
.nav-toggle, .nav-toggle-label { display: none; }

/* Home hero */
.hero { background: #26313a left top / cover no-repeat; color: #fff; min-height: 583px; display: flex; align-items: flex-end; padding: 150px 0 50px; }
.hero-copy { max-width: 470px; margin-left: 50px; }
.hero-headline { color: #fff; font-size: 2.6rem; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.45); margin-bottom: .3em; min-height: 1.3em; position: relative; }
.hero-text { font-size: 1.35rem; font-weight: 500; line-height: 1.5; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.hero-headline.rotating span { display: block; position: absolute; left: 0; top: 0; opacity: 0; animation: rotate-headline var(--cycle) infinite; }
.hero-headline.rotating span:first-child { position: relative; }
.rotating-2 { --cycle: 8s; } .rotating-3 { --cycle: 12s; } .rotating-4 { --cycle: 16s; } .rotating-5 { --cycle: 20s; }
.rotating span:nth-child(2) { animation-delay: 4s; } .rotating span:nth-child(3) { animation-delay: 8s; }
.rotating span:nth-child(4) { animation-delay: 12s; } .rotating span:nth-child(5) { animation-delay: 16s; }
.rotating-2 span { animation-name: rotate-headline-2; }
@keyframes rotate-headline { 0% { opacity: 0; transform: translateY(12px); } 3%, 30% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes rotate-headline-2 { 0% { opacity: 0; transform: translateY(12px); } 5%, 45% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-headline.rotating span { animation: none; } .hero-headline.rotating span:first-child { opacity: 1; } }

/* Interior page header */
.page-banner { height: 245px; background: #333 left top / cover no-repeat; }
.page-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 36px; padding-bottom: 10px; }
.page-title { margin: 0; font-size: 2.6rem; }
.page-subtitle { margin: .2em 0 0; font-size: 1.05rem; color: var(--text); }
.page-body { padding-bottom: 40px; }
.block { margin-top: 18px; }

/* Rich text */
.rich-text h2, .block-heading:is(h4) { color: #333; font-weight: 400; font-size: 1.2rem; margin-top: 1.2em; }
.rich-text h3 { color: #333; font-weight: 600; font-size: 1.05rem; margin-top: 1.2em; }
.rich-text h4 { color: #333; font-weight: 600; font-size: .95rem; margin-top: 1.2em; }
.rich-text > :is(h2, h3, h4):first-child { margin-top: 0; }
.rich-text ul { list-style: none; padding-left: 0; }
.rich-text ul > li { position: relative; padding-left: 1.6em; }
.rich-text ul > li::before { content: ""; position: absolute; left: 0; top: .42em; width: .85em; height: .85em; background: var(--orange); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
.rich-text li { margin-bottom: .35em; }
.rich-text .richtext-image.right { float: right; margin: 0 0 1em 1.5em; }
.rich-text .richtext-image.left { float: left; margin: 0 1.5em 1em 0; }
.rich-text::after { content: ""; display: table; clear: both; }
.block-heading.align-center { text-align: center; }
.accent-heading { color: var(--orange); text-transform: uppercase; font-size: 2.4rem; font-weight: 600; }
.block-image { margin: 0; }
.block-image figcaption { font-size: .85em; }

/* Two columns */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.columns-band { padding: 26px 0; }
.columns-band.bg-grey { background: var(--grey-bg); margin: 20px 0; }
.columns-band.bg-sand { background: var(--sand); }

/* Checklists & service areas */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.checks .icon { color: var(--orange); position: relative; top: 2px; }
.checklist-heading { color: var(--dark); font-size: 1.15rem; margin-top: 1em; }
.checklist.shaded .checklist-cols { background: var(--grey-bg); padding: 24px 26px 14px; }
.checklist-cols { display: grid; gap: 10px 30px; }
.checklist-cols.cols-2 { grid-template-columns: repeat(2, 1fr); }
.checklist-cols.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-areas { background: var(--sand); padding: 48px 0 40px; }
.service-areas p:last-of-type { font-style: italic; }
.area-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 20px; margin-top: 10px; color: #555; }

/* CTA bands */
.cta-band { padding: 22px 0; }
.cta-teal { background: var(--teal); }
.cta-teal h2 { color: #fff; font-size: 1.6rem; font-weight: 600; margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-teal .btn-white { color: var(--teal); }
.cta-plain { padding: 30px 0 0; }
.cta-plain .accent-heading { margin: 0; max-width: 60%; }

/* Plan tiles */
.plans { padding-top: 20px; padding-bottom: 30px; }
.plans-note { color: var(--teal); font-weight: 700; font-style: italic; margin-bottom: 14px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { border: 2px solid var(--border); padding: 18px 24px 24px; text-align: center; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.plan:hover { border-color: var(--teal); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
.plan-heading { margin: 0 0 .5em; font-size: 1rem; }
.plan-name { display: block; margin: 0 0 .2em; font-size: 1.05rem; text-transform: uppercase; }
.plan-speed { display: block; color: var(--orange); font-size: 1.35rem; font-weight: 700; }
.plan-price { color: var(--dark); font-weight: 700; display: flex; flex-direction: column; gap: 2px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid #555; }
.plan-period { text-transform: uppercase; }
.plan-tagline { padding: 12px 0; margin: 0 0 16px; border-bottom: 1px solid #555; font-weight: 300; }
.plan .btn { margin-top: auto; }
.plan-footnotes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; color: var(--teal); font-weight: 700; font-style: italic; font-size: .9rem; }
.plan-footnotes li:nth-child(even) { text-align: right; }

/* Feature boxes */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-box { background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.08); padding: 28px 18px; text-align: center; transition: background .25s, color .25s; min-height: 220px; }
.feature-box h3 { font-size: .95rem; margin: .6em 0 .5em; }
.feature-box p { font-size: .85rem; margin: 0; }
.feature-icon { color: var(--teal); }
.feature-box:hover, .feature-box:focus { background: var(--teal); color: #fff; outline: none; }
.feature-box:hover h3, .feature-box:hover .feature-icon, .feature-box:focus h3, .feature-box:focus .feature-icon { color: #fff; }

/* Split band */
.split-band { padding: 0; }
.band-orange { background: var(--orange); color: #fff; }
.band-teal { background: var(--teal); color: #fff; }
.band-sand { background: var(--sand); }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.split-media { background: left center / contain no-repeat; display: flex; align-items: center; justify-content: flex-end; min-height: 300px; }
.split-media-text { font-size: 1.35rem; color: #222; text-align: right; line-height: 1.6; margin: 0; padding-top: 80px; }
.split-body { padding: 30px 0; font-size: .95rem; }
.band-orange .split-body, .band-teal .split-body { color: #fff; }
.band-orange a:not(.btn), .band-teal a:not(.btn) { color: #fff; }

/* FAQ */
.faq { margin: 10px 0 20px; }
.faq-heading { color: var(--dark); font-size: 1.5rem; }
.faq-item { border: 1px solid var(--border); margin-bottom: 8px; background: #fff; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--dark); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal); }
.faq-item[open] summary { background: var(--teal); color: #fff; }
.faq-icon { transition: transform .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 16px 18px 6px; }

/* Child page cards */
.child-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 20px 0; }
.child-card { display: block; padding: 22px; border: 2px solid var(--border); text-decoration: none; color: var(--text); transition: border-color .2s; }
.child-card:hover { border-color: var(--orange); color: var(--text); }
.child-card h2 { color: var(--teal); font-size: 1.1rem; }
.child-card p { margin: 0; font-size: .9rem; }

/* Forms */
.site-form { max-width: 620px; }
.form-field { margin-bottom: 16px; }
.form-field label, .form-field legend { display: block; font-weight: 600; color: var(--dark); margin-bottom: 4px; font-size: .92rem; }
.form-field fieldset { border: 0; padding: 0; margin: 0; }
.form-field input[type=text], .form-field input[type=email], .form-field input[type=tel], .form-field input[type=url], .form-field input[type=number], .form-field textarea, .form-field select { width: 100%; padding: 11px 12px; font: inherit; color: var(--dark); border: 1px solid #cfcfcf; background: #fafafa; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; background: #fff; }
.form-field textarea { min-height: 120px; }
.field-radioselect div[id] { display: flex; gap: 20px; flex-wrap: wrap; }
.field-radioselect label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.req { color: var(--orange); }
.field-error, .form-errors { color: #b3261e; font-size: .88rem; margin: 4px 0 0; }
.has-error input, .has-error textarea { border-color: #b3261e; }
.thank-you { padding-top: 20px; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--footer); color: #8d8c92; font-size: 13px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 60px; padding-bottom: 50px; }
.site-footer h2 { color: #fff; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; margin-bottom: 1.2em; }
.site-footer a { color: var(--orange); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-logo { display: block; margin-bottom: 18px; }
.social-lg { gap: 14px; }
.social-lg a { color: #fff; border: 1px solid #555; padding: 6px; display: inline-flex; }
.footer-bottom { background: var(--footer-bottom); font-size: 12px; }
.footer-bottom-inner { min-height: 54px; display: flex; align-items: center; }

/* Responsive */
@media (max-width: 1100px) {
    .menu-item > a { padding-left: 9px; padding-right: 9px; font-size: 12.5px; }
}
@media (max-width: 960px) {
    .brand { display: block; }
    .home .site-header { position: relative; background: #000; }
    .nav-toggle-label { display: flex; align-items: center; gap: 6px; color: #fff; cursor: pointer; padding: 10px 0; text-transform: uppercase; font-weight: 700; font-size: 13px; }
    .header-inner { flex-wrap: wrap; }
    .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 18px; }
    .nav-toggle:checked ~ .main-nav { display: flex; }
    .menu { flex-direction: column; }
    .menu-item > a { padding: 12px 0; border-bottom: 1px solid #222; }
    .caret { display: none; }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 16px; }
    .sub-menu a { color: #ccc; padding: 7px 0; }
    .hero { min-height: 480px; padding-top: 80px; }
    .hero-copy { margin-left: 0; }
    .two-col, .split-inner { grid-template-columns: 1fr; gap: 20px; }
    .plan-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .area-columns { grid-template-columns: repeat(2, 1fr); }
    .checklist-cols.cols-3 { grid-template-columns: 1fr 1fr; }
    .cta-plain .accent-heading { max-width: none; }
    .split-media { justify-content: center; }
    .split-media-text { text-align: center; }
}
@media (max-width: 640px) {
    body { font-size: 14px; }
    .topbar-text { display: none; }
    h1, .page-title { font-size: 1.9rem; }
    .accent-heading { font-size: 1.7rem; }
    .hero-headline { font-size: 1.9rem; }
    .hero-text { font-size: 1.1rem; }
    .page-banner { height: 150px; }
    .page-title-row, .cta-inner { flex-direction: column; align-items: flex-start; }
    .plan-grid, .feature-grid, .footer-cols, .checklist-cols.cols-2, .checklist-cols.cols-3, .plan-footnotes { grid-template-columns: 1fr; }
    .plan-footnotes li:nth-child(even) { text-align: left; }
}

/* Google reviews */
.reviews { padding-top: 30px; padding-bottom: 36px; }
.reviews-heading { text-align: center; font-size: 2.35rem; font-weight: 500; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; margin-bottom: 22px; text-align: center; }
.reviews-score { color: #555; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin: 0; }
.reviews-label { color: var(--dark); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.reviews-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; }
.reviews-links .btn { padding: 10px 18px; }
.btn-outline { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.stars { color: #f6bb06; font-size: 1.2rem; letter-spacing: 2px; line-height: 1; }
.google-word { font-weight: 600; color: var(--dark); }
.review-track { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 14px; }
.review-track.is-gliding { scroll-snap-type: none; }
.review-track:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 54px) / 4)); gap: 18px; }
.review-card { scroll-snap-align: start; background: #f4f4f4; border-radius: 4px; padding: 18px 20px; display: flex; flex-direction: column; color: #4b4a52; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.review-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--teal); color: #fff; font-weight: 700; font-size: 1.1rem; }
.review-author { font-size: 1rem; margin: 0; }
.review-author a { color: var(--dark); text-decoration: none; }
.review-author a:hover { color: var(--orange); }
.review-date { margin: 0; font-size: 12px; color: #6b6a72; }
.review-rating { margin: 0 0 6px; }
.review-text p { margin: 0 0 .5em; }
.review-text details summary { cursor: pointer; color: var(--teal); font-weight: 600; font-size: 13px; }
.review-text details[open] summary { margin-bottom: .4em; }
.review-text:has(details[open]) .review-ellipsis { display: none; }
.review-source { margin: auto 0 0; padding-top: 6px; font-size: 12px; }
.review-autoplay { display: block; margin: 4px 0 0 auto; padding: 4px 12px; font: 600 12px/1.4 "Montserrat", sans-serif; color: var(--teal); background: #fff; border: 1px solid var(--teal); border-radius: 3px; cursor: pointer; }
.review-autoplay:hover { background: var(--teal); color: #fff; }
.review-autoplay[hidden] { display: none; }
@media (max-width: 960px) { .review-list { grid-auto-columns: minmax(260px, calc((100% - 18px) / 2)); } }
@media (max-width: 640px) { .reviews-heading { font-size: 1.7rem; } .review-list { grid-auto-columns: 85%; } }
