/*
Theme Name: Alfa Otomatik Kapı
Theme URI: https://ankara-otomatikkapi.com
Author: Alfa Otomatik Kapı Sistemleri
Author URI: https://ankara-otomatikkapi.com
Description: Ankara'da otomatik kapı, kepenk, garaj kapısı ve bariyer hizmeti veren Alfa Otomatik Kapı Sistemleri için özel olarak kodlanmış, eklentisiz, hızlı, güvenli, SEO ve GEO odaklı WordPress teması.
Version: 1.0.0
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alfa-otomatik-kapi
*/

/* Fonts (self-hosted: faster, and no visitor data goes to a font CDN) */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/archivo-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/archivo-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0d1a1c;
  --ink-2: #16282b;
  --ink-3: #223a3e;
  --text: #1c2b2e;
  --muted: #4f6166;
  --line: #dbe3e1;
  --paper: #f4f7f6;
  --white: #ffffff;
  --brand: #0fbe7c;
  --brand-soft: #e3f7ef;
  --brand-deep: #06714a;
  --on-brand: #04231a;
  --on-ink: #e8efed;
  --on-ink-muted: #a6b8b6;
  --error: #b3261e;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Archivo', 'Inter', system-ui, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(13, 26, 28, 0.08);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }

html {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; -webkit-font-smoothing: antialiased; }

a { color: var(--brand-deep); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.2rem; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.icon { flex: none; width: 1.25em; height: 1.25em; }

.container { max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 8px; border: 2px solid transparent;
  font: 650 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: #0ad08a; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }

/* Top bar and header */
.topbar { background: var(--ink); color: var(--on-ink-muted); font-size: 0.82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--brand); }
.topbar__item { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar__status { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--on-ink); }
.topbar__status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(15, 190, 124, 0.25); }
.topbar__address { display: none; }
@media (min-width: 900px) { .topbar__address { display: inline-flex; } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand__name { font: 800 1.08rem/1.1 var(--font-heading); letter-spacing: -0.01em; }
.brand__name small { display: block; font: 500 0.72rem/1.3 var(--font-body); color: var(--muted); letter-spacing: 0; }

.nav-toggle { display: inline-flex; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; inset: 100% 0 auto 0; max-height: calc(100vh - 120px); overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 0.5rem var(--gutter) 1.25rem; }
.primary-nav a { display: block; padding: 0.65rem 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.primary-nav .sub-menu a { padding-left: 1rem; font-weight: 500; color: var(--muted); }
.header-call { display: none; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { display: block; position: static; box-shadow: none; border: 0; padding: 0; overflow: visible; max-height: none; background: none; }
  .primary-nav > ul { display: flex; align-items: center; gap: 0.25rem; }
  .primary-nav > ul > li { position: relative; }
  .primary-nav > ul > li > a { padding: 0.6rem 0.8rem; font-size: 0.94rem; border-radius: 6px; }
  .primary-nav > ul > li > a:hover { background: var(--paper); }
  .primary-nav .menu-item-has-children > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
  .primary-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 300px; padding: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.16s ease, transform 0.16s ease; }
  .primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .primary-nav .sub-menu a { padding: 0.5rem 0.7rem; font-size: 0.92rem; border-radius: 6px; color: var(--text); }
  .primary-nav .sub-menu a:hover { background: var(--brand-soft); color: var(--brand-deep); }
  .header-call { display: inline-flex; padding: 0.65rem 1rem; font-size: 0.94rem; }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero__grid { display: grid; gap: 2rem; padding-block: 3rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero__eyebrow, .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font: 700 0.8rem/1.2 var(--font-heading); letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 0.9rem; }
.hero__eyebrow { color: var(--brand); }
.hero .page-summary { font-size: 1.08rem; color: var(--on-ink); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; padding-block: 4.5rem 2.5rem; }
}

/* All slides share one grid cell, so the tallest sets the height and nothing jumps. */
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0.45s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__title { color: var(--white); font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
.hero__text { font-size: 1.08rem; color: var(--on-ink); max-width: 56ch; }
.hero__media--contain { display: flex; align-items: center; justify-content: center; background: var(--ink-2); }
.hero__media--contain img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.hero__controls { display: flex; align-items: center; gap: 0.6rem; padding-bottom: 2rem; }
.hero__arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; background: none; color: var(--white); cursor: pointer; }
.hero__arrow:hover { border-color: var(--brand); color: var(--brand); }
.hero__arrow[data-slide="prev"] .icon { transform: rotate(180deg); }
.hero__dots { display: flex; }
.hero__dots button { width: 24px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dots button::before { content: ''; display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.hero__dots button[aria-current]::before { background: var(--brand); }
.hero__pause { margin-left: auto; min-height: 44px; padding: 0 0.5rem; border: 0; background: none; color: var(--on-ink-muted); font: 600 0.85rem/1 var(--font-body); cursor: pointer; }
.hero__pause:hover { color: var(--white); }

/* Trust strip */
.trust { background: var(--brand); color: var(--on-brand); }
.trust ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem 1.5rem; padding-block: 1.1rem; }
.trust li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.93rem; line-height: 1.3; padding-block: 0.25rem; }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }

/* Sections */
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--brand); }
.section-head { max-width: 680px; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); margin: 0; }
.section--ink .section-head p { color: var(--on-ink-muted); }

/* Product cards */
.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand); }
.card__media { aspect-ratio: 16 / 10; background: var(--ink-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.25rem; }
.card__body h3 { margin-bottom: 0.4rem; }
.card__body p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; font-weight: 650; font-size: 0.93rem; color: var(--brand-deep); }

/* Service rows */
.service-list { display: grid; gap: 0 2.5rem; counter-reset: service; }
@media (min-width: 860px) { .service-list { grid-template-columns: repeat(2, 1fr); } }
.service-list a { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.13); color: var(--white); text-decoration: none; font: 650 1.03rem/1.3 var(--font-heading); counter-increment: service; transition: color 0.15s ease; }
.service-list a::before { content: counter(service, decimal-leading-zero); font: 600 0.8rem/1 var(--font-body); color: var(--brand); }
.service-list a .icon { margin-left: auto; transition: transform 0.15s ease; }
.service-list a:hover { color: var(--brand); }
.service-list a:hover .icon { transform: translateX(4px); }

/* About and split blocks */
.split { display: grid; gap: 2rem; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.check-list li { display: flex; gap: 0.6rem; margin-bottom: 0.55rem; }
.check-list .icon { color: var(--brand-deep); margin-top: 0.2em; }

/* Testimonials */
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote { margin: 0; padding: 1.5rem; background: var(--white); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { margin-bottom: 0.8rem; }
.quote footer { color: var(--muted); font-size: 0.9rem; }
.quote cite { font-style: normal; font-weight: 650; color: var(--ink); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; font: 650 1.05rem/1.35 var(--font-heading); color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand-deep); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); }

/* Page header and layout */
.page-hero { background: var(--ink); color: var(--on-ink); }
.page-hero__grid { display: grid; gap: 2rem; padding-block: 2.25rem 2.75rem; align-items: center; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.75rem); margin-bottom: 0.5em; }
.page-hero .page-summary { color: var(--on-ink); font-size: 1.05rem; max-width: 68ch; margin: 0; }
.page-hero__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .page-hero__grid--media { grid-template-columns: 1.5fr 1fr; gap: 3rem; } }

.breadcrumbs { font-size: 0.85rem; margin-bottom: 1rem; color: var(--on-ink-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.4rem; opacity: 0.6; }
.breadcrumbs a { color: var(--on-ink); }

.page-layout { display: grid; gap: 2.5rem; padding-block: 2.75rem 3.5rem; }
@media (min-width: 960px) { .page-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; } }

.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; }
@media (min-width: 960px) { .side-card { position: sticky; top: 100px; } }
.side-card h2 { font-size: 1.15rem; }
.side-card__list li { display: flex; gap: 0.6rem; margin-bottom: 0.7rem; font-size: 0.94rem; line-height: 1.4; }
.side-card__list .icon { color: var(--brand-deep); margin-top: 0.1em; }
.side-card__list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.side-card__list a:hover { color: var(--brand-deep); }
.side-card .btn { width: 100%; margin-top: 0.5rem; }

.page-updated { clear: both; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* Imported page content */
.entry-content { min-width: 0; font-size: 1.03rem; }
.entry-content > * + h2, .entry-content > * + h3 { margin-top: 1.6em; }
.entry-content ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.entry-content ul[style] { padding-left: 0; }
.entry-content ul ul { margin-bottom: 0; padding-left: 0; }
.entry-content figure { margin: 0 0 1.25rem; }
.entry-content img { border-radius: 8px; height: auto; }
.entry-content figcaption, .entry-content .wp-caption-text { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.entry-content .wp-caption { max-width: 100%; margin-bottom: 1.25rem; }
.entry-content mark { background: none; color: inherit; }
.entry-content p:empty { display: none; }
.entry-content .alignleft { float: left; margin: 0.3rem 1.5rem 0.75rem 0; max-width: 45%; }
.entry-content .wp-block-media-text { margin-block: 1.5rem; gap: 0; }
.entry-content .wp-block-media-text__media img { border-radius: 8px; }
.entry-content .wp-block-media-text__content { padding: 0 0 0 1.5rem; }
.entry-content .wp-block-columns { margin-bottom: 1rem; }
.entry-content::after { content: ''; display: block; clear: both; }
@media (max-width: 600px) {
  .entry-content .wp-block-media-text { display: block; }
  .entry-content .wp-block-media-text__content { padding: 1rem 0 0; }
  .entry-content .alignleft { float: none; margin-right: 0; max-width: 100%; }
}

/* Related pages */
.related-links { display: grid; gap: 0.75rem; }
@media (min-width: 760px) { .related-links { grid-template-columns: repeat(3, 1fr); } }
.related-links a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.9rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; }
.related-links a:hover { border-color: var(--brand); color: var(--brand-deep); }

/* CTA band */
.cta { background: var(--ink); color: var(--on-ink); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2.75rem; }
.cta h2 { color: var(--white); margin-bottom: 0.25em; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.cta p { margin: 0; color: var(--on-ink-muted); max-width: 58ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Form */
.contact-form { background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.form-grid { display: grid; gap: 0 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-wide { grid-column: 1 / -1; } }
.form-grid p { margin-bottom: 1rem; }
.contact-form label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; color: var(--ink); }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"], .contact-form textarea { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid #aebcb9; border-radius: 7px; font: inherit; color: var(--text); background: var(--white); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.contact-form small { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.82rem; }
.form-consent label { display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.form-consent input { margin-top: 0.25rem; accent-color: var(--brand-deep); }
.form-trap { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.form-notice { padding: 0.8rem 1rem; border-radius: 7px; font-weight: 600; }
.form-notice--ok { background: var(--brand-soft); color: var(--brand-deep); }
.form-notice--error { background: #fbe9e7; color: var(--error); }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 0.93rem; padding-block: 3.25rem 5.5rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; } }
.footer-title { font: 700 1rem/1.3 var(--font-heading); color: var(--white); margin-bottom: 0.9rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer li { margin-bottom: 0.45rem; line-height: 1.4; }
.footer-contact li { display: flex; gap: 0.55rem; }
.footer-contact .icon { color: var(--brand); margin-top: 0.05em; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 2rem; } }

/* Mobile action bar */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(13, 26, 28, 0.08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 56px; font-weight: 650; font-size: 0.93rem; color: var(--ink); text-decoration: none; }
.mobile-bar a:first-child { background: var(--brand); color: var(--on-brand); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* 404 */
.not-found { padding-block: 4.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

@media print {
  .topbar, .site-header, .mobile-bar, .cta, .site-footer { display: none; }
}
