/* Fast Clouds - site styles. Tokens come from theme.json (--wp--preset--*). */

:root {
	--fc-navy: var(--wp--preset--color--navy);
	--fc-blue: var(--wp--preset--color--primary);
	--fc-blue-dark: var(--wp--preset--color--primary-dark);
	--fc-sky: var(--wp--preset--color--sky);
	--fc-green: var(--wp--preset--color--green);
	--fc-ink: var(--wp--preset--color--ink);
	--fc-muted: var(--wp--preset--color--muted);
	--fc-line: var(--wp--preset--color--line);
	--fc-soft: var(--wp--preset--color--soft);
	--fc-radius: 16px;
	--fc-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--fc-shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 40px rgba(15, 23, 42, .10);
}

body { -webkit-font-smoothing: antialiased; }
p { color: inherit; }
.wp-site-blocks { padding-top: 0; }
main.wp-block-group { margin-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(.wp-block-group.alignfull) { margin-block-start: 0; }

/* ---------- Top bar ---------- */
.fc-topbar {
	background: var(--fc-navy);
	color: #c8d3e6;
	font-size: .82rem;
	padding-block: .45rem;
}
.fc-topbar p { margin: 0; }
.fc-topbar a { color: #fff; }
.fc-topbar a:hover { color: var(--fc-sky); }
.fc-topbar .fc-ih::before { width: 15px; height: 15px; margin: 0 .4rem 0 0; display: inline-block; vertical-align: -3px; background: var(--fc-sky); }

/* ---------- Header ---------- */
.fc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid var(--fc-line);
	padding-block: .7rem;
}
.admin-bar .fc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fc-header { top: 0; } }
.fc-header .wp-block-site-logo img { height: auto; max-width: min(230px, 48vw); }
.fc-header .wp-block-navigation { font-weight: 600; font-size: .95rem; gap: 1.6rem; }
.fc-header .wp-block-navigation a:hover { color: var(--fc-blue); }
.fc-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--fc-line) !important;
	border-radius: 12px;
	box-shadow: var(--fc-shadow-hover);
	padding: .5rem !important;
	min-width: 240px !important;
}
.fc-header .wp-block-navigation__submenu-container a { border-radius: 8px; padding: .55rem .8rem !important; font-weight: 500; }
.fc-header .wp-block-navigation__submenu-container a:hover { background: var(--fc-soft); }
.fc-header .wp-block-button__link { padding: .65rem 1.2rem; font-size: .92rem; }
@media (max-width: 900px) { .fc-header .fc-header-cta { display: none; } }

/* ---------- Generic sections ---------- */
.fc-section { padding-block: var(--wp--preset--spacing--60); }
.fc-section--soft { background: var(--fc-soft); }
.fc-section--dark { background: var(--fc-navy); color: #d6deee; }
.fc-section--dark :where(h1, h2, h3, h4) { color: #fff; }
.fc-center { text-align: center; }
.fc-center .fc-lead { margin-inline: auto; }
.fc-eyebrow {
	color: var(--fc-blue);
	font-size: .8rem !important;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: .5rem !important;
}
.fc-section--dark .fc-eyebrow, .fc-hero .fc-eyebrow, .fc-page-hero .fc-eyebrow { color: var(--fc-sky); }
.fc-lead { font-size: 1.15rem; color: var(--fc-muted); max-width: 760px; }
.fc-section--dark .fc-lead { color: #b8c4da; }
.fc-section-head { margin-bottom: var(--wp--preset--spacing--50) !important; }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--fc-blue);
	border: 2px solid currentColor;
	padding: calc(.8rem - 2px) calc(1.5rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--fc-blue); color: #fff; border-color: var(--fc-blue); }
.fc-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.fc-page-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.fc-section--dark .wp-block-button.is-style-outline > .wp-block-button__link,
.fc-cta .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.fc-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fc-page-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fc-section--dark .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fc-cta .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--fc-navy); border-color: #fff; }
.fc-btn-block { width: 100%; }
.fc-btn-block .wp-block-button { flex: 1 1 100%; width: 100%; }
.fc-btn-block .wp-block-button__link { width: 100%; box-sizing: border-box; }

/* ---------- Home hero ---------- */
.fc-hero {
	position: relative;
	color: #dbe4f3;
	background:
		linear-gradient(90deg, rgba(8, 18, 42, .97) 0%, rgba(8, 18, 42, .88) 45%, rgba(8, 18, 42, .45) 100%),
		url("../img/hero-datacenter.jpg") center right / cover no-repeat,
		var(--fc-navy);
	padding-top: clamp(3.5rem, 8vw, 6.5rem);
	padding-bottom: 2rem;
}
.fc-hero h1 { color: #fff; max-width: 680px; margin-top: 0; }
.fc-hero .fc-lead { color: #c3cfe4; max-width: 600px; }
.fc-hero-points { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .55rem; }
.fc-hero-points li { position: relative; padding-left: 1.9rem; color: #dbe4f3; line-height: 1.5; }
.fc-hero-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 20px;
	height: 20px;
	background: var(--fc-sky);
	-webkit-mask: var(--fc-icon-check) center / contain no-repeat;
	mask: var(--fc-icon-check) center / contain no-repeat;
}
.fc-hero-points strong { color: #fff; }
.fc-hero-tabs { margin-top: clamp(2.5rem, 6vw, 4.5rem) !important; }
.fc-hero-tabs > .wp-block-group { border-top: 2px solid rgba(255, 255, 255, .22); padding-top: .9rem; transition: border-color .2s; }
.fc-hero-tabs > .wp-block-group:hover { border-color: var(--fc-sky); }
.fc-hero-tabs h3 { color: #fff; font-size: .8rem !important; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .3rem; }
.fc-hero-tabs h3 a { color: inherit; }
.fc-hero-tabs p { font-size: .88rem; color: #aebbd3; margin: 0; line-height: 1.5; }

/* ---------- Inner page hero ---------- */
.fc-page-hero {
	color: #c3cfe4;
	background:
		radial-gradient(900px 400px at 85% -10%, rgba(56, 182, 240, .28), transparent 60%),
		radial-gradient(700px 380px at 0% 120%, rgba(18, 121, 198, .35), transparent 60%),
		var(--fc-navy);
	padding-block: clamp(3.5rem, 8vw, 6rem);
}
.fc-page-hero h1 { color: #fff; margin-top: 0; font-size: clamp(2.1rem, 4.5vw, 3rem) !important; max-width: 820px; }
.fc-page-hero .fc-lead { color: #c3cfe4; }
.fc-page-hero .fc-price-note { color: #fff; font-weight: 600; }
.fc-page-hero .fc-price-note strong { color: var(--fc-sky); font-size: 1.4rem; }

/* ---------- Cards ---------- */
/* grid gaps come from theme.json blockGap: WordPress sizes grid columns with that value */
.fc-card {
	background: #fff;
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-radius);
	padding: clamp(1.4rem, 3vw, 2rem) !important;
	box-shadow: var(--fc-shadow);
	transition: box-shadow .2s, transform .2s, border-color .2s;
	height: 100%;
	box-sizing: border-box;
}
.fc-card:hover { box-shadow: var(--fc-shadow-hover); transform: translateY(-2px); border-color: #d3dceb; }
.fc-card > :first-child { margin-top: 0; }
.fc-card > :last-child { margin-bottom: 0; }
.fc-card h3 { margin-bottom: .5rem; }
.fc-card p { color: var(--fc-muted); margin-top: 0; }
.fc-section--dark .fc-card { background: var(--wp--preset--color--navy-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.fc-section--dark .fc-card p { color: #b8c4da; }

/* Plan cards */
.fc-plan { display: flex; flex-direction: column; position: relative; }
.fc-plan .fc-plan-body { flex: 1; }
.fc-plan .wp-block-buttons { margin-top: 1.25rem; }
.fc-plan--featured { border: 2px solid var(--fc-blue); }
.fc-badge {
	display: inline-block;
	background: rgba(18, 121, 198, .1);
	color: var(--fc-blue);
	font-size: .75rem !important;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: .3rem .75rem;
	margin: 0 0 .9rem !important;
	align-self: flex-start;
}
.fc-badge--green { background: rgba(60, 138, 46, .12); color: var(--fc-green); }
.fc-price { font-size: 2.3rem !important; font-weight: 800; color: var(--fc-ink); line-height: 1.1; margin: .6rem 0 0 !important; letter-spacing: -.02em; }
.fc-price small, .fc-price sub { font-size: .95rem; font-weight: 500; color: var(--fc-muted); letter-spacing: 0; }
.fc-price-label { font-size: .8rem !important; color: var(--fc-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin: 1.1rem 0 0 !important; }
.fc-price--quote { font-size: 1.5rem !important; }

/* Lists */
.fc-arrows, .fc-checks { list-style: none; padding-left: 0 !important; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.fc-arrows li, .fc-checks li { position: relative; padding-left: 1.75rem; color: var(--fc-ink); line-height: 1.5; }
.fc-arrows li::before, .fc-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 18px;
	height: 18px;
	background: var(--fc-blue);
	-webkit-mask: var(--fc-icon-arrow) center / contain no-repeat;
	mask: var(--fc-icon-arrow) center / contain no-repeat;
}
.fc-checks li::before { background: var(--fc-green); -webkit-mask-image: var(--fc-icon-check); mask-image: var(--fc-icon-check); }
.fc-section--dark .fc-arrows li, .fc-section--dark .fc-checks li { color: #dbe4f3; }
.fc-cols-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 2rem; }

/* Icon headings: <h3 class="fc-ih fc-i-shield"> */
.fc-ih::before {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	margin-bottom: 1rem;
	background: var(--fc-blue);
	-webkit-mask: var(--fc-icon) center / contain no-repeat;
	mask: var(--fc-icon) center / contain no-repeat;
}
.fc-card .fc-ih::before {
	width: 28px;
	height: 28px;
	padding: 13px;
	border-radius: 14px;
	box-sizing: content-box;
	background: var(--fc-blue);
	-webkit-mask: none;
	mask: none;
	background-image: none;
	box-shadow: none;
}
/* the card icon tile: a soft square with the glyph drawn by a second layer */
.fc-card .fc-ih { position: relative; }
.fc-card .fc-ih::before { background: rgba(18, 121, 198, .1); }
.fc-card .fc-ih::after {
	content: "";
	position: absolute;
	left: 13px;
	top: 13px;
	width: 28px;
	height: 28px;
	background: var(--fc-blue);
	-webkit-mask: var(--fc-icon) center / contain no-repeat;
	mask: var(--fc-icon) center / contain no-repeat;
}
.fc-section--dark .fc-card .fc-ih::before { background: rgba(56, 182, 240, .14); }
.fc-section--dark .fc-card .fc-ih::after { background: var(--fc-sky); }

/* ---------- Stats ---------- */
.fc-stats { row-gap: 1.2rem; }
.fc-stats > .wp-block-group { text-align: center; padding: .5rem 1rem; }
.fc-stats > .wp-block-group + .wp-block-group { border-left: 1px solid var(--fc-line); }
.fc-section--dark .fc-stats > .wp-block-group + .wp-block-group { border-left-color: rgba(255, 255, 255, .14); }
.fc-stat-num { font-size: clamp(2.2rem, 4vw, 3rem) !important; font-weight: 800; letter-spacing: -.03em; color: var(--fc-blue); line-height: 1.1; margin: 0 !important; }
.fc-section--dark .fc-stat-num { color: #fff; }
.fc-stat-label { margin: .3rem 0 0 !important; color: var(--fc-muted); font-size: .95rem; }
.fc-section--dark .fc-stat-label { color: #aebbd3; }
@media (max-width: 781px) {
	.fc-stats > .wp-block-group + .wp-block-group { border-left: 0; border-top: 1px solid var(--fc-line); padding-top: 1.2rem; }
	.fc-section--dark .fc-stats > .wp-block-group + .wp-block-group { border-top-color: rgba(255, 255, 255, .14); }
}

/* Locations / chips */
.fc-chips { gap: .75rem !important; }
.fc-chip {
	border: 1px solid var(--fc-line);
	background: #fff;
	border-radius: 999px;
	padding: .55rem 1.1rem !important;
	font-weight: 600;
	color: var(--fc-ink);
	margin: 0 !important;
}
.fc-chip.fc-ih::before { display: inline-block; width: 16px; height: 16px; margin: 0 .45rem 0 0; vertical-align: -2px; }
.fc-section--dark .fc-chip { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .18); }
.fc-section--dark .fc-chip.fc-ih::before { background: var(--fc-sky); }

/* ---------- Media + text ---------- */
.fc-media img { border-radius: var(--fc-radius); width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--fc-shadow-hover); display: block; }
.fc-media { margin: 0 !important; }

/* ---------- FAQ ---------- */
.fc-faq { gap: .75rem !important; }
.fc-faq { align-items: stretch !important; }
.fc-faq .wp-block-details {
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--fc-line);
	border-radius: 12px;
	padding: 1.05rem 1.3rem;
}
.fc-faq .wp-block-details[open] { box-shadow: var(--fc-shadow); }
.fc-faq summary { font-weight: 650; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.fc-faq summary::-webkit-details-marker { display: none; }
.fc-faq summary::after { content: "+"; position: absolute; right: 0; top: -.15rem; font-size: 1.4rem; color: var(--fc-blue); font-weight: 400; }
.fc-faq details[open] summary::after { content: "\2212"; }
.fc-faq details p { color: var(--fc-muted); margin: .7rem 0 0; }

/* ---------- CTA band ---------- */
.fc-cta {
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(56, 182, 240, .35), transparent 60%),
		linear-gradient(120deg, var(--fc-blue-dark), var(--fc-blue));
	color: #e6f1fb;
	border-radius: 24px;
	padding: clamp(2rem, 5vw, 3.5rem) !important;
}
.fc-cta h2 { color: #fff; margin-top: 0; }
.fc-cta p { color: #d6e8f8; }
.fc-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; color: var(--fc-blue-dark); }
.fc-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--fc-navy); color: #fff; }

/* ---------- Contact ---------- */
.fc-contact-list p { margin: 0; }
.fc-contact-list a { font-weight: 600; }
.wpcf7 form { display: grid; gap: 1rem; }
.wpcf7 form p { margin: 0; }
.wpcf7 label { font-weight: 600; font-size: .92rem; display: block; color: var(--fc-ink); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	width: 100%;
	box-sizing: border-box;
	margin-top: .35rem;
	border: 1px solid #cfd8e6;
	border-radius: 10px;
	padding: .75rem .9rem;
	font: inherit;
	font-size: 1rem;
	background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--fc-blue); box-shadow: 0 0 0 3px rgba(18, 121, 198, .15); }
.wpcf7 input[type="submit"] {
	background: var(--fc-blue);
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: .85rem 1.6rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	justify-self: start;
}
.wpcf7 input[type="submit"]:hover { background: var(--fc-blue-dark); }
.fc-form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .fc-form-row { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.fc-posts .wp-block-post {
	background: #fff;
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-radius);
	overflow: hidden;
	box-shadow: var(--fc-shadow);
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s, transform .2s;
}
.fc-posts .wp-block-post:hover { box-shadow: var(--fc-shadow-hover); transform: translateY(-2px); }
.fc-posts .wp-block-post-featured-image { margin: 0; }
.fc-posts .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.fc-post-card-body { padding: 1.25rem 1.4rem 1.5rem !important; }
.fc-post-card-body > * { margin-block: 0 .5rem !important; }
.fc-posts .wp-block-post-title { font-size: 1.15rem !important; line-height: 1.35; }
.fc-posts .wp-block-post-title a { color: var(--fc-ink); }
.fc-posts .wp-block-post-title a:hover { color: var(--fc-blue); }
.fc-posts .wp-block-post-date, .fc-meta { font-size: .82rem; color: var(--fc-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.fc-posts .wp-block-post-excerpt__excerpt { color: var(--fc-muted); font-size: .95rem; margin: 0; }
.wp-block-query-pagination { margin-top: 2.5rem !important; font-weight: 600; }
.wp-block-query-pagination-numbers .page-numbers { padding: .4rem .75rem; border-radius: 8px; }
.wp-block-query-pagination-numbers .current { background: var(--fc-blue); color: #fff; }

.fc-article { font-size: 1.08rem; }
.fc-article h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.fc-article h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.fc-article p, .fc-article li { color: #334155; }
.fc-article img { border-radius: 12px; }
.fc-single-image img { border-radius: var(--fc-radius); aspect-ratio: 21 / 9; object-fit: cover; box-shadow: var(--fc-shadow-hover); }
.fc-terms a { background: rgba(56, 182, 240, .15); color: #fff; border-radius: 999px; padding: .25rem .7rem; font-size: .8rem; font-weight: 600; }
.fc-terms .wp-block-post-terms__separator { display: none; }
.fc-terms { display: flex; gap: .4rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.fc-footer { background: var(--fc-navy); color: #aebbd3; font-size: .95rem; padding-top: var(--wp--preset--spacing--60); padding-bottom: 2rem; }
.fc-footer h3 { color: #fff; font-size: .82rem !important; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 1rem; }
.fc-footer a { color: #d6deee; }
.fc-footer a:hover { color: var(--fc-sky); }
.fc-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fc-footer-logo {
	width: 210px;
	height: 28px;
	background: url("../img/logo-horizontal-white.png") left center / contain no-repeat;
	margin-bottom: 1.2rem;
}
.fc-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem !important; padding-top: 1.5rem; font-size: .85rem; }
.fc-footer-bottom p { margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.fc-hero { background-position: 70% center; }
	.fc-hide-mobile { display: none !important; }
}

/* ---------- Fixes ---------- */
.wpcf7-form-control-wrap { display: block; }
.wpcf7 .fc-form-row label, .wpcf7 form > label { display: block; }
.wpcf7 .wpcf7-submit { margin-top: .25rem; }
.fc-page-hero .fc-meta, .fc-page-hero .wp-block-post-date { color: #9fb0cc; }
