/* sections.css — the page's named sections: hero, services, pricing, process, about, booking */

/* ======================================================================
   HERO — Marquee
   ====================================================================== */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(2.5rem, 8vw, 6rem));
    padding-bottom: clamp(3rem, 8vw, 6rem);
    overflow: clip;
    isolation: isolate;
}

/* restrained, static backdrop: faint corner tint + subtle technical grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(68% 55% at 80% 8%, rgba(232, 87, 138, 0.10) 0%, transparent 60%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: radial-gradient(78% 65% at 50% 28%, #000 0%, transparent 82%);
    -webkit-mask-image: radial-gradient(78% 65% at 50% 28%, #000 0%, transparent 82%);
    opacity: 0.3;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.hero h1 {
    font-size: clamp(2.5rem, 6.5vw, 4.6rem);
    font-weight: var(--weight-black);
    margin-block: var(--space-md) var(--space-md);
    letter-spacing: -0.04em;
}

.hero h1 span,
.hero h1 em {
    display: block;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

/* keep each headline line intact once there's room; wrap freely on small phones */
@media (min-width: 600px) {
    .hero h1 span,
    .hero h1 em { white-space: nowrap; }
}

.hero-lead {
    color: var(--text-secondary);
    font-size: var(--text-lead);
    max-width: 46ch;
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

/* hero stat strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: clamp(1.25rem, 4vw, 2.5rem);
    border-top: 1px solid var(--border);
    padding-top: var(--space-lg);
    width: fit-content;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: var(--weight-black);
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.hero-stat-num span { color: var(--accent); }

.hero-stat-label {
    margin-top: var(--space-3xs);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* hero workshop photo */
.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -10% -7% -16% -7%;
    border-radius: var(--radius-xl);
    background: radial-gradient(62% 62% at 72% 28%, rgba(232, 87, 138, 0.16) 0%, transparent 72%);
    z-index: -1;
    filter: blur(6px);
}

.hero-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(0, 0, 0, 0.5);
}

/* hero lottie animation */
.hero-lottie {
    display: block;
    width: 100%;
    max-width: min(100%, 560px);
    aspect-ratio: 1 / 1;
    height: auto;
}

/* ======================================================================
   SERVICES — asymmetric bento
   ====================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.service-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    transition:
        transform var(--dur-mid) var(--ease-out),
        border-color var(--dur-mid) var(--ease-out),
        background-color var(--dur-mid) var(--ease-out),
        box-shadow var(--dur-mid) var(--ease-out);
}

/* growing accent line at the top edge */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-mid) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    margin-bottom: var(--space-md);
    transition: border-color var(--dur-mid) var(--ease-out);
}

.service-card:hover .service-icon {
    border-color: var(--accent);
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
    fill: none;
}

.service-card h3 {
    font-size: var(--text-h3);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2xs);
}

.service-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    max-width: 46ch;
}

/* signature wide card (Mobil Tuning) — distinguished by width + left accent rule */
.service-card.is-feature {
    grid-column: 1 / -1;
    border-left: 2px solid var(--border-accent);
}

.service-card.is-feature h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.service-card.is-feature p { font-size: var(--text-body); max-width: 56ch; }

/* ======================================================================
   PRICING — ledger
   ====================================================================== */
.pricing-note {
    margin-top: var(--space-xs);
}

.pricing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.pricing-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.pricing-group-title {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.pricing-group-title h3 {
    font-size: var(--text-h4);
    font-weight: var(--weight-bold);
    letter-spacing: 0;
}

.pricing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.pricing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-sm);
    margin-inline: calc(-1 * var(--space-sm));
    border-radius: var(--radius-md);
    transition: background-color var(--dur-fast) var(--ease-out);
}

.pricing-item:hover {
    background: var(--bg-card-hover);
}

.pricing-item + .pricing-item {
    border-top: 1px solid var(--border);
}

.pricing-item-info h4 {
    font-size: 1.02rem;
    font-weight: var(--weight-semibold);
    letter-spacing: 0;
    margin-bottom: 0.15rem;
    color: var(--text-primary);
}

.pricing-item-info p {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    max-width: 36ch;
}

.pricing-price {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: var(--weight-black);
    color: var(--white);
    white-space: nowrap;
    letter-spacing: -0.02em;
    text-align: right;
}

.pricing-price span {
    font-size: 0.7rem;
    font-weight: var(--weight-medium);
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.pricing-price.is-contact {
    font-size: 1rem;
    color: var(--accent);
    border: 1px solid var(--border-accent);
    background: var(--accent-soft);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-pill);
    transition: background-color var(--dur-fast) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
}

.pricing-price.is-contact:hover {
    background: var(--accent);
    color: var(--bg-deep);
    transform: translateY(-2px);
}

/* ======================================================================
   PROCESS — step timeline
   ====================================================================== */
.process {
    background: var(--bg-dark);
    border-block: 1px solid var(--border);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    counter-reset: step;
}

.process-step {
    position: relative;
    padding-top: var(--space-lg);
}

/* connecting rail across the row */
.process-step::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(52px);
    right: calc(-1 * var(--space-lg));
    height: 1px;
    background: linear-gradient(90deg, var(--border-accent), transparent);
}

.process-step:last-child::after { display: none; }

.step-number {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: var(--weight-black);
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    transition: transform var(--dur-mid) var(--ease-out),
                box-shadow var(--dur-mid) var(--ease-out);
}

.process-step:hover .step-number {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.process-step h3 {
    font-size: var(--text-h4);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2xs);
}

.process-step p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* ======================================================================
   ABOUT — split
   ====================================================================== */
.about-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.about-content > .eyebrow { margin-bottom: var(--space-sm); }

.about-content h2 {
    font-size: var(--text-h2);
    font-weight: var(--weight-black);
    margin-bottom: var(--space-md);
}

.about-content > p {
    color: var(--text-secondary);
    font-size: var(--text-body);
    margin-bottom: var(--space-md);
    max-width: 56ch;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.about-value {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.about-value-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    font-size: 1rem;
}

.about-value h4 {
    font-size: var(--text-h4);
    font-weight: var(--weight-semibold);
    letter-spacing: 0;
    margin-bottom: 0.15rem;
}

.about-value p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

/* business card */
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-card);
}

.about-card-head {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.about-card-mark {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
}

.about-card-mark svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; }

.about-card-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: var(--weight-black);
    color: var(--white);
}

.about-card-sub { font-size: var(--text-xs); color: var(--text-muted); }

.about-divider { height: 1px; background: var(--border); margin-block: var(--space-md); }

.about-stat { margin-bottom: var(--space-sm); }

.about-stat h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0;
    color: var(--text-primary);
}

.about-stat a:hover { color: var(--accent); }
.about-stat p { font-size: var(--text-xs); color: var(--text-muted); }

/* ======================================================================
   BOOKING — split (info card + form)
   ====================================================================== */
.booking-note {
    margin-top: var(--space-md);
    max-width: 640px;
    margin-inline: auto;
    font-size: calc(var(--text-xs) * 0.5);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-card);
}

.booking-note strong { color: var(--text-secondary); }

.booking-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-lg);
    align-items: start;
}

.booking-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    height: 100%;
}

.booking-info > h3 {
    font-size: var(--text-h3);
    margin-bottom: var(--space-2xs);
}

.booking-info > p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-block: var(--space-sm);
    border-top: 1px solid var(--border);
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
}

.contact-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; }

.contact-text h4 {
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: var(--weight-semibold);
    margin-bottom: 0.1rem;
}

.contact-text p { font-size: 1rem; color: var(--text-primary); font-weight: var(--weight-medium); }
.contact-text a:hover { color: var(--accent); }

.booking-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.booking-form > h3 { font-size: var(--text-h3); margin-bottom: var(--space-2xs); }

.booking-form > p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin-bottom: var(--space-lg);
}

/* ======================================================================
   RESPONSIVE — sections
   ====================================================================== */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { margin-inline: auto; }
    .hero-visual { max-width: min(94%, 520px); margin-inline: auto; }

    .about-inner { grid-template-columns: 1fr; }
    .booking-layout { grid-template-columns: 1fr; }
}

@media (min-width: 700px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
    /* 6-col bento: two feature cards, three standard, one full-width banner */
    .services-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .service-card.span-lg { grid-column: span 3; }
    .service-card.span-md { grid-column: span 2; }
}

@media (max-width: 760px) {
    .process-steps { grid-template-columns: 1fr 1fr; gap: var(--space-xl) var(--space-lg); }
    .process-step::after { display: none; }
}

@media (max-width: 620px) {
    .pricing-columns { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
    .process-steps { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; gap: var(--space-md); width: 100%; }
    .hero-stats > div { display: flex; align-items: baseline; gap: var(--space-sm); justify-content: center; }
    .pricing-item { flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }
    .pricing-price { text-align: left; }
}
