/*
Theme Name: Webdexi
Description: A responsive WordPress business theme for Webdexi in Pensacola, Florida.
Version: 1.0.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: webdexi
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ink: #102033;
  --muted: #46586a;
  --paper: #f6f9fc;
  --blue: #0096ff;
  --line: #ccd9e5;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.skip { position: absolute; z-index: 10; top: .75rem; left: 1rem; padding: .75rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.dark { background: var(--ink); color: var(--paper); }
.masthead, .footer { background: white; color: var(--ink); }
.header { min-height: 5.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; border-bottom: 1px solid #d9e5ef; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { display: block; width: 8.6875rem; height: auto; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 3.7vw, 3rem); font-size: .95rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover, .footer a:hover { color: #005b9e; }
.nav-contact { border: 1px solid #607c99; border-radius: .35rem; padding: .65rem .95rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.15rem; font-size: .88rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; }
.eyebrow span { width: 1.2rem; height: 2px; background: currentColor; }
h1, h2, h3, p { margin: 0; }
h1, h2 { letter-spacing: -.065em; font-weight: 850; }
.intro { margin-top: 1.35rem; max-width: 31rem; font-size: clamp(1rem, 1.5vw, 1.17rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; font-weight: 750; padding: .8rem 1.15rem; min-height: 3rem; border: 1px solid transparent; border-radius: .35rem; text-decoration: none; }
.services { padding-block: clamp(3rem, 7vw, 6rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem 2rem; padding-bottom: 1.6rem; }
h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; }
.section-head p, .home-service p, .contact p { max-width: 34rem; font-size: 1.05rem; line-height: 1.65; }
.section-head p, .home-service p { color: var(--muted); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.04em; }
.contact { background: #e3f3ff; padding-block: clamp(3rem, 6vw, 5rem); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.contact p { margin-top: .85rem; }
.contact-links { display: grid; gap: .7rem; justify-items: center; flex-shrink: 0; }
.contact-button { background: var(--ink); color: white; }
.contact-button:focus-visible { outline-color: var(--ink); }
.contact-button:hover { background: #1d4265; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; min-height: 6rem; padding-block: 1.25rem; }
.footer-inner > :not(.brand) { color: var(--muted); font-size: .95rem; }
.footer-inner > a:not(.brand):hover { color: #005b9e; }
.service-link { display: inline-block; margin-top: .65rem; color: #005b9e; font-weight: 750; text-underline-offset: .2em; }
@media (max-width: 820px) {
  .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 2rem); }
  .header { min-height: 4.4rem; gap: .55rem; }
  .brand img { width: 6.9rem; }
  nav { gap: .65rem; font-size: .875rem; }
  .nav-contact { padding: .55rem; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .contact-links { justify-items: start; }
}

:root { overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.screen-reader-text:focus { width: auto; height: auto; clip-path: none; z-index: 10; background: white; padding: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.footer-meta { display: grid; gap: .35rem; }
.footer-copy { border-top: 1px solid var(--line); padding-block: 1rem; font-size: .9rem; color: var(--muted); }
.subpage-hero { padding-block: clamp(2.7rem, 7vw, 5rem); }
.subpage-hero h1 { font-size: clamp(3rem, 7vw, 6rem); max-width: 17ch; }
.page-content { padding-block: clamp(2rem, 5vw, 4rem); }
.entry-content { max-width: 53rem; font-size: 1.075rem; line-height: 1.65; }
.entry-content h2, .entry-content h3 { margin: 1.5em 0 .45em; }
.entry-content h2 { font-size: clamp(1.65rem, 5vw, 2.55rem); letter-spacing: -.045em; line-height: 1.1; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1rem; }
.entry-content a, .footer-links a, .wd-map a { text-underline-offset: .2em; }
.entry-content a, .wd-map a { color: #005b9e; }
.entry-content a.button { color: white; }
.form-panel { margin-block: 1.4rem 2rem; padding: clamp(1rem, 3vw, 1.8rem); background: white; border: 1px solid var(--line); border-radius: .65rem; }
.contact-inner:has(.form-panel) { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; column-gap: clamp(1.25rem, 5vw, 4rem); }
.contact-inner .form-panel { margin: 0; }
.contact-inner .form-panel p { margin-top: 0; }
.wd-form, .wd-fields { display: grid; gap: .9rem; }
.wd-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wd-form label { display: grid; gap: .28rem; font-weight: 700; }
.wd-form input, .wd-form select, .wd-form textarea { width: 100%; min-width: 0; border: 1px solid #879bb0; border-radius: .35rem; padding: .7rem .65rem; color: var(--ink); background: white; font: inherit; }
.wd-form textarea { resize: vertical; }
.wd-form :is(input, select, textarea, button):focus-visible { outline: 3px solid #005b9e; outline-offset: 2px; }
.wd-form button { justify-self: start; font: inherit; font-weight: 750; cursor: pointer; }
.wd-form small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.wd-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wd-notice { border-inline-start: .3rem solid #005b9e; background: #e3f3ff; color: var(--ink); padding: .8rem 1rem; margin-bottom: 1rem; }
.wd-notice.error { border-color: #a12226; background: #fff0ee; }
.wd-map { margin-top: 1.7rem; max-width: 53rem; }
.wd-map iframe { display: block; margin-block: .8rem; width: 100%; height: clamp(16rem, 44vw, 25rem); border: 1px solid var(--line); border-radius: .55rem; }
.wd-map-choices { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-block: .75rem; }
.wd-map button { cursor: pointer; font: inherit; font-weight: 750; }
.post-preview { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.post-preview h2 { font-size: 2rem; margin-bottom: .6rem; }
@media (max-width: 820px) {
  .contact-inner:has(.form-panel) { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .wd-fields { grid-template-columns: 1fr; }
}
[hidden] { display: none !important; }

.homepage-intro { background: #e8f4ff; }
.home-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1.75rem, 5.5vw, 5rem); padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.home-hero .eyebrow { color: #005b9e; }
.home-hero h1 { font-size: clamp(3.1rem, 6.8vw, 6.85rem); line-height: .98; }
.home-hero h1 em { font-style: normal; color: #005b9e; }
.home-hero .intro { color: var(--muted); }
.home-primary { background: #005b9e; color: white; }
.home-primary:hover { background: #064a7a; }
.home-primary:focus-visible { outline-color: #005b9e; }
.home-secondary { border-color: #607c99; color: #102033; }
.home-secondary:hover { background: #d9edff; }
.home-art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-width: 0;
  min-height: 19rem;
  aspect-ratio: 1.12;
  border-radius: 1.2rem;
  padding: 12% 15% 14% 10%;
  background-color: #102c48;
  background-image: radial-gradient(circle at 88% 4%, #0096ff79, transparent 50%), linear-gradient(135deg, #12385c, transparent 60%);
}
.home-browser { width: 100%; border: 1px solid #82b7e1; border-radius: .75rem; overflow: hidden; background: #edf7ff; box-shadow: 0 1rem 2.6rem #091b35a8; }
.home-browser-bar { display: flex; align-items: center; gap: .28rem; height: 1.9rem; padding-inline: .65rem; background: #0d2742; }
.home-browser-bar i { background: #90caff; width: .39rem; height: .39rem; border-radius: 50%; }
.home-browser-body { padding: 6%; display: grid; gap: .6rem; }
.home-browser-preview { display: grid; align-content: center; justify-items: start; gap: .55rem; min-height: 8rem; border-radius: .35rem; padding-inline: 8%; background: linear-gradient(140deg, #073c72, #0686ed); }
.home-browser-preview span { width: 57%; height: .55rem; background: #d6edff; border-radius: .2rem; }
.home-browser-preview span:first-child { width: 68%; height: .95rem; background: white; }
.home-browser-preview span:last-child { width: 25%; height: .75rem; margin-top: .45rem; background: #aeddff; }
.home-browser-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.home-browser-tiles i { border-radius: .3rem; min-height: 2.7rem; background: #bee1fc; }
.home-device { position: absolute; width: 23%; min-width: 4.5rem; right: 7%; bottom: 9%; display: grid; align-content: center; gap: .38rem; aspect-ratio: .58; padding: 4% 3%; border-radius: .75rem; border: 1px solid #97c8ea; background: #f4faff; box-shadow: 0 .45rem 1.4rem #091b3595; }
.home-device i, .home-device span { display: block; min-height: .45rem; border-radius: .15rem; background: #bddcf5; }
.home-device i { min-height: 2.7rem; margin-bottom: .2rem; background: linear-gradient(155deg, #004481, #0096ff); }
.home-device span:last-child { width: 65%; }
.home-service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.home-service { grid-column: span 2; display: flex; flex-direction: column; gap: .75rem; background: white; border: 1px solid var(--line); border-radius: .75rem; padding: clamp(1.3rem, 2.8vw, 2rem); }
.home-service > div { flex: 1; display: flex; flex-direction: column; gap: .45rem; align-items: start; }
.home-service .service-link { margin-top: auto; padding-top: .5rem; }
.home-service:nth-child(-n+2) { grid-column: span 3; }
.home-service-care { background: #e3f3ff; border-color: #a3c9e6; }
@media (max-width: 950px) {
  .home-service, .home-service:nth-child(-n+2) { grid-column: span 3; }
  .home-service-care { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-art { width: min(100%, 35rem); }
}
@media (max-width: 540px) {
  .home-art { min-height: 0; }
  .home-browser-preview { min-height: 5.5rem; }
  .home-browser-tiles i { min-height: 2rem; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-service, .home-service:nth-child(-n+2), .home-service-care { grid-column: auto; }
}

.portfolio { padding-block: clamp(3rem, 7vw, 6rem); background: #e8f4ff; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.7vw, 2rem); }
.project { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid #c8d9e9; border-radius: .65rem; }
.project img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #142b44; }
.project-copy { display: flex; flex: 1; flex-direction: column; align-items: start; gap: .7rem; padding: clamp(1.15rem, 3vw, 2rem); }
.project-copy h3 { font-size: clamp(1.6rem, 3.1vw, 2.5rem); }
.project-copy p { line-height: 1.6; color: var(--muted); }
.project-copy .project-type { font-size: .875rem; color: #005b9e; font-weight: 750; }
.project-copy .service-link { margin-top: auto; padding-top: .35rem; }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .31fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; padding-block: 0; }
.package-menu { display: grid; gap: 2rem; min-width: 0; }
.package-menu fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.package-menu legend, .custom-pricing h3, .quote-summary h3 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 850; letter-spacing: -.04em; line-height: 1.13; }
.package-help, .custom-pricing p { margin-top: .5rem; line-height: 1.6; color: var(--muted); }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.package { display: flex; flex-direction: column; align-items: start; gap: .55rem; padding: 1rem; border: 1px solid #b5c9db; border-radius: .5rem; background: white; cursor: pointer; line-height: 1.55; }
.package:hover { border-color: #005b9e; }
.package:has(input:checked) { background: #e3f3ff; box-shadow: inset 0 0 0 1px #005b9e; border-color: #005b9e; }
.package-name { display: flex; align-items: baseline; gap: .45rem; color: var(--ink); font-weight: 800; line-height: 1.35; }
.package input, .package-none input { margin: 0; accent-color: #005b9e; flex: 0 0 auto; }
.package input:focus-visible, .package-none input:focus-visible { outline: 2px solid #005b9e; outline-offset: 3px; }
.package-price { color: #005b9e; font-size: .93rem; white-space: nowrap; }
.package-price strong { font-size: clamp(1.15rem, 2.1vw, 1.55rem); }
.package-none { display: inline-flex; gap: .5rem; align-items: center; margin-top: .85rem; cursor: pointer; }
.quote-summary { position: sticky; top: 1rem; border-radius: .6rem; padding: 1.25rem; background: #e3f3ff; border: 1px solid #bad8ef; }
.quote-summary dl { margin: 1rem 0; }
.quote-summary dl div { display: grid; gap: .18rem; margin-top: .65rem; }
.quote-summary dt { font-weight: 750; font-size: .95rem; }
.quote-summary dd { margin: 0; }
.quote-summary p { margin-top: .8rem; color: var(--muted); line-height: 1.55; }
.quote-summary .button { width: 100%; margin-top: .85rem; }
.quote-summary .quote-note { font-size: .875rem; }

.pricing { padding-block: clamp(3rem, 7vw, 6rem); }
.pricing-heading { margin-bottom: 1rem; }
.pricing .quote-summary { top: 3rem; }
@media (max-width: 920px) {
  .quote-layout { grid-template-columns: 1fr; }
  .pricing .quote-summary { position: static; }
  .quote-summary .button { width: auto; }
}
@media (max-width: 640px) {
  .header { flex-wrap: wrap; justify-content: flex-start; gap: 0; padding-bottom: .7rem; }
  .header nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: .35rem .5rem; }
  .project-grid, .package-grid { grid-template-columns: 1fr; }
}
