/*
Theme Name: AG Panelvan
Description: AG Panelvan Araç İçi Kaplama için hafif WordPress blok teması.
Version: 1.2.6
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: ag-panelvan
*/
:root {
  --ag-ink: #141820;
  --ag-ink-deep: #101319;
  --ag-paper: #f5f6f8;
  --ag-muted: #52606d;
  --ag-line: #dce0e5;
  --ag-red: #b91f3b;
  --ag-red-light: #fb637b;
  --ag-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ag-body: "Inter", system-ui, sans-serif;
  --ag-edge: clamp(20px, 5.6vw, 88px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, .editor-styles-wrapper { margin: 0; color: var(--ag-ink); background: #fff; font-family: var(--ag-body); line-height: 1.6; }
body .wp-site-blocks { padding: 0; }
.wp-site-blocks > *, .ag-main > * { margin-block: 0; }
[hidden] { display: none !important; }
:where(a) { color: inherit; }
:where(a, button, summary):focus-visible { outline: 3px solid #e24662; outline-offset: 5px; }
:where(img) { display: block; max-width: 100%; height: auto; }
.ag-main :where(p), .ag-site-header :where(p), .ag-site-footer :where(p) { margin: 0; }
.ag-main :where(h1,h2,h3), .ag-site-footer :where(h2) { color: inherit; font-family: var(--ag-display); font-weight: 700; line-height: .99; margin: 0; text-wrap: balance; }
.ag-main h1 { font-size: clamp(3.5rem, 7.7vw, 7.4rem); letter-spacing: -.035em; }
.ag-main h2 { font-size: clamp(2.65rem, 4.6vw, 4.65rem); letter-spacing: -.025em; }
.ag-main h3 { font-size: clamp(1.65rem, 2.8vw, 2.45rem); letter-spacing: -.015em; }
.ag-wrap { width: min(100% - var(--ag-edge) * 2, 1260px); margin-inline: auto !important; }
.ag-section { padding-block: clamp(55px, 7.5vw, 114px); }
.ag-eyebrow { color: var(--ag-red); font-size: .875rem; font-weight: 800; letter-spacing: .11em; line-height: 1.3; }
.ag-eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; margin-right: 10px; vertical-align: middle; background: currentColor; }
.ag-title-stack { display: grid; gap: 12px; }
.wp-block-button > .wp-block-button__link { background: var(--ag-red); color: #fff; border: 1px solid transparent; border-radius: 5px; font-family: var(--ag-body); font-size: .9375rem; font-weight: 750; line-height: 1.2; min-height: 47px; padding: 14px 19px; transition: background .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.wp-block-button > .wp-block-button__link:hover { background: #94152e; }
.ag-outline > .wp-block-button__link { background: transparent; border-color: #ffffff70; }
.ag-outline > .wp-block-button__link:hover { background: #fff; color: var(--ag-ink); }
.ag-main .wp-block-buttons, .ag-site-header .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ag-topline { background: #161a21; color: #e0e3e8; }
.ag-topline-inner { min-height: 36px; display: flex; gap: 18px; justify-content: space-between; align-items: center; font-size: .875rem; }
.ag-topline-inner > p:first-child::before { content: ""; background: #f55571; width: 7px; height: 7px; display: inline-block; border-radius: 50%; margin-right: 9px; vertical-align: .1em; }
.ag-topline-info { display: flex; align-items: center; gap: 19px; }
.ag-top-contact { padding-inline-start: 19px; border-inline-start: 1px solid #626973; }
.ag-top-contact a { display: inline-flex; align-items: center; min-height: 32px; color: #fff; font-weight: 700; text-decoration: none; text-underline-offset: 3px; }
.ag-top-contact a:hover, .ag-top-contact a[aria-current="page"] { text-decoration: underline; }
.ag-site-header { position: relative; z-index: 5; }
.ag-header { background: #fff; border-bottom: 1px solid #14182012; }
.ag-header-inner { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: clamp(18px,2.2vw,34px); min-height: 76px; position: relative; }
.ag-main-nav { display: flex; align-items: stretch; justify-content: end; gap: clamp(9px,1.05vw,17px); font-size: .875rem; font-weight: 700; }
.ag-main-nav a { color: var(--ag-ink); display: flex; align-items: center; min-height: 76px; padding-block: 9px; text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; }
.ag-main-nav a:hover, .ag-main-nav a[aria-current="page"] { color: var(--ag-red); border-bottom-color: var(--ag-red); }
.ag-mobile-nav { display: none; }
.ag-hero { min-height: clamp(510px, 42vw, 670px); display: grid; position: relative; isolation: isolate; overflow: hidden; background: var(--ag-ink-deep); color: #fff; }
.ag-hero .ag-hero-media { position: absolute; margin: 0; inset: 0 0 0 33%; z-index: -2; }
.ag-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 59% 52%; }
.ag-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#101319 0%,#101319 26%,#101319ed 36%,#10131992 51%,#10131913 77%),linear-gradient(0deg,#1013199f,transparent 38%); }
.ag-hero::after { content: ""; position: absolute; top: 0; right: 0; width: clamp(35px, 8vw, 130px); height: 4px; background: var(--ag-red); }
.ag-hero-inner { min-height: inherit; display: grid; align-items: center; position: relative; padding-block: 44px; }
.ag-hero-copy { max-width: 635px; }
.ag-hero-copy .ag-eyebrow, .ag-showcase .ag-eyebrow { color: var(--ag-red-light); }
.ag-hero-copy h1 { margin: 16px 0 21px; }
.ag-hero-copy h1 span { color: var(--ag-red-light); }
.ag-hero-copy > p:not(.ag-eyebrow) { color: #e3e7ed; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.62; max-width: 415px; margin-bottom: 29px; }
.ag-hero-caption { position: absolute; right: 0; bottom: 28px; color: #fff; background: #101319dc; border-inline-start: 3px solid #ef4d68; border-radius: 2px; font-weight: 650; font-size: .875rem; padding: 8px 12px; }
.ag-value-strip { background: var(--ag-paper); border-bottom: 1px solid var(--ag-line); }
.ag-value-inner { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 23px; }
.ag-value { padding: 3px 24px 3px 29px; border-left: 1px solid #cbd1d9; }
.ag-value:first-child { padding-inline-start: 0; border-left: 0; }
.ag-value h2 { font-size: clamp(1.45rem, 2.1vw, 2rem); margin-bottom: 5px; }
.ag-value p { color: var(--ag-muted); font-size: .9375rem; line-height: 1.45; }
.ag-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(25px, 3.3vw, 47px); }
.ag-section-heading > p { max-width: 370px; color: var(--ag-muted); }
.ag-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.ag-card { min-width: 0; border: 1px solid var(--ag-line); background: #fff; border-radius: 9px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.ag-card:hover, .ag-card:focus-within { border-color: #bc1f3b72; box-shadow: 0 8px 25px #14182013; }
.ag-card .ag-card-image { margin: 0; overflow: hidden; background: #242a32; }
.ag-card-image a { display: block; }
.ag-card-image img { width: 100%; aspect-ratio: 1.76; object-fit: cover; object-position: center; transition: transform .28s ease; }
.ag-card:hover img { transform: scale(1.035); }
.ag-card-copy { padding: 18px 19px 22px; }
.ag-card-copy h3 { margin-bottom: 7px; }
.ag-card-copy h3 a { color: var(--ag-ink); text-decoration: none; }
.ag-card-copy h3 a:hover { color: var(--ag-red); }
.ag-card-copy p { color: var(--ag-muted); line-height: 1.55; }
.ag-showcase { color: #fff; background: var(--ag-ink); }
.ag-showcase-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 15px; }
.ag-gallery-photo { margin: 0; overflow: hidden; position: relative; border-radius: 7px; background: var(--ag-ink); color: #fff; }
.ag-gallery-photo a { display: block; overflow: hidden; }
.ag-gallery-photo a:focus-visible { outline-offset: -4px; }
.ag-gallery-photo img { width: 100%; aspect-ratio: 1.42; object-fit: cover; transition: transform .28s ease; }
.ag-gallery-photo a:hover img { transform: scale(1.045); }
.ag-gallery-photo .wp-element-caption { margin: 0; padding: 11px 13px; font-size: .875rem; color: #f2f4f7; line-height: 1.35; text-align: start; }
.ag-showcase-grid .ag-gallery-photo img { aspect-ratio: auto; height: clamp(190px,24vw,340px); }
.ag-process { padding-bottom: 15px; }
.ag-process-grid, .ag-contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ag-process-item { border-top: 3px solid var(--ag-red); background: var(--ag-paper); padding: 24px 22px; }
.ag-process-item h3, .ag-detail-panel h2 { margin-bottom: 12px; }
.ag-process-item p, .ag-detail-panel p, .ag-faq-items p { color: var(--ag-muted); }
.ag-faq { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(24px,4vw,70px); }
.ag-faq-items { border-top: 1px solid var(--ag-line); }
.ag-faq-items details { margin: 0; border-bottom: 1px solid var(--ag-line); }
.ag-faq-items summary { cursor: pointer; font-weight: 750; min-height: 56px; padding: 16px 30px 16px 0; list-style: none; position: relative; }
.ag-faq-items summary::-webkit-details-marker { display: none; }
.ag-faq-items summary::after { content: "+"; position: absolute; right: 5px; top: 9px; color: var(--ag-red); font-size: 1.45rem; }
.ag-faq-items details[open] summary::after { content: "−"; }
.ag-faq-items p { padding: 0 20px 16px 0; }
.ag-cta { background: #78182c; color: #fff; }
.ag-cta-inner { min-height: 230px; padding-block: 36px; display: flex; justify-content: space-between; align-items: center; gap: 26px; }
.ag-cta-copy p { margin-top: 11px; color: #ffedf1; max-width: 520px; }
.ag-cta .ag-primary a { background: #fff; color: #731527; }
.ag-cta .ag-primary a:hover { background: #ffe5ec; }
.ag-footer { background: #11151b; color: #f6f7f9; }
.ag-footer-grid { display: grid; grid-template-columns: 1.1fr .85fr 1fr; gap: 35px; padding-block: 46px 39px; }
.ag-footer h2 { font-size: 1.9rem; margin-bottom: 8px; }
.ag-footer-brand { display: flex; flex-direction: column; gap: 12px; }
.ag-footer-brand > p { margin: 0; max-width: 255px; }
@media (min-width: 761px) {
  .ag-footer-grid > .ag-footer-brand > p { margin-block-start: auto; }
}
.ag-footer-grid p:not(.ag-wordmark), .ag-footer-bottom { color: #cbd2da; font-size: .9375rem; }
.ag-footer-links p, .ag-footer-contact p { margin-block: 4px; }
.ag-footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ag-footer-links a, .ag-footer-contact a, .ag-footer-bottom a { display: inline-flex; align-items: center; min-height: 26px; }
.ag-footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #343a42; padding-block: 17px; gap: 16px; }
.ag-subhero, .ag-page-hero { background: var(--ag-ink); color: #fff; }
.ag-subhero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(23px,4vw,65px); align-items: center; padding-block: clamp(35px, 6vw, 82px); }
.ag-subhero-copy h1, .ag-page-hero h1 { font-size: clamp(3rem,6.4vw,6.5rem); margin-block: 15px; }
.ag-subhero-copy > p:not(.ag-breadcrumb), .ag-page-hero p:not(.ag-breadcrumb) { color: #e7ebf0; max-width: 570px; }
.ag-subhero-copy .wp-block-buttons { margin-top: 23px; }
.ag-breadcrumb { font-size: .875rem; color: #e0e5ec; }
.ag-breadcrumb a { text-underline-offset: 3px; }
.ag-breadcrumb span { margin-inline: 4px; color: var(--ag-red-light); }
.ag-subhero-media { overflow: hidden; border-radius: 7px; margin: 0; }
.ag-subhero-media img { width: 100%; aspect-ratio: 1.53; object-fit: cover; }
.ag-tag-row { padding-block: 19px; display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--ag-line); }
.ag-tag-row p { padding: 6px 12px; border: 1px solid var(--ag-line); border-radius: 5px; background: var(--ag-paper); color: #344250; font-size: .875rem; font-weight: 650; }
.ag-service-detail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px,4.8vw,73px); }
.ag-detail-panel h2 { font-size: clamp(2rem,3.4vw,3.25rem); }
.ag-gallery-section { background: var(--ag-paper); }
.ag-gallery-section h2, .ag-related > h2 { margin-bottom: 25px; }
.ag-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.ag-related { padding-top: 0; }
.ag-page-hero > .ag-wrap { padding-block: clamp(36px,6vw,88px); }
.ag-gallery-page { padding-top: clamp(28px,4vw,55px); }
.ag-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ag-filters button { min-height: 44px; padding: 8px 13px; cursor: pointer; background: #fff; color: var(--ag-ink); border: 1px solid #bec7d2; border-radius: 5px; font: 650 .9rem var(--ag-body); }
.ag-filters button[aria-pressed="true"] { background: var(--ag-red); color: #fff; border-color: var(--ag-red); }
.ag-lightbox { width: min(900px, 95vw); max-width: 95vw; max-height: 94vh; overflow: auto; padding: 12px; border: 1px solid #66707a; border-radius: 8px; background: var(--ag-ink); color: #fff; text-align: center; }
.ag-lightbox::backdrop { background: #0a0d12dc; }
.ag-lightbox img { margin: 0 auto; max-height: 65vh; width: auto; object-fit: contain; }
.ag-lightbox p { margin: 8px 0 0; }
.ag-lightbox button { display: block; margin: 0 0 8px auto; min-height: 42px; padding: 5px 12px; border-radius: 4px; border: 1px solid #88909c; background: transparent; color: white; cursor: pointer; font: 650 .9rem var(--ag-body); }
.ag-contact-grid { grid-template-columns: 1fr .9fr 1fr; align-items: start; }
.ag-contact-card { padding: 22px; border: 1px solid var(--ag-line); border-radius: 7px; }
.ag-contact-card h2 { font-size: clamp(2rem,3.4vw,3.15rem); margin-bottom: 10px; }
.ag-contact-card h3 { margin-block: 16px 6px; font-size: 1.6rem; }
.ag-contact-card .wp-block-buttons, .ag-contact-phone + p:not(.ag-contact-phone) { margin-top: 15px; }
.ag-contact-phone a { color: #9d1933; font-weight: 750; text-underline-offset: 3px; }
.ag-contact-media { margin: 0; border-radius: 7px; overflow: hidden; }
.ag-contact-media img { width: 100%; aspect-ratio: 1.12; object-fit: cover; }

@media (max-width: 1220px) and (min-width: 881px) {
  .ag-header-inner { grid-template-columns: 1fr; justify-items: center; gap: 5px; padding-top: 14px; }
  .ag-main-nav { justify-content: center; flex-wrap: wrap; column-gap: clamp(12px,1.65vw,23px); }
  .ag-main-nav a { min-height: 49px; }
}
@media (max-width: 960px) {
  .ag-contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ag-contact-picture { grid-column: 1/-1; }
  .ag-contact-media img { aspect-ratio: 2.25; }
}
@media (max-width: 880px) {
  .ag-topline-info .ag-top-contact { display: none; }
  .ag-header-inner { grid-template-columns: 1fr auto; gap: 12px; min-height: 66px; }
  .ag-main-nav { display: none; }
  .ag-mobile-nav { display: block; margin: 0; justify-self: end; }
  .ag-mobile-nav summary { display: flex; align-items: center; gap: 9px; min-height: 44px; padding-inline: 13px; border: 1px solid var(--ag-line); border-radius: 6px; font-size: .9375rem; font-weight: 750; cursor: pointer; list-style: none; }
  .ag-mobile-nav summary::-webkit-details-marker { display: none; }
  .ag-mobile-nav summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); }
  .ag-mobile-nav[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
  .ag-mobile-links { position: absolute; z-index: 2; top: calc(100% + 1px); inset-inline: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding: 10px; background: white; border: 1px solid var(--ag-line); border-radius: 0 0 10px 10px; box-shadow: 0 14px 35px #14182025; }
  .ag-mobile-links p { min-width: 0; }
  .ag-mobile-links a { color: var(--ag-ink); display: flex; align-items: center; min-height: 47px; padding: 8px 10px; font-size: .9rem; font-weight: 650; line-height: 1.25; text-decoration: none; border-radius: 5px; }
  .ag-mobile-links a:hover, .ag-mobile-links a[aria-current="page"] { background: #f9edf0; color: #95152f; }
}
@media (max-width: 760px) {
  .ag-hero { --ag-hero-photo: clamp(205px, 56vw, 345px); min-height: 0; display: block; }
  .ag-hero .ag-hero-media { inset: auto 0 0; height: var(--ag-hero-photo); }
  .ag-hero-media img { object-position: center 52%; }
  .ag-hero::before { inset: auto 0 0; height: var(--ag-hero-photo); background: linear-gradient(180deg,#101319,transparent 30%),linear-gradient(0deg,#10131960,transparent 30%); }
  .ag-hero-inner { display: block; padding: 30px 0 calc(var(--ag-hero-photo) + 22px); }
  .ag-hero-copy h1 { font-size: clamp(2.8rem,11.8vw,5.5rem); margin: 12px 0 15px; }
  .ag-hero-copy > p:not(.ag-eyebrow) { margin-bottom: 19px; max-width: 400px; }
  .ag-hero-caption { bottom: 17px; right: 0; font-size: .8125rem; }
  .ag-value-inner { grid-template-columns: 1fr; padding-block: 10px; }
  .ag-value, .ag-value:first-child { margin: 0; padding: 10px 0; border: 0; }
  .ag-value + .ag-value { border-top: 1px solid var(--ag-line); }
  .ag-section-heading, .ag-cta-inner { align-items: start; flex-direction: column; }
  .ag-card-grid, .ag-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ag-showcase-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ag-showcase-grid > :first-child { grid-column: 1/-1; }
  .ag-showcase-grid > :first-child img { height: clamp(190px,48vw,320px); }
  .ag-process-grid { grid-template-columns: 1fr; gap: 12px; }
  .ag-process-item { padding: 16px; }
  .ag-faq, .ag-subhero-inner, .ag-service-detail { grid-template-columns: 1fr; }
  .ag-faq .ag-section-heading { margin-bottom: 0; }
  .ag-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ag-footer-brand { grid-column: 1/-1; }
}
@media (max-width: 460px) {
  .ag-topline-inner { font-size: .8125rem; gap: 7px; }
  .ag-card-grid, .ag-contact-grid { grid-template-columns: 1fr; }
  .ag-gallery-grid, .ag-showcase-grid { gap: 9px; }
  .ag-gallery-photo .wp-element-caption { font-size: .8125rem; padding: 8px; }
  .ag-showcase-grid .ag-gallery-photo:not(:first-child) img { height: 132px; }
  .ag-footer-bottom { flex-direction: column; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.ag-brand .ag-mark { margin: 0; }
.ag-brand .ag-mark a, .ag-brand .ag-mark img { display: block; }
.ag-brand .ag-mark img { width: 100%; }
.ag-brand-header { width: clamp(156px, 13vw, 216px); }
.ag-brand-header .ag-mark a { display: flex; align-items: center; min-height: 44px; }
.ag-brand-header .ag-mark img { width: 100%; height: auto; aspect-ratio: 750 / 119; }
.ag-brand-footer { width: 152px; max-width: 100%; }
.ag-brand-footer .ag-mark {
  position: relative;
  aspect-ratio: 38 / 25;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}
.ag-brand-footer .ag-mark a { position: absolute; inset: 0; }
.ag-brand-footer .ag-mark a:focus-visible { outline-offset: -4px; }
.ag-brand-footer .ag-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116%;
  max-width: none;
  transform: translate(-50%, -50%);
}
@media (max-width: 760px) {
  .ag-brand-header { width: clamp(140px, 36vw, 204px); }
}

.ag-service-detail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(14px, 2vw, 26px);
  padding-block: clamp(35px, 5vw, 76px);
}
.ag-detail-panel {
  min-width: 0;
  padding: clamp(19px, 3vw, 38px);
  border: 1px solid #e1e5ea;
  border-radius: 12px;
  background: #fff;
}
.ag-detail-panel:has(> .wp-block-table) { background: #f5f7fa; }
.ag-detail-panel h2 { font-size: clamp(1.95rem, 3vw, 3rem); line-height: 1.04; margin-bottom: .5em; }
.ag-detail-panel > :where(p,ul,ol,figure) + :where(p,ul,ol,figure) { margin-block-start: 14px; }
.ag-detail-panel :where(ul,ol) { color: var(--ag-muted); padding-inline-start: 1.4em; }
.ag-detail-panel li + li { margin-block-start: .42em; }
.ag-detail-panel li::marker { color: var(--ag-red); font-weight: 750; }
.ag-detail-panel a { color: #8c1830; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .16em; }
.ag-detail-panel .wp-block-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dbe1e8;
  border-radius: 7px;
  background: #fff;
  scrollbar-color: #8894a3 #eff1f4;
}
.ag-detail-panel .wp-block-table table { table-layout: auto; border-collapse: separate; border-spacing: 0; font-size: .9375rem; line-height: 1.42; }
.ag-detail-panel .wp-block-table table:has(thead th:nth-child(3)) { min-width: 345px; }
.ag-detail-panel .wp-block-table table:has(thead th:nth-child(4)) { min-width: 435px; }
.ag-detail-panel .wp-block-table :where(th,td) { border: 0; border-bottom: 1px solid #e5e8ed; padding: 10px 11px; text-align: start; vertical-align: top; }
.ag-detail-panel .wp-block-table thead th { background: #222b37; color: white; font-weight: 750; }
.ag-detail-panel .wp-block-table tbody :where(th,td):first-child { color: #252f3a; font-weight: 700; }
.ag-detail-panel .wp-block-table tbody tr:nth-child(even) { background: #f2f5f8; }
.ag-detail-panel .wp-block-table tbody tr:last-child :where(th,td) { border-bottom: 0; }
.ag-main .ag-table-hint { margin-block: 8px 0; color: var(--ag-muted); font-size: .875rem; font-weight: 650; }
.ag-table-hint::before { content: "↔"; color: var(--ag-red); margin-inline-end: .38em; }

.ag-contact-grid { padding-block: clamp(28px, 4vw, 60px); }
.ag-contact-card { background: #f6f8fa; }
.ag-contact-map { background: #edf1f5; }
.ag-map-inner { padding-block: clamp(34px, 5.5vw, 75px); }
.ag-map-inner .ag-section-heading { margin-block-end: 24px; }
.ag-map-frame { display: block; width: 100%; height: clamp(315px, 42vw, 520px); border: 1px solid #cbd3dd; border-radius: 10px; background: #e0e7ef; }
.ag-whatsapp > .wp-block-button__link { background: #126044; }
.ag-whatsapp > .wp-block-button__link:hover { background: #0e4734; }
.ag-mobile-contact { display: none; }
.ag-to-top {
  position: fixed;
  z-index: 20;
  inset-inline-end: max(18px, env(safe-area-inset-right));
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #404956;
  border-radius: 10px;
  background: #18202a;
  color: #fff;
  box-shadow: 0 4px 13px #11182428;
  cursor: pointer;
}
.ag-to-top:hover { background: #333e4b; }
.ag-to-top::before { content: ""; width: 12px; height: 12px; margin-top: 5px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(-45deg); }

@media (max-width: 990px) {
  .ag-service-detail { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .ag-section { padding-block: clamp(35px, 7vw, 58px); }
  .ag-main h2 { font-size: clamp(2.15rem, 6.7vw, 3.2rem); }
  .ag-main .ag-detail-panel h2 { font-size: clamp(1.9rem, 5.6vw, 2.5rem); }
  .ag-subhero-inner { padding-block: 26px; gap: 19px; }
  .ag-subhero-copy h1, .ag-page-hero h1 { font-size: clamp(2.75rem, 9vw, 4.2rem); line-height: 1; }
  .ag-subhero-copy .wp-block-buttons { margin-top: 17px; }
  .ag-tag-row { padding-block: 12px; }
  .ag-contact-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .ag-contact-media img { aspect-ratio: 1.8; }
  .ag-mobile-contact {
    position: fixed;
    z-index: 21;
    inset-inline: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 7px;
    padding: 7px max(10px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    border-top: 1px solid #dce0e5;
    background: #fff;
    box-shadow: 0 -5px 18px #10131924;
  }
  .ag-mobile-contact a { display: grid; place-content: center; justify-items: center; min-height: 51px; padding: 4px; border-radius: 7px; background: #9b1934; color: #fff; line-height: 1.18; text-decoration: none; }
  .ag-mobile-contact a + a { background: #126044; }
  .ag-mobile-contact a:hover { filter: brightness(.9); }
  .ag-mobile-contact a:focus-visible { outline-offset: -4px; outline-color: white; }
  .ag-mobile-contact strong { font-size: 1rem; font-weight: 760; }
  .ag-mobile-contact span { font-size: .875rem; }
  .ag-to-top { bottom: calc(77px + env(safe-area-inset-bottom)); }
}

@media (min-width: 761px) {
  .ag-subhero { background: linear-gradient(113deg, #141820 38%, #202934); }
  .ag-subhero-inner {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, .9fr);
    gap: clamp(26px, 4.6vw, 68px);
    padding-block: clamp(30px, 3.2vw, 48px);
  }
  .ag-subhero-copy h1 {
    max-width: 18ch;
    margin-block: 10px 13px;
    font-size: clamp(2.8rem, 4.6vw, 4.15rem);
    line-height: .98;
  }
  .ag-subhero-copy > p:not(.ag-breadcrumb) { max-width: 65ch; line-height: 1.55; }
  .ag-subhero-copy .wp-block-buttons { margin-top: 17px; }
  .ag-subhero-media { border: 1px solid #ffffff25; border-radius: 10px; }
  .ag-subhero-media img { aspect-ratio: 1.93; max-height: 300px; }
}

.ag-home-nav a { justify-content: center; width: 44px; }
.ag-home-nav a::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: url("assets/home.svg") center / contain no-repeat;
}
@media (forced-colors: active) {
  .ag-home-nav a::before { forced-color-adjust: none; background: LinkText; }
}
.ag-hero-copy > p.ag-hero-reassurance, .ag-hero-copy > p.ag-hero-jump,
.ag-subhero-copy > p.ag-hero-reassurance, .ag-subhero-copy > p.ag-hero-jump {
  margin-block: 11px 0;
  font-size: .9375rem;
  color: #e7ebf0;
}
.ag-hero-reassurance strong { color: #fff; }
.ag-hero-jump a { display: inline-flex; align-items: center; min-height: 28px; color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.ag-hero-jump a:hover { color: #ffadc0; }
.ag-cta-inner > .wp-block-buttons { justify-content: end; }
.ag-service-detail { align-items: start; }
.ag-detail-panel .ag-combination-list { list-style: none; padding: 0; }
.ag-combination-list li {
  padding: 12px 14px;
  border: 1px solid #dbe1e7;
  border-radius: 8px;
  background: #f5f7fa;
}
.ag-combination-list li + li { margin-block-start: 8px; }
.ag-combination-list strong { display: block; color: var(--ag-ink); }

.ag-seat-hero {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(7px,1vw,14px);
  justify-self: end;
  width: min(100%,460px);
}
.ag-seat-hero .ag-seat-image { overflow: hidden; margin: 0; border: 1px solid #ffffff25; border-radius: 9px; }
.ag-seat-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 57%; }
.ag-comparison-cards { display: none; }
.ag-lightbox-controls { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.ag-lightbox .ag-lightbox-controls button { margin: 0; min-width: 90px; min-height: 44px; }
.ag-lightbox button:hover { background: #313c49; }
@media (max-width: 760px) {
  .ag-cta-inner > .wp-block-buttons { justify-content: start; }
  .ag-detail-panel .wp-block-table.ag-table-has-cards { display: none; }
  .ag-comparison-cards { display: grid; gap: 10px; }
  .ag-comparison-cards > div {
    padding: 12px 14px;
    border: 1px solid #dbe1e8;
    border-radius: 8px;
    background: white;
  }
  .ag-comparison-cards h3 { font-size: 1.6rem; margin-bottom: 9px; }
  .ag-comparison-cards dl { margin: 0; }
  .ag-comparison-cards dt { font-weight: 700; color: var(--ag-ink); }
  .ag-comparison-cards dd { margin: 0 0 7px; color: var(--ag-muted); }
  .ag-comparison-cards dd:last-child { margin-block-end: 0; }
  .ag-seat-hero { justify-self: start; }
}
