/* ==========================================================================
   Tatlı Doku — Modern Mutfak Lab
   Design: Glass, Marble, Warm Amber
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
    --marble: #f5f0eb;
    --marble-dark: #e8e0d8;
    --amber: #c8860a;
    --amber-light: #f0a500;
    --amber-glow: rgba(200, 134, 10, 0.12);
    --graphite: #2c2c2c;
    --graphite-light: #4a4a4a;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.35);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --transition: 0.3s ease;
}

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---------- 2. Base Body ---------- */
body {
    background-color: var(--marble);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--graphite);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- 3. Typography ---------- */
h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 16px;
}

h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 14px;
}

h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 12px;
}

h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 10px;
}

h5 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 8px;
}

h6 {
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
}

/* ---------- 4. Links ---------- */
a {
    color: var(--amber);
    transition: all var(--transition);
}

a:hover {
    text-decoration: underline;
}

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

/* ---------- 6. Skip Link ---------- */
.skip-link {
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 9999;
    background-color: var(--amber);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 0 0 8px 0;
    opacity: 0;
    transition: top var(--transition), opacity var(--transition);
}

.skip-link:focus {
    top: 0;
    left: 0;
    opacity: 1;
}

/* ---------- 7. Site Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    padding: 16px 0;
    /* needed so mobile dropdown positions relative to header */
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---------- 8. Site Logo ---------- */
.site-logo {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--graphite);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo:hover {
    text-decoration: none;
    color: var(--amber);
}

/* ---------- 9. Logo Icon ---------- */
.logo-icon {
    color: var(--amber);
    font-size: 1.5rem;
    display: inline-block;
    transition: transform var(--transition);
}

.site-logo:hover .logo-icon {
    transform: rotate(-15deg) scale(1.15);
}

.main-nav {
    position: static;
}

/* ---------- 10. Nav Toggle (Hamburger) ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 28px;
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--graphite);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Hamburger → X animation */
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 11. Nav List ---------- */
.nav-list {
    display: flex;
    gap: 4px;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

/* ---------- 12. Nav List Links ---------- */
.nav-list a {
    padding: 6px 12px;
    color: var(--graphite-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background-color var(--transition), color var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    background-color: var(--amber-glow);
    color: var(--amber);
    text-decoration: none;
}

/* ---------- 13. Hero ---------- */
.hero {
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
}

/* ---------- 14. Hero h1 ---------- */
.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.2;
}

/* ---------- 15. Hero Subtitle ---------- */
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--graphite-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ---------- 16. Hero ::after ---------- */
.hero::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: var(--amber);
    margin: 0 auto;
    opacity: 0.5;
}

/* ---------- 17. Section ---------- */
.section {
    padding: 48px 24px;
    max-width: 1248px;
    margin: 0 auto;
}

/* ---------- 18. Section Title ---------- */
.section-title {
    text-align: center;
    margin-bottom: 48px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--amber);
    border-radius: 2px;
}

/* ---------- 19. Card Grid ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ---------- 20. Topic Card ---------- */
.topic-card {
    display: block;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-decoration: none;
    color: var(--graphite);
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 3px solid var(--amber);
}

/* ---------- 21. Topic Card Hover ---------- */
.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

/* ---------- 22. Topic Card h2 ---------- */
.topic-card h2 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

/* ---------- 23. Topic Card p ---------- */
.topic-card p {
    color: var(--graphite-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- 24. Glass Panel ---------- */
.glass-panel {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

/* ---------- 25. Article Page ---------- */
.article-page {
    padding: 60px 24px 80px;
}

.article-page .container,
.scenario-page .container,
.section .container {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}

/* Remove extra top padding when nested inside .section */
.section .article-page,
.section .legal-page {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

/* ---------- 26. Article Header ---------- */
.article-header {
    text-align: center;
    margin-bottom: 48px;
}

/* ---------- 27. Article Header h1 ---------- */
.article-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

/* ---------- 28. Article Intro ---------- */
.article-intro {
    color: var(--graphite-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ---------- 29. Article Body ---------- */
.article-body {
    max-width: 800px;
    margin: 0 auto;
}

/* ---------- 30. Article Body h2 ---------- */
.article-body h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 1.5rem;
    padding-left: 20px;
    position: relative;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--amber);
    border-radius: 2px;
}

/* ---------- 31. Article Body h3 ---------- */
.article-body h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--graphite-light);
}

/* ---------- 32. Article Body p ---------- */
.article-body p {
    margin-bottom: 18px;
}

/* ---------- 33. Scenario Page ---------- */
.scenario-page {
    padding: 60px 24px 80px;
}

/* ---------- 34. Scenario Grid ---------- */
.scenario-grid {
    display: grid;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

/* ---------- 35. Scenario Card ---------- */
.scenario-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--amber);
}

/* ---------- 36. Scenario Card h2 ---------- */
.scenario-card h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* ---------- 37. Problem ---------- */
.problem {
    background: var(--amber-glow);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

/* ---------- 38. Problem/Solution h3 ---------- */
.problem h3,
.solution h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---------- 39. Solution ---------- */
.solution {
    padding: 0 20px;
}

/* ---------- 40. Info Box ---------- */
.info-box {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid #3b82f6;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    clear: both;
}

/* ---------- 41. Tip Box ---------- */
.tip-box {
    background: var(--amber-glow);
    border-left: 4px solid var(--amber);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    clear: both;
}

/* ---------- 42. Warning Box ---------- */
.warning-box {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    clear: both;
}

/* ---------- 43. Step List ---------- */
.step-list {
    counter-reset: steps;
    list-style: none;
    padding: 0;
    clear: both;
}

/* ---------- 44. Step List li ---------- */
.step-list li {
    counter-increment: steps;
    padding-left: 48px;
    position: relative;
    margin-bottom: 20px;
}

.step-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--amber);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ---------- 45. Check List ---------- */
.check-list {
    list-style: none;
    padding: 0;
    clear: both;
}

/* ---------- 46. Check List li ---------- */
.check-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 700;
}

/* ---------- 47. FAQ Item ---------- */
.faq-item {
    border-bottom: 1px solid var(--marble-dark);
    padding-bottom: 0;
}

/* ---------- 48. FAQ Question ---------- */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 40px 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--graphite);
    font-family: inherit;
}

/* ---------- 49. FAQ Question ::after ---------- */
.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--amber);
    transition: transform var(--transition);
}

/* ---------- 50. FAQ Question Expanded ---------- */
.faq-question[aria-expanded="true"]::after {
    content: "\2212";
    transform: translateY(-50%) rotate(180deg);
}

/* ---------- 51. FAQ Answer ---------- */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0;
}

/* ---------- 52. FAQ Answer Active ---------- */
.faq-answer.active {
    padding: 0 0 20px;
}

/* ---------- 53. FAQ Answer p ---------- */
.faq-answer p {
    margin-bottom: 12px;
}

/* ---------- 54. Contact Grid ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

/* ---------- 55. Contact Info h2 ---------- */
.contact-info h2 {
    margin-bottom: 24px;
}

/* ---------- 56. Contact Info ul ---------- */
.contact-info ul {
    list-style: none;
    padding: 0;
}

/* ---------- 57. Contact Info li ---------- */
.contact-info li {
    margin-bottom: 16px;
    padding-left: 0;
}

/* ---------- 58. Contact Info strong ---------- */
.contact-info strong {
    display: block;
    margin-bottom: 4px;
    color: var(--graphite);
}

/* ---------- 59. Contact Form ---------- */
.contact-form {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

/* ---------- 60. Form Group ---------- */
.form-group {
    margin-bottom: 20px;
}

/* ---------- 61. Form Label ---------- */
.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---------- 62. Form Input & Textarea ---------- */
.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--marble-dark);
    border-radius: 8px;
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
    outline: none;
}

/* ---------- 63. Form Input & Textarea Focus ---------- */
.form-input:focus,
.form-textarea:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-glow);
}

/* ---------- 64. Form Textarea ---------- */
.form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* ---------- 65. Form Checkbox ---------- */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* ---------- 66. Form Checkbox Input ---------- */
.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--amber);
}

/* ---------- 67. Form Response ---------- */
.form-response {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
}

/* ---------- 68. Form Response Success ---------- */
.form-response.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

/* ---------- 69. Form Response Error ---------- */
.form-response.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ---------- 70. Legal Page ---------- */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* ---------- 71. Legal Page h1 ---------- */
.legal-page h1 {
    margin-bottom: 32px;
}

/* ---------- 72. Legal Page h2 ---------- */
.legal-page h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

/* ---------- 73. Legal Page h3 ---------- */
.legal-page h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

/* ---------- 74. Legal Page p, li ---------- */
.legal-page p,
.legal-page li {
    margin-bottom: 12px;
    color: var(--graphite-light);
}

/* ---------- 75. Legal Page ul ---------- */
.legal-page ul {
    padding-left: 24px;
}

/* ---------- 76. Related Content ---------- */
.related-content {
    margin-top: 64px;
    padding: 32px 24px 48px;
    border-top: 1px solid var(--marble-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- 77. Related Content h3 ---------- */
.related-content h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

/* ---------- 78. Related Content ul ---------- */
.related-content ul {
    list-style: none;
    padding: 0;
}

/* ---------- 79. Related Content li ---------- */
.related-content li {
    margin-bottom: 10px;
}

/* ---------- 80. Related Content a ---------- */
.related-content a {
    color: var(--amber);
    text-decoration: none;
    transition: all var(--transition);
}

.related-content a:hover {
    text-decoration: underline;
}

/* ---------- 81. Site Footer ---------- */
.site-footer {
    background: var(--graphite);
    color: #aaa;
    padding: 64px 0 24px;
}

/* ---------- 82. Footer Grid ---------- */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

/* ---------- 83. Footer h3 ---------- */
.site-footer h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

/* ---------- 84. Footer p ---------- */
.site-footer p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- 85. Footer ul ---------- */
.site-footer ul {
    list-style: none;
    padding: 0;
}

/* ---------- 86. Footer li ---------- */
.site-footer li {
    margin-bottom: 8px;
}

/* ---------- 87. Footer a ---------- */
.site-footer a {
    color: #aaa;
    text-decoration: none;
    transition: color var(--transition);
}

.site-footer a:hover {
    color: var(--amber);
}

/* ---------- 88. Footer Bottom ---------- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
}

/* ---------- 89. Footer Legal ---------- */
.footer-legal {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

/* ---------- 90. Footer Legal a ---------- */
.footer-legal a {
    font-size: 0.85rem;
}

/* ---------- 91. Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--graphite);
    color: var(--white);
    padding: 24px;
    z-index: 1000;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

/* ---------- 92. Cookie Content ---------- */
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- 93. Cookie Content p ---------- */
.cookie-content > p {
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* ---------- 94. Cookie Content a ---------- */
.cookie-content a {
    color: var(--amber-light);
}

/* ---------- 95. Cookie Actions ---------- */
.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- 96. Cookie Settings Panel ---------- */
.cookie-settings-panel {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- 97. Cookie Option ---------- */
.cookie-option {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- 98. Cookie Option Label ---------- */
.cookie-option label {
    cursor: pointer;
    font-size: 0.9rem;
}

/* ---------- 99. Cookie Option Checkbox ---------- */
.cookie-option input[type="checkbox"] {
    accent-color: var(--amber);
}

/* ---------- 100. Button Base ---------- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: inherit;
    text-decoration: none;
}

/* ---------- 101. Button Amber ---------- */
.btn-amber {
    background: var(--amber);
    color: var(--white);
}

.btn-amber:hover {
    background: #b37a08;
}

/* ---------- 102. Button Outline ---------- */
.btn-outline {
    background: transparent;
    color: currentColor;
    border: 2px solid currentColor;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- 103. Measure Line ---------- */
.measure-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    margin: 40px auto;
    max-width: 200px;
    position: relative;
}

/* ---------- 104. Measure Line Caps ---------- */
.measure-line::before,
.measure-line::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 1px;
    height: 9px;
    background: var(--amber);
}

/* ---------- 105. Measure Line ::before ---------- */
.measure-line::before {
    left: 0;
}

/* ---------- 106. Measure Line ::after ---------- */
.measure-line::after {
    right: 0;
}

/* ---------- 107. Honeypot Field ---------- */
.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

/* ---------- 108. Article Figure ---------- */
.article-figure {
    margin: 32px 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    background: var(--marble-dark);
    min-height: 200px;
    object-fit: cover;
}

.article-figure figcaption {
    font-size: 0.85rem;
    color: var(--graphite-light);
    margin-top: 10px;
    padding: 0 4px;
    line-height: 1.5;
}

.article-figure-right {
    float: right;
    max-width: 340px;
    margin: 8px 0 24px 32px;
}

.article-figure-left {
    float: left;
    max-width: 340px;
    margin: 8px 32px 24px 0;
}

.article-body::after {
    content: '';
    display: table;
    clear: both;
}

/* ---------- 109. Contact Info Card ---------- */
.contact-info-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-info-card h2 {
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--marble-dark);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item:first-of-type {
    padding-top: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--amber-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--amber);
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-item-text {
    flex: 1;
    min-width: 0;
}

.contact-item-text strong {
    display: block;
    margin-bottom: 2px;
    color: var(--graphite);
    font-size: 0.9rem;
}

.contact-item-text span {
    color: var(--graphite-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Responsive — 1024px (Laptops)
   ========================================================================== */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-list {
        gap: 2px;
    }

    .nav-list a {
        padding: 5px 8px;
        font-size: 0.82rem;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 4vw, 2.4rem);
    }

    .scenario-grid {
        gap: 24px;
    }
}

/* ==========================================================================
   Responsive — 900px (Tablets / Mobile)
   ========================================================================== */
@media (max-width: 900px) {
    /* Nav Toggle visible */
    .nav-toggle {
        display: flex;
    }

    /* Nav List — smooth slide-down, always column */
    .nav-list {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 0 24px;
        z-index: 99;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    padding 0.35s ease;
    }

    .nav-list.active {
        max-height: 700px;
        opacity: 1;
        padding: 16px 24px;
        border-bottom: 1px solid var(--marble-dark);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .nav-list a {
        padding: 14px 16px;
        font-size: 1.1rem;
        display: block;
        border-radius: 8px;
    }

    /* Hero */
    .hero {
        padding-top: 60px;
        padding-bottom: 48px;
    }

    /* Article & Scenario Pages */
    .article-page,
    .scenario-page {
        padding-top: 48px;
    }

    /* Card Grid — single column on mobile */
    .card-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Grid */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Glass Panel */
    .glass-panel {
        padding: 24px;
    }

    /* Article Body h2 */
    .article-body h2 {
        font-size: 1.3rem;
    }

    /* Legal Page */
    .legal-page {
        padding-top: 48px;
    }

    /* Article Figures — stack on mobile */
    .article-figure-right,
    .article-figure-left {
        float: none;
        max-width: 100%;
        margin: 24px 0;
    }
}

/* ==========================================================================
   Responsive — 480px
   ========================================================================== */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
        text-align: center;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .article-intro {
        font-size: 1rem;
    }

    .scenario-card {
        padding: 20px;
    }

    .step-list li {
        padding-left: 40px;
    }

    .faq-question {
        padding: 16px 36px 16px 0;
        font-size: 0.95rem;
    }

    .contact-info li {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

/* ==========================================================================
   Animation
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.article-header,
.glass-panel,
.topic-card {
    animation: fadeInUp 0.6s ease-out;
}

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