/* ============================================================
   JAUCO – Main Stylesheet
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
    --primary:        #0D9488;
    --primary-dark:   #0F766E;
    --primary-light:  #F0FDFA;

    --dark:    #18181B;
    --dark-2:  #27272A;
    --dark-3:  #52525B;

    --gray-600: #52525B;
    --gray-400: #A1A1AA;
    --gray-200: #E4E4E7;
    --gray-100: #F4F4F5;
    --gray-50:  #FAFAFA;

    --white:   #FFFFFF;
    --success: #10B981;

    --font: 'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
    --shadow-xl: 0 25px 50px rgba(0,0,0,.18);

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .9375rem;
    transition: all .2s var(--ease);
    white-space: nowrap;
    border: 2px solid transparent;
}
.btn--primary {
    background: var(--primary);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,148,136,.35);
}
.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.35);
}
.btn--ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
}
.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn--outline:hover {
    background: var(--primary-light);
}
.btn--lg { padding: .875rem 1.75rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.scrolled {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--gray-200);
}
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 72px;
}
.nav__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.02em;
    transition: color .2s;
}
.header.scrolled .nav__logo { color: var(--dark); }
.nav__links {
    display: flex;
    gap: 1.75rem;
    margin-left: auto;
}
.nav__link {
    font-weight: 500;
    color: rgba(255,255,255,.85);
    transition: color .2s;
}
.nav__link:hover { color: var(--white); }
.header.scrolled .nav__link { color: var(--gray-600); }
.header.scrolled .nav__link:hover { color: var(--primary); }
.nav__cta { margin-left: auto; }
.header:not(.scrolled) .nav__cta {
    border-color: rgba(255,255,255,.5);
    background: transparent;
    color: var(--white);
}
.header:not(.scrolled) .nav__cta:hover {
    background: var(--white);
    color: var(--primary);
}

/* Burger */
.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    margin-left: auto;
}
.nav__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .25s var(--ease);
}
.header.scrolled .nav__burger span { background: var(--dark); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu__links { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu__link {
    display: block;
    padding: .75rem 1rem;
    font-weight: 500;
    color: var(--dark-2);
    border-radius: var(--radius-sm);
    transition: background .15s;
}
.mobile-menu__link:hover { background: var(--gray-50); color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
    padding-top: 72px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(13,148,136,.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(52,211,153,.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-block: clamp(3rem, 8vw, 6rem);
}
.hero__content { max-width: 560px; }
.hero__badge {
    display: inline-block;
    padding: .375rem .875rem;
    background: rgba(13,148,136,.15);
    border: 1px solid rgba(13,148,136,.4);
    color: #5EEAD4;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .02em;
    margin-bottom: 1.5rem;
}
.hero__title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: var(--white);
    margin-bottom: 1.25rem;
}
.hero__title-accent {
    background: linear-gradient(135deg, #2DD4BF, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Visual */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.hero__browser {
    width: 100%;
    max-width: 460px;
    background: #27272A;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,.06);
}
.hero__browser-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    background: #18181B;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero__dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hero__dot--red    { background: #FF5F57; }
.hero__dot--yellow { background: #FFBD2E; }
.hero__dot--green  { background: #28C840; }
.hero__url-bar {
    flex: 1;
    background: rgba(255,255,255,.07);
    border-radius: 4px;
    padding: .25rem .75rem;
    font-size: .75rem;
    color: rgba(255,255,255,.4);
    margin-inline: .5rem;
}
.hero__browser-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.hero__mock-hero {
    height: 100px;
    background: linear-gradient(135deg, #0D9488, #34D399);
    border-radius: var(--radius-sm);
    opacity: .8;
}
.hero__mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.hero__mock-card {
    height: 56px;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-sm);
}
.hero__mock-text-block { display: flex; flex-direction: column; gap: .5rem; padding: .25rem 0; }
.hero__mock-line {
    height: 8px;
    background: rgba(255,255,255,.1);
    border-radius: 4px;
}
.hero__mock-line--wide   { width: 100%; }
.hero__mock-line--medium { width: 75%; }
.hero__mock-line--short  { width: 50%; }

/* Floating stat cards */
.hero__stat {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: .75rem 1.125rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: .125rem;
}
.hero__stat--1 { bottom: 1.5rem; left: -1.5rem; }
.hero__stat--2 { top: 1.5rem;   left: -1.5rem; }
.hero__stat-num {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.hero__stat-label {
    font-size: .75rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
    padding-block: clamp(4rem, 8vw, 6rem);
}
.section--dark  { background: var(--dark-2); }
.section--gray  { background: var(--gray-50); }

.section__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__tag {
    display: inline-block;
    padding: .3rem .875rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.section__tag--light {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
}
.section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--dark);
}
.section__title--light { color: var(--white); }
.section__subtitle {
    margin-top: .875rem;
    font-size: 1.0625rem;
    color: var(--gray-600);
    max-width: 520px;
    margin-inline: auto;
    line-height: 1.7;
}
.section__subtitle--light { color: rgba(255,255,255,.6); }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.service-card--featured {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.02);
}
.service-card--featured:hover { transform: scale(1.02) translateY(-4px); }
.service-card__badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: rgba(255,255,255,.2);
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .625rem;
    border-radius: 999px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.service-card__icon {
    width: 52px; height: 52px;
    background: var(--icon-bg, var(--primary-light));
    color: var(--icon-color, var(--primary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .625rem;
    letter-spacing: -.01em;
}
.service-card__text {
    font-size: .9375rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}
.service-card--featured .service-card__text { color: rgba(255,255,255,.75); }
.service-card__list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.5rem;
}
.service-card__list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--dark-3);
}
.service-card--featured .service-card__list li { color: rgba(255,255,255,.85); }
.service-card__list li::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.service-card--featured .service-card__list li::before { background: rgba(255,255,255,.6); }
.service-card__footer {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.service-card--featured .service-card__footer { border-color: rgba(255,255,255,.2); }
.service-card__price {
    font-size: .875rem;
    color: var(--gray-400);
    font-weight: 500;
}
.service-card--featured .service-card__price { color: rgba(255,255,255,.6); }
.service-card__cta {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--primary);
    transition: letter-spacing .2s;
}
.service-card__cta:hover { letter-spacing: .02em; }
.service-card__cta--light { color: rgba(255,255,255,.9); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 1rem;
}
.step {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}
.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}
.step__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: .625rem;
}
.step__text {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    line-height: 1.65;
}
.step__arrow {
    display: flex;
    align-items: center;
    padding-top: 2.25rem;
    color: rgba(255,255,255,.25);
}
.step__arrow svg { width: 28px; height: 28px; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.portfolio-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.portfolio-card__image {
    position: relative;
    height: 200px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: .875rem;
    overflow: hidden;
}
.portfolio-card__image--1 { background: linear-gradient(135deg, #1E3A5F, #2563EB); }
.portfolio-card__image--2 { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.portfolio-card__image--3 { background: linear-gradient(135deg, #B45309, #D97706); }
.portfolio-card__demo {
    background: rgba(0,0,0,.35);
    color: rgba(255,255,255,.8);
    font-size: .75rem;
    font-weight: 600;
    padding: .2rem .625rem;
    border-radius: 999px;
    letter-spacing: .05em;
    text-transform: uppercase;
    z-index: 1;
}
.portfolio-card__mock {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70%;
    background: var(--white);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.portfolio-card__mock-bar {
    height: 20px;
    background: #27272A;
}
.portfolio-card__mock-hero {
    height: 50px;
    background: var(--gray-200);
}
.portfolio-card__mock-lines {
    padding: .5rem .625rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.portfolio-card__mock-lines div {
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
}
.portfolio-card__mock-lines div:nth-child(2) { width: 75%; }
.portfolio-card__mock-lines div:nth-child(3) { width: 55%; }
.portfolio-card__content { padding: 1.5rem; }
.portfolio-card__tag {
    display: inline-block;
    padding: .2rem .625rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: .625rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.portfolio-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .5rem;
    letter-spacing: -.01em;
}
.portfolio-card__text {
    font-size: .9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact__icon {
    width: 44px; height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__label {
    font-size: .8125rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .2rem;
}
.contact__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: color .2s;
}
a.contact__value:hover { color: var(--primary); }
.contact__note {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1rem 1.125rem;
    font-size: .9rem;
    color: var(--dark-3);
    line-height: 1.6;
}
.contact__note strong { color: var(--primary); }

/* Form */
.contact__form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form__group { display: flex; flex-direction: column; gap: .375rem; }
.form__label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--dark-2);
}
.form__input {
    padding: .75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: .9375rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}
.form__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
.form__input::placeholder { color: var(--gray-400); }
.form__select { appearance: none; cursor: pointer; }
.form__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}
.form__group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: .625rem;
}
.form__group--checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: .125rem;
    accent-color: var(--primary);
    cursor: pointer;
}
.form__label-checkbox {
    font-size: .875rem;
    color: var(--gray-600);
    line-height: 1.5;
    cursor: pointer;
}
.form__link { color: var(--primary); font-weight: 600; text-decoration: underline; }
.form__success {
    display: none;
    align-items: center;
    gap: .75rem;
    background: #F0FDF4;
    border: 1.5px solid #A7F3D0;
    color: #065F46;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: .9375rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    padding-block: 3rem;
}
.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
.footer__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.02em;
}
.footer__tagline {
    font-size: .9rem;
    color: rgba(255,255,255,.45);
    margin-top: .25rem;
}
.footer__links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer__link {
    font-size: .9rem;
    color: rgba(255,255,255,.55);
    transition: color .2s;
}
.footer__link:hover { color: var(--white); }
.footer__copy {
    font-size: .8125rem;
    color: rgba(255,255,255,.3);
}
.footer__copy a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer__copy a:hover { color: var(--white); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.fade-in.visible {
    opacity: 1;
    transform: none;
}
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet ≥ 768px */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .service-card--featured { transform: none; }
    .service-card--featured:hover { transform: translateY(-4px); }

    .steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
    }
    .step__arrow { display: none; }

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

    .contact__wrapper { grid-template-columns: 1fr; }
    .contact__info { flex-direction: row; flex-wrap: wrap; }
    .contact__item { flex: 1; min-width: 200px; }

    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__content { max-width: 100%; }
    .hero__subtitle { margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero__visual { display: none; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
    .nav__links, .nav__cta { display: none; }
    .nav__burger { display: flex; }

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

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

    .contact__info { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SUB-PAGES (Impressum / Datenschutz)
   ============================================================ */
.page-header {
    background: var(--dark);
    padding: 6rem 0 3rem;
    text-align: center;
}
.page-header__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.025em;
}
.page-content {
    max-width: 720px;
    margin: 3rem auto 5rem;
    padding-inline: clamp(1rem, 5vw, 2rem);
}
.page-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 .625rem;
    color: var(--dark);
    letter-spacing: -.01em;
}
.page-content p, .page-content li {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.75;
}
.page-content ul { padding-left: 1.25rem; list-style: disc; margin: .5rem 0; }
.page-content a { color: var(--primary); text-decoration: underline; }
.back-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    color: var(--primary);
    font-weight: 600;
    font-size: .9375rem;
    margin-bottom: 2rem;
    transition: gap .2s;
}
.back-link:hover { gap: .625rem; }
.page-nav {
    padding: 1.25rem clamp(1rem, 5vw, 2rem);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.page-nav .nav__logo { color: var(--dark); font-size: 1.375rem; font-weight: 800; }
