/*
Theme Name: SkyWings
Version: 1.4.0
Requires PHP: 8.2
Text Domain: skywings-recovery
*/
:root { --ink: #11252e; --muted: #50616a; --navy: #092f51; --teal: #007777; --bg: #f2f6f6; --rule: #d7e1e3; --white: #fff; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.55 system-ui, sans-serif; }
a { color: #006969; text-underline-offset: .17em; }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; overflow-wrap: anywhere; }
h1 { font-size: 42px; }
h2 { font-size: 27px; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 48px, 1180px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap, .site-foot .wrap, .section-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.masthead .wrap { min-height: 78px; padding-block: 10px; }
.site-logo { display: flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 750; text-decoration: none; font-size: 22px; }
.site-logo img { width: 132px; height: 51px; object-fit: contain; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a { color: var(--ink); font-weight: 650; text-decoration: none; padding-block: 8px; }
.site-nav a:hover, .site-nav a[aria-current] { color: #006969; text-decoration: underline; }
.hero { color: var(--white); background: #132c39 url('aircraft.jpg') center 48% / cover no-repeat; position: relative; isolation: isolate; }
.hero::before { position: absolute; inset: 0; z-index: -1; background: #061d2c; opacity: .72; content: ""; }
.hero .wrap { padding-block: 84px 76px; }
.hero h1 { font-size: 55px; max-width: 600px; }
.hero p { font-size: 18px; max-width: 490px; }
.part-search { display: flex; max-width: 580px; gap: 8px; align-items: stretch; margin-block: 24px 16px; }
.part-search input { min-width: 0; flex: 1; }
input:not([type=checkbox]), textarea, select { padding: 11px 12px; background: #fff; color: var(--ink); font: inherit; border: 1px solid #b4c7cd; border-radius: 5px; }
button, .button, .woocommerce a.button, .woocommerce button.button { display: inline-flex; justify-content: center; align-items: center; color: #fff; background: #006969; border: 1px solid transparent; border-radius: 5px; padding: 10px 15px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
button:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--navy); color: #fff; }
.hero-link { color: #fff; font-weight: 650; }
.hero-link:hover { color: #fff; text-decoration-thickness: 2px; }
.section { padding-block: 36px; }
.section.alt { background: var(--bg); border-block: 1px solid var(--rule); }
.section-head { margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.category-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.category-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 13px 14px; min-height: 54px; text-decoration: none; font-weight: 650; }
.category-list a:hover { border-color: var(--teal); }
.category-list span { color: var(--teal); flex: none; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; gap: 9px; padding: 13px; border: 1px solid var(--rule); background: #fff; border-radius: 6px; text-decoration: none; color: var(--ink); }
.product-card .photo, .woocommerce ul.products li.product a img { display: block; aspect-ratio: 4 / 3; width: 100%; object-fit: contain; background: #f6f8f8; }
.product-card small { color: var(--muted); overflow-wrap: anywhere; }
.product-card strong { overflow-wrap: anywhere; }
.product-card:hover { border-color: var(--teal); }
.site-main { min-height: 55vh; padding-block: 40px 58px; }
.site-foot { border-top: 1px solid var(--rule); padding-block: 23px; color: var(--muted); background: var(--bg); }
.site-foot a { color: var(--ink); }
.contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 34px; }
.contact form { display: grid; gap: 12px; }
.contact label { display: grid; gap: 4px; font-weight: 650; }
.contact textarea { min-height: 120px; resize: vertical; }
.contact button { justify-self: start; }
.notice { padding: 12px; background: #e4f4ef; border: 1px solid #a4c7bb; border-radius: 6px; }
.error { background: #fff2ee; border-color: #e2aea1; }
.prose { max-width: 750px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.screen-reader-text:focus { width: auto; height: auto; margin: 0; padding: 8px; clip-path: none; z-index: 3; background: #fff; }
@media (max-width: 820px) { .category-list, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .hero h1 { font-size: 44px; } }
@media (max-width: 580px) { .wrap { width: calc(100% - 32px); } .hero .wrap { padding-block: 48px 42px; } .hero h1, h1 { font-size: 35px; } .site-nav { gap: 4px 17px; } .masthead .wrap { gap: 2px; } .contact { grid-template-columns: minmax(0,1fr); gap: 20px; } .site-main { padding-block: 27px 39px; } }
.hero p.hero-detail { font-size: 16px; margin-top: -.55em; }
.category-gallery li { min-width: 0; }
.category-gallery a { display: flex; position: relative; align-items: flex-end; min-height: 112px; height: 100%; overflow: hidden; padding: 0; background: var(--navy); border: 0; color: #fff; }
.category-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-gallery .category-label { position: relative; width: 100%; min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px 12px; background: rgb(9 31 42 / 90%); color: #fff; flex: 1 1 auto; overflow-wrap: anywhere; }
.category-gallery .category-label span { color: inherit; }
.category-gallery a:hover .category-label { background: #006969; }
.brands-section { background: #fff; }
.brand-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
.brand-grid li { display: grid; place-items: center; border-bottom: 1px solid var(--rule); padding: 10px 14px; min-width: 0; height: 110px; }
.brand-grid img { width: 100%; max-width: 185px; max-height: 88px; height: 88px; object-fit: contain; display: block; }
.editorial-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 36px; }
.editorial-copy { max-width: 730px; }
.editorial-copy h3 { font-size: 19px; }
.archive-photo { margin: 0; }
.archive-photo img { width: 100%; height: auto; display: block; border-radius: 6px; }
.testimonial-section { background: var(--bg); border-block: 1px solid var(--rule); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.testimonial-grid figure { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--teal); }
.testimonial-grid blockquote { font-size: 17px; margin: 0 0 .7em; }
.testimonial-grid figcaption { font-size: 14px; color: var(--muted); font-weight: 700; }
.about-page .testimonial-section { margin-top: 36px; }
.assistance .section-head, .assistance p { margin-bottom: 0; }
.assistance h2 { margin-bottom: .35em; }
@media (max-width: 820px) {
    .brand-grid { gap: 0 12px; }
    .brand-grid li { height: 98px; padding: 8px; }
}
@media (max-width: 580px) {
    .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .testimonial-grid, .editorial-split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .brand-grid li { height: 88px; }
    .brand-grid img { max-height: 72px; }
    .category-gallery a { min-height: 104px; }
    .category-gallery .category-label { font-size: 14px; padding: 7px 9px; }
}
