/*
Theme Name: BRAINTRAVEL Landing
Theme URI: https://airlinetickethelpline.com
Author: BRAINTRAVEL INC.
Description: Lightweight, ads-compliant call landing page theme for BRAINTRAVEL INC., an independent travel agency. No page builder, no external fonts or frameworks.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: braintravel
*/

:root {
	--navy: #0b2545;
	--navy-2: #13315c;
	--blue: #1d4ed8;
	--sky: #e8f1fb;
	--green: #15803d;
	--green-d: #116632;
	--ink: #1f2937;
	--muted: #4b5563;
	--line: #d9e2ec;
	--bg: #ffffff;
	--warn-bg: #fff8e1;
	--warn-line: #f2c94c;
	--radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.bt-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.bt-skip { position: absolute; left: -9999px; }
.bt-skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Top disclaimer banner */
.bt-notice { background: var(--warn-bg); border-bottom: 1px solid var(--warn-line); font-size: 13.5px; line-height: 1.45; color: #4a3b00; padding: 8px 0; }

/* Header */
.bt-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.bt-header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.bt-brand { text-decoration: none; display: flex; flex-direction: column; min-width: 0; }
.bt-brand__name { font-weight: 800; font-size: 20px; color: var(--navy); letter-spacing: .3px; }
.bt-brand__sub { font-size: 12.5px; color: var(--muted); }

/* Buttons */
.bt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--green); color: #fff; text-decoration: none; font-weight: 700;
	font-size: 20px; padding: 16px 28px; border-radius: 999px; min-height: 56px;
	box-shadow: 0 4px 14px rgba(21, 128, 61, .3); transition: background .15s;
}
.bt-btn:hover, .bt-btn:focus-visible { background: var(--green-d); color: #fff; }
.bt-btn:focus-visible { outline: 3px solid #86efac; outline-offset: 2px; }
.bt-btn--sm { font-size: 16px; padding: 10px 18px; min-height: 44px; box-shadow: none; white-space: nowrap; }
.bt-btn--block { width: 100%; }
.bt-btn--lg { font-size: 24px; padding: 18px 34px; }

/* Hero */
.bt-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 48px 0 56px; }
.bt-hero h1 { color: #fff; font-size: clamp(28px, 5vw, 44px); max-width: 760px; }
.bt-hero__lead { font-size: 19px; color: #dbe7f5; max-width: 680px; }
.bt-disclaimer {
	background: #fff; color: var(--ink); border-left: 5px solid var(--warn-line);
	border-radius: 8px; padding: 14px 16px; font-size: 15px; line-height: 1.5;
	max-width: 760px; margin: 24px 0 20px;
}
.bt-disclaimer strong { color: var(--navy); }
.bt-hero__fine { font-size: 14px; color: #b9cbe2; margin-top: 14px; }

/* Facts strip */
.bt-facts { background: var(--sky); border-bottom: 1px solid var(--line); }
.bt-facts ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bt-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.bt-facts b { color: var(--navy); display: block; }
.bt-tick { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; display: grid; place-items: center; margin-top: 2px; }

/* Sections */
.bt-section { padding: 56px 0; }
.bt-section--alt { background: #f7f9fc; }
.bt-section__head { max-width: 720px; margin-bottom: 28px; }
.bt-section__head h2 { font-size: clamp(24px, 3.6vw, 34px); }
.bt-section__head p { color: var(--muted); }

/* Airline cards */
.bt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.bt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.bt-card__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--blue); margin-bottom: 6px; }
.bt-card h3 { font-size: 21px; }
.bt-card ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); font-size: 15.5px; }
.bt-card li { margin-bottom: 4px; }
.bt-card .bt-btn { margin-top: auto; font-size: 16px; padding: 12px 18px; min-height: 48px; box-shadow: none; }
.bt-cards__note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* Steps */
.bt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.bt-steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; counter-increment: step; }
.bt-steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 10px; }
.bt-steps h3 { font-size: 19px; }
.bt-steps p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* FAQ */
.bt-faq { max-width: 800px; }
.bt-faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.bt-faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--navy); list-style: none; }
.bt-faq summary::-webkit-details-marker { display: none; }
.bt-faq summary::after { content: "+"; float: right; font-size: 20px; line-height: 1; }
.bt-faq details[open] summary::after { content: "\2212"; }
.bt-faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* Final CTA */
.bt-cta { background: var(--navy); color: #fff; text-align: center; padding: 52px 0; }
.bt-cta h2 { color: #fff; font-size: clamp(24px, 4vw, 34px); }
.bt-cta p { color: #c9d8ea; }
.bt-cta .bt-disclaimer { margin: 18px auto 22px; text-align: left; }

/* Inner pages */
.bt-page { padding: 48px 0 64px; }
.bt-prose { max-width: 780px; }
.bt-prose h1 { font-size: clamp(28px, 4.5vw, 40px); }
.bt-prose h2 { font-size: 23px; margin-top: 1.8em; }
.bt-prose h3 { font-size: 19px; margin-top: 1.4em; }
.bt-prose ul, .bt-prose ol { padding-left: 22px; margin: 0 0 1em; }
.bt-prose li { margin-bottom: 6px; }
.bt-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15.5px; display: block; overflow-x: auto; }
.bt-prose th, .bt-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.bt-prose th { background: var(--sky); color: var(--navy); }
.bt-updated { color: var(--muted); font-size: 15px; }
.bt-callout { background: var(--warn-bg); border-left: 5px solid var(--warn-line); border-radius: 8px; padding: 14px 16px; margin: 0 0 1.4em; }
.bt-contact { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.bt-contact li { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 0; }
.bt-contact b { display: block; color: var(--navy); }
.bt-pagecta { margin-top: 40px; background: var(--sky); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.bt-pagecta__fine { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

/* Footer */
.bt-footer { background: #081a33; color: #c3d0e0; font-size: 15px; padding: 44px 0 24px; }
.bt-footer a { color: #fff; }
.bt-footer__title { color: #fff; font-size: 20px; }
.bt-footer__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.bt-footer__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; }
.bt-footer__facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: #8ea3bd; }
.bt-footer__facts dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.bt-footer__disclaimer { border-top: 1px solid #1f3658; margin-top: 28px; padding-top: 20px; font-size: 13.5px; color: #a9bad0; }
.bt-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.bt-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bt-footer__bottom p { margin: 0; }

/* Sticky mobile call bar */
.bt-callbar { display: none; }

@media (min-width: 860px) {
	.bt-footer__grid { grid-template-columns: 1fr 2fr; }
	.bt-hero { padding: 64px 0 72px; }
}

@media (max-width: 640px) {
	body { font-size: 16px; padding-bottom: 84px; }
	.bt-brand__name { font-size: 17px; }
	.bt-brand__sub { font-size: 11.5px; }
	.bt-btn--sm span { display: none; }
	.bt-btn--sm { padding: 10px 14px; }
	.bt-btn--sm::after { content: "Call"; }
	.bt-hero { padding: 32px 0 40px; }
	.bt-hero .bt-btn { width: 100%; font-size: 21px; }
	.bt-section { padding: 40px 0; }
	.bt-callbar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bt-btn { transition: none; }
}
