/*
Theme Name: Kentucky Derby Limo
Text Domain: kentucky-derby-limo
Version: 1.1.0
Requires at least: 6.0
Description: Custom theme for Kentucky Derby Limo.
WPVibe: yes
Update URI: false
*/

:root {
	--ink: #111c18;
	--text: #26322d;
	--green: #133b2e;
	--green-deep: #0a231b;
	--paper: #fbf8f1;
	--cream: #f2ead9;
	--line: #ddd2bb;
	--muted: #46534d;
	--brass: #b8944d;
	--brass-soft: #dcc48f;
	--claret: #8f1c2d;
	--claret-hi: #a82337;
	--on-dark: #e4e9e4;
	--display: "DM Serif Display", Georgia, "Times New Roman", serif;
	--body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
	--r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17.5px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--claret); }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 600; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Type: the Didone face only at display sizes, where its hairlines hold up.
   Everything at 1.3rem and below is set in Libre Franklin for legibility. */
h1, h2 { font-family: var(--display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.6rem); font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
h3, h4 { font-family: var(--body); color: var(--ink); font-weight: 700; line-height: 1.3; margin: 0 0 .45em; letter-spacing: 0; }
h3 { font-size: 1.2rem; }

.kdl-silk { height: 8px; background: repeating-linear-gradient(-45deg, var(--green) 0 14px, var(--brass) 14px 20px, var(--cream) 20px 26px, var(--brass) 26px 32px); }
.kdl-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ── Header ── */
.kdl-top { position: sticky; top: 0; z-index: 50; background: var(--green-deep); color: var(--cream); }
.kdl-top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.kdl-brand { color: var(--cream); text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.kdl-brand:hover { color: #fff; }
.kdl-brand b { font: 600 1.5rem/1 var(--display); letter-spacing: .005em; }
.kdl-brand b i { color: var(--brass-soft); }
.kdl-brand small { font: 600 .68rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); margin-top: 7px; }
.kdl-nav { display: flex; align-items: center; gap: 24px; }
.kdl-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; align-items: center; }
.kdl-nav .menu > li { position: relative; }
.kdl-nav .menu > li > a { display: block; padding: 25px 0; color: var(--cream); text-decoration: none; font-weight: 500; font-size: .97rem; }
.kdl-nav .menu > li > a:hover, .kdl-nav .menu > .current-menu-item > a, .kdl-nav .menu > .current-menu-ancestor > a { color: var(--brass-soft); }
.kdl-nav .menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; }
.kdl-nav .menu .sub-menu {
	position: absolute; top: 100%; left: -18px; min-width: 260px; list-style: none; margin: 0; padding: 8px 0;
	background: #fff; border-top: 3px solid var(--brass); border-radius: 0 0 var(--r) var(--r);
	box-shadow: 0 18px 40px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.kdl-nav .menu > li:hover > .sub-menu, .kdl-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kdl-nav .menu .sub-menu a { display: block; padding: 10px 20px; color: var(--ink); text-decoration: none; font-size: .96rem; font-weight: 500; }
.kdl-nav .menu .sub-menu a:hover { background: var(--cream); color: var(--claret); }
/* Services dropdown: two labelled columns (events & tours | services) */
.kdl-nav .menu > li.menu-item-51 > .sub-menu {
	display: grid; grid-auto-flow: column; grid-template-columns: repeat(2, minmax(240px, 1fr)); grid-template-rows: auto repeat(8, auto);
	column-gap: 0; width: max-content; padding: 6px 0 10px; left: 50%; transform: translate(-50%, 6px);
}
.kdl-nav .menu > li.menu-item-51:hover > .sub-menu, .kdl-nav .menu > li.menu-item-51:focus-within > .sub-menu { transform: translate(-50%, 0); }
.kdl-nav .menu > li.menu-item-51 > .sub-menu::before, .kdl-nav .menu > li.menu-item-51 > .sub-menu::after {
	grid-row: 1; padding: 10px 20px 8px; font: 700 .7rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); border-bottom: 1px solid rgba(0,0,0,.07); margin-bottom: 4px;
}
.kdl-nav .menu > li.menu-item-51 > .sub-menu::before { content: "Events & tours"; grid-column: 1; }
.kdl-nav .menu > li.menu-item-51 > .sub-menu::after { content: "Services"; grid-column: 2; border-left: 1px solid rgba(0,0,0,.07); }
.kdl-nav .menu > li.menu-item-51 > .sub-menu > li { grid-column: 1; }
.kdl-nav .menu > li.menu-item-51 > .sub-menu > li.menu-item-55,
.kdl-nav .menu > li.menu-item-51 > .sub-menu > li.menu-item-55 ~ li { grid-column: 2; }
.kdl-nav .menu > li.menu-item-51 > .sub-menu { background: linear-gradient(rgba(0,0,0,.07), rgba(0,0,0,.07)) 50% 0 / 1px 100% no-repeat, #fff; }
.kdl-nav .menu > li.menu-item-51 > .sub-menu::after { border-left: 0; }
.kdl-top__phone { white-space: nowrap; }

/* Mobile menu */
.kdl-mnav { display: none; }
.kdl-mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; border: 1px solid rgba(220,196,143,.5); border-radius: var(--r); }
.kdl-mnav summary::-webkit-details-marker { display: none; }
.kdl-mnav summary span { display: block; height: 2px; background: var(--cream); border-radius: 2px; }
.kdl-mnav__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--green-deep); border-top: 1px solid rgba(255,255,255,.1); padding: 8px 16px 24px; max-height: calc(100vh - 80px); overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.kdl-mnav__menu, .kdl-mnav__menu ul { list-style: none; margin: 0; padding: 0; }
.kdl-mnav__menu a { display: block; padding: 13px 4px; color: var(--cream); text-decoration: none; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
.kdl-mnav__menu .sub-menu { display: none; padding: 4px 0 8px; background: rgba(255,255,255,.03); }
.kdl-mnav__menu .is-open > .sub-menu { display: block; }
.kdl-mnav__menu li.menu-item-52::before, .kdl-mnav__menu li.menu-item-55::before { display: block; padding: 14px 4px 6px 20px; font: 700 .68rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); }
.kdl-mnav__menu li.menu-item-52::before { content: "Events & tours"; }
.kdl-mnav__menu li.menu-item-55::before { content: "Services"; }
.kdl-mnav__menu .sub-menu a { padding: 11px 4px 11px 20px; font-size: .98rem; color: #cdd5ce; border-bottom-color: rgba(255,255,255,.05); }
.kdl-mnav__menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
.kdl-mnav__menu .menu-item-has-children > a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--brass-soft); border-bottom: 2px solid var(--brass-soft); transform: rotate(45deg); margin: 0 8px 4px 0; transition: transform .2s; }
.kdl-mnav__menu .is-open > a::after { transform: rotate(-135deg); margin-bottom: -4px; }
.kdl-mnav[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kdl-mnav[open] summary span:nth-child(2) { opacity: 0; }
.kdl-mnav[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.kdl-mnav summary span { transition: transform .2s, opacity .2s; }
@media (max-width: 1080px) {
	.kdl-nav .menu { display: none; }
	.kdl-mnav { display: block; }
}
@media (max-width: 560px) {
	.kdl-brand b { font-size: 1.22rem; }
	.kdl-brand small { font-size: .6rem; }
	.kdl-top__phone { display: none !important; }
}

/* ── Buttons ── */
.kdl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--r); border: 1px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.kdl-btn:hover { transform: translateY(-1px); }
.kdl-btn--cta { background: var(--claret); color: #fff; }
.kdl-btn--cta:hover { background: var(--claret-hi); color: #fff; }
.kdl-btn--line { border-color: currentColor; color: inherit; background: transparent; }
.kdl-btn--line:hover { background: rgba(255,255,255,.08); color: inherit; }
.kdl-btn--brass { background: var(--brass); color: var(--green-deep); }
.kdl-btn--brass:hover { background: var(--brass-soft); color: var(--green-deep); }
.kdl-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Hero with the quote form ── */
.kdl-hero { position: relative; overflow: hidden; background: var(--green); color: var(--on-dark); padding: clamp(40px, 6vw, 80px) 0 clamp(44px, 6vw, 80px); }
.kdl-hero__img { position: absolute; inset: 0; z-index: 0; }
.kdl-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.kdl-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8,28,22,.86) 0%, rgba(8,28,22,.66) 42%, rgba(8,28,22,.28) 75%, rgba(8,28,22,.18) 100%); }
.kdl-hero__top, .kdl-hero__rest { text-shadow: 0 1px 14px rgba(0,0,0,.45); }
@media (max-width: 960px) { .kdl-hero::after { background: linear-gradient(180deg, rgba(8,28,22,.62) 0%, rgba(8,28,22,.78) 55%, rgba(8,28,22,.9) 100%); } }
.kdl-hero .kdl-wrap { position: relative; z-index: 1; }
.kdl-hero h1 { color: #fff; }
.kdl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "top form" "rest form"; column-gap: clamp(32px, 5vw, 64px); align-items: start; }
.kdl-hero__top { grid-area: top; align-self: end; animation: kdl-rise .7s ease-out both; }
.kdl-hero__form { grid-area: form; align-self: center; animation: kdl-rise .7s .1s ease-out both; }
.kdl-hero__rest { grid-area: rest; animation: kdl-rise .7s .15s ease-out both; }
.kdl-hero__copy { max-width: 760px; animation: kdl-rise .7s ease-out both; }
.kdl-hero__rest a:not(.kdl-btn) { color: #fff; }
.kdl-hero p.kdl-lede { font-size: 1.12rem; color: #e8e2d2; max-width: 620px; }
.kdl-hero__rest ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.kdl-hero__rest li { padding-left: 26px; position: relative; color: #e8e2d2; }
.kdl-hero__rest li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 6px; border-left: 2px solid var(--brass-soft); border-bottom: 2px solid var(--brass-soft); transform: rotate(-45deg); }
.kdl-hero__note { margin-top: 22px; padding: 14px 18px; max-width: 600px; border-left: 3px solid var(--brass); background: rgba(0,0,0,.25); font-size: .97rem; color: #efe8d6; }
.kdl-hero__note a { color: var(--brass-soft); }
.kdl-eyebrow { display: inline-block; font: 600 .78rem/1.35 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(220,196,143,.45); }
.kdl-sec .kdl-eyebrow { color: var(--claret); border-color: var(--line); }
@keyframes kdl-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
	.kdl-hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "form" "rest"; row-gap: 26px; }
	.kdl-hero__top h1 { margin-bottom: 0; }
}

/* ── Sections ── */
.kdl-sec { padding: clamp(56px, 8vw, 96px) 0; }
.kdl-sec--cream { background: var(--cream); }
.kdl-sec--dark { background: var(--green-deep); color: var(--on-dark); }
.kdl-sec--dark h2, .kdl-sec--dark h3 { color: #fff; }
.kdl-sec--dark .kdl-eyebrow { color: var(--brass-soft); border-color: rgba(220,196,143,.35); }
.kdl-sec--dark a { color: var(--brass-soft); }
.kdl-sec--dark strong { color: #fff; }
.kdl-head { max-width: 780px; margin-bottom: 40px; }
.kdl-head p { color: var(--muted); font-size: 1.08rem; }
.kdl-sec--dark .kdl-head p { color: #d2d9d3; }
.kdl-prose { max-width: 780px; }

.kdl-split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1.1fr .9fr; align-items: center; }
.kdl-split--flip { grid-template-columns: .9fr 1.1fr; }
.kdl-split--flip > :first-child { order: 2; }
.kdl-split > img { border-radius: var(--r); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: 18px 18px 0 -2px var(--brass); }
@media (max-width: 860px) {
	.kdl-split, .kdl-split--flip { grid-template-columns: 1fr; }
	.kdl-split--flip > :first-child { order: 0; }
	.kdl-split > img { box-shadow: 10px 10px 0 -2px var(--brass); }
}

.kdl-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.kdl-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Fleet picker (auto-added to pages) */
.kdl-fleetpick { background: #fff; border-top: 1px solid var(--line, #e6dfcf); }
.kdl-fleetgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.kdl-vcard { background: var(--paper, #fbf8f1); border: 1px solid var(--line, #e6dfcf); border-radius: var(--r, 8px); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.kdl-vcard:hover { box-shadow: 0 10px 28px rgba(10,35,27,.12); transform: translateY(-2px); }
.kdl-vcard__img img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.kdl-vcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.kdl-vcard__cap { font: 700 .72rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--claret, #8f1c2d); }
.kdl-vcard h3 { margin: 6px 0 6px; font-size: 1.25rem; }
.kdl-vcard h3 a { color: inherit; text-decoration: none; }
.kdl-vcard p { font-size: .95rem; margin: 0 0 14px; flex: 1; }
.kdl-vcard__btns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.kdl-vcard__quote { background: var(--green, #133b2e); color: #fff; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none; }
.kdl-vcard__quote:hover { background: var(--brass, #b8944d); color: #fff; }
.kdl-vcard__more { font-weight: 600; font-size: .9rem; color: var(--green, #133b2e); text-decoration: none; }
.kdl-vcard__more:hover { text-decoration: underline; }
.kdl-fleetpick__all { margin-top: 22px; text-align: center; font-weight: 600; }

/* Photo gallery + lightbox */
.kdl-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.kdl-gallery--wide { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 0; }
.kdl-fleet-item .kdl-gallery { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); }
.kdl-fleet-item h2 a { color: inherit; text-decoration: none; }
.kdl-fleet-item h2 a:hover { text-decoration: underline; text-decoration-color: var(--brass, #b8944d); }
.kdl-gallery a { display: block; position: relative; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.kdl-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .3s ease; }
.kdl-gallery a:hover img, .kdl-gallery a:focus-visible img { transform: scale(1.05); }
.kdl-gallery a::after { content: "\2922"; position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(10,35,27,.75); color: #fff; font-size: 14px; line-height: 26px; text-align: center; opacity: 0; transition: opacity .2s; }
.kdl-gallery a:hover::after, .kdl-gallery a:focus-visible::after { opacity: 1; }
.kdl-fleet-item > a.kdl-lb { display: block; border-radius: var(--r, 8px); overflow: hidden; cursor: zoom-in; }
.kdl-fleet-item > a.kdl-lb img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.kdl-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(6,20,15,.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.kdl-lightbox[hidden] { display: none; }
.kdl-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.kdl-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.kdl-lightbox figcaption { color: #e9e1cf; font-size: .9rem; margin-top: 12px; text-align: center; }
.kdl-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 46px; height: 46px; font-size: 30px; line-height: 44px; cursor: pointer; }
.kdl-lightbox button:hover, .kdl-lightbox button:focus-visible { background: var(--brass, #b8944d); }
.kdl-lightbox__close { top: 14px; right: 14px; }
.kdl-lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.kdl-lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.kdl-lightbox.is-single .kdl-lightbox__nav { display: none; }
@media (max-width: 600px) { .kdl-lightbox { padding: 56px 8px; } .kdl-lightbox__prev, .kdl-lightbox__next { top: auto; bottom: 14px; transform: none; } }
.kdl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.kdl-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17,28,24,.12); color: inherit; }
.kdl-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.kdl-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.kdl-card__cap { font: 700 .76rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--claret); margin-bottom: 10px; display: block; }
.kdl-card p { font-size: 1rem; color: var(--text); margin: 0 0 12px; }
.kdl-card__more { margin-top: auto; font-weight: 600; color: var(--green); }
a.kdl-card:hover .kdl-card__more { color: var(--claret); }

/* Race card */
.kdl-racecard { border: 1px solid var(--line); background: #fff; border-radius: var(--r); overflow: hidden; }
.kdl-racecard table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.kdl-racecard th, .kdl-racecard td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.kdl-racecard thead th { background: var(--green); color: var(--cream); font: 600 .78rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.kdl-racecard tbody th { font: 700 1rem/1.3 var(--body); color: var(--ink); white-space: nowrap; }
.kdl-racecard tbody tr:last-child > * { border-bottom: 0; }
.kdl-racecard td b { font-variant-numeric: tabular-nums; color: var(--ink); }
.kdl-racecard__src { font-size: .9rem; color: var(--muted); padding: 12px 18px; background: var(--cream); margin: 0; }
@media (max-width: 640px) {
	.kdl-racecard table, .kdl-racecard thead, .kdl-racecard tbody, .kdl-racecard tr, .kdl-racecard th, .kdl-racecard td { display: block; }
	.kdl-racecard thead { display: none; }
	.kdl-racecard tbody th { background: var(--green); color: var(--cream); }
	.kdl-racecard td { display: flex; justify-content: space-between; gap: 12px; }
	.kdl-racecard td::before { content: attr(data-l); color: var(--muted); }
}

/* Numbered points */
.kdl-steps { counter-reset: s; display: grid; border-top: 1px solid var(--line); }
.kdl-steps > div { counter-increment: s; display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.kdl-steps > div::before { content: counter(s, decimal-leading-zero); font: italic 600 2rem/1 var(--display); color: var(--brass); }
.kdl-steps h3 { font-size: 1.2rem; }
.kdl-steps p:last-child { margin: 0; }
.kdl-sec--dark .kdl-steps, .kdl-sec--dark .kdl-steps > div { border-color: rgba(255,255,255,.16); }
.kdl-sec--dark .kdl-steps p { color: #d6ddd7; }

/* Fact strip */
.kdl-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 24px; }
.kdl-facts div { padding: 22px 0 0; border-top: 1px solid rgba(220,196,143,.35); }
.kdl-facts b { display: block; font: 600 2rem/1.1 var(--display); color: var(--brass-soft); margin-bottom: 6px; }
.kdl-facts span { font-size: .98rem; color: #d6ddd7; }

.kdl-callout { border: 1px solid var(--line); border-left: 4px solid var(--claret); background: #fff; padding: 22px 24px; border-radius: var(--r); margin: 28px 0; }
.kdl-callout p:last-child { margin: 0; }

/* Spec list for the fleet page */
.kdl-spec { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 18px 0 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kdl-spec dt { font-weight: 700; color: var(--ink); font-size: .95rem; }
.kdl-spec dd { margin: 0; font-size: .98rem; }
.kdl-fleet-item + .kdl-fleet-item { margin-top: clamp(56px, 8vw, 88px); }

/* FAQ */
.kdl-faq { max-width: 860px; border-top: 1px solid var(--line); }
.kdl-faq details { border-bottom: 1px solid var(--line); }
.kdl-faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 1.1rem/1.45 var(--body); color: var(--ink); }
.kdl-faq summary::-webkit-details-marker { display: none; }
.kdl-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.7rem/1 var(--body); color: var(--brass); transition: transform .2s; }
.kdl-faq details[open] summary::after { transform: rotate(45deg); }
.kdl-faq details > div { padding: 0 0 22px; }
.kdl-faq details > div p:last-child { margin: 0; }

/* ── Quote form ── */
.kdl-form { position: relative; background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 30px); border-radius: var(--r); border-top: 4px solid var(--brass); box-shadow: 0 26px 60px rgba(0,0,0,.35); }
.kdl-form__head { margin-bottom: 18px; }
.kdl-form__title { font: 600 1.6rem/1.15 var(--display); color: var(--ink); margin: 0 0 6px; }
.kdl-form__sub { font-size: .94rem; color: var(--muted); margin: 0; }
.kdl-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.kdl-form__wide { grid-column: 1 / -1; }
.kdl-form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.kdl-form input, .kdl-form select, .kdl-form textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid #c9bea5; border-radius: var(--r); padding: 12px 13px; width: 100%; min-height: 48px; }
.kdl-form textarea { min-height: 0; resize: vertical; }
.kdl-form input::placeholder, .kdl-form textarea::placeholder { color: #8a8f87; }
.kdl-form input:focus, .kdl-form select:focus, .kdl-form textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.kdl-form .kdl-btn { width: 100%; padding: 16px 20px; font-size: 1.05rem; }
.kdl-form__safe { font-size: .86rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.kdl-form__alert { background: #fbe9ec; border: 1px solid #e6b3bc; color: #6e1522; padding: 12px 14px; border-radius: var(--r); font-size: .95rem; }
.kdl-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.kdl-form .kdl-btn:disabled { cursor: wait; opacity: .85; transform: none; }
.kdl-form.is-sending .kdl-form__grid { opacity: .55; pointer-events: none; transition: opacity .2s; }
.kdl-spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: kdl-spin .7s linear infinite; }
@keyframes kdl-spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .kdl-form__grid { grid-template-columns: 1fr; } }

/* Closing call band */
.kdl-cta__in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.kdl-cta__in p { color: #d6ddd7; max-width: 620px; }
.kdl-quote__phone { font: 600 clamp(1.9rem, 3.4vw, 2.5rem)/1.1 var(--display); color: #fff !important; text-decoration: none; display: inline-block; margin: 0 0 16px; }
.kdl-quote__phone:hover { color: var(--brass-soft) !important; }
.kdl-cta .kdl-btn--line { color: var(--cream) !important; }
@media (max-width: 860px) { .kdl-cta__in { grid-template-columns: 1fr; gap: 10px; } }

.kdl-fineprint { font-size: .92rem; color: var(--muted); max-width: 780px; margin-top: 28px; }

.kdl-map { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--cream); }
.kdl-map iframe { display: block; width: 100%; height: 420px; border: 0; }

.kdl-page { padding: clamp(48px, 7vw, 80px) 0; }
.kdl-page .kdl-prose h2 { font-size: 1.7rem; margin-top: 1.4em; }

/* ── Footer ── */
.kdl-foot { background: var(--green-deep); color: #d3dad4; padding: 56px 0 100px; font-size: .97rem; }
.kdl-foot__grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr .8fr; gap: 32px; }
.kdl-foot__col > summary { list-style: none; cursor: default; pointer-events: none; }
.kdl-foot__col > summary::-webkit-details-marker { display: none; }
@media (max-width: 1100px) { .kdl-foot__grid { grid-template-columns: repeat(4, 1fr); } .kdl-foot__grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 719px) {
	.kdl-foot__grid { grid-template-columns: 1fr; gap: 0; }
	.kdl-foot__grid > div:first-child { margin-bottom: 18px; }
	.kdl-foot__col { border-top: 1px solid rgba(255,255,255,.12); }
	.kdl-foot__col:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
	.kdl-foot__col > summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; margin: 0; }
	.kdl-foot__col > summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--brass-soft); }
	.kdl-foot__col[open] > summary::after { content: "\2212"; }
	.kdl-foot__col ul { padding-bottom: 14px; }
}
.kdl-foot h4, .kdl-foot .kdl-foot__h { margin-top: 0; font: 700 .78rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 14px; }
.kdl-foot a { color: var(--cream); text-decoration: none; }
.kdl-foot a:hover { color: var(--brass-soft); }
.kdl-foot ul { list-style: none; margin: 0; padding: 0; }
.kdl-foot li { margin-bottom: 9px; }
.kdl-foot__base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .86rem; color: #a3b0a9; }

.kdl-callbar { display: none; }
@media (max-width: 760px) {
	.kdl-callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 18px rgba(0,0,0,.18); }
	.kdl-callbar a { padding: 13px 8px; text-align: center; font-weight: 600; font-size: .86rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
	.kdl-callbar a:first-child { background: var(--claret); color: #fff; }
	.kdl-callbar a:last-child { background: var(--green-deep); color: var(--cream); }
}

/* DM Serif Display ships in one sturdy weight; keep every display use at 400. */
h1, h2, .kdl-brand b, .kdl-form__title, .kdl-facts b, .kdl-quote__phone, .kdl-steps > div::before { font-weight: 400 !important; letter-spacing: 0; }
h1 { line-height: 1.08; }
.kdl-sec:not(.kdl-sec--dark) h2 em { color: var(--claret); }
.kdl-form__title { font-size: 1.65rem; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
