/*
Theme Name: All Trades Import & Export
Theme URI: https://alltradesimpexp.com/
Author: All Trades Import & Export
Description: Custom theme for All Trades Import & Export (Brazil – United States trade). Reproduces the original alltradesimpexp.com design. After activation, the "All Trades Setup" screen imports the photos and creates all pages, menus and the home page. Includes a free contact form that emails you and saves every request under "Consultation Requests".
Version: 1.0.2
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alltrades
*/

:root {
	--at-navy: #0a004b;
	--at-navy-dark: #050029;
	--at-blue: #1d579a;
	--at-ink: #0f1430;
	--at-black: #040404;
	--at-sky: #6ca8d2;
	--at-gray: #f0f0f0;
	--at-wrap: 1366px;
	--at-pad: 33px;
	--at-head: 'Poppins', sans-serif;
	--at-body: 'Roboto', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--at-body); font-size: 16px; line-height: 1.5; color: #333; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--at-blue); text-decoration: none; }
a:hover { color: var(--at-navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--at-head); font-weight: 600; color: var(--at-navy); margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: #fff; padding: 8px 14px; }

/* Buttons */
.btn, .wp-block-button__link, .at-form button, .header-btn {
	display: inline-flex; align-items: center; gap: 8px; font-family: var(--at-head); font-weight: 300; font-size: 15px; line-height: 1;
	color: #fff; background: var(--at-blue); padding: 12px 18px; border: 0; border-radius: 0; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover, .wp-block-button__link:hover, .at-form button:hover, .header-btn:hover { background: var(--at-navy); color: #fff; }
.btn svg, .header-btn svg { width: 15px; height: 15px; flex: none; }
.btn-black { background: var(--at-black); font-weight: 500; }
.btn-dark, .is-dark .wp-block-button__link { background: var(--at-navy-dark); }
.btn-dark:hover, .is-dark .wp-block-button__link:hover { background: var(--at-blue); }

/* Top bar & header */
.top-bar { background: var(--at-black); height: 45px; }
.top-inner { max-width: 1366px; margin: 0 auto; padding: 0 70px; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.lang-switch { display: flex; gap: 0; }
.lang-switch a { display: block; width: 24px; height: 24px; }
.lang-switch svg { width: 24px; height: 24px; display: block; }
.site-header { background: #fff; position: relative; z-index: 50; }
.header-inner { max-width: 1366px; margin: 0 auto; padding: 10px 52px 10px 47px; min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo img { width: 182px; height: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.main-nav li { position: relative; }
.main-nav a { display: flex; align-items: center; gap: 8px; padding: 12px 15px; font-family: var(--at-head); font-size: 18px; color: var(--at-ink); line-height: 20px; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav a:hover { color: var(--at-blue); }
.main-nav .menu-item-has-children > a::after { content: ""; border: 5px solid transparent; border-top: 6px solid currentColor; border-bottom: 0; margin-left: 4px; margin-top: 2px; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; box-shadow: 0 8px 24px rgba(10,0,75,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-size: 16px; padding: 11px 20px; border-bottom: 1px solid #eef0f4; }
.header-btn { font-size: 16px; padding: 15px 11px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span:not(.screen-reader-text) { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--at-navy); transition: .2s; }

/* Home hero */
.home-hero, .page-hero { position: relative; background-image: var(--at-hero-bg); background-size: cover; background-position: center; }
.home-hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, #fff 0%, rgba(255,255,255,0) 100%); opacity: .76; }
.home-hero { min-height: 570px; display: flex; align-items: center; }
.home-hero .hero-inner { position: relative; width: 100%; max-width: var(--at-wrap); margin: 0 auto; padding: 40px var(--at-pad) 40px; }
.kicker { font-family: var(--at-head); font-weight: 600; font-size: 17px; color: var(--at-blue); margin: 0 0 16px; text-transform: uppercase; }
.home-hero h1 { font-size: 54px; line-height: 1.02; max-width: 700px; margin: 0 0 24px; color: var(--at-navy); }
.hero-text { font-size: 18px; line-height: 27px; color: #0f016c; max-width: 540px; margin: 0 0 24px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 15px; }
.hero-buttons .btn { padding: 8px 18px; min-height: 30px; }

/* Page hero */
.page-hero { min-height: 297px; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-hero::before { background: linear-gradient(95deg, #fff 40%, rgba(255,255,255,0) 100%); opacity: .5; }
.page-hero .hero-inner { position: relative; padding: 30px 20px; }
.page-hero .kicker { margin-bottom: 12px; }
.page-hero h1 { font-size: 36px; margin: 0 0 18px; color: var(--at-navy); }
.page-hero .btn { padding: 8px 18px; }

/* Content basics */
.entry-content > * { margin-top: 0; }
.entry-content .wp-block-columns { margin-bottom: 0; }
.entry-content .wp-block-image { margin: 0; }
.entry-content .wp-block-buttons { gap: 12px; }
.home-content > .wp-block-group { padding-left: max(var(--at-pad), calc((100% - var(--at-wrap)) / 2 + var(--at-pad))); padding-right: max(var(--at-pad), calc((100% - var(--at-wrap)) / 2 + var(--at-pad))); }

/* Feature strip */
.home-features { background: var(--at-navy); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 38px; padding-bottom: 38px; }
.feature { position: relative; padding-left: 70px; min-height: 60px; }
.feature::before, .icon-target::before, .svc-card-body::before { content: ""; position: absolute; left: 0; top: 0; width: 52px; height: 52px; background: #fff; -webkit-mask: var(--at-ic) center / contain no-repeat; mask: var(--at-ic) center / contain no-repeat; }
.feature h3 { color: #fff; font-size: 17px; margin: 0 0 4px; line-height: 20px; }
.feature p { color: #fff; font-family: var(--at-head); font-size: 14px; line-height: 1.45; margin: 0; }

/* Icons (SVG masks, editable groups keep their class) */
.icon-globe { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='24' cy='22' r='18'/%3E%3Cellipse cx='24' cy='22' rx='8' ry='18'/%3E%3Cpath d='M6 22h36M9 12h30M9 32h30'/%3E%3Ccircle cx='12' cy='38' r='3' fill='%23000'/%3E%3Ccircle cx='24' cy='38' r='3' fill='%23000'/%3E%3Ccircle cx='36' cy='38' r='3' fill='%23000'/%3E%3Cpath d='M6 47c0-4 3-6 6-6s6 2 6 6M18 47c0-4 3-6 6-6s6 2 6 6M30 47c0-4 3-6 6-6s6 2 6 6'/%3E%3C/svg%3E"); }
.icon-shield { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M24 3l17 6v13c0 11-7 19-17 23C14 41 7 33 7 22V9z'/%3E%3Cpath d='M15 24l6 6 12-13'/%3E%3C/svg%3E"); }
.icon-chart { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M5 45V31h7v14M17 45V25h7v20M29 45V19h7v26M41 45V11h-0v34'/%3E%3Cpath d='M4 22L18 11l8 6L44 3M36 3h8v8'/%3E%3C/svg%3E"); }
.icon-truck { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M3 10h27v24H3zM30 18h9l6 8v8H30z'/%3E%3Ccircle cx='12' cy='36' r='4' fill='%23fff'/%3E%3Ccircle cx='37' cy='36' r='4' fill='%23fff'/%3E%3C/svg%3E"); }
.icon-target { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='22' cy='26' r='18'/%3E%3Ccircle cx='22' cy='26' r='11'/%3E%3Ccircle cx='22' cy='26' r='4'/%3E%3Cpath d='M22 26L40 8M34 8h6v-6M40 8v6h6'/%3E%3C/svg%3E"); }
.icon-ship { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M14 6h8v6h10v8l7 3-5 13H14L9 23l5-2zm-6 34c4 0 4 3 8 3s4-3 8-3 4 3 8 3 4-3 8-3 4 3 8 3v3c-4 0-4-3-8-3s-4 3-8 3-4-3-8-3-4 3-8 3-4-3-8-3-4 3-8 3v-3c0 0 0-3 0-3z'/%3E%3C/svg%3E"); }
.icon-plane { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M44 21c2 0 3 1.3 3 3s-1 3-3 3H31L20 45h-5l6-18H11l-4 5H3l2.5-8L3 16h4l4 5h10L15 3h5l11 18z'/%3E%3C/svg%3E"); }
.svc-card-body.icon-truck { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M2 10h28v24H2zM32 16h8l7 9v9H32zM12 32a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm25 0a5 5 0 1 1 0 10 5 5 0 0 1 0-10z'/%3E%3C/svg%3E"); }

/* Who we are */
.home-who { background: var(--at-gray); padding-top: 68px; padding-bottom: 68px; }
.home-who > .wp-block-columns { gap: 30px; align-items: flex-start; }
.who-text { flex: 0 0 28% !important; padding-top: 12px; }
.who-cards { flex: 1 1 auto !important; }
.home-who .kicker, .home-why .kicker { font-size: 18px; margin-bottom: 18px; }
.home-who h2 { font-size: 26px; line-height: 1.13; margin-bottom: 18px; }
.who-text > p:not(.kicker), .why-text > p:not(.kicker) { color: var(--at-ink); font-size: 16px; line-height: 1.5; }
.exp-box { position: relative; padding-left: 52px; margin-top: 26px; }
.exp-box::before { width: 38px !important; height: 38px !important; background: var(--at-blue) !important; }
.exp-box h3 { font-size: 17px; margin: 0; color: var(--at-navy); }
.exp-box p { font-family: var(--at-head); font-size: 13px; color: var(--at-ink); margin: 0; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 20px; }
.svc-card { background: #fff; border-radius: 12px 12px 0 0; overflow: hidden; }
.svc-card .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px 12px 0 0; }
.svc-card-body { position: relative; padding: 66px 40px 26px; }
.svc-card-body::before { left: 40px; top: 24px; width: 30px; height: 30px; background: var(--at-blue); }
.svc-card h3 { font-size: 20px; margin: 0 0 2px; }
.svc-card p { font-family: var(--at-head); font-size: 14px; color: var(--at-ink); margin: 0; line-height: 1.3; }

/* Contact strip */
.home-contact-strip { background: var(--at-navy); display: flex; justify-content: center; align-items: center; padding-top: 24px; padding-bottom: 24px; min-height: 100px; }
.home-contact-strip p { margin: 0; padding: 8px 42px; border-left: 1px solid rgba(255,255,255,.55); font-size: 16px; }
.home-contact-strip p:first-child { border-left: 0; }
.home-contact-strip a { color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.home-contact-strip a::before { content: ""; width: 26px; height: 26px; background: #fff; -webkit-mask: var(--at-ic) center / contain no-repeat; mask: var(--at-ic) center / contain no-repeat; }
.ic-whatsapp { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M3.5 20.5l1.3-4.2A8.6 8.6 0 1 1 8 19.4z'/%3E%3Cpath d='M9 8.2c.3-.6.6-.6 1-.6l.6.1 1 2.2-.2.6-.6.7a5.6 5.6 0 0 0 2.8 2.8l.7-.6.6-.2 2.1 1 .1.6c0 .4 0 .8-.6 1.1-1 .6-2.3.5-4-.4a9.2 9.2 0 0 1-3.6-3.7C8.3 10.1 8.6 8.9 9 8.2z' fill='%23000' stroke='none'/%3E%3C/svg%3E"); }
.ic-mail { --at-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M3 10l9-6 9 6v10H3z'/%3E%3Cpath d='M3 10l9 6 9-6'/%3E%3Cpath d='M7 8V5h10v3M9 8h6M9 10.5h6'/%3E%3C/svg%3E"); }

/* Why work with us */
.home-why { background: #fff; padding-top: 60px; padding-bottom: 68px; }
.home-why > .wp-block-columns { gap: 36px; align-items: center; }
.why-text { flex: 0 0 29% !important; }
.why-media { flex: 1 1 auto !important; min-width: 0; position: relative; padding: 0 26px; }
.home-why h2 { font-size: 27px; line-height: 1.02; margin-bottom: 22px; }
.why-text > p:not(.kicker) { font-size: 15px; line-height: 1.55; }
.why-carousel.wp-block-gallery { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; }
.why-carousel.wp-block-gallery::-webkit-scrollbar { display: none; }
.why-carousel.wp-block-gallery > figure.wp-block-image { flex: 0 0 calc((100% - 16px) / 3) !important; width: auto !important; margin: 0 !important; scroll-snap-align: start; }
.why-carousel.wp-block-gallery > figure.wp-block-image img { height: 472px !important; width: 100% !important; object-fit: cover; border-radius: 16px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 26px; height: 40px; border: 0; background: none; color: var(--at-navy); cursor: pointer; padding: 0; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn.prev { left: -4px; } .carousel-btn.next { right: -4px; }
.carousel-btn.prev svg { transform: rotate(180deg); }

/* How we work */
.home-how { background: var(--at-sky); padding-top: 78px; padding-bottom: 66px; color: #fff; }
.home-how h2 { color: #fff; font-size: 34px; text-transform: uppercase; margin-bottom: 4px; }
.home-how .subtitle { font-weight: 300; font-size: 18px; color: #fff; margin-bottom: 36px; }
.steps { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.step { width: 197px; border: 1px solid rgba(255,255,255,.75); border-radius: 15px; padding: 10px 8px 16px; text-align: center; }
.step:nth-child(3) { width: 219px; }
.step .step-num { width: 56px; height: 56px; margin: 0 auto 12px; border: 2.5px solid #fff; border-radius: 50%; font-family: var(--at-body); font-weight: 400; font-size: 44px; line-height: 50px; color: #fff; }
.step h3 { color: #fff; font-size: 20px; line-height: 1.1; margin: 0 0 4px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.step p { font-family: var(--at-head); font-size: 14px; line-height: 1.45; margin: 0; color: #fff; }

/* Industries */
.home-industries { position: relative; min-height: 628px; padding-top: 100px; padding-bottom: 100px; background: linear-gradient(88deg, #0a004b 34%, rgba(15,20,48,0) 100%), var(--at-industries-bg) center / cover no-repeat; color: #fff; }
.home-industries h2 { color: #fff; font-size: 30px; text-transform: uppercase; margin-bottom: 18px; padding-left: 6px; }
.home-industries .subhead { color: #fff; font-size: 19px; font-weight: 400; text-transform: uppercase; max-width: 480px; line-height: 1; margin-bottom: 22px; padding-left: 6px; }
.home-industries ul { margin: 0; padding-left: 46px; font-weight: 300; font-size: 18px; line-height: 30px; }

/* About block */
.home-about { padding-top: 78px !important; padding-bottom: 76px !important; padding-left: max(var(--at-pad), calc((100% - 1140px) / 2)) !important; padding-right: max(var(--at-pad), calc((100% - 1140px) / 2)) !important; }
.home-about > .wp-block-columns { gap: 60px; align-items: flex-start; }
.about-media { flex: 0 0 456px !important; }
.about-media img { border-radius: 16px; width: 100%; }
.about-text { flex: 1 1 auto !important; padding: 26px 0 0; }
.about-text .wp-block-buttons { margin-bottom: 18px; }
.is-label .wp-block-button__link::before { content: ""; width: 12px; height: 14px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M1 1h10v12L6 9.5 1 13z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M1 1h10v12L6 9.5 1 13z'/%3E%3C/svg%3E") center / contain no-repeat; }
.about-text h2 { font-size: 23px; line-height: 1; text-transform: uppercase; color: var(--at-ink); margin-bottom: 24px; }
.about-text p { text-align: justify; color: var(--at-ink); font-size: 16px; line-height: 1.5; }

/* Call to action band */
.cta-band { position: relative; min-height: 367px; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--at-cta-bg) center / cover no-repeat; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: #4792c7; opacity: .8; }
.cta-inner { position: relative; max-width: 1000px; padding: 60px 20px; }
.cta-band h2 { color: #fff; font-size: 34px; text-transform: uppercase; margin-bottom: 14px; }
.cta-band p { color: #fff; font-weight: 300; font-size: 18px; line-height: 1.5; margin: 0 auto 36px; max-width: 850px; }
.home-map iframe { display: block; width: 100%; height: 243px; border: 0; }

/* Service pages */
.page-content-wrap { padding: 0; }
.svc-intro { max-width: 1140px; margin: 0 auto; padding: 82px 20px 62px; }
.svc-intro > .wp-block-columns { gap: 32px; align-items: flex-start; }
.svc-text { flex: 0 0 58% !important; }
.svc-media { flex: 1 1 auto !important; }
.svc-text h2 { font-size: 23px; text-transform: uppercase; color: var(--at-ink); margin-bottom: 20px; }
.svc-text p { text-align: justify; color: var(--at-ink); font-size: 16px; line-height: 1.5; }
.svc-text h5 { font-family: var(--at-body); font-weight: 500; font-size: 20px; color: var(--at-ink); margin: 0 0 12px; }
.svc-text ul { color: var(--at-ink); margin: 0 0 24px; padding-left: 40px; line-height: 1.5; }
.svc-text .wp-block-buttons { margin-top: 26px; }
.svc-img img { border-radius: 20px; width: 100%; aspect-ratio: 444 / 555; object-fit: cover; }

/* Contact page */
.contact-intro { max-width: 960px; margin: 0 auto; padding: 32px 20px 52px; }
.contact-intro h2 { font-size: 23px; text-transform: uppercase; color: var(--at-ink); margin-bottom: 18px; }
.contact-intro > p { color: var(--at-ink); font-size: 16px; line-height: 1.5; }
.is-touch .wp-block-button__link { margin: 10px 0 6px; }
.is-touch .wp-block-button__link::before { content: ""; width: 14px; height: 14px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2h12l4 4v16H4zm2 2v16h12V7h-3V4zm2 5h8v1.6H8zm0 4h8v1.6H8zm0 4h5v1.6H8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2h12l4 4v16H4zm2 2v16h12V7h-3V4zm2 5h8v1.6H8zm0 4h8v1.6H8zm0 4h5v1.6H8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.form-lead { margin-top: 12px; }
.at-form { margin-top: 28px; font-family: var(--at-head); }
.at-form .row { display: grid; gap: 5px; margin-bottom: 14px; }
.at-form .r2 { grid-template-columns: 1fr 1fr; }
.at-form .r3 { grid-template-columns: 1.33fr 1fr 1fr; }
.at-form .r3:nth-of-type(3) { grid-template-columns: 1fr 1fr 1fr; }
.at-form .r-split { grid-template-columns: 2fr 1fr; align-items: start; }
.at-form label { font-size: 15px; color: var(--at-ink); display: block; margin-bottom: 4px; }
.at-form input[type=text], .at-form input[type=email], .at-form input[type=tel], .at-form select, .at-form textarea {
	width: 100%; font-family: var(--at-head); font-size: 13px; color: var(--at-ink); background: #eff1f4; border: 0; border-radius: 0; padding: 0 26px; height: 56px;
}
.at-form select { -webkit-appearance: none; appearance: none; font-size: 14px; background-image: linear-gradient(45deg, transparent 50%, var(--at-ink) 50%), linear-gradient(135deg, var(--at-ink) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; height: 52px; }
.at-form textarea { height: 112px; padding: 14px 18px; resize: vertical; }
.at-form ::placeholder { color: #6b6f80; }
.at-form .field { margin-bottom: 0; }
.at-form > .field { margin-bottom: 8px; }
.at-form fieldset { border: 0; margin: 0; padding: 0; }
.at-form legend { font-size: 15px; color: var(--at-ink); padding: 0; margin-bottom: 4px; }
.at-form .radios label { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; font-size: 15px; }
.at-form .consent label { font-size: 15px; }
.at-form button { width: 100%; justify-content: center; padding: 14px; font-size: 15px; font-weight: 400; margin-top: 10px; }
.at-form .hp { position: absolute; left: -9999px; }
.form-notice { padding: 14px 18px; margin: 20px 0 0; border-radius: 4px; font-family: var(--at-head); }
.form-notice.ok { background: #e6f4ea; color: #1e5631; }
.form-notice.err { background: #fdecea; color: #8a1c13; }

/* Footer */
.site-footer { background: var(--at-navy-dark); color: #fff; }
.footer-inner { max-width: 1210px; margin: 0 auto; padding: 78px 20px 60px; display: grid; grid-template-columns: 360px 300px 360px 1fr; gap: 0; }
.footer-logo img { width: 228px; margin-bottom: 30px; }
.footer-title { font-family: var(--at-body); font-weight: 500; font-size: 20px; margin-bottom: 20px; }
.footer-brand p:not(.footer-title) { font-size: 16px; line-height: 1.45; margin-bottom: 16px; max-width: 290px; }
.footer-brand p:last-child { max-width: none; }
.site-footer h2 { color: #fff; font-size: 25px; padding: 10px 0 18px; margin: 0 0 22px; position: relative; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 1px; background: rgba(255,255,255,.45); }
.footer-list { list-style: none; margin: 0; padding: 0; font-family: var(--at-head); font-size: 15px; }
.footer-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.footer-list.contacts li { margin-bottom: 12px; gap: 14px; }
.footer-list svg { width: 14px; height: 14px; color: rgba(255,255,255,.75); flex: none; }
.footer-list.contacts svg { width: 24px; height: 24px; color: var(--at-blue); }
.footer-list a, .footer-list span { color: #fff; }
.footer-list a:hover { color: #9cc3ee; }
.social-icons { display: flex; flex-wrap: wrap; gap: 5px; max-width: 130px; }
.social-icons a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--at-blue); color: #fff; }
.social-icons a:hover { background: #fff; color: var(--at-blue); }
.social-icons svg { width: 18px; height: 18px; }
.footer-bottom { background: var(--at-black); text-align: center; font-size: 15px; padding: 16px 20px; }

/* Generic pages (owner-created) */
.page-content-wrap > .entry-content > :not(.wp-block-group):not(.alignfull) { max-width: 960px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.page-content-wrap > .entry-content > :first-child:not(.wp-block-group) { margin-top: 50px; }
.page-content-wrap > .entry-content > :last-child:not(.wp-block-group) { margin-bottom: 50px; }
.notfound, .archive-list { padding: 60px 0; }

/* Responsive */
@media (max-width: 1100px) {
	.header-inner { padding: 10px 20px; min-height: 100px; }
	.site-logo img { width: 140px; }
	.main-nav a { padding: 12px 10px; font-size: 16px; }
	.home-features { grid-template-columns: repeat(2, 1fr); }
	.svc-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.svc-card-body { padding: 60px 20px 20px; } .svc-card-body::before { left: 20px; }
}
@media (max-width: 900px) {
	.nav-toggle { display: block; order: 3; }
	.header-btn { order: 2; margin-left: auto; font-size: 14px; padding: 12px 10px; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
	.main-nav.open { display: block; }
	.main-nav .menu { flex-direction: column; padding: 10px 0; }
	.main-nav a { padding: 12px 24px; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 16px; }
	.main-nav li.open > .sub-menu { display: block; }
	.home-hero h1 { font-size: 40px; }
	.home-who > .wp-block-columns, .home-why > .wp-block-columns, .home-about > .wp-block-columns, .svc-intro > .wp-block-columns { flex-wrap: wrap !important; }
	.who-text, .why-text, .about-media, .svc-text, .svc-media, .about-text, .who-cards, .why-media { flex: 1 1 100% !important; }
	.about-media { max-width: 456px; margin: 0 auto; }
	.home-contact-strip { flex-direction: column; }
	.home-contact-strip p { border-left: 0; padding: 6px 0; }
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.svc-media { max-width: 444px; }
}
@media (max-width: 600px) {
	.home-hero::before { opacity: .9; }
	.step, .step:nth-child(3) { width: calc(50% - 10px); }
	.top-inner { padding: 0 16px; }
	.header-btn { display: none; }
	.home-hero { min-height: 480px; }
	.home-hero h1 { font-size: 32px; }
	.hero-text { font-size: 16px; line-height: 1.5; }
	.home-features, .svc-cards { grid-template-columns: 1fr; }
	.why-carousel.wp-block-gallery > figure.wp-block-image { flex-basis: 80% !important; }
	.why-carousel.wp-block-gallery > figure.wp-block-image img { height: 400px !important; }
	.home-industries { min-height: 0; padding-top: 60px; padding-bottom: 60px; background: linear-gradient(0deg, rgba(10,0,75,.86), rgba(10,0,75,.86)), var(--at-industries-bg) center / cover no-repeat; }
	.home-how h2, .cta-band h2 { font-size: 26px; }
	.page-hero h1 { font-size: 30px; }
	.at-form .r2, .at-form .r3, .at-form .r3:nth-of-type(3), .at-form .r-split { grid-template-columns: 1fr; }
	.footer-inner { grid-template-columns: 1fr; }
}
