/*
================================================================================
AVUKAT NİHAT PAKSOY — HUKUK BÜROSU
Professional Legal Website — Design System & Styles
================================================================================
*/

/* ============================================================================
   GOOGLE FONTS IMPORT
   ============================================================================ */
/* Google Fonts loaded via <link> in HTML for better performance */

/* ============================================================================
   CSS CUSTOM PROPERTIES
   ============================================================================ */
:root {
    --color-primary: #0c1f3f;
    --color-primary-dark: #071428;
    --color-primary-light: #1a365d;
    --color-primary-lighter: #2d4a7c;

    --color-accent: #b89449;
    --color-accent-dark: #9e7d3a;
    --color-accent-light: #d4b870;

    --color-bg: #ffffff;
    --color-bg-warm: #faf8f5;
    --color-bg-alt: #f5f3ef;
    --color-bg-dark: #0c1f3f;

    --color-text: #1a1a2e;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-text-inverse: #f7f7f7;

    --color-border: #e2e0dc;
    --color-border-light: #edecea;
    --color-border-dark: #c9c5be;

    --color-success: #2d8659;
    --color-error: #c0392b;
    --color-warning: #d4a017;

    --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Inter', 'Segoe UI', -apple-system, sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.8125rem;
    --fs-base: 0.9375rem;
    --fs-md: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.3125rem;
    --fs-2xl: 1.625rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
    --fs-5xl: 3.25rem;
    --fs-6xl: 4rem;

    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    --lh-tight: 1.2;
    --lh-snug: 1.35;
    --lh-normal: 1.6;
    --lh-relaxed: 1.8;

    --ls-tight: -0.02em;
    --ls-normal: 0;
    --ls-wide: 0.05em;
    --ls-wider: 0.1em;

    --sp-2xs: 0.25rem;
    --sp-xs: 0.5rem;
    --sp-sm: 0.75rem;
    --sp-md: 1rem;
    --sp-lg: 1.5rem;
    --sp-xl: 2rem;
    --sp-2xl: 3rem;
    --sp-3xl: 4rem;
    --sp-4xl: 5rem;
    --sp-5xl: 6rem;
    --sp-6xl: 8rem;

    --container-max: 1200px;
    --container-narrow: 900px;
    --container-wide: 1400px;
    --container-padding: 1.5rem;
    --header-h: 72px;

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 12px;

    --shadow-subtle: 0 1px 3px rgba(12, 31, 63, 0.04);
    --shadow-sm: 0 2px 8px rgba(12, 31, 63, 0.06);
    --shadow-md: 0 4px 16px rgba(12, 31, 63, 0.08);
    --shadow-lg: 0 8px 32px rgba(12, 31, 63, 0.1);
    --shadow-xl: 0 16px 48px rgba(12, 31, 63, 0.12);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --tr-fast: 150ms var(--ease-out);
    --tr-base: 300ms var(--ease-out);
    --tr-slow: 500ms var(--ease-out);
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-tight);
    color: var(--color-primary);
    letter-spacing: var(--ls-tight);
}
h1 { font-size: var(--fs-5xl); margin-bottom: var(--sp-lg); }
h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-md); }
h3 { font-size: var(--fs-2xl); margin-bottom: var(--sp-sm); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p { margin-bottom: var(--sp-md); color: var(--color-text-secondary); line-height: var(--lh-normal); }
a { color: var(--color-primary); text-decoration: none; transition: color var(--tr-fast); }
a:hover { color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
ul, ol { margin-bottom: var(--sp-md); padding-left: var(--sp-xl); }
li { margin-bottom: var(--sp-xs); }
strong { font-weight: var(--fw-semibold); }

blockquote {
    border-left: 3px solid var(--color-accent);
    padding: var(--sp-lg) var(--sp-xl);
    margin: var(--sp-xl) 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: var(--fs-lg);
    color: var(--color-text-secondary);
    background: var(--color-bg-warm);
}

.overline {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--sp-sm);
    display: block;
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--color-text-secondary);
    max-width: 640px;
    line-height: var(--lh-relaxed);
}
.section-subtitle.centered { margin-left: auto; margin-right: auto; }

/* ============================================================================
   LAYOUT
   ============================================================================ */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-padding); }
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section { padding: var(--sp-5xl) 0; }
.section--sm { padding: var(--sp-3xl) 0; }
.section--lg { padding: var(--sp-6xl) 0; }
.section--alt { background-color: var(--color-bg-alt); }
.section--warm { background-color: var(--color-bg-warm); }
.section--dark { background-color: var(--color-bg-dark); color: var(--color-text-inverse); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--dark h5, .section--dark h6 { color: var(--color-bg); }
.section--dark p { color: rgba(255, 255, 255, 0.85); }
.section--dark .overline { color: var(--color-accent-light); }

.grid { display: grid; gap: var(--sp-xl); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2-1 { grid-template-columns: 2fr 1fr; }
.grid--1-2 { grid-template-columns: 1fr 2fr; }

.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { justify-content: space-between; align-items: center; }
.flex--col { flex-direction: column; }
.flex--gap-sm { gap: var(--sp-sm); }
.flex--gap-md { gap: var(--sp-md); }
.flex--gap-lg { gap: var(--sp-lg); }

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color var(--tr-base), box-shadow var(--tr-base);
}
.header--scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--header-h);
    padding: 0 var(--container-padding);
    max-width: var(--container-wide);
    margin: 0 auto;
}

.header__logo { display: flex; align-items: center; gap: var(--sp-sm); text-decoration: none; color: var(--color-primary); transition: opacity var(--tr-fast); }
.header__logo:hover { opacity: 0.85; color: var(--color-primary); text-decoration: none; }

.header__logo-mark {
    width: 36px; height: 36px;
    background: var(--color-primary);
    color: var(--color-accent);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: var(--fs-lg);
    border-radius: var(--radius-sm);
}

.header__logo-text { display: flex; flex-direction: column; line-height: 1; }
.header__logo-name { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: var(--fw-bold); color: var(--color-primary); letter-spacing: var(--ls-tight); }
.header__logo-title { font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--color-text-muted); letter-spacing: var(--ls-wide); text-transform: uppercase; margin-top: 2px; }

/* Navigation */
.nav { display: flex; align-items: center; gap: var(--sp-xs); }
.nav__list { display: flex; list-style: none; gap: 0; padding: 0; margin: 0; }
.nav__item { position: relative; }

.nav__link {
    display: block; padding: var(--sp-xs) var(--sp-md);
    font-size: var(--fs-sm); font-weight: var(--fw-medium);
    color: var(--color-text-secondary); text-decoration: none;
    letter-spacing: var(--ls-wide); text-transform: uppercase;
    transition: color var(--tr-fast); position: relative;
}
.nav__link::after {
    content: ''; position: absolute; bottom: 0;
    left: var(--sp-md); right: var(--sp-md);
    height: 1.5px; background: var(--color-accent);
    transform: scaleX(0); transition: transform var(--tr-base); transform-origin: center;
}
.nav__link:hover, .nav__link:focus { color: var(--color-primary); text-decoration: none; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-primary); font-weight: var(--fw-semibold); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Language toggle */
.lang-toggle {
    display: flex; align-items: center; gap: 2px;
    margin-left: var(--sp-md);
    font-size: var(--fs-sm); font-weight: var(--fw-medium);
    border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden;
}
.lang-toggle__link { padding: var(--sp-2xs) var(--sp-xs); color: var(--color-text-muted); text-decoration: none; transition: all var(--tr-fast); font-size: var(--fs-xs); letter-spacing: var(--ls-wide); }
.lang-toggle__link:hover { color: var(--color-primary); text-decoration: none; }
.lang-toggle__link--active { background: var(--color-primary); color: var(--color-bg) !important; }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; color: var(--color-primary); cursor: pointer; padding: var(--sp-xs); line-height: 1; }

/* Dropdown */
.nav__dropdown {
    position: absolute; top: 100%; left: 0; min-width: 260px;
    background: var(--color-bg); border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-lg); border-radius: var(--radius-md);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--tr-base); z-index: 100; padding: var(--sp-xs) 0;
}
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__dropdown-link {
    display: block; padding: var(--sp-xs) var(--sp-lg);
    font-size: var(--fs-sm); color: var(--color-text-secondary);
    text-decoration: none; text-transform: none; letter-spacing: 0;
    font-weight: var(--fw-normal); transition: all var(--tr-fast);
}
.nav__dropdown-link:hover { background: var(--color-bg-warm); color: var(--color-primary); padding-left: var(--sp-xl); text-decoration: none; }

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    padding: var(--sp-6xl) 0 var(--sp-5xl);
    position: relative; overflow: hidden;
}
.hero::before { display: none; }

.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3xl); align-items: center; position: relative; }
.hero__content { max-width: 560px; }

.hero__overline { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--color-accent-light); margin-bottom: var(--sp-lg); display: block; }
.hero__title { font-size: var(--fs-5xl); font-weight: var(--fw-bold); color: var(--color-bg); margin-bottom: var(--sp-lg); line-height: var(--lh-tight); }
.hero__subtitle { font-size: var(--fs-lg); font-weight: var(--fw-light); color: rgba(255, 255, 255, 0.8); margin-bottom: var(--sp-2xl); line-height: var(--lh-relaxed); max-width: 480px; }
.hero__actions { display: flex; gap: var(--sp-md); align-items: center; flex-wrap: wrap; }

.hero__image { display: flex; justify-content: center; align-items: flex-end; }
.hero__image img { max-width: 420px; width: 100%; height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4)); }

.hero--sub { padding: var(--sp-4xl) 0 var(--sp-3xl); text-align: center; }
.hero--sub .hero__title { font-size: var(--fs-4xl); max-width: 800px; margin-left: auto; margin-right: auto; }
.hero--sub .hero__subtitle { max-width: 600px; margin-left: auto; margin-right: auto; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-xs); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.6); margin-bottom: var(--sp-xl); list-style: none; padding: 0; }
.breadcrumb a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color var(--tr-fast); }
.breadcrumb a:hover { color: var(--color-accent-light); }
.breadcrumb__sep { font-size: 0.6em; opacity: 0.5; }

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-xs);
    padding: 0.875rem 2rem; font-family: var(--font-body);
    font-size: var(--fs-sm); font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-wide); text-transform: uppercase;
    text-align: center; text-decoration: none;
    border: 1.5px solid transparent; border-radius: var(--radius-md);
    cursor: pointer; transition: all var(--tr-base); line-height: 1; white-space: nowrap;
}

.btn--primary { background: var(--color-accent); color: var(--color-bg); border-color: var(--color-accent); }
.btn--primary:hover, .btn--primary:focus { background: var(--color-accent-dark); border-color: var(--color-accent-dark); color: var(--color-bg); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(184, 148, 73, 0.3); }

.btn--secondary { background: transparent; color: var(--color-bg); border-color: rgba(255, 255, 255, 0.3); }
.btn--secondary:hover, .btn--secondary:focus { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); color: var(--color-bg); text-decoration: none; }

.btn--outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--outline:hover, .btn--outline:focus { background: var(--color-primary); color: var(--color-bg); text-decoration: none; transform: translateY(-1px); }

.btn--dark { background: var(--color-primary); color: var(--color-bg); border-color: var(--color-primary); }
.btn--dark:hover, .btn--dark:focus { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: var(--color-bg); text-decoration: none; transform: translateY(-1px); }

.btn--sm { padding: 0.625rem 1.25rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.125rem 2.5rem; font-size: var(--fs-base); }
.btn__icon { font-size: 1.1em; }

/* ============================================================================
   CARDS
   ============================================================================ */
.card {
    background: var(--color-bg); border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg); padding: var(--sp-2xl);
    transition: all var(--tr-base); height: 100%; position: relative;
}
.card:hover { border-color: var(--color-border-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card__icon { font-size: 2rem; margin-bottom: var(--sp-lg); display: block; }
.card__number { font-family: var(--font-heading); font-size: var(--fs-xs); color: var(--color-accent); font-weight: var(--fw-semibold); letter-spacing: var(--ls-wider); margin-bottom: var(--sp-md); display: block; }
.card__title { font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: var(--fw-semibold); margin-bottom: var(--sp-sm); color: var(--color-primary); }
.card__text { color: var(--color-text-secondary); margin-bottom: var(--sp-lg); font-size: var(--fs-base); line-height: var(--lh-relaxed); }
.card__link { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--color-accent); text-decoration: none; letter-spacing: var(--ls-wide); text-transform: uppercase; display: inline-flex; align-items: center; gap: var(--sp-2xs); transition: gap var(--tr-base), color var(--tr-fast); }
.card__link:hover { gap: var(--sp-xs); color: var(--color-accent-dark); text-decoration: none; }

.card--bordered-top { border-top: 3px solid var(--color-accent); }
.card--flat { border: none; background: transparent; padding: var(--sp-lg); }
.card--flat:hover { background: var(--color-bg-warm); box-shadow: none; }
.card--dark { background: var(--color-primary); border-color: rgba(255, 255, 255, 0.08); color: var(--color-text-inverse); }
.card--dark .card__title { color: var(--color-bg); }
.card--dark .card__text { color: rgba(255, 255, 255, 0.7); }
.card--dark:hover { border-color: rgba(255, 255, 255, 0.15); }

/* ============================================================================
   PRACTICE AREA CARDS
   ============================================================================ */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); }
.practice-card { display: flex; flex-direction: column; padding: var(--sp-xl) var(--sp-2xl); background: var(--color-bg); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--tr-base); height: 100%; text-decoration: none; color: inherit; }
.practice-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; color: inherit; }

.practice-card__header { padding: var(--sp-lg) 0; border-bottom: 1px solid var(--color-border-light); }
.practice-card__title { font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: var(--fw-semibold); color: var(--color-primary); margin-bottom: 0; }

.practice-card__body { padding: var(--sp-lg) 0; flex: 1; }
.practice-card__text, .practice-card__desc { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); margin-bottom: var(--sp-md); flex: 1; }

.practice-card__list { list-style: none; padding: 0; margin: 0; }
.practice-card__list li { padding: var(--sp-xs) 0; font-size: var(--fs-sm); color: var(--color-text-secondary); border-bottom: 1px solid var(--color-border-light); padding-left: var(--sp-md); position: relative; }
.practice-card__list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--color-accent); transform: translateY(-50%); }
.practice-card__list li:last-child { border-bottom: none; }

.practice-card__footer { padding: var(--sp-lg) 0 0; }
.practice-card__link { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--color-accent); text-decoration: none; letter-spacing: var(--ls-wide); text-transform: uppercase; display: inline-flex; align-items: center; gap: var(--sp-2xs); transition: gap var(--tr-base); margin-top: auto; }
.practice-card__link:hover { gap: var(--sp-xs); text-decoration: none; }

.practice-card--upcoming { border-style: dashed; opacity: .88; }
.practice-card--upcoming:hover { transform: none; box-shadow: none; border-color: var(--color-accent); }
.practice-card__badge { display: inline-block; font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--color-accent); background: rgba(184,148,73,.1); border: 1px solid rgba(184,148,73,.3); border-radius: var(--radius-sm); padding: 2px 8px; margin-bottom: var(--sp-xs); }

/* ============================================================================
   STATS / TRUST INDICATORS
   ============================================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-xl); }
.stat { text-align: center; padding: var(--sp-xl) var(--sp-md); }
.stat__number { font-family: var(--font-heading); font-size: var(--fs-4xl); font-weight: var(--fw-bold); color: var(--color-accent); line-height: 1; margin-bottom: var(--sp-xs); }
.stat__label { font-size: var(--fs-sm); color: var(--color-text-muted); font-weight: var(--fw-medium); letter-spacing: var(--ls-wide); text-transform: uppercase; }

.stat--inverse .stat__number { color: var(--color-accent-light); }
.stat--inverse .stat__label { color: rgba(255, 255, 255, 0.7); }

.stats--divided .stat { border-right: 1px solid var(--color-border-light); }
.stats--divided .stat:last-child { border-right: none; }
.stats--divided-dark .stat { border-right: 1px solid rgba(255, 255, 255, 0.1); }
.stats--divided-dark .stat:last-child { border-right: none; }

/* ============================================================================
   TIMELINE
   ============================================================================ */
.timeline { position: relative; padding-left: var(--sp-2xl); }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--color-border); }

.timeline__item { position: relative; padding-bottom: var(--sp-2xl); }
.timeline__item::before { content: ''; position: absolute; left: calc(-1 * var(--sp-2xl) - 4px); top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); border: 2px solid var(--color-bg); }

.timeline__date { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--color-accent); letter-spacing: var(--ls-wide); margin-bottom: var(--sp-xs); }
.timeline__title { font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: var(--fw-semibold); color: var(--color-primary); margin-bottom: var(--sp-xs); }
.timeline__text { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); }

/* ============================================================================
   FORMS
   ============================================================================ */
.form-group { margin-bottom: var(--sp-lg); }
.form-label { display: block; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--color-text); margin-bottom: var(--sp-xs); letter-spacing: var(--ls-wide); }

.form-input, .form-textarea, .form-select {
    width: 100%; padding: 0.875rem var(--sp-md);
    font-family: var(--font-body); font-size: var(--fs-base);
    color: var(--color-text); background: var(--color-bg);
    border: 1px solid var(--color-border); border-radius: var(--radius-md);
    transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(12, 31, 63, 0.08); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-muted); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-required { color: var(--color-error); }
.form-error { color: var(--color-error); font-size: var(--fs-sm); margin-top: var(--sp-2xs); display: block; }
.form-success { background: #ecfdf5; color: var(--color-success); padding: var(--sp-md); border-radius: var(--radius-md); margin-bottom: var(--sp-lg); border: 1px solid #a7f3d0; }

.form-checkbox { display: flex; align-items: flex-start; gap: var(--sp-sm); font-size: var(--fs-sm); color: var(--color-text-secondary); cursor: pointer; }
.form-checkbox input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--sp-5xl) 0 var(--sp-xl);
}

.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-3xl); margin-bottom: var(--sp-3xl); }

.footer__brand { max-width: 300px; }
.footer__brand-name { font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: var(--fw-bold); color: var(--color-bg); margin-bottom: var(--sp-sm); }
.footer__brand-desc { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.6); line-height: var(--lh-relaxed); margin-bottom: var(--sp-lg); }

.footer__section h3, .footer__section h4 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-wider); text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: var(--sp-lg); }

.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: var(--sp-sm); }
.footer__link { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color var(--tr-fast); }
.footer__link:hover { color: var(--color-accent-light); text-decoration: none; }

.footer__contact-item { display: flex; align-items: flex-start; gap: var(--sp-sm); margin-bottom: var(--sp-md); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.7); }
.footer__contact-item a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer__contact-item a:hover { color: var(--color-accent-light); }

.footer__divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: var(--sp-lg); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.4); }
.footer__bottom a { color: rgba(255, 255, 255, 0.4); text-decoration: none; }
.footer__bottom a:hover { color: rgba(255, 255, 255, 0.7); }
.footer__bottom-links { display: flex; gap: var(--sp-lg); }

/* ============================================================================
   ARTICLE / BLOG
   ============================================================================ */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: var(--sp-2xl); }
.article h3 { margin-top: var(--sp-xl); }
.article p { font-size: var(--fs-md); line-height: var(--lh-relaxed); margin-bottom: var(--sp-lg); }
.article ul, .article ol { margin-bottom: var(--sp-lg); }
.article li { font-size: var(--fs-md); line-height: var(--lh-relaxed); margin-bottom: var(--sp-sm); }

.blog-card { display: flex; flex-direction: column; background: var(--color-bg); border: 1px solid var(--color-border-light); border-radius: var(--radius-lg); padding: var(--sp-2xl); transition: all var(--tr-base); height: 100%; }
.blog-card:hover { border-color: var(--color-border-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card__tag { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-wider); text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--sp-md); }
.blog-card__title { font-family: var(--font-heading); font-size: var(--fs-xl); font-weight: var(--fw-semibold); color: var(--color-primary); margin-bottom: var(--sp-sm); line-height: var(--lh-snug); }
.blog-card__excerpt { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); margin-bottom: var(--sp-lg); flex: 1; }
.blog-card__link { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--color-accent); text-decoration: none; display: inline-flex; align-items: center; gap: var(--sp-2xs); letter-spacing: var(--ls-wide); text-transform: uppercase; transition: gap var(--tr-base); }
.blog-card__link:hover { gap: var(--sp-xs); text-decoration: none; }

/* ============================================================================
   FAQ ACCORDION
   ============================================================================ */
.faq__item { border-bottom: 1px solid var(--color-border-light); }
.faq__item:first-child { border-top: 1px solid var(--color-border-light); }

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

.faq__question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: var(--sp-lg) 0;
    font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: var(--fw-semibold);
    color: var(--color-primary); background: none; border: none;
    cursor: pointer; text-align: left; transition: color var(--tr-fast);
}
.faq__question:hover { color: var(--color-accent); }
.faq__question::after {
    content: '+'; flex-shrink: 0; margin-left: var(--sp-md);
    font-size: var(--fs-xl); color: var(--color-accent);
    transition: transform var(--tr-base); font-weight: var(--fw-light);
}
.faq__item[open] .faq__question::after { transform: rotate(45deg); }
.faq__item[open] .faq__question { color: var(--color-accent); }

.faq__answer { padding: 0 0 var(--sp-lg); font-size: var(--fs-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); }
.faq__answer p { margin-bottom: var(--sp-sm); }
.faq__answer a { color: var(--color-accent); text-decoration: underline; }
.faq__answer a:hover { color: var(--color-accent-dark); }

/* ============================================================================
   PRACTICE AREA DETAIL PAGE
   ============================================================================ */
.practice-detail { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-3xl); align-items: flex-start; }

.practice-sidebar { position: sticky; top: calc(var(--header-h) + var(--sp-xl)); }
.practice-sidebar__nav { list-style: none; padding: 0; margin: 0; }
.practice-sidebar__link { display: block; padding: var(--sp-sm) var(--sp-md); font-size: var(--fs-sm); color: var(--color-text-secondary); text-decoration: none; border-left: 2px solid transparent; transition: all var(--tr-fast); }
.practice-sidebar__link:hover, .practice-sidebar__link--active { color: var(--color-primary); border-left-color: var(--color-accent); background: var(--color-bg-warm); text-decoration: none; }

.practice-content h2 { font-size: var(--fs-2xl); padding-top: var(--sp-xl); }
.practice-content h3 { font-size: var(--fs-xl); color: var(--color-primary-light); }
.practice-content ul { list-style: none; padding: 0; }
.practice-content ul li { padding: var(--sp-sm) 0; padding-left: var(--sp-lg); position: relative; color: var(--color-text-secondary); line-height: var(--lh-relaxed); }
.practice-content ul li::before { content: ''; position: absolute; left: 0; top: calc(var(--sp-sm) + 0.6em); width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.cta { background: var(--color-primary); padding: var(--sp-4xl) 0; text-align: center; color: var(--color-text-inverse); }
.cta__title { font-size: var(--fs-3xl); color: var(--color-bg); margin-bottom: var(--sp-md); }
.cta__text { font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto var(--sp-2xl); line-height: var(--lh-relaxed); }
.cta__actions { display: flex; justify-content: center; gap: var(--sp-md); flex-wrap: wrap; }

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--sp-3xl); }

.contact-info__item { display: flex; gap: var(--sp-md); margin-bottom: var(--sp-xl); }
.contact-info__icon { flex-shrink: 0; width: 40px; height: 40px; background: var(--color-bg-alt); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: var(--fs-lg); }
.contact-info__label { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--color-primary); margin-bottom: var(--sp-2xs); }
.contact-info__value { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: var(--lh-relaxed); }
.contact-info__value a { color: var(--color-text-secondary); text-decoration: none; }
.contact-info__value a:hover { color: var(--color-accent); }

.map-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border-light); box-shadow: var(--shadow-sm); }
.map-container iframe { width: 100%; height: 350px; display: block; border: none; }

/* ============================================================================
   THANK YOU PAGE
   ============================================================================ */
.thankyou { text-align: center; padding: var(--sp-6xl) 0; }
.thankyou__icon { font-size: 3rem; margin-bottom: var(--sp-lg); }
.thankyou__title { font-size: var(--fs-3xl); margin-bottom: var(--sp-md); }
.thankyou__text { font-size: var(--fs-lg); color: var(--color-text-secondary); max-width: 480px; margin: 0 auto var(--sp-2xl); }

/* ============================================================================
   WHATSAPP FLOATING BUTTON
   ============================================================================ */
.whatsapp-float {
    position: fixed; bottom: var(--sp-xl); right: var(--sp-xl); z-index: 999;
    display: flex; align-items: center; gap: var(--sp-sm);
    background: #25d366; color: #fff;
    padding: var(--sp-sm) var(--sp-lg); border-radius: 50px;
    font-size: var(--fs-sm); font-weight: var(--fw-semibold);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: all var(--tr-base), bottom .35s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); color: #fff; text-decoration: none; }
.whatsapp-float__icon { display: flex; align-items: center; line-height: 1; }

/* ============================================================================
   LOCATION PAGE
   ============================================================================ */
.location-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-md); }
.location-tag { display: inline-flex; align-items: center; gap: var(--sp-xs); padding: var(--sp-sm) var(--sp-md); background: var(--color-bg-warm); border: 1px solid var(--color-border-light); border-radius: var(--radius-md); font-size: var(--fs-sm); color: var(--color-text-secondary); text-decoration: none; transition: all var(--tr-fast); }
.location-tag:hover { border-color: var(--color-accent); color: var(--color-primary); text-decoration: none; }
.location-tag--active { background: var(--color-primary); color: var(--color-bg); border-color: var(--color-primary); }

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mb-2xl { margin-bottom: var(--sp-2xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

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

.divider { border: none; border-top: 1px solid var(--color-border-light); margin: var(--sp-3xl) 0; }
.accent-text { color: var(--color-accent); }
.muted-text { color: var(--color-text-muted); }

.inline-list { display: flex; flex-wrap: wrap; gap: var(--sp-sm); list-style: none; padding: 0; margin: 0; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__content { max-width: 640px; margin: 0 auto; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__image { order: -1; }
    .hero__image img { max-width: 340px; }
    .footer__inner { grid-template-columns: repeat(2, 1fr); }
    .practice-detail { grid-template-columns: 1fr; }
    .practice-sidebar { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-intro { grid-template-columns: 1fr !important; }
}

@media (max-width: 968px) {
    :root { --container-padding: 1.25rem; }

    .nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: var(--color-bg); flex-direction: column;
        padding: var(--sp-xl); transform: translateX(-100%);
        transition: transform var(--tr-base); overflow-y: auto;
        border-top: 1px solid var(--color-border-light);
    }
    .nav--open { transform: translateX(0); }
    .nav__list { flex-direction: column; width: 100%; gap: 0; }
    .nav__link { padding: var(--sp-md) 0; border-bottom: 1px solid var(--color-border-light); width: 100%; font-size: var(--fs-base); }
    .nav__link::after { display: none; }

    .nav__dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0; padding-left: var(--sp-md); display: none; }
    .nav__dropdown-link { padding: var(--sp-sm) 0; border-bottom: 1px solid var(--color-border-light); display: block; }

    .lang-toggle { margin-left: 0; margin-top: var(--sp-lg); }
    .menu-toggle { display: block; }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .practice-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    :root { --fs-5xl: 2.25rem; --fs-4xl: 1.875rem; --fs-3xl: 1.5rem; --fs-2xl: 1.25rem; --sp-5xl: 4rem; --sp-6xl: 5rem; }

    .hero { padding: var(--sp-4xl) 0 var(--sp-3xl); }
    .hero__image img { max-width: 280px; }

    .grid--2, .grid--3, .grid--4, .practice-grid { grid-template-columns: 1fr; }
    .about-intro { grid-template-columns: 1fr !important; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats--divided .stat, .stats--divided-dark .stat { border-right: none; }

    .footer__inner { grid-template-columns: 1fr; gap: var(--sp-2xl); }
    .footer__bottom { flex-direction: column; gap: var(--sp-md); text-align: center; }
    .footer__bottom-links { flex-wrap: wrap; justify-content: center; }

    .hero__actions { flex-direction: column; align-items: stretch; }
    .cta__actions { flex-direction: column; align-items: center; }
    .card { padding: var(--sp-xl); }
    .practice-card { padding: var(--sp-lg); }

    .whatsapp-float span:not(.whatsapp-float__icon) { display: none; }
    .whatsapp-float { padding: var(--sp-md); border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .header, .footer, .whatsapp-float, .menu-toggle, .cta, .btn { display: none; }
    body { font-size: 11pt; line-height: 1.5; color: #000; }
    .section { padding: 1rem 0; }
    a { text-decoration: underline; color: #000; }
    .section, .card { page-break-inside: avoid; }
}