/*
Theme Name: Poytal
Theme URI: https://poytal.com/
Author: OpenAI Codex
Description: Clean mobile detailing theme for Poytal.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.9.4
Requires PHP: 7.4
Text Domain: poytal
*/

:root {
	--navy: #07195f;
	--blue: #0d7fdc;
	--sky: #7bd6ff;
	--ice: #f3f9ff;
	--text: #152645;
	--muted: #5f738d;
	--line: rgba(7, 25, 95, 0.12);
	--white: #ffffff;
	--shadow: 0 22px 60px rgba(6, 24, 71, 0.12);
	--radius: 26px;
	--shell: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Segoe UI", Arial, sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top left, rgba(123, 214, 255, 0.16), transparent 28%),
		linear-gradient(180deg, #fbfdff 0%, #eef7ff 100%);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.shell {
	width: min(calc(100% - 32px), var(--shell));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	padding: 16px 0;
	background: rgba(255, 255, 255, 0.74);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(7, 25, 95, 0.06);
	transition: padding 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.site-header.is-condensed {
	padding: 8px 0;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 10px 24px rgba(6, 24, 71, 0.08);
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	width: 168px;
}

.brand img {
	width: 100%;
}

.brand__svg {
	width: 100%;
	height: auto;
	display: block;
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
	position: relative;
	z-index: 60;
}

.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px 0;
	border-radius: 999px;
	background: var(--navy);
}

.nav {
	display: flex;
	align-items: center;
	gap: 18px;
}

.nav ul {
	display: flex;
	align-items: center;
	gap: 18px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.nav a {
	font-size: 0.96rem;
	font-weight: 700;
	color: var(--text);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 700;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button--primary {
	color: var(--white);
	background: linear-gradient(135deg, var(--blue), #32a6ff);
	box-shadow: 0 14px 28px rgba(13, 127, 220, 0.25);
}

.button--ghost {
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
}

.button--line {
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--navy);
}

.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #07195f 0%, #0b2d8f 45%, #0e7fda 100%);
	color: var(--white);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 18%, rgba(123, 214, 255, 0.24), transparent 18%),
		radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.12), transparent 20%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
}

.hero::after {
	content: "";
	position: absolute;
	inset: -30%;
	background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, 0.12) 50%, transparent 55%);
	animation: shine 9s linear infinite;
}

@keyframes shine {
	from { transform: translateX(-35%); }
	to { transform: translateX(35%); }
}

.hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
	gap: 36px;
	align-items: center;
	padding: 110px 0 82px;
}

.eyebrow {
	margin: 0 0 14px;
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #bfe9ff;
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.08;
}

h1 {
	font-size: clamp(2.8rem, 7vw, 5.3rem);
	letter-spacing: -0.04em;
	max-width: 10ch;
}

h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	letter-spacing: -0.03em;
	color: var(--navy);
}

h3 {
	font-size: clamp(1.2rem, 2.5vw, 1.5rem);
	color: var(--navy);
}

.hero__lead {
	max-width: 60ch;
	font-size: 1.08rem;
	color: rgba(255, 255, 255, 0.86);
	margin: 18px 0 0;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 26px;
}

.hero__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
}

.hero__meta li {
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px);
	font-weight: 700;
}

.hero-card,
.card,
.pricing-table-wrap,
.cta-box,
.contact-box {
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: var(--shadow);
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card {
	overflow: hidden;
}

.hero-card__image {
	background: rgba(255, 255, 255, 0.08);
	aspect-ratio: 16 / 10;
}

.hero-card__image img,
.hero-card__image svg,
.hero-card__image video {
	width: 100%;
	height: 100%;
}

.motion-visual {
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	height: 100%;
}

.motion-visual::after {
	content: "";
	position: absolute;
	inset: -10%;
	background: linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.08) 50%, transparent 62%);
	animation: sweep 14s linear infinite;
	pointer-events: none;
}

.motion-visual--hero {
	animation: none;
}

.motion-visual--service {
	animation: none;
}

.scene-svg {
	display: block;
	width: 100%;
	height: auto;
}

.motion-visual img,
.motion-visual video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.visual-row .card--image .motion-visual {
	aspect-ratio: 4 / 5;
}

.split .card--image .motion-visual,
.cards-3 .card--image .motion-visual {
	aspect-ratio: 4 / 3;
}

.media-link-badge {
	position: absolute;
	right: 18px;
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-radius: 999px;
	background: rgba(7, 25, 95, 0.82);
	color: #fff;
	font-weight: 700;
	backdrop-filter: blur(10px);
}

@keyframes sweep {
	from { transform: translateX(-35%); }
	to { transform: translateX(35%); }
}

@keyframes floaty {
	0%, 100% { transform: translateY(0) scale(1); }
	50% { transform: translateY(-6px) scale(1.01); }
}

.hero-card__body {
	padding: 24px;
	background: linear-gradient(180deg, rgba(7, 25, 95, 0.96), rgba(11, 48, 125, 0.9));
	backdrop-filter: blur(16px);
}

.hero-card__body h3,
.hero-card__body p {
	color: var(--white);
}

.hero-card__body .eyebrow {
	color: rgba(191, 233, 255, 0.92);
}

.section {
	padding: 82px 0 0;
}

.section-head {
	display: grid;
	gap: 10px;
	max-width: 760px;
	margin-bottom: 28px;
}

.section-copy {
	color: var(--muted);
}

.visual-row,
.cards-3,
.cards-2 {
	display: grid;
	gap: 22px;
}

.visual-row {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
	padding: 26px;
}

.card--image {
	padding: 0;
	overflow: hidden;
}

.card--image img {
	width: 100%;
}

.service-list,
.tick-list,
.footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.service-list li,
.tick-list li {
	position: relative;
	padding-left: 22px;
}

.service-list li::before,
.tick-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue), var(--sky));
	box-shadow: 0 0 0 5px rgba(13, 127, 220, 0.11);
}

.service-list--detailed {
	gap: 14px;
}

.service-list--detailed li {
	padding: 16px 16px 16px 26px;
	border-radius: 18px;
	background: linear-gradient(180deg, #f8fcff 0%, #eef7ff 100%);
	border: 1px solid var(--line);
}

.service-list--detailed li::before {
	top: 20px;
}

.price {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 14px;
	margin: 18px 0;
	padding: 14px 16px;
	border-radius: 18px;
	background: linear-gradient(180deg, #eef8ff 0%, #dff2ff 100%);
}

.price strong {
	font-size: 1.5rem;
	color: var(--navy);
}

.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 22px;
}

.tabs button {
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--text);
	padding: 12px 18px;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.tabs button.is-active {
	background: var(--navy);
	color: var(--white);
	border-color: transparent;
}

.pricing-table-wrap {
	padding: 18px;
	overflow-x: auto;
}

.vehicle-price-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}

.vehicle-price-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 14px;
	border-radius: 16px;
	background: linear-gradient(180deg, #f5fbff 0%, #eaf6ff 100%);
	border: 1px solid var(--line);
}

.vehicle-price-item strong {
	color: var(--navy);
	font-size: 1.05rem;
}

.pricing-table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
	padding: 15px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.pricing-table thead th {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
	gap: 24px;
}

.cta-band {
	margin-top: 82px;
	background: linear-gradient(135deg, #07195f 0%, #0d7fdc 100%);
	color: var(--white);
}

.cta-band__inner {
	padding: 48px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.page-hero {
	padding: 96px 0 8px;
}

.page-hero__lead {
	margin-top: 16px;
	max-width: 64ch;
	color: var(--muted);
}

.section--compact {
	padding-top: 24px;
}

.editor-content > :first-child {
	margin-top: 0;
}

.editor-content h2,
.editor-content h3,
.editor-content h4 {
	color: var(--navy);
}

.editor-content p,
.editor-content li {
	color: var(--muted);
}

.editor-content ul,
.editor-content ol {
	padding-left: 20px;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.contact-box {
	padding: 24px;
}

.site-footer {
	margin-top: 82px;
	padding: 70px 0 26px;
	background: #06194e;
	color: rgba(255, 255, 255, 0.88);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.site-footer h3 {
	margin-bottom: 14px;
	font-size: 1.04rem;
	color: var(--white);
}

.site-footer .brand {
	width: 150px;
}

.site-footer__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.site-footer__socials a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.88);
}

.social-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.88);
}

.social-pill--inactive {
	opacity: 0.72;
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
}

.social-icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.testimonials-marquee {
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.testimonials-track {
	display: flex;
	gap: 20px;
	width: max-content;
	animation: testimonial-slide 34s linear infinite;
}

.testimonial-card {
	width: min(380px, calc(100vw - 48px));
	padding: 26px;
	border-radius: var(--radius);
	background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.testimonial-card__quote {
	margin: 0;
	font-size: 1rem;
	color: var(--text);
}

.testimonial-card__name {
	margin: 18px 0 4px;
	font-weight: 800;
	color: var(--navy);
}

.testimonial-card__context {
	margin: 0;
	color: var(--muted);
}

@keyframes testimonial-slide {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
	.hero__grid,
	.split,
	.site-footer__grid,
	.visual-row,
	.cards-3,
	.cards-2,
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.hero__meta {
		grid-template-columns: 1fr;
	}

	.testimonial-card {
		width: 320px;
	}
}

@media (max-width: 820px) {
	.nav-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		border-radius: 14px;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 8px 20px rgba(6, 24, 71, 0.12);
	}

	.nav {
		position: absolute;
		top: calc(100% + 1px);
		left: 16px;
		right: 16px;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 18px;
		border-radius: 22px;
		background: rgba(255, 255, 255, 0.98);
		box-shadow: var(--shadow);
		border: 1px solid var(--line);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-10px);
		transition: all 0.22s ease;
		z-index: 55;
		visibility: hidden;
	}

	.nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		visibility: visible;
	}

	.nav ul {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 14px;
	}

	.nav li,
	.nav a {
		width: 100%;
	}

	.cta-band__inner,
	.site-footer__meta,
	.hero__actions {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero__actions .button,
	.nav .button,
	.cta-band .button {
		width: 100%;
	}
}
