/* ============================================
   MAP Centre | Kids Detailing Studio
   Colors: RAL 1015 (ivory) / RAL 020-20-29 (burgundy) / RAL 9011 (graphite black)
   Font: Outfit (thin/geometric to match logo)
   ============================================ */

:root {
    --ivory: #E6D2B5;
    --ivory-light: #F2E8D5;
    --burgundy: #75263D;
    --burgundy-light: #8A2438;
    --burgundy-glow: rgba(107, 26, 42, 0.4);
    --black: #141414;
    --black-light: #181818;
    --black-card: #1E1E1E;
    --black-elevated: #1E1E1E;
    --gray: #888;
    --gray-light: #AAA;
    --white: #F5F0E8;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, visibility 0.3s;
}
.preloader.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* Failsafe: hide quickly if JS is slow (Safari) */
.preloader {
    animation: preloaderAutoHide 0.35s 0.9s forwards;
}
@keyframes preloaderAutoHide {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}
noscript .preloader {
    display: none !important;
}
.preloader-logo { text-align: center; }
.preloader-img {
    width: 200px;
    height: auto;
    opacity: 0;
    animation: preloaderFadeIn 0.45s 0.05s ease forwards;
}
@keyframes preloaderFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}
.header.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(232, 213, 181, 0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-img {
    height: 40px;
    width: auto;
}
.header.scrolled .logo-img { height: 32px; }

/* Nav */
.nav { display: flex; gap: 28px; }
.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--gray-light);
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy-light);
    transition: var(--transition);
}
.nav-link:hover { color: var(--ivory); }
.nav-link:hover::after { width: 100%; }

.header-phone {
    font-size: 13px;
    font-weight: 400;
    color: var(--ivory);
    letter-spacing: 0.5px;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.burger span {
    width: 24px;
    height: 1.5px;
    background: var(--ivory);
    transition: var(--transition);
    border-radius: 1px;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-nav-link {
    font-size: 24px;
    font-weight: 300;
    color: var(--ivory);
    transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--burgundy-light); }
.mobile-phone {
    font-size: 18px;
    font-weight: 400;
    color: var(--burgundy-light);
    margin-top: 16px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--burgundy);
    color: var(--ivory-light);
    border: none;
}
.btn-primary:hover {
    background: var(--burgundy-light);
    box-shadow: 0 8px 30px var(--burgundy-glow);
    transform: translateY(-1px);
}
.btn-outline {
    background: rgba(232, 213, 181, 0.06);
    color: var(--ivory);
    border: none;
}
.btn-outline:hover {
    background: rgba(232, 213, 181, 0.12);
}
.btn-full { width: 100%; }

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}
.section-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--burgundy-light);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--ivory);
}
.text-accent { color: var(--burgundy-light); }
.section-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-color: #0d0d0d;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.8) 35%, rgba(13, 13, 13, 0.3) 70%, rgba(13, 13, 13, 0.15) 100%);
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(107, 26, 42, 0.06);
    z-index: 1;
}

/* Decorative brandmark */
.hero-deco {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
    animation: decoFloat 8s ease-in-out infinite;
}
.hero-deco-img {
    width: 100%;
    height: auto;
    filter: grayscale(1) brightness(2);
}
@keyframes decoFloat {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-52%) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 24px 80px;
}
.hero-text {
    max-width: 640px;
    position: relative;
}

/* Accent line */
.hero-accent-line {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, var(--burgundy-light), transparent);
    margin-bottom: 40px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 200;
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}
.hero-title-line { display: block; }
.hero-title-accent {
    color: var(--burgundy-light);
    font-weight: 300;
}
.hero-desc {
    font-size: 16px;
    color: var(--gray);
    max-width: 440px;
    margin-bottom: 36px;
    line-height: 1.7;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 56px;
}

/* Hero Stats — compact inline */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}
.stat-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 0 28px;
}
.stat-item:first-child { padding-left: 0; }
.stat-number {
    font-size: 28px;
    font-weight: 200;
    color: var(--ivory);
    line-height: 1;
}
.stat-suffix {
    font-size: 16px;
    font-weight: 300;
    color: var(--burgundy-light);
}
.stat-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-transform: lowercase;
}
.stat-divider {
    width: 1px;
    height: 24px;
    background: rgba(232, 213, 181, 0.12);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 1.5px solid rgba(232, 213, 181, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.scroll-dot {
    width: 2px;
    height: 8px;
    background: var(--ivory);
    border-radius: 2px;
    animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

/* ============================================
   About
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-text {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 16px;
    line-height: 1.7;
    font-weight: 300;
}
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(107, 26, 42, 0.12);
    border: 1px solid rgba(107, 26, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-light);
}
.feature-item h4 {
    font-size: 15px;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 2px;
}
.feature-item p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.5;
    font-weight: 300;
}

.about-visual { position: relative; }
.about-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(232, 213, 181, 0.08);
}
.about-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/* ============================================
   Services
   ============================================ */
.services { background: var(--black-light); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--black-card);
    border: 1px solid rgba(232, 213, 181, 0.06);
    border-radius: 16px;
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--burgundy), transparent);
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    border-color: rgba(107, 26, 42, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(107, 26, 42, 0.1);
    border: 1px solid rgba(107, 26, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy-light);
    margin-bottom: 24px;
}
.service-card h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 12px;
}
.service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}
.service-price {
    font-size: 14px;
    font-weight: 400;
    color: var(--burgundy-light);
    padding-top: 16px;
    border-top: 1px solid rgba(232, 213, 181, 0.06);
}

/* ============================================
   Pricing
   ============================================ */
.price-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.price-tab {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    background: var(--black-card);
    border: 1px solid rgba(232, 213, 181, 0.06);
    border-radius: 8px;
    transition: var(--transition);
}
.price-tab:hover { color: var(--ivory); border-color: rgba(232, 213, 181, 0.15); }
.price-tab.active {
    background: var(--burgundy);
    color: var(--ivory-light);
    border-color: var(--burgundy);
}

.price-table-wrap { display: none; }
.price-table-wrap.active { display: block; }
@media (max-width: 640px) {
    .price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.price-note {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 24px;
    padding: 12px 16px;
    background: rgba(230, 210, 181, 0.05);
    border-radius: 8px;
    border-left: 3px solid rgba(230, 210, 181, 0.3);
    font-weight: 300;
}

.price-table {
    background: var(--black-card);
    border: 1px solid rgba(232, 213, 181, 0.06);
    border-radius: 12px;
    overflow: hidden;
}
@media (max-width: 640px) {
    .price-table { min-width: 540px; border-radius: 8px; }
}
.price-row {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 1px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(232, 213, 181, 0.04);
    align-items: center;
    transition: var(--transition);
}
.price-row:last-child { border-bottom: none; }
.price-row-group:last-child .price-row { border-bottom: none; }
.price-row-group.has-desc .price-row { border-bottom: none; }
.price-row-group + .price-row-group .price-row,
.price-header + .price-row-group .price-row {
	border-top: 1px solid rgba(232, 213, 181, 0.04);
}
.price-row-group.is-open .price-row {
	background: rgba(107, 26, 42, 0.08);
}
.price-service-cell {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}
.price-service-title {
	font-weight: 400;
	color: var(--ivory);
}
.price-info-btn {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	padding: 0;
	border: 1px solid rgba(232, 213, 181, 0.35);
	border-radius: 50%;
	background: transparent;
	color: var(--ivory-dim, #e8d5b5);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
	line-height: 1;
}
.price-info-btn:hover,
.price-info-btn[aria-expanded="true"] {
	border-color: var(--burgundy, #6b1a2a);
	background: rgba(107, 26, 42, 0.35);
	color: #fff;
}
.price-info-icon {
	font-size: 11px;
	font-weight: 600;
	font-style: italic;
	font-family: Georgia, serif;
}
.price-row-desc {
	padding: 0 20px 14px 46px;
	border-bottom: 1px solid rgba(232, 213, 181, 0.04);
	animation: priceDescIn 0.2s ease;
}
.price-row-desc[hidden] {
	display: none;
}
.price-row-desc p {
	margin: 0;
	font-size: 12px;
	line-height: 1.55;
	font-weight: 300;
	color: var(--gray-light);
	max-width: 52em;
}
@keyframes priceDescIn {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}
.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;
}
.price-row:not(.price-header):hover {
    background: rgba(107, 26, 42, 0.06);
}
.price-row span {
    font-size: 13px;
    color: var(--gray-light);
    font-weight: 300;
}
.price-row span:first-child {
    font-weight: 400;
    color: var(--ivory);
}
.price-header {
    background: rgba(230, 210, 181, 0.06);
    border-bottom: 1px solid rgba(230, 210, 181, 0.1) !important;
}
.price-header span {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-light) !important;
}
#tab-additional .price-row {
    grid-template-columns: 1.5fr 1fr;
}

.price-footnote {
    font-size: 12px;
    color: var(--gray);
    margin-top: 12px;
    font-style: italic;
    font-weight: 300;
}

.price-cta {
    position: relative;
    margin-top: 48px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(230, 210, 181, 0.06) 0%, rgba(230, 210, 181, 0.02) 100%);
    border: 1px solid rgba(230, 210, 181, 0.1);
    border-radius: 16px;
    overflow: hidden;
}
.price-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.price-cta-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
}
.price-cta p {
    font-size: 20px;
    color: var(--ivory);
    font-weight: 300;
    margin: 0;
}
.price-cta-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(230, 210, 181, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   Portfolio
   ============================================ */
.portfolio { background: var(--black-light); }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}
.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-tag {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--burgundy-light);
    margin-bottom: 6px;
}
.portfolio-overlay h4 {
    font-size: 16px;
    font-weight: 400;
    color: var(--ivory);
}
.portfolio-item--large { grid-column: span 2; }
.portfolio-item--wide { grid-column: span 2; }

/* ============================================
    Portfolio Archive
    ============================================ */
.portfolio-archive { background: var(--black-light); }
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.portfolio-filter-btn {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--gray-light);
    background: var(--black-card);
    border: 1px solid rgba(232, 213, 181, 0.06);
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}
.portfolio-filter-btn:hover {
    color: var(--ivory);
    border-color: rgba(232, 213, 181, 0.15);
}
.portfolio-filter-btn.is-active {
    background: var(--burgundy);
    color: var(--ivory-light);
    border-color: var(--burgundy);
}
.archive-grid {
    grid-template-columns: repeat(3, 1fr);
}
.portfolio-item.hidden {
    display: none;
}

/* ============================================
    Portfolio Single
    ============================================ */
.portfolio-single { background: var(--black-light); }
.portfolio-single-cover {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}
.portfolio-single-cover img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.portfolio-single-header {
    margin-bottom: 24px;
}
.portfolio-single-header .portfolio-tag {
    display: inline-block;
    margin-bottom: 12px;
}
.portfolio-single-desc {
    font-size: 16px;
    color: var(--gray-light);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 40px;
}
.portfolio-back {
    margin-bottom: 24px;
}
.portfolio-back a {
    font-size: 14px;
    color: var(--burgundy-light);
    font-weight: 400;
    transition: var(--transition);
}
.portfolio-back a:hover {
    color: var(--ivory);
}

/* ============================================
    Portfolio Gallery Sections
    ============================================ */
.portfolio-gallery-section {
    margin-bottom: 40px;
}
.portfolio-gallery-section .section-label {
    margin-bottom: 16px;
}
.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.portfolio-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.portfolio-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.portfolio-gallery-item:hover img {
    transform: scale(1.05);
}

/* ============================================
    Process
    ============================================ */
.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 20px;
}
.process-step {
    flex: 1;
    padding: 0 24px;
    text-align: center;
}
.step-number {
    font-size: 48px;
    font-weight: 200;
    color: rgba(138, 36, 56, 0.5);
    margin-bottom: 16px;
    line-height: 1;
}
.process-step h4 {
    font-size: 16px;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 8px;
}
.process-step p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    font-weight: 300;
}
.process-connector {
    width: 60px;
    min-width: 60px;
    height: 1px;
    background: rgba(107, 26, 42, 0.3);
    margin-top: 28px;
}

/* ============================================
   Reviews
   ============================================ */
.reviews { background: var(--black-light); }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--black-card);
    border: 1px solid rgba(232, 213, 181, 0.06);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}
.review-card:hover {
    border-color: rgba(107, 26, 42, 0.2);
    transform: translateY(-2px);
}
.review-stars {
    color: var(--burgundy-light);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.review-text {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 300;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(107, 26, 42, 0.15);
    border: 1px solid rgba(107, 26, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 400;
    color: var(--burgundy-light);
}
.review-author strong {
    display: block;
    font-size: 14px;
    color: var(--ivory);
    font-weight: 400;
}
.review-author span {
    font-size: 12px;
    color: var(--gray);
    font-weight: 300;
}

/* ============================================
   FAQ
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
.faq-left {
    position: sticky;
    top: 120px;
}
.faq-deco {
    font-size: clamp(80px, 10vw, 120px);
    font-weight: 200;
    color: rgba(117, 38, 61, 0.08);
    line-height: 1;
    margin-top: 48px;
    letter-spacing: 8px;
    user-select: none;
}
.faq-list {
    max-width: none;
}
.faq-item {
    border-bottom: 1px solid rgba(232, 213, 181, 0.06);
    position: relative;
    padding-left: 12px;
}
.faq-item:first-child {
    border-top: 1px solid rgba(232, 213, 181, 0.06);
}
.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--burgundy);
    transition: width 0.3s ease;
}
.faq-item.active::before {
    width: 2px;
}
.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 400;
    color: var(--ivory);
    text-align: left;
    transition: var(--transition);
}
.faq-toggle:hover {
    color: var(--burgundy-light);
}
.faq-num {
    font-size: 12px;
    font-weight: 400;
    color: var(--burgundy-light);
    min-width: 24px;
    opacity: 0.6;
}
.faq-item.active .faq-num {
    opacity: 1;
}
.faq-q {
    flex: 1;
}
.faq-icon {
    min-width: 20px;
    color: var(--burgundy-light);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
    padding-left: 40px;
}
.faq-answer p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-text {
    font-size: 16px;
    color: var(--gray-light);
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 300;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-item svg {
    min-width: 20px;
    color: var(--burgundy-light);
    margin-top: 2px;
}
.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--ivory);
    margin-bottom: 2px;
    font-weight: 400;
}
.contact-item span, .contact-item a {
    font-size: 14px;
    color: var(--gray);
    transition: var(--transition);
    font-weight: 300;
}
.contact-item a:hover { color: var(--ivory); }

/* Form */
.contact-form-wrap {
    background: var(--black-card);
    border: 1px solid rgba(232, 213, 181, 0.06);
    border-radius: 16px;
    padding: 36px;
}
.contact-form h3 {
    font-size: 20px;
    font-weight: 300;
    color: var(--ivory);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 300;
    color: var(--ivory);
    background: var(--black-elevated);
    border: 1px solid rgba(232, 213, 181, 0.08);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    color: var(--gray);
}
.form-group select:valid { color: var(--ivory); }
.form-group select option {
    background: var(--black-elevated);
    color: var(--ivory);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy-light);
    box-shadow: 0 0 0 3px rgba(107, 26, 42, 0.15);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note {
    font-size: 11px;
    color: var(--gray);
    margin-top: 12px;
    text-align: center;
    font-weight: 300;
}

/* ============================================
   Map
   ============================================ */
.map-section {
    height: 300px;
    background: var(--black-light);
}
.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    gap: 8px;
}
.map-placeholder svg { opacity: 0.3; color: var(--burgundy-light); }
.map-placeholder p { font-size: 14px; font-weight: 300; }
.map-placeholder span { font-size: 12px; opacity: 0.5; font-weight: 300; }

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--black-card);
    border-top: 1px solid rgba(232, 213, 181, 0.06);
    padding: 60px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p {
    font-size: 14px;
    color: var(--gray);
    margin-top: 16px;
    line-height: 1.6;
    font-weight: 300;
}
.footer-links h4 {
    font-size: 13px;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.footer-links a, .footer-links span {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
    transition: var(--transition);
    font-weight: 300;
}
.footer-links a:hover { color: var(--ivory); }
.footer-bottom {
    border-top: 1px solid rgba(232, 213, 181, 0.06);
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
    font-weight: 300;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--burgundy);
    border: 1px solid var(--burgundy-light);
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--burgundy-light);
    box-shadow: 0 8px 30px var(--burgundy-glow);
}

/* ============================================
   Animations (scroll reveal)
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .nav { display: none; }
    .header-phone { display: none; }
    .burger { display: flex; }
    .hero-deco { right: -15%; opacity: 0.04; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { order: -1; }
    .faq-grid { grid-template-columns: 1fr; gap: 32px; }
    .faq-left { position: static; }
    .faq-deco { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .price-row { grid-template-columns: 1.5fr repeat(4, 1fr); font-size: 12px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .portfolio-item--large { grid-column: span 2; }
    .portfolio-item--wide { grid-column: span 2; }
    .portfolio-item.hidden {
        display: none;
    }
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-steps { flex-wrap: wrap; gap: 24px; }
    .process-connector { display: none; }
    .process-step { flex: 0 0 calc(50% - 12px); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .hero-content { padding: 100px 24px 60px; }
    .hero-accent-line { height: 40px; margin-bottom: 28px; }
    .hero-title { font-size: clamp(32px, 10vw, 48px); }
    .hero-desc { font-size: 15px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { flex-wrap: wrap; gap: 0; }
    .stat-item { padding: 8px 16px; }
    .stat-item:first-child { padding-left: 0; }
    .stat-number { font-size: 22px; }
    .stat-suffix { font-size: 14px; }
    .hero-deco { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .portfolio-item--large,
    .portfolio-item--wide { grid-column: span 1; }
    .archive-grid { grid-template-columns: 1fr; }
    .portfolio-gallery-grid { grid-template-columns: 1fr; }
    .process-step { flex: 0 0 100%; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .contact-form-wrap { padding: 24px; }
    .price-cta { padding: 32px 24px; }
    .price-cta-inner { flex-direction: column; text-align: center; }
    .price-cta p { font-size: 17px; }
}

/* WP theme additions */
.price-table--single .price-row {
	grid-template-columns: 2fr 1fr;
}

button.portfolio-item {
	appearance: none;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	width: 100%;
	display: block;
}

.map-embed,
.map-embed iframe {
	width: 100%;
	border: 0;
	display: block;
}

.admin-bar .header {
	top: 32px;
}

/* Inner pages / Privacy policy */
.page-main {
	padding-top: 100px;
	min-height: 60vh;
}
.page-legal-inner {
	max-width: 820px;
}
.page-legal-title {
	margin-bottom: 12px;
}
.page-legal-meta {
	font-size: 13px;
	color: var(--gray);
	margin-bottom: 36px;
	font-weight: 300;
}
.page-legal-sep {
	margin: 0 8px;
	opacity: 0.5;
}
.page-legal-content {
	font-size: 15px;
	line-height: 1.7;
	font-weight: 300;
	color: var(--gray-light);
}
.page-legal-content h2 {
	margin: 2em 0 0.75em;
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--ivory);
}
.page-legal-content p {
	margin: 0 0 1em;
}
.page-legal-content ul {
	margin: 0 0 1.25em;
	padding-left: 1.25em;
}
.page-legal-content li {
	margin-bottom: 0.4em;
}
.page-legal-content a {
	color: var(--burgundy-light);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.page-legal-content a:hover {
	color: var(--ivory);
}
.page-legal-back {
	margin-top: 48px;
}
.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}
.footer-privacy {
	font-size: 13px;
	color: var(--gray);
	text-decoration: none;
}
.footer-privacy:hover {
	color: var(--ivory);
}
.form-note a {
	color: var(--burgundy-light);
	text-decoration: underline;
	text-underline-offset: 2px;
}

