/*
Theme Name: NBC Logistics
Theme URI: https://nbcentral.co.ke
Author: NBC Logistics Service
Description: Block theme for NBC Logistics — global freight, ocean, air and courier services. Every page is built from standard WordPress blocks and editable in the block editor. On activation it creates the site pages (Home, About, Services and the six service pages, Global Network, Get a Quote, Contact, Track Shipment).
Version: 1.0.1
Requires at least: 6.6
Tested up to: 6.8
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: nbc-logistics
Tags: block-patterns, full-site-editing, custom-colors, editor-style
*/

/* ==========================================================================
   Design tokens — change brand colours here (or in Appearance → Editor → Styles)
   ========================================================================== */
:root {
	--red: var(--wp--preset--color--cargo-red, #f13b20);
	--red-dark: var(--wp--preset--color--cargo-red-dark, #cc2b14);
	--navy: var(--wp--preset--color--midnight-navy, #142333);
	--navy-deep: var(--wp--preset--color--navy-deep, #091520);
	--cyan: var(--wp--preset--color--global-cyan, #19bce0);
	--cloud: var(--wp--preset--color--cloud-white, #f5f7fa);
	--white: #fff;
	--gray: var(--wp--preset--color--muted-gray, #64748b);
	--ink: #1f1f1f;
	--line: #dfe5eb;
	--radius: 18px;
	--shadow: 0 24px 70px rgba(12, 27, 40, .12);
	--nbc-arrow: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--nbc-check: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Base
   ========================================================================== */
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--navy); background: var(--white); line-height: 1.5; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol, li, details, summary { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
ol, ul, menu { list-style: none; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; background-color: transparent; border-radius: 0; }
button { cursor: pointer; }
textarea { resize: vertical; }
::placeholder { opacity: 1; color: color-mix(in oklab, currentColor 50%, transparent); }
button, a, input, select, textarea { outline-color: var(--cyan); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.header { height: 84px; display: flex; align-items: center; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(20,35,51,.08); }
.header:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); flex: 0 0 auto; }
.logo img { max-height: 48px; width: auto; }
.brand-mark-svg { display: block; flex: 0 0 auto; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-type strong { font-family: Manrope, sans-serif; font-size: 16.5px; font-weight: 800; letter-spacing: -.4px; }
.logo-type strong span { font-weight: 600; opacity: .88; }
.logo-type small { font-size: 6.8px; letter-spacing: 1.8px; margin-top: 5px; color: var(--gray); font-weight: 600; }
.logo--inverse { color: white; }
.logo--inverse .logo-type small { color: rgba(255,255,255,.68); }

/* Core Navigation block styled as the NBC menu */
.header .nav-links { margin-left: auto; }
.nav-links .wp-block-navigation__container { gap: clamp(15px, 1.6vw, 27px); }
.nav-links .wp-block-navigation-item__content { color: #334454; font-size: 13px; font-weight: 500; transition: .2s; white-space: nowrap; }
.nav-links .wp-block-navigation-item__content:hover { color: var(--red); }
.nav-links .mobile-only { display: none; }
.nav-links .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.nav-links .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; text-align: left; }
.nav-links .is-menu-open .wp-block-navigation__container,
.nav-links .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; }
.nav-links .is-menu-open .wp-block-navigation__container { gap: 22px; }
.nav-links .is-menu-open .wp-block-navigation-item__content { font-size: 18px; color: var(--navy); }
.nav-links .wp-block-navigation__responsive-container-open,
.nav-links .wp-block-navigation__responsive-container-close { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 9px; flex-wrap: nowrap; }

/* ==========================================================================
   Buttons — core Button block styles (Red, Ghost, Glass, White, Outline)
   ========================================================================== */
.button,
.wp-block-button .wp-block-button__link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border: 1px solid transparent; border-radius: 0; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .1px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover,
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
.button--large,
.wp-block-button .wp-block-button__link { min-height: 54px; padding: 0 24px; }
.wp-block-button.is-size-small .wp-block-button__link { min-height: 44px; padding: 0 18px; }

.button--red,
.wp-block-button:not([class*="is-style-nbc-"]) .wp-block-button__link,
.wp-block-button.is-style-nbc-red .wp-block-button__link { background: var(--red); color: white; box-shadow: 0 10px 28px rgba(241,59,32,.2); }
.button--red:hover,
.wp-block-button:not([class*="is-style-nbc-"]) .wp-block-button__link:hover,
.wp-block-button.is-style-nbc-red .wp-block-button__link:hover { background: var(--red-dark); }
.wp-block-button.is-style-nbc-ghost .wp-block-button__link { border-color: #d7dee5; color: var(--navy); background: white; box-shadow: none; }
.wp-block-button.is-style-nbc-glass .wp-block-button__link { color: white; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }
.wp-block-button.is-style-nbc-white .wp-block-button__link { background: white; color: var(--navy); box-shadow: none; }
.wp-block-button.is-style-nbc-line .wp-block-button__link { border-color: rgba(255,255,255,.5); color: white; background: transparent; box-shadow: none; }

/* Arrow icon on Red and White buttons */
.wp-block-button:not([class*="is-style-nbc-"]) .wp-block-button__link::after,
.wp-block-button.is-style-nbc-red .wp-block-button__link::after,
.wp-block-button.is-style-nbc-white .wp-block-button__link::after,
.nbc-arrow::after { content: ''; width: 20px; height: 20px; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--nbc-arrow) center / contain no-repeat; mask: var(--nbc-arrow) center / contain no-repeat; }
.wp-block-button.is-size-small .wp-block-button__link::after { width: 17px; height: 17px; }
.button svg { flex: 0 0 auto; }

/* ==========================================================================
   Shared section pieces
   ========================================================================== */
.is-style-eyebrow,
.is-style-eyebrow-light { color: var(--red); font-size: 10px; line-height: 1.5; letter-spacing: 2.2px; font-weight: 700; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.is-style-eyebrow::before,
.is-style-eyebrow-light::before { content: ''; width: 28px; height: 2px; display: inline-block; flex: 0 0 auto; background: currentColor; }
.is-style-eyebrow-light { color: #8ce9f5; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { min-height: 730px; position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; background: var(--navy-deep); color: white; }
.hero-media { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 68% center; }
.hero-media::before,
.hero-media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-media::before { background: linear-gradient(90deg, #07131f 3%, rgba(7,19,31,.93) 32%, rgba(7,19,31,.34) 68%, rgba(7,19,31,.18)); }
.hero-media::after { background: linear-gradient(0deg, #07131f 0%, transparent 31%), radial-gradient(circle at 70% 50%, transparent 0 30%, rgba(4,14,24,.3) 75%); }
.hero::after,
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(90deg, black, transparent 65%); mask-image: linear-gradient(90deg, black, transparent 65%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 75px; }
.hero-copy { width: 650px; max-width: 61%; }
.hero h1 { font-size: clamp(56px, 5.4vw, 82px); line-height: .98; text-transform: uppercase; font-weight: 800; letter-spacing: -4px; margin: 0; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-lead { font-family: Manrope, sans-serif; font-size: 21px; font-weight: 600; margin: 26px 0 10px; }
.hero-body { max-width: 570px; color: #bdcbd7; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.network-chip { position: absolute; right: 0; bottom: 130px; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 14px; padding: 16px 20px; background: rgba(9,21,32,.8); border: 1px solid rgba(255,255,255,.15); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.network-chip::before { content: ''; grid-row: 1 / 3; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 7px rgba(241,59,32,.15); animation: pulse 2s infinite; }
.network-chip-label { grid-column: 2; color: #8ce9f5; font-size: 8px; letter-spacing: 1.5px; }
.network-chip-title { grid-column: 2; font-family: Manrope, sans-serif; font-weight: 700; font-size: 13px; margin-top: 4px; }
.hero-index { position: absolute; left: 20px; bottom: 120px; z-index: 2; writing-mode: vertical-rl; font-size: 8px; letter-spacing: 3px; color: #52697c; }

/* ==========================================================================
   Quote forms
   ========================================================================== */
.quote-wrap { position: relative; z-index: 5; margin-top: -76px; }
.quote-card { display: grid; grid-template-columns: 210px 1fr; background: white; box-shadow: var(--shadow); padding: 34px; min-height: 220px; }
.quote-title { padding: 9px 32px 0 2px; border-right: 1px solid var(--line); }
.quote-kicker { font-size: 9px; letter-spacing: 2px; color: var(--red); font-weight: 700; }
.quote-title h2 { font-size: 25px; line-height: 1.15; letter-spacing: -1px; margin-top: 13px; }
.quote-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 14px; padding-left: 32px; align-items: end; position: relative; }
.quote-form label, .tracking-form label { display: flex; flex-direction: column; gap: 8px; }
.quote-form label span, .tracking-form label > span { font-size: 9px; text-transform: uppercase; letter-spacing: 1.3px; font-weight: 700; color: #677789; }
.quote-form input, .quote-form select, .quote-form textarea, .tracking-form input { width: 100%; border: 0; border-bottom: 1px solid #cfd8e0; padding: 5px 0 10px; background: transparent; font: inherit; font-size: 13px; color: var(--navy); border-radius: 0; }
.quote-form textarea { border: 1px solid #cfd8e0; padding: 14px; resize: vertical; }
.quote-form select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%2364748b'/%3E%3C/svg%3E") right center no-repeat; }
.quote-form .button { width: 100%; }
.quote-form .nbc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-note { grid-column: 2; padding: 18px 0 0 32px; margin: 0; color: var(--gray); font-size: 10px; }
.form-success, .form-error { padding: 16px 20px; margin-top: 16px; background: #e3f8ed; color: #17643a; font-size: 12px; }
.form-error { background: #fdecea; color: #a1281a; }

/* ==========================================================================
   Section intro / headings
   ========================================================================== */
.section-intro { max-width: 720px; }
.section-intro h2 { font-size: clamp(38px, 4vw, 58px); line-height: 1.05; letter-spacing: -2.6px; text-transform: uppercase; margin: 0; }
.section-text { color: var(--gray); line-height: 1.8; margin-top: 20px; max-width: 650px; }
.split-heading { display: grid; grid-template-columns: 1.4fr .65fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.split-text { color: var(--gray); line-height: 1.8; margin: 0; }

/* ==========================================================================
   Services grid
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { color: var(--navy); min-height: 365px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: .3s; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: .3s; pointer-events: none; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); background: white; z-index: 2; }
.service-card:hover::after { transform: scaleX(1); }
.service-card.featured { background: var(--red); color: white; }
.service-card.featured::after { background: var(--navy); }
.service-top { display: flex; justify-content: space-between; color: var(--red); }
.service-number { font-size: 10px; letter-spacing: 2px; }
.featured .service-top { color: white; }
.service-sub { text-transform: uppercase; font-size: 9px; letter-spacing: 1.7px; color: var(--gray); }
.service-card h3 { font-size: 26px; margin: 8px 0 12px; letter-spacing: -1px; }
.service-text { color: var(--gray); font-size: 13px; line-height: 1.7; }
.featured .service-sub, .featured .service-text { color: rgba(255,255,255,.76) !important; }
.mini-highlight { font-size: 11px; line-height: 1.5; font-weight: 700; }
.card-link { text-transform: uppercase; letter-spacing: 1.2px; font-size: 9px; font-weight: 700; border-top: 1px solid rgba(100,116,139,.25); padding-top: 17px; }
.card-link a { display: flex; justify-content: space-between; align-items: center; color: inherit; }
.card-link a::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-link a::after { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--nbc-arrow) center / contain no-repeat; mask: var(--nbc-arrow) center / contain no-repeat; }

/* ==========================================================================
   Global network map
   ========================================================================== */
.global-section { background: var(--navy-deep); color: white; padding: 112px 0 70px; overflow: hidden; }
.on-dark h2 { color: white; }
.on-dark .section-text { color: #93a6b6; }
.map-wrap { margin-top: 30px; position: relative; min-height: 480px; }
.world-map { width: 100%; height: auto; overflow: visible; }
.routes path { fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-dasharray: 7 8; opacity: .8; animation: dash 13s linear infinite; }
.routes path:nth-child(even) { stroke: var(--red); animation-direction: reverse; }
.nodes circle { fill: var(--red); stroke: rgba(241,59,32,.25); stroke-width: 9; }
.map-label { position: absolute; color: #7790a2; font-size: 7px; letter-spacing: 1.7px; line-height: 1.5; }
.label-1 { left: 22%; top: 20%; }
.label-2 { right: 13%; bottom: 20%; }
.map-statement { position: absolute; z-index: 1; bottom: 10px; left: 28%; width: 45%; background: rgba(14,31,45,.88); border: 1px solid #2c4355; padding: 25px 30px; display: flex; align-items: center; gap: 18px; }
.map-statement-label { font-size: 8px; letter-spacing: 1.5px; color: var(--cyan); }
.map-statement-title { font-family: Manrope, sans-serif; font-weight: 700; font-size: 18px; }
.map-statement-link { margin-left: auto; }
.map-statement-link a { color: white; font-size: 10px; display: flex; align-items: center; gap: 7px; }
.map-statement-link a::after { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--nbc-arrow) center / contain no-repeat; mask: var(--nbc-arrow) center / contain no-repeat; }
.map-disclaimer { color: #647b8c; font-size: 9px; text-align: center; margin-top: 30px; }

/* ==========================================================================
   How it works
   ========================================================================== */
.process .section-intro { margin-bottom: 60px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ''; position: absolute; left: 7%; right: 7%; top: 26px; height: 1px; background: #ccd6df; }
.step { padding-right: 28px; position: relative; }
.step-number { width: 52px; height: 52px; border: 1px solid #ced8e0; background: white; color: var(--red); display: flex; align-items: center; justify-content: center; font: 700 11px Manrope, sans-serif; position: relative; z-index: 1; }
.step h3 { font-size: 17px; margin: 26px 0 10px; }
.step-desc { color: var(--gray); font-size: 12px; line-height: 1.7; }

/* ==========================================================================
   Courier feature
   ========================================================================== */
.parcel-section { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; background: var(--red); color: white; }
.parcel-image { position: relative; margin: 0; min-height: 100%; }
.parcel-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.parcel-image::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 70%, rgba(241,59,32,.3)); }
.parcel-copy { padding: 100px max(40px, calc((100vw - 1180px) / 2)) 90px 80px; }
.parcel-copy h2 { font-size: clamp(40px, 4vw, 60px); line-height: 1.03; text-transform: uppercase; letter-spacing: -2.7px; margin: 0; }
.parcel-text { color: rgba(255,255,255,.82); line-height: 1.8; max-width: 590px; }
.parcel-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 34px; }
.parcel-tags li { padding: 9px 11px; border: 1px solid rgba(255,255,255,.3); display: inline-flex; align-items: center; gap: 6px; font-size: 10px; }
.parcel-tags li::before,
.check-list li::before { content: ''; width: 14px; height: 14px; flex: 0 0 auto; background: currentColor; -webkit-mask: var(--nbc-check) center / contain no-repeat; mask: var(--nbc-check) center / contain no-repeat; }

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits { background: var(--cloud); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #dce3e9; border: 1px solid #dce3e9; }
.benefit { background: var(--cloud); padding: 35px; min-height: 210px; }
.benefit svg { color: var(--red); }
.benefit h3 { font-size: 17px; margin: 30px 0 10px; }
.benefit-text { color: var(--gray); font-size: 12px; line-height: 1.7; }

/* ==========================================================================
   Comparison
   ========================================================================== */
.comparison { background: var(--navy); color: white; padding: 110px 0; }
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; border: 1px solid #314456; }
.compare-card { padding: 36px; border-right: 1px solid #314456; }
.compare-card:last-child { border: 0; }
.compare-card svg { color: var(--cyan); }
.compare-card h3 { font-size: 23px; }
.compare-text { color: #94a6b5; min-height: 50px; font-size: 13px; }
.check-list li { border-top: 1px solid #314456; padding: 12px 0; display: flex; align-items: center; gap: 9px; font-size: 11px; color: #ced9e1; }
.check-list li::before { background: var(--red); }
p.text-cta { margin-top: 30px; }
.text-cta a, a.text-cta { color: white; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; border-bottom: 1px solid var(--red); padding-bottom: 7px; }
a.text-cta { margin-top: 30px; }
.text-cta a::after, a.text-cta::after { content: ''; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--nbc-arrow) center / contain no-repeat; mask: var(--nbc-arrow) center / contain no-repeat; }

/* ==========================================================================
   Final call to action
   ========================================================================== */
.final-cta { background: var(--red); color: white; padding: 70px 0; overflow: hidden; position: relative; }
.final-cta::after { content: '→'; position: absolute; right: -30px; top: -80px; font: 800 300px Manrope, sans-serif; color: rgba(255,255,255,.08); pointer-events: none; }
.final-cta > .container { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; position: relative; z-index: 1; }
.final-cta h2 { font-size: 44px; text-transform: uppercase; letter-spacing: -2px; margin: 0 0 12px; }
.final-text { max-width: 670px; color: rgba(255,255,255,.8); line-height: 1.7; font-size: 13px; }
.final-actions.wp-block-buttons { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 230px; }
.final-actions .wp-block-button, .final-actions .wp-block-button__link { width: 100%; }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero { background: var(--navy-deep); color: white; min-height: 570px; display: flex; align-items: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(25,188,224,.2); border-radius: 50%; right: -40px; top: 45px; box-shadow: 0 0 0 70px rgba(25,188,224,.03), 0 0 0 150px rgba(25,188,224,.025); pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 850px; font-size: clamp(50px, 6vw, 82px); line-height: .98; letter-spacing: -4px; text-transform: uppercase; margin: 0; font-weight: 800; }
.page-intro { max-width: 680px; color: #a7bac8; line-height: 1.8; margin: 25px 0 30px; }
.page-icon { position: absolute; right: 60px; bottom: -20px; color: rgba(25,188,224,.25); transform: scale(2.4); }

/* ==========================================================================
   Service detail, FAQ, About
   ========================================================================== */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.detail-grid h2 { font: 700 40px/1.1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: -2px; }
.detail-text { color: var(--gray); line-height: 1.8; }
.suitable-list { border-top: 1px solid var(--line); counter-reset: suit; }
.suitable-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font: 600 14px Manrope, sans-serif; counter-increment: suit; }
.suitable-list li::before { content: counter(suit, decimal-leading-zero); color: var(--red); font: 700 10px Inter, sans-serif; letter-spacing: 1px; }
.suitable-list li::after { content: ''; width: 20px; height: 20px; background: var(--cyan); -webkit-mask: var(--nbc-check) center / contain no-repeat; mask: var(--nbc-check) center / contain no-repeat; }
.faq { background: var(--cloud); }
.faq .section-intro { margin-bottom: 50px; }
.faq-grid { max-width: 850px; }
.faq details { border-top: 1px solid #ccd6df; padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid #ccd6df; }
.faq summary { list-style: none; font: 600 16px Manrope, sans-serif; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 22px; line-height: 1; }
.faq details p { color: var(--gray); font-size: 13px; line-height: 1.8; max-width: 720px; }
.manifesto { padding: 45px; background: var(--cloud); display: flex; flex-direction: column; gap: 25px; }
.manifesto-item { font: 700 20px Manrope, sans-serif; border-bottom: 1px solid #d6dfe6; padding-bottom: 25px; }

/* ==========================================================================
   Quote page, contact, tracking
   ========================================================================== */
.quote-full { padding: 110px 0; background: var(--cloud); min-height: 700px; }
.page-heading { max-width: 780px; margin-bottom: 55px; }
.page-heading.centered { text-align: center; margin-inline: auto; }
.page-heading.centered .is-style-eyebrow, .page-heading.centered .is-style-eyebrow-light { justify-content: center; }
.page-heading h1 { font: 800 clamp(48px, 6vw, 78px)/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: -3.5px; margin: 0; }
.page-heading-text { color: var(--gray); line-height: 1.8; max-width: 600px; margin: 20px auto; }
.quote-form--full { padding: 45px; background: white; box-shadow: var(--shadow); grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
.quote-form--full .wide { grid-column: 1 / -1; }
.quote-form--full .button { max-width: 260px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-grid .quote-form--full { grid-template-columns: 1fr; padding: 40px; }
.contact-grid .quote-form--full .wide { grid-column: auto; }
.contact-list { margin-top: 40px; display: flex; flex-direction: column; }
.contact-item { color: var(--navy); display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--line); padding: 22px 0; font-size: 13px; line-height: 1.8; }
.contact-label { color: var(--red); font-size: 8px; letter-spacing: 1.5px; }
.contact-value a:hover { color: var(--red); }
.tracking-page { min-height: 780px; padding: 120px 0; background: var(--navy-deep); color: white; position: relative; overflow: hidden; }
.tracking-page::before { content: ''; position: absolute; width: 700px; height: 700px; border: 1px solid rgba(25,188,224,.15); border-radius: 50%; left: calc(50% - 350px); top: 40px; box-shadow: 0 0 0 90px rgba(25,188,224,.025), 0 0 0 180px rgba(25,188,224,.015); pointer-events: none; }
.tracking-page .container { position: relative; }
.tracking-page .page-heading-text { color: #94a7b5; }
.tracking-form { max-width: 780px; margin: 0 auto; padding: 28px; background: white; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.tracking-form label > div { display: flex; }
.tracking-form input { color: var(--navy); padding: 15px; border: 0; }
.tracking-form label > span { margin: 0 0 8px 14px; }
.tracking-result { max-width: 780px; margin: 18px auto 0; border: 1px solid #2d4556; padding: 30px; background: rgba(15,33,47,.85); }
.tracking-result h3 { margin: 8px 0; }
.tracking-result p { color: #91a6b5; line-height: 1.7; font-size: 13px; }
.concept-badge { color: var(--cyan); font-size: 8px; letter-spacing: 1.5px; }
.concept-note { color: #647b8c; font-size: 9px; text-align: center; margin-top: 20px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #08131d; color: white; padding: 75px 0 25px; }
.footer-top { display: grid; grid-template-columns: 1.5fr .7fr 1fr 1.2fr; gap: 60px; }
.footer-tagline { font: 600 24px/1.25 Manrope, sans-serif; text-transform: uppercase; margin: 30px 0; }
.site-footer .socials.wp-block-social-links { display: flex; gap: 8px; font-size: 14px; margin: 0; padding: 0; }
.site-footer .socials .wp-social-link { width: 34px; height: 34px; margin: 0; border: 1px solid #304554; border-radius: 0; background: transparent !important; color: white !important; display: flex; align-items: center; justify-content: center; }
.site-footer .socials .wp-social-link a { padding: 0; color: inherit !important; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-heading { color: var(--cyan); font-size: 9px; letter-spacing: 1.7px; margin: 0 0 11px; }
.footer-col p, .footer-col a { color: #8fa3b2; font-size: 11px; line-height: 1.7; margin: 0; }
.footer-col a:hover { color: white; }
.footer-bottom { margin-top: 60px; padding-top: 20px; border-top: 1px solid #263847; display: flex; justify-content: space-between; color: #597080; font-size: 9px; }
.footer-bottom a { color: inherit; }
.footer-motto { letter-spacing: 1.5px; color: #7890a1; font-weight: 700; }

/* ==========================================================================
   Regular pages and blog posts (default templates)
   ========================================================================== */
.page-title-band { background: var(--navy-deep); color: white; padding: 110px 0 70px; position: relative; overflow: hidden; }
.page-title-band h1 { font: 800 clamp(40px, 5vw, 64px)/1 Manrope, sans-serif; text-transform: uppercase; letter-spacing: -3px; }
.page-title-band .wp-block-post-date { color: #8ce9f5; font-size: 11px; letter-spacing: 1.5px; margin-top: 18px; text-transform: uppercase; }
.nbc-prose { padding: 80px 0 110px; max-width: 820px; line-height: 1.8; }
.nbc-prose .entry-content > * + *, .nbc-prose > * + * { margin-top: 1.3em; }
.nbc-prose h2 { font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; margin-top: 1.8em; }
.nbc-prose h3 { font-size: 22px; font-weight: 700; line-height: 1.3; margin-top: 1.6em; }
.nbc-prose ul { list-style: disc; padding-left: 1.4em; }
.nbc-prose ol { list-style: decimal; padding-left: 1.4em; }
.nbc-prose a { color: var(--red); text-decoration: underline; }
.nbc-prose .wp-block-button__link { text-decoration: none; }
.nbc-prose blockquote { border-left: 3px solid var(--red); padding-left: 1.2em; font-family: Manrope, sans-serif; font-size: 20px; }
.nbc-post-list { padding: 80px 0 110px; }
.nbc-post-list .wp-block-post-template { display: grid; gap: 40px; }
.nbc-post-list .wp-block-post-title { font-size: 26px; font-weight: 700; letter-spacing: -1px; }
.nbc-post-list .wp-block-post-title a:hover { color: var(--red); }
.nbc-post-list .wp-block-post-date { color: var(--red); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.nbc-post-list .wp-block-post-excerpt { color: var(--gray); margin-top: 10px; }
.nbc-post-list .wp-block-query-pagination { margin-top: 50px; gap: 16px; }

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes dash { to { stroke-dashoffset: -150; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(241,59,32,0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1050px) {
	.header .nav-links { order: 3; margin-left: 0; }
	.nav-links .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.nav-links .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.nav-links .is-menu-open .mobile-only { display: block; }
	.nav { justify-content: flex-start; }
	.nav-actions { margin-left: auto; }
	.desktop-only { display: none !important; }
	.hero-copy { max-width: 72%; }
	.quote-card { grid-template-columns: 1fr; }
	.quote-title { border: 0; padding-bottom: 25px; }
	.quote-title h2 br { display: none; }
	.quote-form { padding: 0; }
	.quote-note { grid-column: 1; padding-left: 0; }
	.parcel-copy { padding-right: 40px; padding-left: 50px; }
	.page-icon { opacity: .4; }
}

@media (max-width: 760px) {
	.container { width: min(100% - 32px, 1180px); }
	.section { padding: 78px 0; }
	.header { height: 72px; }
	.logo-type { display: none; }
	.nav-actions .wp-block-button:not(.desktop-only) .wp-block-button__link { min-height: 40px; padding: 0 12px; font-size: 10px; }
	.nav-actions .wp-block-button .wp-block-button__link::after { display: none; }
	.hero { min-height: 700px; align-items: flex-start; padding-top: 100px; }
	.hero-media { bottom: auto; height: 56%; }
	.hero-media img { object-position: 63% top; }
	.hero-media::before { background: linear-gradient(180deg, rgba(7,19,31,.15), #07131f 116%); }
	.hero-media::after { background: linear-gradient(0deg, #07131f 0%, transparent 25%); }
	.hero::after { display: none; }
	.hero-content { padding-bottom: 40px; }
	.hero-copy { max-width: 100%; width: 100%; }
	.hero h1 { font-size: 49px; line-height: .98; letter-spacing: -3px; }
	.hero-lead { font-size: 16px; margin-top: 20px; }
	.hero-body { font-size: 13px; line-height: 1.7; }
	.hero-actions.wp-block-buttons { flex-direction: column; align-items: stretch; }
	.hero-actions .wp-block-button, .hero-actions .wp-block-button__link { width: 100%; }
	.network-chip, .hero-index { display: none; }
	.quote-wrap { margin-top: 0; }
	.quote-card { width: 100%; padding: 28px 16px; box-shadow: none; }
	.quote-title { padding-left: 0; }
	.quote-form { grid-template-columns: 1fr 1fr; }
	.quote-form .button { grid-column: 1 / -1; }
	.quote-note { font-size: 9px; }
	.section-intro h2 { font-size: 38px; letter-spacing: -2px; }
	.split-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
	.service-grid { grid-template-columns: 1fr; }
	.service-card { min-height: 300px; }
	.global-section { padding: 78px 0 55px; }
	.map-wrap { min-height: 310px; margin-top: 30px; }
	.world-map { transform: scale(1.35); transform-origin: center; margin-top: 40px; }
	.map-label { display: none; }
	.map-statement { left: 0; right: 0; bottom: 0; width: 100%; padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
	.map-statement-link { grid-column: 1 / -1; margin: 8px 0 0; }
	.map-disclaimer { text-align: left; }
	.timeline { grid-template-columns: 1fr; gap: 0; }
	.timeline::before { left: 25px; top: 0; bottom: 0; right: auto; height: auto; width: 1px; }
	.step { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 0 0 34px; }
	.step h3 { margin: 3px 0 8px; }
	.parcel-section { grid-template-columns: 1fr; }
	.parcel-image { min-height: 380px; }
	.parcel-copy { padding: 65px 20px; }
	.parcel-copy h2 { font-size: 39px; }
	.benefit-grid { grid-template-columns: 1fr 1fr; }
	.benefit { padding: 25px; }
	.comparison { padding: 78px 0; }
	.compare-grid { grid-template-columns: 1fr; }
	.compare-card { border-right: 0; border-bottom: 1px solid #314456; }
	.final-cta > .container { grid-template-columns: 1fr; gap: 25px; }
	.final-cta h2 { font-size: 36px; }
	.final-actions.wp-block-buttons { width: 100%; }
	.page-hero { min-height: 560px; }
	.page-hero h1 { font-size: 48px; letter-spacing: -3px; }
	.page-hero::after { width: 350px; height: 350px; right: -200px; }
	.page-icon { display: none; }
	.detail-grid { grid-template-columns: 1fr; gap: 40px; }
	.detail-grid h2 { font-size: 34px; }
	.quote-full { padding: 78px 0; }
	.page-heading h1 { font-size: 46px; }
	.quote-form--full { grid-template-columns: 1fr; padding: 28px 20px; }
	.quote-form--full .wide { grid-column: auto; }
	.contact-grid { grid-template-columns: 1fr; gap: 50px; }
	.contact-grid .quote-form--full { padding: 20px 0; box-shadow: none; }
	.tracking-page { padding: 80px 0; }
	.tracking-form { padding: 18px; }
	.tracking-form label > div { flex-direction: column; }
	.tracking-form input { padding: 14px 5px; }
	.tracking-result { padding: 22px; }
	.footer-top { grid-template-columns: 1fr 1fr; gap: 45px 25px; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom { flex-direction: column; gap: 12px; }
	.page-title-band { padding: 80px 0 50px; }
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 430px) {
	.hero h1 { font-size: 43px; }
	.quote-form { grid-template-columns: 1fr; }
	.quote-form .button { grid-column: auto; }
	.benefit-grid { grid-template-columns: 1fr; }
	.parcel-image { min-height: 330px; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-brand { grid-column: auto; }
	.page-hero h1 { font-size: 42px; }
}
