/* ═══════════════════════════════════════════
   MATOWICKI.PL — Clinical Luxury Design System
   Aesthetic: Aesop × Cereal Magazine × Wellness
═══════════════════════════════════════════ */

:root {
    --bg: #F6F4F1;
    --bg-alt: #EDEAE5;
    --bg-warm: #E8E3DB;
    --text: #1A1917;
    --text-mid: #3D3B36;
    --text-secondary: #6B6862;
    --text-light: #9E9B94;
    --border: #D4D0C8;
    --border-light: #E4E0D9;
    --accent: #8C7254;
    --accent-light: #A8906F;
    --accent-glow: rgba(140, 114, 84, 0.12);
    --dark: #111110;
    --dark-surface: #1C1C1A;
    --dark-text: #E4E0D9;
    --photo-bg: #3B3A38;

    --serif: 'Cormorant Garamond', 'Georgia', serif;
    --sans: 'DM Sans', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    --wrap: 88%;
    --wrap-max: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ═══════════════════════════════
   TEXTURE
═══════════════════════════════ */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════ */
.r {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.r.v {
    opacity: 1;
    transform: translateY(0);
}
.r-d1 { transition-delay: 0.12s; }
.r-d2 { transition-delay: 0.24s; }
.r-d3 { transition-delay: 0.36s; }
.r-d4 { transition-delay: 0.48s; }
.r-d5 { transition-delay: 0.60s; }

.r-line {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity 0.6s ease, transform 1.4s var(--ease-out);
}
.r-line.v {
    opacity: 1;
    transform: scaleX(1);
}

/* Fade scale for hero photo */
.r-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out);
}
.r-scale.v {
    opacity: 1;
    transform: scale(1);
}

/* ═══════════════════════════════
   LAYOUT
═══════════════════════════════ */
.wrap {
    width: var(--wrap);
    max-width: var(--wrap-max);
    margin: 0 auto;
}

.wrap--narrow {
    max-width: 640px;
}

.wrap--mid {
    max-width: 860px;
}

.sec {
    padding: 140px 0;
    position: relative;
}

.sec--alt {
    background: var(--bg-alt);
}

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
.hdr {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    z-index: 9999;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}

.hdr.hdr--solid {
    background: rgba(246, 244, 241, 0.9);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.hdr .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hdr__brand {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--text);
    transition: opacity 0.3s;
}

.hdr__brand:hover { opacity: 0.7; }

.hdr__brand span { display: block; }

.hdr__nav {
    display: none;
    gap: 2.4rem;
    align-items: center;
}

.hdr__nav a {
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-weight: 400;
    position: relative;
}

.hdr__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

.hdr__nav a:hover { color: var(--text); }
.hdr__nav a:hover::after { width: 100%; }

.hdr__nav a.hdr__nav-active {
    color: var(--text);
    font-weight: 500;
}
.hdr__nav a.hdr__nav-active::after { width: 100%; }

.hdr__nav-cta {
    color: var(--text) !important;
    font-weight: 500 !important;
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.35s var(--ease-out) !important;
}

.hdr__nav-cta::after { display: none !important; }

.hdr__nav-cta:hover {
    background: var(--text);
    color: var(--bg) !important;
    border-color: var(--text);
}

.hdr__menu {
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--sans);
    font-weight: 500;
    padding: 10px 0;
}

@media (min-width: 960px) {
    .hdr__nav { display: flex; }
    .hdr__menu { display: none; }
}

/* ═══════════════════════════════
   MOBILE OVERLAY
═══════════════════════════════ */
.mob {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}

.mob.open { opacity: 1; pointer-events: all; }

.mob__close {
    position: absolute;
    top: 22px;
    right: 6%;
    font-size: 12.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--sans);
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-weight: 500;
}

.mob a {
    font-family: var(--serif);
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 300;
    color: var(--text-secondary);
    padding: 10px 0;
    transition: color 0.3s, letter-spacing 0.4s var(--ease-out);
}

.mob a:hover {
    color: var(--text);
    letter-spacing: 0.03em;
}

.mob__loc {
    position: absolute;
    bottom: 40px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}

@media (min-width: 960px) {
    .hero__inner {
        grid-template-columns: 1fr 480px;
        gap: 72px;
    }
}

@media (min-width: 1200px) {
    .hero__inner {
        grid-template-columns: 1fr 540px;
        gap: 80px;
    }
}

.hero__text {
    max-width: 600px;
}

.hero__label {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    display: block;
    font-weight: 500;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(36px, 5.2vw, 62px);
    font-weight: 300;
    line-height: 1.06;
    color: var(--text);
    margin-bottom: 32px;
    letter-spacing: -0.015em;
}

.hero h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--text-mid);
    display: block;
    margin-top: 4px;
}

.hero__sub {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 48px;
    max-width: 480px;
}

.hero__sub p {
    margin: 0 0 6px 0;
}

.hero__sub span {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero photo container */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__photo {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
}

.hero__photo img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.02) brightness(1.01);
    border-radius: 16px;
}

/* Concentric arcs — the signature element */
.hero__arcs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    z-index: 1;
    pointer-events: none;
}

.hero__arc {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 1.6s var(--ease-out), transform 1.6s var(--ease-out);
}

.hero__arcs.v .hero__arc {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hero__arc--1 {
    width: 105%;
    height: 105%;
    opacity: 0.18;
    transition-delay: 0.3s;
}
.hero__arcs.v .hero__arc--1 {
    opacity: 0.18;
    animation: arcRotate 60s linear infinite;
}

.hero__arc--2 {
    width: 120%;
    height: 120%;
    opacity: 0.10;
    border-style: dashed;
    border-width: 1px;
    transition-delay: 0.5s;
}
.hero__arcs.v .hero__arc--2 {
    opacity: 0.10;
    animation: arcRotateReverse 80s linear infinite;
}

.hero__arc--3 {
    width: 135%;
    height: 135%;
    opacity: 0.06;
    transition-delay: 0.7s;
}
.hero__arcs.v .hero__arc--3 {
    opacity: 0.06;
    animation: arcRotate 100s linear infinite;
}

/* Warm glow behind photo */
.hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(40px);
}

@keyframes arcRotate {
    from { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    to { transform: translate(-50%, -50%) scale(1) rotate(360deg); }
}

@keyframes arcRotateReverse {
    from { transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    to { transform: translate(-50%, -50%) scale(1) rotate(-360deg); }
}

/* ═══════════════════════════════
   BUTTONS
═══════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    border: 1px solid var(--text);
    color: var(--text);
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
    z-index: -1;
}

.btn:hover {
    color: var(--bg);
    border-color: var(--text);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn--dark {
    border-color: var(--dark-text);
    color: var(--dark-text);
}

.btn--dark::before {
    background: var(--dark-text);
}

.btn--dark:hover {
    color: var(--dark);
}

.hero__micro {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* ═══════════════════════════════
   DIVIDER
═══════════════════════════════ */
.divider {
    height: 1px;
    background: var(--border);
    margin: 0;
    border: none;
}

/* ═══════════════════════════════
   SECTION LABEL (reusable)
═══════════════════════════════ */
.sec__label {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    font-weight: 500;
}

/* ═══════════════════════════════
   "DLA KOGO TA PRACA"
═══════════════════════════════ */
.svc__title {
    font-family: var(--serif);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 300;
    line-height: 1.08;
    margin-bottom: 8px;
}

.when__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    counter-reset: when;
}

@media (min-width: 768px) {
    .when__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.when__item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border-light);
    counter-increment: when;
    position: relative;
}

@media (min-width: 768px) {
    .when__item {
        padding: 32px 40px;
        border-bottom: none;
        border-right: 1px solid var(--border-light);
    }
    .when__item:nth-child(even) {
        border-right: none;
    }
    .when__item:nth-child(1),
    .when__item:nth-child(2) {
        border-bottom: 1px solid var(--border-light);
    }
}

.when__item::before {
    content: counter(when, decimal-leading-zero);
    font-family: var(--serif);
    font-size: 40px;
    font-weight: 300;
    color: var(--border);
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.when__item p {
    color: var(--text-mid);
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
}

.when__closing {
    margin-top: 56px;
    font-family: var(--serif);
    font-size: clamp(19px, 2.2vw, 24px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-mid);
    line-height: 1.5;
    max-width: 640px;
}

/* ═══════════════════════════════
   FORMY PRACY — CARDS
═══════════════════════════════ */
.forms__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 56px;
}

@media (min-width: 768px) {
    .forms__grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }
}

.forms__card {
    padding: 44px 36px;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s ease;
    background: var(--bg);
}

.forms__card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px -20px rgba(140, 114, 84, 0.12);
}

.forms__card h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 16px;
}

.forms__card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
}

.forms__card .svc__list {
    flex: 1;
}

.forms__card .btn {
    align-self: flex-start;
    margin-top: 28px;
    padding: 14px 32px;
    font-size: 11.5px;
    border-color: var(--border);
    color: var(--text-mid);
}

.forms__card .btn:hover {
    border-color: var(--text);
    color: var(--bg);
}

.forms__card .btn::before {
    background: var(--text);
}

.forms__note {
    margin-top: 44px;
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
}

/* ═══════════════════════════════
   SERVICE SECTIONS
═══════════════════════════════ */
.svc {
    padding: 120px 0;
}

.svc__label {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
    font-weight: 500;
}

.svc__subtitle {
    font-family: var(--serif);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.svc__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .svc__grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.svc__body p {
    color: var(--text-mid);
    margin-bottom: 1.4rem;
    font-size: 17px;
    line-height: 1.75;
}

.svc__list {
    margin-top: 32px;
}

.svc__list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-mid);
    font-size: 16px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.svc__list li:first-child {
    border-top: 1px solid var(--border-light);
}

.svc__list li::before {
    content: '';
    width: 8px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 0.6em;
}

/* ═══════════════════════════════
   STANDARD WSPÓŁPRACY
═══════════════════════════════ */
.standard {
    padding: 120px 0;
    position: relative;
}

.standard__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .standard__inner {
        grid-template-columns: 280px 1fr;
        gap: 100px;
    }
}

.standard__label {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 300;
    line-height: 1.15;
}

.standard__body p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.75;
}

.standard__body .em {
    color: var(--text);
    font-weight: 500;
}

/* ═══════════════════════════════
   O MNIE
═══════════════════════════════ */
.about {
    padding: 140px 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 960px) {
    .about__grid {
        grid-template-columns: 380px 1fr;
        gap: 100px;
        align-items: start;
    }
}

.about__photo {
    aspect-ratio: 4 / 5;
    background: var(--photo-bg);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.about__photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    pointer-events: none;
}

.about__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about__lead {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
}

.about__body p {
    margin-bottom: 20px;
    color: var(--text-mid);
    font-size: 17px;
    line-height: 1.75;
}

.about__body h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text);
}

/* ═══════════════════════════════
   FAQ
═══════════════════════════════ */
.faq {
    padding: 120px 0;
}

.faq h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 300;
    margin-bottom: 56px;
}

.faq__item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.faq__item:first-child {
    border-top: 1px solid var(--border);
}

.faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.35;
    transition: color 0.3s;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary:hover { color: var(--accent); }

.faq__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 300;
    color: var(--text-light);
    transition: all 0.4s var(--ease-out);
}

.faq__item[open] .faq__icon {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 0 28px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
    max-width: 580px;
}

/* ═══════════════════════════════
   DECISION / CTA
═══════════════════════════════ */
.decision {
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
}

.decision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--border));
}

.decision h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 28px;
    font-style: italic;
}

.decision p {
    max-width: 440px;
    margin: 0 auto 1rem;
    color: var(--text-secondary);
    font-size: 17px;
}

.decision .btn {
    margin-top: 40px;
}

.decision__ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.decision__ctas .btn {
    margin-top: 40px;
}

.btn--wa {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.btn--wa::before {
    background: var(--accent);
}

.btn--wa:hover {
    border-color: var(--accent);
    color: var(--bg);
}

/* ═══════════════════════════════
   DARK FOOTER
═══════════════════════════════ */
.foot {
    background: var(--dark);
    color: var(--dark-text);
    padding: 80px 0;
    position: relative;
}

.foot__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
}

@media (min-width: 768px) {
    .foot__inner {
        grid-template-columns: 1fr auto 1fr;
        text-align: left;
        align-items: start;
    }
}

.foot__brand {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 8px;
}

.foot__desc {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
}

.foot__sep {
    display: none;
    width: 1px;
    height: 80px;
    background: rgba(255,255,255,0.06);
    align-self: center;
}

@media (min-width: 768px) {
    .foot__sep { display: block; }
}

.foot__contact {
    font-size: 14px;
    line-height: 2.2;
}

.foot__contact a {
    color: #999;
    transition: color 0.3s;
}

.foot__contact a:hover { color: #fff; }

.foot__copy {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 12px;
    color: #444;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 8px;
}

/* ═══════════════════════════════
   SUBPAGE HEADER
═══════════════════════════════ */
.page-hero {
    padding: 160px 0 100px;
}

.page-hero .wrap::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--accent);
    margin-top: 48px;
}

.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    max-width: 560px;
}

/* ═══════════════════════════════
   SUBPAGE CONTENT
═══════════════════════════════ */
.page-content {
    padding: 0 0 120px;
}

.page-content h2 {
    font-family: var(--serif);
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    margin-top: 72px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    color: var(--text-mid);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 640px;
}

.page-content .svc__list {
    max-width: 640px;
}

.page-cta {
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid var(--border);
}

.page-cta p {
    margin-bottom: 24px;
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
}

/* ═══════════════════════════════
   CONTACT FORM
═══════════════════════════════ */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.contact__info p {
    color: var(--text-mid);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.contact__details {
    margin-top: 40px;
}

.contact__details a {
    display: block;
    color: var(--text);
    font-size: 17px;
    line-height: 2.2;
    transition: color 0.3s;
}

.contact__details a:hover {
    color: var(--accent);
}

.contact__details span {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: transparent;
    font-family: var(--sans);
    font-size: 16px;
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form__textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.6;
}

.form__optional {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-left: 8px;
}

.form__success {
    display: none;
    padding: 40px;
    border: 1px solid var(--accent);
    border-radius: 20px;
    text-align: center;
    background: var(--accent-glow);
}

.form__success h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
}

.form__success p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ═══════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════ */
@media (max-width: 959px) {
    .hero {
        text-align: center;
        min-height: auto;
        padding: 120px 0 60px;
    }
    .hero__text {
        max-width: none;
    }
    .hero__sub {
        max-width: none;
    }
    .hero__visual {
        max-width: 340px;
        margin: 0 auto;
    }
    .hero__label {
        justify-content: center;
    }
    .hero__ctas {
        justify-content: center;
    }
    .btn.hero__cta {
        width: 100%;
        max-width: 342px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hdr { height: 64px; }
    .hdr__brand { font-size: 17px; }
    .sec { padding: 96px 0; }
    .svc { padding: 96px 0; }
    .about { padding: 96px 0; }
    .faq { padding: 96px 0; }
    .decision { padding: 120px 0 80px; }
    .decision::before { height: 48px; }
    .standard { padding: 96px 0; }
    .foot { padding: 56px 0; }
    .page-hero { padding: 120px 0 56px; }
    .page-content { padding: 0 0 80px; }

    .when__item::before {
        font-size: 32px;
    }

    .forms__card {
        padding: 36px 28px;
    }

    .decision .btn {
        width: 100%;
        max-width: 342px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --wrap: 90%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero__sub {
        font-size: 16px;
    }

    .svc__title {
        font-size: 28px;
    }
}

/* ═══════════════════════════════
   LEGAL PAGES
═══════════════════════════════ */
.legal h1 {
    font-family: var(--serif);
    font-size: clamp(32px, 4.2vw, 50px);
    font-weight: 300;
    line-height: 1.08;
    margin-bottom: 8px;
}

.legal__updated {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 56px;
    letter-spacing: 0.02em;
}

.legal__body h2 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.legal__body h2:first-child {
    margin-top: 0;
}

.legal__body h3 {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal__body p {
    color: var(--text-mid);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal__body ul {
    margin: 16px 0 20px;
}

.legal__body ul li {
    padding: 8px 0;
    color: var(--text-mid);
    font-size: 16px;
    line-height: 1.7;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.legal__body ul li::before {
    content: '';
    width: 6px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
    margin-top: 0.65em;
}

.legal__body a {
    color: var(--accent);
    transition: color 0.3s;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal__body a:hover {
    color: var(--text);
}

/* ═══════════════════════════════
   FOOTER LEGAL LINKS
═══════════════════════════════ */
.foot__legal {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.foot__legal a {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--text-light);
    transition: color 0.3s;
}

.foot__legal a:hover {
    color: var(--text-secondary);
}
