/*
Theme Name: FDTech UK
Theme URI: https://fdtech.uk/
Description: Lightweight block child theme for FDTech UK.
Author: FDTech UK
Template: twentytwentyfive
Version: 1.3.0
Text Domain: fdtech-uk
*/

:root {
	--fdt-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
	--fdt-border: #e2e8f0;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.wp-site-blocks { padding: 0; }
.fdt-site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 10px 35px rgba(2,6,23,.2); }
.admin-bar .fdt-site-header { top: 32px; }
.fdt-wordmark { margin: 0; white-space: nowrap; }
.fdt-wordmark a { color: #fff; text-decoration: none; }
.fdt-wordmark a::after { content: "."; color: #eebd2c; }
.fdt-site-header .wp-block-navigation-item__content { color: #cbd5e1; font-size: .9rem; font-weight: 700; }
.fdt-site-header .wp-block-navigation-item__content:hover { color: #fff; }
.fdt-header-cta .wp-block-button__link { padding: 0.72rem 1.05rem; font-size: .86rem; }

.fdt-hero {
	overflow: hidden;
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	background-color: #0b1120 !important;
	background-image: linear-gradient(90deg, #0b1120 0%, #0b1120 44%, rgba(11,17,32,.88) 58%, rgba(11,17,32,.18) 100%), url('https://fdtech.uk/wp-content/uploads/2026/07/dell-r740.jpg');
	background-size: cover;
	background-position: center right;
}
.fdt-hero::before { content: ""; position: absolute; inset: 0; opacity: .14; 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: 64px 64px; mask-image: linear-gradient(90deg,#000,transparent 70%); }
.fdt-hero::after {
	content: "";
	position: absolute;
	width: 34rem;
	height: 34rem;
	right: -16rem;
	top: -20rem;
	border-radius: 50%;
	background: rgba(238, 189, 44, 0.16);
}
.fdt-hero > .wp-block-group { position: relative; z-index: 2; width: 100%; }
.fdt-eyebrow { display: inline-flex; align-items: center; gap: .55rem; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; font-weight: 850; }
.fdt-hero .fdt-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.fdt-hero-copy { max-width: 650px; }
.fdt-hero h1 { max-width: 720px; letter-spacing: -.045em; text-wrap: balance; }
.fdt-hero .wp-block-button__link { padding: 1rem 1.5rem; }
.fdt-outline-button .wp-block-button__link { border: 1px solid #475569; background: transparent; color: #fff; }
.fdt-outline-button .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.fdt-stat-grid { position: relative; z-index: 4; background: #fff !important; box-shadow: 0 18px 50px rgba(15,23,42,.08); }
.fdt-stat { min-height: 100%; padding: .5rem 1.25rem; border-left: 1px solid #e2e8f0; }
.fdt-stat-grid .wp-block-column:first-child .fdt-stat { border-left: 0; }
.fdt-stat h3 { color: #0f172a !important; margin-bottom: .25rem; letter-spacing: -.04em; }
.fdt-stat p { color: #64748b !important; margin-top: 0; font-size: .7rem !important; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }

.fdt-section { padding-top: clamp(5rem, 8vw, 7.5rem); padding-bottom: clamp(5rem, 8vw, 7.5rem); }
.fdt-section-heading { max-width: 680px; }
.fdt-section-heading h2 { letter-spacing: -.035em; text-wrap: balance; }
.fdt-card { height: 100%; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); transition: transform .2s ease, box-shadow .2s ease; }
.fdt-card:hover { transform: translateY(-4px); box-shadow: var(--fdt-shadow); }
.fdt-card .wp-block-image { margin: 0; overflow: hidden; aspect-ratio: 16/10; background: #e2e8f0; }
.fdt-card .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.fdt-card:hover .wp-block-image img { transform: scale(1.025); }
.fdt-card-body { padding: 1.5rem; }
.fdt-card-kicker { color: #b78b07; font-size: 0.7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

.fdt-service-card { height: 100%; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.fdt-service-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: #eebd2c; color: #0f172a; font-weight: 900; }
.fdt-check-list { list-style: none; padding-left: 0; }
.fdt-check-list li { position: relative; padding-left: 1.65rem; margin-bottom: .65rem; }
.fdt-check-list li::before { content: "✓"; position: absolute; left: 0; color: #22c55e; font-weight: 900; }
.fdt-cta { border-radius: 18px; overflow: hidden; box-shadow: var(--fdt-shadow); background: #0f172a !important; position: relative; }
.fdt-cta::after { content: ""; position: absolute; right: -7rem; bottom: -10rem; width: 25rem; height: 25rem; border-radius: 50%; background: rgba(238,189,44,.12); }
.fdt-cta > * { position: relative; z-index: 2; }
.fdt-site-footer { border-top: 1px solid #334155; }
.fdt-site-footer a { color: #cbd5e1; }
.fdt-site-footer a:hover { color: #eebd2c; }
.fdt-page-hero { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.fdt-page-hero p { max-width: 700px; }
.fdt-process-step { height: 100%; border-left: 4px solid #eebd2c; border-radius: 0 14px 14px 0; }
.fdt-category-card { height: 100%; border: 1px solid var(--fdt-border); border-radius: 16px; }
.fdt-product-grid .fdt-card { min-height: 100%; }
.fdt-product-grid .wp-block-buttons { margin-top: auto; }
.fdt-form-wrap { border: 1px solid var(--fdt-border); border-radius: 18px; box-shadow: var(--fdt-shadow); }
.fdt-form { margin: 0; }
.fdt-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.fdt-form p { margin: 0 0 1.15rem; }
.fdt-form label { display: block; margin-bottom: .45rem; color: #0f172a; font-size: .9rem; font-weight: 750; }
.fdt-form input, .fdt-form select, .fdt-form textarea { width: 100%; box-sizing: border-box; padding: .8rem .9rem; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: #0f172a; font: inherit; }
.fdt-form textarea { resize: vertical; }
.fdt-form input:focus, .fdt-form select:focus, .fdt-form textarea:focus { outline: 3px solid rgba(37, 99, 235, .18); border-color: #2563eb; }
.fdt-form button { appearance: none; border: 0; border-radius: 10px; padding: .9rem 1.3rem; background: #eebd2c; color: #0f172a; font: inherit; font-weight: 800; cursor: pointer; }
.fdt-form button:hover { background: #f5c842; }
.fdt-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fdt-form-notice { margin-bottom: 1.25rem; padding: .9rem 1rem; border-radius: 9px; font-weight: 650; }
.fdt-form-notice.is-success { background: #dcfce7; color: #166534; }
.fdt-form-notice.is-error { background: #fee2e2; color: #991b1b; }
.fdt-contact-detail { height: 100%; border-radius: 14px; }
.fdt-policy-note { border-left: 4px solid #2563eb; }

@media (max-width: 781px) {
	.admin-bar .fdt-site-header { top: 46px; }
	.fdt-header-cta { display: none; }
	.fdt-hero { min-height: 590px; text-align: center; background-image: linear-gradient(rgba(11,17,32,.78),rgba(11,17,32,.94)), url('https://fdtech.uk/wp-content/uploads/2026/07/dell-r740.jpg'); background-position: 60% center; }
	.fdt-hero-copy { margin-inline: auto; }
	.fdt-hero .wp-block-buttons { justify-content: center; }
	.fdt-hero .fdt-eyebrow::before { display: none; }
	.fdt-stat-grid .wp-block-column { flex-basis: 46% !important; }
	.fdt-stat { border-left: 0; border-top: 1px solid #e2e8f0; text-align: center; }
	.fdt-form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 480px) {
	.fdt-hero { padding-top: 4rem !important; padding-bottom: 4rem !important; }
	.fdt-hero .wp-block-buttons, .fdt-hero .wp-block-button, .fdt-hero .wp-block-button__link { width: 100%; }
	.fdt-stat-grid .wp-block-column { flex-basis: 100% !important; }
	.fdt-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.fdt-card, .fdt-card img { transition: none; }
}

/* Simple five-page presentation. */
body { color: #0f172a; background: #fff; }
.fdt-site-header { position: relative; top: auto; box-shadow: none; border-bottom: 3px solid #eebd2c; }
.admin-bar .fdt-site-header { top: auto; }
.fdt-brand-logo { margin: 0; white-space: nowrap; font-size: 1.35rem; letter-spacing: -.04em; }
.fdt-brand-logo a { color: #fff; text-decoration: none; }
.fdt-brand-logo span { color: #eebd2c; }
.fdt-site-header .wp-block-navigation-item__content { color: #cbd5e1; font-size: .9rem; font-weight: 650; }
.fdt-site-header .wp-block-navigation-item__content:hover { color: #fff; text-decoration: underline; text-decoration-color: #eebd2c; text-underline-offset: 4px; }
.fdt-header-cta { display: flex; }
.fdt-eyebrow { display: block; letter-spacing: .08em; }
.fdt-eyebrow::before { display: none !important; }
.fdt-simple-hero, .fdt-page-hero { padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(4rem, 8vw, 6rem); background: linear-gradient(135deg,#0f172a,#1e293b) !important; color: #fff !important; border-bottom: 0; position: relative; overflow: hidden; }
.fdt-simple-hero::after, .fdt-page-hero::after { content: ""; position: absolute; right: -8rem; bottom: -13rem; width: 30rem; height: 30rem; border: 70px solid rgba(238,189,44,.12); border-radius: 50%; }
.fdt-simple-hero > div, .fdt-page-hero > div { position: relative; z-index: 2; }
.fdt-simple-hero h1, .fdt-page-hero h1 { max-width: 850px; margin-bottom: 1.25rem; letter-spacing: -.035em; }
.fdt-simple-hero p, .fdt-page-hero > div > p { max-width: 720px; }
.fdt-simple-hero .fdt-eyebrow, .fdt-page-hero .fdt-eyebrow { color: #eebd2c !important; }
.fdt-simple-hero .has-steel-color, .fdt-page-hero .has-steel-color { color: #cbd5e1 !important; }
.fdt-simple-section { padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.fdt-simple-section .wp-block-columns { gap: clamp(2rem, 5vw, 5rem); }
.fdt-simple-section h2, .fdt-simple-section h3 { letter-spacing: -.02em; }
.fdt-simple-section h2::after { content: ""; display: block; width: 52px; height: 4px; margin-top: .8rem; background: #eebd2c; }
.fdt-simple-section .wp-block-column { padding: 1.5rem; border-top: 3px solid #2563eb; background: rgba(255,255,255,.7); }
.fdt-simple-cta { padding-top: clamp(3.5rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.fdt-simple-cta .wp-block-group { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.fdt-simple-cta .wp-block-buttons { justify-content: center; }
.fdt-card, .fdt-service-card, .fdt-category-card, .fdt-process-step, .fdt-form-wrap, .fdt-contact-detail { border-radius: 8px; box-shadow: none; }
.fdt-card:hover { transform: none; box-shadow: none; }
.fdt-cta { border-radius: 8px; box-shadow: none; }
.fdt-cta::after { display: none; }
.wp-block-button__link { transition: none; }
.fdt-simple-hero .is-style-outline .wp-block-button__link { border-color: #eebd2c; color: #eebd2c !important; }
.fdt-simple-hero .is-style-outline .wp-block-button__link:hover { background: #eebd2c; color: #0f172a !important; }
.fdt-simple-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #eebd2c !important; color: #0f172a !important; }
.fdt-page-hero h1 { color: #fff; }
.fdt-form button { background: #eebd2c; }

@media (max-width: 781px) {
	.admin-bar .fdt-site-header { top: auto; }
	.fdt-header-cta { display: none; }
	.fdt-simple-hero, .fdt-page-hero { padding-top: 3.5rem; padding-bottom: 3.5rem; }
	.fdt-simple-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
