/* WordPress-specific additions on top of design.css. */

.op3-shell {
	font-family: 'Geist', sans-serif;
	color: #111;
	background: #fff;
	width: 100%;
	overflow: hidden;
	padding: 88px 14px 14px;
	box-sizing: border-box;
	line-height: normal;
}

/* Keep the fixed header below the admin bar. */
.admin-bar .site-header { top: 46px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 60px; } }

/* Framed hero used by PHP-written templates. */
.op3-hero {
	background: #F4F6FA;
	border-radius: 32px;
	padding: 18px clamp(16px, 3vw, 36px) clamp(20px, 2.4vw, 32px);
	position: relative;
	overflow: hidden;
	min-height: calc(100vh - 88px - (var(--hgap) * 2));
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}
.op3-hero-short { min-height: 320px; }
.op3-hero-title {
	font-weight: 550;
	font-size: clamp(42px, 6.6vw, 100px);
	line-height: .98;
	letter-spacing: -.05em;
	margin: 20px 0 0;
}
.op3-hero-title-small { font-size: clamp(34px, 5vw, 72px); }

/* Contact Form 7 laid out like the design's forms. */
.op3-form { flex: 1 1 460px; min-width: 0; }
.op3-form .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	align-content: start;
}
.op3-form .wpcf7-form > div:not(.wpcf7-response-output),
.op3-form .wpcf7-form > fieldset { display: none; }
.op3-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.op3-form label.op3-wide { grid-column: 1 / -1; }
.op3-form .ctc-input { width: 100%; box-sizing: border-box; }
.op3-form textarea.ctc-input { resize: vertical; }
.op3-form .op3-submit {
	grid-column: 1 / -1;
	justify-self: start;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	background: #1F5FD6;
	color: #fff;
	border: 1px solid transparent;
	padding: 16px 28px;
	border-radius: 999px;
	cursor: pointer;
}
.op3-form .wpcf7-form { position: relative; }
.op3-form .wpcf7-spinner { position: absolute; right: 0; bottom: 14px; margin: 0; }
.op3-form .wpcf7-response-output { grid-column: 1 / -1; margin: 0; border-radius: 14px; font-size: 14px; }
.op3-form .wpcf7-not-valid-tip { font-weight: 400; }

/* Featured images inside the blog tiles. */
.blog-card-img { overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card:hover .blog-tile img { opacity: .92; }
.blog-load-more button[hidden] { display: none; }

/* Editor content. */
.blog-article { overflow-wrap: break-word; }
.blog-article img { max-width: 100%; height: auto; }
.blog-article iframe { max-width: 100%; }
.blog-article .wp-block-table,
.blog-article figure.wp-block-table { overflow-x: auto; }
.blog-article .alignleft { float: left; margin: 0 20px 20px 0; }
.blog-article .alignright { float: right; margin: 0 0 20px 20px; }
.blog-article .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.blog-article #ez-toc-container { background: #F4F6FA; border-color: #E3E6EC; border-radius: 16px; padding: 18px 22px; }
.blog-article #ez-toc-container a { text-decoration: none; }
.blog-article h2, .blog-article h3 { scroll-margin-top: 100px; }
section[id] { scroll-margin-top: 88px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---- Google Ads city pages ---- */
.op3-city-hero { min-height: min(640px, calc(100vh - 88px - (var(--hgap) * 2))); }
.op3-city-hero-grid { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding: clamp(32px, 4vw, 56px) 0; }
.op3-city-hero-grid > div:first-child { flex: 1 1 520px; max-width: 900px; min-width: 0; }
.op3-city-title { font-size: clamp(36px, 5vw, 76px); line-height: 1.04; text-wrap: balance; }
.op3-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 40px; }
.op3-badge { display: flex; background: #fff; border: 1px solid #E3E6EC; border-radius: 16px; padding: 10px 14px; }
.op3-badge img { height: 72px; width: auto; }
.op3-rating-score { font-weight: 600; font-size: 34px; letter-spacing: -.03em; }
.op3-rating-score span { color: #1F5FD6; }
.op3-rating p { margin: 4px 0 0; font-size: 15px; color: #4A4F5A; max-width: 280px; line-height: 1.5; }
.op3-hero-stat { flex: 0 1 300px; background: #1F5FD6; color: #fff; border-radius: 28px; padding: 28px 32px; }
.op3-hero-stat span { font-weight: 600; font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.op3-hero-stat p { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: #DCE7FB; }

.op3-h2-wide { max-width: 820px; text-wrap: balance; }
.op3-logos-title { margin: 0 0 24px; font-size: 18px; font-weight: 600; }
.op3-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.op3-logos img { width: 100%; height: 76px; object-fit: contain; background: #F4F6FA; border-radius: 16px; padding: 14px; box-sizing: border-box; }

.op3-reasons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.op3-reason { flex: 1 1 300px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.op3-reason .ghost-num { position: absolute; top: -8px; right: 18px; z-index: 0; font-size: 100px; }
.op3-reason h3 { font-weight: 550; font-size: 24px; letter-spacing: -.03em; line-height: 1.2; margin: 0; }
.op3-reason p { font-size: 15px; line-height: 1.6; color: #4A4F5A; margin: 0; }
.op3-step-blue.op3-reason p { color: #DCE7FB; }

.op3-hook { max-width: 1360px; margin: 0 auto; background: #111; color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 80px) clamp(24px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 64px; }
.op3-hook h3 { flex: 1 1 460px; margin: 0; font-weight: 550; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
.op3-quote { flex: 1 1 280px; max-width: 420px; display: flex; gap: 18px; align-items: flex-start; }
.op3-quote img { border-radius: 50%; flex-shrink: 0; }
.op3-quote p { margin: 0; font-size: 16px; line-height: 1.65; color: #C9CDD6; }

.op3-service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 48px; border-top: 1px solid #E3E6EC; padding: 36px 0; }
.op3-service-num { font-weight: 600; font-size: 40px; color: #1F5FD6; letter-spacing: -.03em; }
.op3-service-name { margin: 6px 0 0; font-weight: 550; font-size: 28px; letter-spacing: -.03em; line-height: 1.15; }
.op3-service h3 { margin: 0 0 14px; font-weight: 550; font-size: 24px; letter-spacing: -.02em; }
.op3-service p, .op3-story p { font-size: 16px; line-height: 1.7; color: #4A4F5A; margin: 0 0 14px; max-width: 760px; }
.op3-service .op3-service-name { color: #111; font-size: 28px; line-height: 1.15; margin-bottom: 0; }
.op3-service .op3-service-sub { color: #111; font-weight: 600; margin-top: 24px; }
.op3-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.op3-points li { background: #F4F6FA; border-radius: 20px; padding: 22px 24px; }
.op3-points strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.op3-points p { font-size: 15px; margin-bottom: 10px; }
.op3-points p:last-child { margin-bottom: 0; }

.op3-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.op3-stats > div { display: flex; flex-direction: column; gap: 8px; }
.op3-stat-num { font-weight: 600; font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.op3-stat-label { font-weight: 600; font-size: 17px; }
.op3-stats p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: #DCE7FB; }
.op3-stat-dark { background: #111; color: #fff; }
.op3-stat-dark p { color: #C9CDD6; }
.op3-stat-cta { justify-content: space-between; align-items: flex-start; background: #DCE7FB; }
.op3-stat-quote { font-size: 40px; line-height: 1.1; }

.op3-story { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.op3-story > div { flex: 1 1 460px; min-width: 0; }
.op3-story > img { flex: 1 1 320px; max-width: 560px; width: 100%; height: auto; border-radius: 28px; }

.op3-faq { display: flex; flex-wrap: wrap; gap: 24px 64px; }
.op3-faq > h2 { flex: 1 1 300px; }
.op3-faq-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.op3-faq-list details { background: #F4F6FA; border: 1px solid #E3E6EC; border-radius: 20px; padding: 22px 26px; }
.op3-faq-list summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; }
.op3-faq-list details p { color: #4A4F5A; font-size: 16px; line-height: 1.65; margin: 14px 0 0; }

.op3-case { max-width: 1360px; margin: 0 auto; background: #F4F6FA; border-radius: 32px; padding: clamp(28px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 40px 64px; }
.op3-case > div { flex: 1 1 420px; min-width: 0; }
.op3-case p, .op3-case li { font-size: 16px; line-height: 1.7; color: #4A4F5A; }
.op3-case .op3-case-title { margin: 0 0 20px; font-weight: 550; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.04em; color: #111; text-wrap: balance; }
.op3-case .op3-case-lead { color: #174BB0; font-weight: 550; }
.op3-case-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.op3-case-figures > div { background: #fff; border: 1px solid #E3E6EC; border-radius: 20px; padding: 22px; }
.op3-case-figures span { font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.04em; color: #1F5FD6; }
.op3-case .op3-case-figures p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.op3-case-side img { display: block; width: 100%; height: auto; margin-top: 16px; border-radius: 20px; }

.op3-growth { grid-template-columns: repeat(3, 1fr); }
.op3-growth p { margin: 0; font-size: 19px; font-weight: 550; line-height: 1.4; letter-spacing: -.01em; }

@media (max-width: 900px) {
	.op3-stats { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.op3-service { grid-template-columns: 1fr; }
	.op3-hero-stat { flex-basis: 100%; }
}

/* ---- Thank-you and 404 pages ---- */
.op3-band { padding: clamp(28px, 3.5vw, 44px) clamp(16px, 3vw, 36px); }
.op3-wrap { max-width: 1360px; margin: 0 auto; border-top: 1px solid #E3E6EC; padding-top: clamp(36px, 4.5vw, 60px); }
.op3-h2 { font-weight: 550; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 32px; }
.op3-row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.op3-row-head .op3-h2 { margin: 0; }
.op3-lead { font-size: 18px; line-height: 1.6; color: #4A4F5A; margin: clamp(48px, 6vw, 88px) 0 0; max-width: 560px; }
.op3-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.op3-btn { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; text-decoration: none; padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; }
.op3-btn-blue { background: #1F5FD6; color: #fff; }
.op3-btn-dark { background: #111; color: #fff; }
.op3-btn-line { background: #fff; color: #111; border-color: #E3E6EC; overflow-wrap: anywhere; }
a.op3-btn-blue:hover, a.op3-btn-blue:focus-visible { color: #1F5FD6; }
.op3-btn-dark:hover { background: #fff; color: #1F5FD6; border-color: #1F5FD6; }
.op3-btn-line:hover { color: #1F5FD6; border-color: #1F5FD6; }
.op3-page a:focus-visible { outline: 3px solid #1F5FD6; outline-offset: 3px; }

/* Thank you: the drawn tick is the one animated moment. */
.op3-ty-hero, .op3-404-hero { min-height: min(640px, calc(100vh - 88px - (var(--hgap) * 2))); }
.op3-ty-copy, .op3-404-copy { position: relative; padding: clamp(32px, 4vw, 56px) 0; max-width: 900px; }
.op3-check { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: #1F5FD6; color: #fff; box-shadow: 0 14px 34px rgba(31, 95, 214, .3); margin-bottom: 12px; }
.op3-check path { stroke-dasharray: 44; animation: op3Tick .7s .35s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes op3Tick { from { stroke-dashoffset: 44; } to { stroke-dashoffset: 0; } }
.op3-steps { list-style: none; margin: 0; padding: 0; gap: 16px; }
.op3-step { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.op3-step .ghost-num { position: absolute; top: -8px; right: 18px; z-index: 0; font-size: 110px; }
.op3-step h3 { font-weight: 550; font-size: 24px; letter-spacing: -.03em; line-height: 1.2; margin: 0; }
.op3-step p { font-size: 15px; line-height: 1.6; color: #4A4F5A; margin: 0; }
.op3-step-blue { background: #1F5FD6; color: #fff; }
.op3-step-blue p { color: #DCE7FB; }
.op3-contact-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 16px; background: #F4F6FA; border-radius: 28px; padding: 28px 34px; }
.op3-contact-strip p { margin: 0; font-size: 17px; line-height: 1.5; max-width: 440px; }
.op3-contact-strip .op3-actions { margin: 0; }
/* The booking bar would ask someone to enquire again straight after enquiring. */
.page-template-thank-you .sticky-cta { display: none !important; }

/* 404 */
.op3-404-num { position: absolute; right: -.04em; top: 50%; transform: translateY(-50%); margin: 0; font-weight: 700; font-size: clamp(140px, 31vw, 480px); line-height: 1; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 2px rgba(31, 95, 214, .22); pointer-events: none; user-select: none; }
.op3-404-hero .op3-lead { margin-bottom: 24px; }
.op3-path { color: #111; font-weight: 600; overflow-wrap: anywhere; }
.op3-404-search { max-width: 560px; }
.op3-dest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.op3-dest .ind-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 20px; border-top: 1px solid #E3E6EC; text-decoration: none; color: #111; }
.op3-dest .ind-row div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.op3-dest-name { font-weight: 600; font-size: 22px; letter-spacing: -.03em; }
.op3-dest-text { font-size: 14px; color: #6B7080; }
.op3-dest .circ { flex-shrink: 0; }
@media (max-width: 760px) {
	.op3-dest { grid-template-columns: 1fr; }
	.op3-dest .ind-row { flex-wrap: nowrap; }
	.op3-dest .ind-row > span:last-child { width: 36px; margin: 0; }
	.op3-404-num { top: 12px; transform: none; opacity: .7; }
	.op3-contact-strip { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .op3-check path { animation: none; } }
