/*
Theme Name: Ayvalık Arden Garaj
Theme URI: https://wefixweb.com/
Author: WeFixWeb
Description: Ayvalık Volkswagen Özel Servisi Arden Garaj için özel, Gutenberg tabanlı, mobil uyumlu WordPress teması.
Version: 6.8.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: arden-garaj
*/

:root {
  --ar-red: #ed1c24;
  --ar-red-dark: #bd1117;
  --ar-green: #0c9444;
  --ar-green-dark: #087738;
  --ar-ink: #171719;
  --ar-ink-2: #252528;
  --ar-text: #242426;
  --ar-muted: #717176;
  --ar-soft: #f5f4f2;
  --ar-soft-2: #ecebea;
  --ar-white: #ffffff;
  --ar-line: #dddddf;
  --ar-radius: 18px;
  --ar-shadow: 0 18px 50px rgba(18,18,20,.12);
  --ar-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ar-text);
  background: var(--ar-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--ar-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ar-red-dark); }
button, input, textarea, select { font: inherit; }
svg { width: 1.05em; height: 1.05em; flex: 0 0 auto; }

.ar-container { width: min(calc(100% - 48px), var(--ar-container)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 99999; padding: 10px 14px; background: #fff; color: #111; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Top bar and header */
.ar-topbar { background: var(--ar-red); color: #fff; font-size: 13px; font-weight: 700; }
.ar-topbar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ar-topbar__group { display: flex; align-items: center; gap: 22px; min-width: 0; }
.ar-topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; min-width: 0; }
.ar-topbar__item:hover { color: #fff; opacity: .9; }
.ar-topbar__item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-topbar__address { max-width: 570px; }

.ar-header { position: sticky; top: 0; z-index: 500; background: rgba(23,23,25,.98); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.admin-bar .ar-header { top: 32px; }
.ar-header__inner { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.ar-logo-link { width: 210px; height: 58px; display: flex; align-items: center; padding: 6px 10px; border-radius: 9px; background: #fff; text-decoration: none; overflow: hidden; }
.ar-logo { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.ar-nav { justify-self: center; }
.ar-nav ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 28px; }
.ar-nav a { color: #fff; text-decoration: none; font-weight: 750; font-size: 14px; letter-spacing: .01em; }
.ar-nav a:hover, .ar-nav .current-menu-item > a { color: #ff7a7f; }
.ar-header__actions { display: flex; align-items: center; gap: 10px; }
.ar-header__instagram { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; text-decoration: none; }
.ar-header__instagram:hover { color: #fff; border-color: var(--ar-red); background: var(--ar-red); }
.ar-header__whatsapp { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; color: #fff; background: var(--ar-green); border: 1px solid var(--ar-green); text-decoration: none; border-radius: 9px; font-weight: 800; font-size: 13px; }
.ar-header__whatsapp:hover { color: #fff; border-color: var(--ar-green-dark); background: var(--ar-green-dark); }
.ar-header__phone { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; color: #fff; background: var(--ar-red); text-decoration: none; border-radius: 9px; font-weight: 850; }
.ar-header__phone:hover { color: #fff; background: var(--ar-red-dark); }
.ar-menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; cursor: pointer; }
.ar-menu-toggle svg { width: 22px; height: 22px; }

/* Gutenberg reset */
.ar-page-content > * { margin-block-start: 0; margin-block-end: 0; }
.ar-main .wp-block-group, .ar-main .wp-block-columns, .ar-main .wp-block-image, .ar-main .wp-block-gallery { box-sizing: border-box; }
.ar-main .wp-block-columns { margin-bottom: 0; }
.ar-main .wp-block-image { margin-bottom: 0; }
.ar-main h1, .ar-main h2, .ar-main h3 { line-height: 1.08; letter-spacing: -.035em; color: var(--ar-ink); }
.ar-main h1 { font-size: clamp(42px, 6vw, 78px); font-weight: 900; }
.ar-main h2 { font-size: clamp(32px, 4.1vw, 54px); font-weight: 900; }
.ar-main h3 { font-size: 21px; font-weight: 850; }
.ar-kicker, .ar-eyebrow { margin: 0 0 14px; color: var(--ar-red); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.ar-section { position: relative; width: 100%; padding: 100px max(24px, calc((100vw - var(--ar-container))/2)); }
.ar-section--soft { background: var(--ar-soft); }
.ar-section--dark { color: #fff; background: var(--ar-ink); }
.ar-section--dark h2, .ar-section--dark h3, .ar-section--dark p { color: #fff; }
.ar-section-head { max-width: 760px; margin: 0 0 44px; }
.ar-section-head--wide { max-width: 880px; }
.ar-section-head > *:last-child { margin-bottom: 0; }

/* Hero: editorial split, not a cover */
.ar-hero { position: relative; padding: 78px max(24px, calc((100vw - var(--ar-container))/2)) 106px; color: #fff; background: var(--ar-ink); overflow: hidden; }
.ar-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; top: -250px; border: 72px solid rgba(237,28,36,.18); border-radius: 50%; pointer-events: none; }
.ar-hero::after { content: ""; position: absolute; left: max(24px, calc((100vw - var(--ar-container))/2)); bottom: 34px; width: 180px; height: 4px; background: var(--ar-red); }
.ar-hero__grid { position: relative; z-index: 1; width: 100%; max-width: var(--ar-container); margin: 0 auto; display: grid !important; grid-template-columns: 1.08fr .92fr; gap: 62px; align-items: center; }
.ar-hero__grid > .wp-block-column { min-width: 0; }
.ar-hero__copy { padding: 10px 0; }
.ar-hero h1 { margin: 0 0 24px; color: #fff; max-width: 720px; }
.ar-hero__lead { max-width: 650px; margin: 0 0 30px; color: #d5d5d8; font-size: clamp(18px, 2vw, 21px); }
.ar-hero__buttons { gap: 10px; margin: 0 0 34px; }
.wp-block-button__link, .ar-btn { border-radius: 8px !important; padding: 13px 19px !important; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 850; line-height: 1.15; border: 2px solid transparent; transition: .2s ease; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--ar-red); color: #fff; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--ar-red-dark); color: #fff; transform: translateY(-1px); }
.wp-block-button.is-style-outline .wp-block-button__link { color: var(--ar-red); background: transparent; border-color: currentColor; }
.ar-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.56); }
.ar-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.ar-hero__facts { display: flex; gap: 0 !important; border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; }
.ar-hero__facts p { margin: 0; padding: 0 24px; color: #bdbdc1; font-size: 13px; line-height: 1.4; border-left: 1px solid rgba(255,255,255,.18); }
.ar-hero__facts p:first-child { padding-left: 0; border-left: 0; }
.ar-hero__facts strong { color: #fff; font-size: 15px; }
.ar-hero__media { position: relative; }
.ar-hero__photo { position: relative; margin: 0 !important; border-radius: 4px 4px 30px 4px; overflow: hidden; box-shadow: 22px 22px 0 var(--ar-red); }
.ar-hero__photo img { width: 100%; height: 620px; display: block; object-fit: cover; object-position: center; }
.ar-hero__badge { position: absolute; left: -28px; bottom: 30px; z-index: 2; min-width: 190px; padding: 14px 18px; color: #fff; background: var(--ar-red); box-shadow: var(--ar-shadow); }
.ar-hero__badge p { margin: 0; color: #fff; line-height: 1.35; font-size: 13px; }
.ar-hero__badge strong { font-size: 18px; }

/* Callback card below hero */
.ar-callback-wrap { position: relative; z-index: 4; width: min(calc(100% - 48px), 1160px); margin: -58px auto 0 !important; padding: 0; }
.ar-callback-grid { display: grid !important; grid-template-columns: 1.25fr .75fr; gap: 0 !important; align-items: stretch !important; background: #fff; border: 1px solid var(--ar-line); border-radius: var(--ar-radius); box-shadow: var(--ar-shadow); overflow: hidden; }
.ar-callback-grid > .wp-block-column { flex-basis: auto !important; }
.ar-callback-info { padding: 42px; background: #f7f6f4; border-left: 1px solid var(--ar-line); }
.ar-callback-info h2 { margin-top: 0; font-size: clamp(28px, 3vw, 40px); }
.ar-callback-info .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; background: var(--ar-green); border-color: var(--ar-green); }
.ar-callback-info .wp-block-button.is-style-outline .wp-block-button__link:hover { color: #fff; background: var(--ar-green-dark); border-color: var(--ar-green-dark); }

.ar-form-card { padding: 38px 42px; background: #fff; }
.ar-form-card__eyebrow { color: var(--ar-red); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.ar-form-card h2 { margin: 8px 0 8px; font-size: 30px; }
.ar-form-card > p { margin: 0 0 22px; color: var(--ar-muted); }
.ar-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ar-field { min-width: 0; }
.ar-field:nth-of-type(3), .ar-captcha-field, .ar-form-submit { grid-column: 1 / -1; }
.ar-field label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 850; color: #424246; }
.ar-field input, .ar-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ar-text); background: #fafafa; border: 1px solid #d7d7da; border-radius: 7px; outline: none; }
.ar-field textarea { resize: vertical; }
.ar-field input:focus, .ar-field textarea:focus { border-color: var(--ar-red); box-shadow: 0 0 0 3px rgba(237,28,36,.10); background: #fff; }
.ar-field small { display: block; margin-top: 5px; color: var(--ar-muted); font-size: 11px; }
.ar-form-submit { min-height: 48px; padding: 12px 16px; color: #fff; background: var(--ar-red); border: 0; border-radius: 7px; font-weight: 900; cursor: pointer; }
.ar-form-submit:hover { background: var(--ar-red-dark); }
.ar-form-note { margin: 14px 0 0 !important; font-size: 12px; color: var(--ar-muted); }
.ar-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.ar-alert { margin: 0 0 16px; padding: 11px 13px; border-radius: 7px; font-weight: 750; font-size: 13px; }
.ar-alert--success { color: #155d32; background: #edf8f1; border: 1px solid #bde1c9; }
.ar-alert--error { color: #8f171c; background: #fff0f1; border: 1px solid #ffc4c7; }

/* Brand focus */
.ar-brand-focus { padding-top: 118px; }
.ar-brand-grid { max-width: var(--ar-container); margin: 0 auto; display: grid !important; grid-template-columns: .92fr 1fr; gap: 70px; align-items: center; }
.ar-brand-grid > .wp-block-column { min-width: 0; }
.ar-brand-copy h2 { margin: 0 0 24px; }
.ar-brand-copy > p:not(.ar-kicker) { color: var(--ar-muted); font-size: 18px; }
.ar-checks { list-style: none; padding: 0 !important; margin: 28px 0 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; }
.ar-checks li { position: relative; padding-left: 22px; font-weight: 750; }
.ar-checks li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; background: var(--ar-red); transform: rotate(45deg); }
.ar-brands-card { padding: 26px; background: var(--ar-soft); border-radius: var(--ar-radius); border: 1px solid var(--ar-line); display: flex; align-items: center; justify-content: center; }
.ar-brand-panel { width: 100%; max-width: 560px; margin: 0 auto; padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--ar-line); }
.ar-brand-panel--image { overflow: hidden; }
.ar-brand-panel__full-image { margin: 0 auto !important; width: 100%; }
.ar-brand-panel__full-image img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; border-radius: 8px; }
.ar-call-toast { position: fixed; left: 50%; bottom: 28px; z-index: 99999; transform: translate(-50%, 18px); padding: 11px 16px; border-radius: 9px; color: #fff; background: #171719; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 13px; font-weight: 800; opacity: 0; pointer-events: none; transition: .2s ease; }
.ar-call-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Services */
.ar-service-grid { max-width: var(--ar-container); margin: 0 auto; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ar-service-card { position: relative; min-height: 286px; padding: 30px 28px 26px; background: #fff; border: 1px solid var(--ar-line); border-radius: 12px; overflow: hidden; transition: .2s ease; }
.ar-service-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--ar-red); transform: scaleY(.28); transform-origin: bottom; transition: .25s ease; }
.ar-service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(20,20,22,.08); }
.ar-service-card:hover::before { transform: scaleY(1); }
.ar-service-card__num { margin: 0 0 38px; color: var(--ar-red); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.ar-service-card h3 { margin: 0 0 12px; font-size: 24px; }
.ar-service-card > p:not(.ar-service-card__num):not(.ar-service-card__link) { color: var(--ar-muted); }
.ar-service-card__link { margin: 20px 0 0; }
.ar-service-card__link a { font-weight: 850; text-decoration: none; }
.ar-service-card__link a::after { content: " →"; }

/* Engine / mechanical story */
.ar-engine-grid { max-width: var(--ar-container); margin: 0 auto; display: grid !important; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
.ar-engine-grid > .wp-block-column { min-width: 0; }
.ar-engine-media { position: relative; min-height: 650px; }
.ar-engine-image { width: 78%; margin: 0 !important; border-radius: 4px 24px 4px 4px; overflow: hidden; }
.ar-engine-image img { display: block; width: 100%; height: 610px; object-fit: cover; }
.ar-detail-image { position: absolute; width: 45%; right: 0; bottom: -12px; margin: 0 !important; padding: 8px; background: #fff; border: 1px solid var(--ar-line); box-shadow: var(--ar-shadow); border-radius: 10px; }
.ar-detail-image img { display: block; width: 100%; height: 235px; object-fit: cover; border-radius: 6px; }
.ar-engine-copy h2 { margin: 0 0 24px; }
.ar-engine-copy > p:not(.ar-kicker) { color: var(--ar-muted); font-size: 18px; }
.ar-feature-list { margin: 30px 0 32px; }
.ar-feature { display: flex; gap: 14px !important; padding: 17px 0; border-bottom: 1px solid var(--ar-line); }
.ar-feature__mark { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex: 0 0 30px; margin: 0; color: #fff; background: var(--ar-red); border-radius: 50%; font-weight: 900; }
.ar-feature h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.01em; }
.ar-feature p { margin: 0; color: var(--ar-muted); font-size: 14px; }

/* Workshop gallery */
.ar-workshop { background: #141416; }
.ar-workshop .ar-kicker { color: #ff6b70; }
.ar-workshop-grid { max-width: var(--ar-container); margin: 0 auto !important; display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); grid-auto-rows: 230px; gap: 12px !important; }
.ar-workshop-grid > figure { width: auto !important; height: auto !important; margin: 0 !important; overflow: hidden; border-radius: 8px; }
.ar-workshop-grid > figure:first-child { grid-column: span 2; grid-row: span 2; }
.ar-workshop-grid img { display: block; width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform .35s ease; }
.ar-workshop-grid figure:hover img { transform: scale(1.025); }
.ar-instagram-button { justify-content: flex-end; margin-top: 24px; }
.ar-workshop .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.5); }

/* Google reviews */
.ar-reviews { background: #fff; }
.ar-review-summary { max-width: var(--ar-container); margin: 0 auto 26px; padding: 20px 22px; border: 1px solid var(--ar-line); border-top: 4px solid var(--ar-red); border-radius: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ar-review-summary__main { display: flex; flex-wrap: wrap; gap: 12px !important; align-items: center; }
.ar-google-word { margin: 0; font-size: 20px; font-weight: 900; color: #333; }
.ar-review-score { margin: 0; font-size: 18px !important; }
.ar-stars { margin: 0; color: #fabb05 !important; letter-spacing: .08em; font-size: 20px; line-height: 1; }
.ar-stars--summary { font-size: 21px; }
.ar-review-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-review-carousel { position: relative; max-width: var(--ar-container); margin: 0 auto; padding: 0 54px; }
.ar-review-track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.ar-review-track::-webkit-scrollbar { display: none; }
.ar-review-card { flex: 0 0 calc((100% - 32px) / 3); height: 350px; padding: 24px; border: 1px solid var(--ar-line); border-radius: 10px; background: var(--ar-soft); display: flex; flex-direction: column; scroll-snap-align: start; }
.ar-review-card .ar-stars { flex: 0 0 auto; }
.ar-review-card .ar-review-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; overflow: hidden; flex: 1; margin: 18px 0 22px; color: #4b4b50; line-height: 1.72; }
.ar-review-card__footer { margin-top: auto; }
.ar-review-card h3 { margin: 0 0 4px; font-size: 17px; }
.ar-review-source { margin: 0; color: var(--ar-muted); font-size: 12px; }
.ar-review-empty { flex: 0 0 100%; padding: 28px; text-align: center; border: 1px dashed #c8c8cb; border-radius: 10px; color: var(--ar-muted); }
.ar-review-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ar-line); border-radius: 50%; background: #fff; color: var(--ar-ink); box-shadow: 0 8px 25px rgba(18,18,20,.12); cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, opacity .2s ease; }
.ar-review-nav span { margin-top: -3px; font-size: 34px; line-height: 1; }
.ar-review-nav--prev { left: 0; }
.ar-review-nav--next { right: 0; }
.ar-review-nav:hover:not(:disabled) { color: #fff; background: var(--ar-red); border-color: var(--ar-red); }
.ar-review-nav:disabled { opacity: .28; cursor: default; }

/* FAQ */
.ar-faq-section { background: var(--ar-soft); }
.ar-faq-wrap { max-width: 900px; margin: 0 auto; }
.ar-faq { margin: 0 0 10px; padding: 0 22px; background: #fff; border: 1px solid var(--ar-line); border-radius: 9px; }
.ar-faq summary { cursor: pointer; padding: 19px 34px 19px 0; font-weight: 850; position: relative; list-style: none; }
.ar-faq summary::-webkit-details-marker { display: none; }
.ar-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--ar-red); background: #fff1f2; border-radius: 50%; font-size: 20px; line-height: 1; }
.ar-faq[open] summary::after { content: "−"; }
.ar-faq p { margin: -2px 0 20px; color: var(--ar-muted); }

/* Contact */
.ar-contact-section { color: #fff; background: var(--ar-red); }
.ar-contact-section .ar-kicker { color: #fff; opacity: .8; }
.ar-contact-grid { max-width: var(--ar-container); margin: 0 auto; display: grid !important; grid-template-columns: 1.08fr .92fr; gap: 18px; align-items: stretch; }
.ar-contact-grid > .wp-block-column { min-width: 0; }
.ar-contact-main, .ar-hours-card { padding: 42px; border-radius: 14px; }
.ar-contact-main { background: var(--ar-ink); }
.ar-contact-main h2, .ar-contact-main p, .ar-contact-main a { color: #fff; }
.ar-contact-main h2 { margin-top: 0; }
.ar-contact-main > p { font-size: 17px; }
.ar-contact-main .wp-block-button__link { background: #fff !important; color: var(--ar-ink) !important; }
.ar-hours-card { color: var(--ar-text); background: #fff; }
.ar-hours-card h3 { margin-top: 0; font-size: 27px; }
.ar-hours-table table { width: 100%; border-collapse: collapse; }
.ar-hours-table td { padding: 10px 4px; border: 0; border-bottom: 1px solid var(--ar-line); }
.ar-hours-table td:last-child { text-align: right; font-weight: 850; }
.ar-hours-table tr:last-child td:last-child { color: var(--ar-red); }

/* Internal pages */
.ar-page-hero { padding: 72px 24px; color: #fff; background: var(--ar-ink); border-bottom: 5px solid var(--ar-red); }
.ar-page-hero__inner { width: min(100%, 980px); margin: 0 auto; }
.ar-page-hero h1 { margin: 0; color: #fff; font-size: clamp(40px, 6vw, 70px); }
.ar-entry { width: min(calc(100% - 48px), 940px); margin: 0 auto; padding: 70px 0 100px; }
.ar-entry h2, .ar-entry h3 { margin-top: 1.8em; }
.ar-entry img { border-radius: 12px; }
.ar-post-card { padding: 22px 0; border-bottom: 1px solid var(--ar-line); }
.ar-post-card h2 { margin: 0 0 10px; font-size: 30px; }

/* Footer */
.ar-footer { color: #d5d5d7; background: #101012; border-top: 1px solid #2b2b2e; }
.ar-footer__top { display: grid; grid-template-columns: 1.25fr .7fr 1fr; gap: 70px; padding: 70px 0 54px; }
.ar-footer h3 { margin: 0 0 18px; color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.ar-footer-logo-link { display: inline-flex; width: 230px; padding: 7px 10px; background: #fff; border-radius: 8px; }
.ar-footer-logo { width: 100%; height: 64px; object-fit: contain; }
.ar-footer__brand p { max-width: 460px; color: #a8a8ac; }
.ar-footer__social { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; }
.ar-footer ul { list-style: none; padding: 0; margin: 0; }
.ar-footer li { margin: 0 0 9px; }
.ar-footer a { color: #d5d5d7; text-decoration: none; }
.ar-footer a:hover { color: #fff; }
.ar-footer__contact > div { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 13px; }
.ar-footer__contact > div > span:first-child { margin-top: 4px; color: #ff696e; }
.ar-footer__bottom { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #7f7f84; border-top: 1px solid #2b2b2e; font-size: 13px; }

/* Mobile quick bar and top button */
.ar-mobile-bar { display: none; }
.ar-back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 400; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; color: #fff; background: var(--ar-red); box-shadow: 0 10px 25px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .2s ease; cursor: pointer; }
.ar-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }


/* Lightweight analytics consent. Fixed overlay: no layout shift. */
.ar-consent[hidden] { display: none !important; }
.ar-consent { position: fixed; left: 16px; right: 16px; bottom: 18px; z-index: 1200; width: min(calc(100% - 32px), 840px); margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--ar-text); background: #fff; border: 1px solid var(--ar-line); border-radius: 12px; box-shadow: 0 14px 40px rgba(18,18,20,.18); }
.ar-consent__copy { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13px; line-height: 1.45; }
.ar-consent__copy strong { color: var(--ar-ink); font-size: 14px; }
.ar-consent__copy a { color: var(--ar-red-dark); font-weight: 800; }
.ar-consent__actions { flex: 0 0 auto; display: flex; gap: 8px; }
.ar-consent__actions button { min-height: 38px; padding: 0 13px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.ar-consent__reject { color: var(--ar-ink); background: #fff; border: 1px solid #c9c9cc; }
.ar-consent__accept { color: #fff; background: var(--ar-red); border: 1px solid var(--ar-red); }
.ar-consent-manage { appearance: none; padding: 0; color: inherit; background: transparent; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

@media (max-width: 1100px) {
  .ar-header__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .ar-nav ul { gap: 18px; }
  .ar-header__phone span, .ar-header__whatsapp span { display: none; }
  .ar-header__phone, .ar-header__whatsapp { width: 44px; padding: 0; justify-content: center; }
  .ar-hero__grid { gap: 40px; }
  .ar-hero__photo img { height: 540px; }
  .ar-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ar-engine-grid { gap: 40px; }
}

@media (max-width: 1020px) {
  .ar-topbar__address { display: none; }
  .ar-header__inner { position: relative; grid-template-columns: auto 1fr auto; min-height: 74px; }
  .ar-logo-link { width: 185px; height: 54px; }
  .ar-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 510; display: none; justify-self: stretch; padding: 8px 24px 18px; background: #171719; border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 15px 35px rgba(0,0,0,.22); }
  .ar-nav.is-open { display: block; }
  .ar-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ar-nav li { border-bottom: 1px solid rgba(255,255,255,.09); }
  .ar-nav li:last-child { border-bottom: 0; }
  .ar-nav a { display: block; padding: 13px 2px; font-size: 15px; }
  .ar-menu-toggle { display: inline-flex; }
  .ar-header__instagram { display: none; }
  .ar-hero { padding-top: 56px; padding-bottom: 90px; }
  .ar-hero__grid { display: grid !important; grid-template-columns: 1fr 1fr; }
  .ar-hero__grid > .wp-block-column { flex-basis: auto !important; }
  .ar-hero h1 { font-size: clamp(42px, 7vw, 64px); }
  .ar-hero__photo img { height: 500px; }
  .ar-callback-grid { grid-template-columns: 1fr; }
  .ar-callback-info { border-left: 0; border-top: 1px solid var(--ar-line); }
  .ar-brand-grid, .ar-engine-grid { gap: 34px; }
  .ar-workshop-grid { grid-auto-rows: 190px; }
  .ar-footer__top { grid-template-columns: 1.2fr .8fr; gap: 45px; }
  .ar-footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  .admin-bar .ar-header { top: 46px; }
  .ar-container { width: min(calc(100% - 32px), var(--ar-container)); }
  .ar-topbar { font-size: 12px; }
  .ar-topbar__inner { min-height: 34px; }
  .ar-topbar__group:first-child .ar-topbar__item { display: none; }
  .ar-topbar__group:first-child .ar-topbar__item:first-child { display: inline-flex; }
  .ar-topbar__inner { justify-content: space-between; }
  .ar-topbar__group { gap: 10px; }
  .ar-header__inner { min-height: 70px; }
  .ar-logo-link { width: 165px; height: 50px; }
  .ar-header__phone, .ar-header__whatsapp { display: none; }
  .ar-section { padding: 72px 20px; }
  .ar-section-head { margin-bottom: 30px; }
  .ar-hero { padding: 42px 20px 78px; }
  .ar-hero::before { width: 360px; height: 360px; right: -230px; top: -190px; border-width: 48px; }
  .ar-hero::after { left: 20px; width: 95px; bottom: 25px; }
  .ar-hero__grid { display: flex !important; flex-direction: column; gap: 34px; }
  .ar-hero__grid > .wp-block-column { width: 100%; }
  .ar-hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .ar-hero__lead { font-size: 17px; }
  .ar-hero__buttons { display: grid !important; grid-template-columns: 1fr; width: 100%; }
  .ar-hero__buttons .wp-block-button, .ar-hero__buttons .wp-block-button__link { width: 100%; }
  .ar-hero__facts { display: grid !important; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .ar-hero__facts p { padding: 0 12px; font-size: 11px; }
  .ar-hero__photo { box-shadow: 12px 12px 0 var(--ar-red); }
  .ar-hero__photo img { height: min(72vh, 540px); }
  .ar-hero__badge { left: 14px; bottom: 16px; min-width: 160px; padding: 10px 13px; }
  .ar-callback-wrap { width: calc(100% - 24px); margin-top: -38px !important; }
  .ar-form-card, .ar-callback-info { padding: 28px 22px; }
  .ar-form-grid { grid-template-columns: 1fr; }
  .ar-field:nth-of-type(3), .ar-captcha-field, .ar-form-submit { grid-column: auto; }
  .ar-brand-focus { padding-top: 86px; }
  .ar-brand-grid, .ar-engine-grid, .ar-contact-grid { display: flex !important; flex-direction: column; }
  .ar-brand-grid > .wp-block-column, .ar-engine-grid > .wp-block-column, .ar-contact-grid > .wp-block-column { flex-basis: auto !important; width: 100%; }
  .ar-checks { grid-template-columns: 1fr; }
  .ar-brands-card { padding: 14px; }
  .ar-brand-panel { padding: 12px; }
  .ar-service-grid { grid-template-columns: 1fr; }
  .ar-service-card { min-height: 0; }
  .ar-service-card__num { margin-bottom: 24px; }
  .ar-engine-media { min-height: 0; padding-bottom: 80px; }
  .ar-engine-image { width: 88%; }
  .ar-engine-image img { height: 500px; }
  .ar-detail-image { width: 46%; bottom: 0; }
  .ar-detail-image img { height: 180px; }
  .ar-workshop-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 160px; }
  .ar-workshop-grid > figure:first-child { grid-column: span 2; grid-row: span 2; }
  .ar-review-summary { align-items: flex-start !important; gap: 18px !important; }
  .ar-review-actions { width: 100%; }
  .ar-review-actions .wp-block-button { flex: 1; }
  .ar-review-actions .wp-block-button__link { width: 100%; }
  .ar-review-carousel { padding: 0 48px; }
  .ar-review-card { flex-basis: calc((100% - 16px) / 2); height: 340px; }
  .ar-contact-main, .ar-hours-card { padding: 30px 24px; }
  .ar-footer__top { grid-template-columns: 1fr; gap: 34px; padding-top: 54px; }
  .ar-footer__contact { grid-column: auto; }
  .ar-footer__bottom { padding: 16px 0 86px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .ar-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 600; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); background: rgba(16,16,18,.98); border-top: 1px solid #353538; }
  .ar-mobile-bar a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--ar-red); border-radius: 8px; text-decoration: none; font-weight: 900; }
  .ar-mobile-bar a:last-child { background: #303034; }
  .ar-back-to-top { bottom: 76px; }
  .ar-entry { width: calc(100% - 36px); padding: 50px 0 90px; }
  .ar-page-hero { padding: 56px 18px; }
}

@media (max-width: 520px) {
  .ar-logo-link { width: 148px; height: 47px; }
  .ar-topbar__group:last-child .ar-topbar__item span { max-width: 180px; }
  .ar-hero { padding-inline: 16px; }
  .ar-hero__facts { grid-template-columns: 1fr 1fr; row-gap: 15px; }
  .ar-hero__facts p:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .ar-hero__photo img { height: 440px; }
  .ar-form-card h2 { font-size: 27px; }
  .ar-engine-image { width: 100%; }
  .ar-engine-image img { height: 420px; }
  .ar-detail-image { position: relative; width: 62%; margin: -70px 0 0 auto !important; }
  .ar-engine-media { padding-bottom: 0; }
  .ar-workshop-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .ar-workshop-grid > figure:first-child { grid-column: auto; grid-row: auto; }
  .ar-review-summary__main { gap: 10px !important; }
  .ar-review-actions { flex-direction: column; }
  .ar-review-carousel { padding: 0 40px; }
  .ar-review-card { flex-basis: 100%; height: 330px; padding: 21px; }
  .ar-review-nav { width: 34px; height: 34px; }
  .ar-review-nav span { font-size: 29px; }
}

@media (max-width: 430px) { .ar-brand-panel { padding: 8px; } }


@media (max-width: 700px) {
  .ar-consent { bottom: 82px; padding: 13px; align-items: stretch; flex-direction: column; gap: 10px; }
  .ar-consent__copy { font-size: 12px; }
  .ar-consent__actions { width: 100%; }
  .ar-consent__actions button { flex: 1; }
}
