/* DAAK-JET company website. Plain CSS, no build step. The portal has its own file, app.css. */

/* Poppins (SIL Open Font License, see fonts/Poppins-OFL.txt) for headings, in Latin and Devanagari. */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/poppins-latin-600.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/poppins-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/poppins-devanagari-600.woff2") format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/poppins-devanagari-700.woff2") format("woff2");
    unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}

:root {
    --red: #9F0D22;
    --red-dark: #7E0A1B;
    --red-soft: #FBEEF0;
    --red-line: #F0D5D9;
    --ink: #1F2328;
    --muted: #5B6470;
    --line: #E7E9EC;
    --white: #FFFFFF;
    --green: #1B7F4B;
    --green-soft: #E8F5EE;
    --amber: #7A5200;
    --amber-soft: #FFF6DB;
    --radius: 12px;
    --heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", "Nirmala UI", Arial, sans-serif;
    --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--body);
    line-height: 1.55;
}

/* The logo, pale, behind every page, the way it sits on a letterhead. Boxes are see-through for it. */
body::before {
    content: "";
    position: fixed;
    z-index: -1;
    left: 50%;
    top: 50%;
    width: min(88vw, 800px);
    aspect-ratio: 1443 / 696;
    transform: translate(-50%, -50%);
    background: url("img/daak-jet-logo.svg") center / contain no-repeat;
    opacity: .085;
    pointer-events: none;
}

/* Devanagari carries marks above and below the letters and needs more room between lines. */
[lang="hi"] { line-height: 1.7; }

/*
 * Language. Until a visitor chooses, English and Hindi stand together. site.js puts the choice on <html data-lang="en|hi">:
 * English hides what is marked lang="hi" (but not .lang-keep, the main heading and the Hindi on the language buttons),
 * Hindi hides what is marked lang="en". .hi-only is the Hindi of a short label, shown with Hindi chosen only;
 * .hi-sub is the Hindi line under an English heading, not needed once the heading itself is in Hindi;
 * .both-sep stands between the two languages; .one-lang is shown once one language is chosen.
 */
html[data-lang="en"] [lang="hi"]:not(.lang-keep),
html[data-lang="hi"] [lang="en"],
html:not([data-lang="hi"]) .hi-only,
html[data-lang="hi"] .hi-sub,
html[data-lang] .both-sep,
html:not([data-lang]) .one-lang { display: none; }

[hidden] { display: none !important; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }

h1, h2, h3 { font-family: var(--heading); margin: 0; }
p { margin: 0 0 .6rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid rgba(159, 13, 34, .45); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 760px; }

.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: var(--white); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* ---------- strip above the header: the flag, and the language buttons ---------- */

.topbar { background: var(--red-soft); border-bottom: 1px solid var(--red-line); font-size: .9rem; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; padding-top: .35rem; padding-bottom: .35rem; }

.reach { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--red-dark); font-weight: 600; }
.reach .flag { width: 1.5rem; height: 1rem; flex: none; border-radius: 2px; }

.lang-switch { display: flex; gap: .35rem; }
.lang-switch button {
    border: 1px solid var(--red-line);
    background: var(--white);
    color: var(--ink);
    border-radius: 999px;
    padding: .15rem .8rem;
    font: 600 .85rem/1.6 var(--body);
    cursor: pointer;
}
.lang-switch button:hover { border-color: var(--red); color: var(--red); }
.lang-switch button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }

.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: .7rem; padding-bottom: .7rem; }

.site-logo { display: block; line-height: 0; }
.site-logo img { height: 50px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .5rem .8rem; border-radius: 8px; }
.site-nav a:hover { color: var(--red); background: var(--red-soft); }
.site-nav a.active { color: var(--red); }
.site-nav a.nav-cta { background: var(--red); color: var(--white); margin-left: .5rem; padding: .55rem 1.1rem; }
.site-nav a.nav-cta:hover { background: var(--red-dark); color: var(--white); }

/* ---------- buttons ---------- */

.button {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
    border-radius: 10px;
    padding: .7rem 1.5rem;
    font: 600 1rem/1.3 var(--heading);
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.button-outline { background: var(--white); color: var(--red); }
.button-outline:hover { background: var(--red-soft); border-color: var(--red); color: var(--red); }

.actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin: 2.25rem 0 0; }

/* ---------- home: heading, tracking box ---------- */

.hero { text-align: center; padding: 2.75rem 0 4.25rem; }

/* The heading between the flag and an aeroplane taking off, as in his sketch. */
.hero-title { display: flex; align-items: center; justify-content: center; gap: .35em; color: var(--red); font-weight: 700; font-size: clamp(2.1rem, 8.4vw, 5rem); line-height: 1.35; }
.hero-title .hero-flag { width: .87em; height: .58em; flex: none; border-radius: 3px; box-shadow: 0 1px 5px rgba(31, 35, 40, .18); }
.hero-title .hero-plane { width: .8em; height: .8em; flex: none; stroke-width: 1.5; transform: rotate(-22deg); }

.hero-line { font: 600 clamp(1.1rem, 3.2vw, 1.5rem)/1.4 var(--heading); margin: .6rem 0 0; }
.hero-line-hi { color: var(--red); line-height: 1.7; margin-top: .35rem; }

/* The posters, taking turns. All of them sit in one grid cell, so the box is as tall as the tallest. */
.posters { max-width: 980px; margin: 2rem auto 0; text-align: left; }
.poster-stack { display: grid; }
.poster {
    grid-area: 1 / 1;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
    min-height: 15rem;
    padding: 2rem 2.75rem;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(120deg, #7E0A1B 0%, #9F0D22 45%, #C8102E 100%);
    box-shadow: 0 14px 36px rgba(159, 13, 34, .18);
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility 0s linear .7s;
}
.poster.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.poster-1 { background: linear-gradient(120deg, #9F0D22 0%, #C8102E 50%, #E8692A 100%); }
.poster-2 { background: linear-gradient(120deg, #1F2328 0%, #5A0A16 55%, #9F0D22 100%); }
/* A dashed flight path across the corner. */
.poster::before { content: ""; position: absolute; right: -90px; top: -120px; width: 460px; height: 460px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .2); pointer-events: none; }

.poster-text { position: relative; }
.poster-brand { margin: 0 0 .5rem; font: 700 .85rem/1 var(--heading); letter-spacing: .18em; opacity: .8; }
.poster-title { font-size: clamp(1.55rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.25; }
.poster-title span { display: block; }
.poster-title [lang="hi"] { font-size: .78em; line-height: 1.6; margin-top: .25rem; opacity: .95; }
html[data-lang="hi"] .poster-title [lang="hi"] { font-size: 1em; margin-top: 0; }
.poster-sub { margin: .7rem 0 0; font-size: 1.1rem; opacity: .92; }

.poster-art { position: relative; display: grid; place-items: center; width: 10.5rem; height: 10.5rem; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.poster-ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); }
.posters .poster-icon { width: 5.25rem; height: 5.25rem; stroke-width: 1.3; color: var(--white); }

.poster-controls { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: .9rem; }
.poster-arrow {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--red-line);
    border-radius: 50%;
    background: var(--white);
    color: var(--red);
    font: 600 1.5rem/1 var(--body);
    cursor: pointer;
}
.poster-arrow:hover { border-color: var(--red); background: var(--red-soft); }
.poster-dots { display: flex; gap: .45rem; }
.poster-dot { width: .7rem; height: .7rem; padding: 0; border: none; border-radius: 999px; background: #D3D7DD; cursor: pointer; transition: width .3s ease, background .3s ease; }
.poster-dot[aria-current="true"] { width: 1.6rem; background: var(--red); }

.track-box {
    background: rgba(255, 255, 255, .68);
    border: 1px solid var(--red-line);
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(159, 13, 34, .10);
    padding: 1.4rem 1.5rem 1.1rem;
    text-align: left;
}
.hero .track-box { max-width: 580px; margin: 2.25rem auto 0; }

.track-box h2 { font-size: 1.15rem; margin-bottom: .8rem; }
.track-box h2 span { color: var(--red); font-weight: 600; margin-left: .4rem; }

.track-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.track-row { display: flex; gap: .6rem; }
.track-row input {
    flex: 1;
    min-width: 0;
    height: 3.25rem;
    border: 1.5px solid #C4C9D0;
    border-radius: 10px;
    padding: 0 1rem;
    font: 600 1.15rem var(--body);
    letter-spacing: .04em;
    color: var(--ink);
    background: var(--white);
}
.track-row input::placeholder { color: #A3A9B2; font-weight: 400; }
.track-row input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(159, 13, 34, .15); }
.track-row .button { height: 3.25rem; padding-top: 0; padding-bottom: 0; }

.hint { color: var(--muted); font-size: .9rem; margin: .6rem 0 0; }

/* ---------- sections ---------- */

.section { padding: 3.5rem 0; border-top: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 { color: var(--red); font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 700; }
.section-head p { color: var(--muted); font: 600 1.1rem/1.7 var(--heading); margin: .1rem 0 0; }

.icon { width: 1.75rem; height: 1.75rem; display: block; }
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
}

/* services */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.2rem; }
.card h3 { font-size: 1.3rem; font-weight: 700; margin-top: 1rem; }
.card h3 small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.card .card-hi { color: var(--red); font: 600 1.1rem/1.7 var(--heading); margin-bottom: .7rem; }
.card p { color: #3A4048; }

/* the lines in English and Hindi */

.lines { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2.5rem; }

.line { display: flex; gap: 1rem; align-items: flex-start; }
.line-en { font: 600 1.1rem/1.45 var(--heading); margin-bottom: .3rem; }
.line-hi { color: var(--red); font-size: 1.05rem; margin: 0; }
html[data-lang="hi"] .line-hi { color: var(--ink); font: 600 1.1rem/1.6 var(--heading); }

/* how it works */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.1rem; }
.steps h3 { color: var(--red); font-size: 1.15rem; font-weight: 700; margin: .9rem 0 .4rem; }
.steps p { color: #3A4048; }

/* address, hours, email */

.contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.contact-list p { margin: 0; }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- inner pages ---------- */

.page-head { text-align: center; padding: 2.75rem 0 2.5rem; }
.page-head h1 { color: var(--red); font-size: clamp(1.9rem, 5.5vw, 2.6rem); font-weight: 700; line-height: 1.3; }
.page-head p { color: var(--muted); font: 600 1.15rem/1.7 var(--heading); margin: .1rem 0 0; }

.page-head .eyebrow { color: var(--red); font: 600 .95rem/1.6 var(--heading); letter-spacing: .04em; margin: 0 0 .3rem; }
.page-head .page-tagline { max-width: 46rem; margin: 1rem auto 0; color: var(--ink); font: 400 1.1rem/1.6 var(--body); }
.page-head .page-tagline[lang="hi"] { color: var(--red-dark); line-height: 1.7; margin-top: .3rem; }

.prose p { font-size: 1.1rem; margin-bottom: 1rem; }
.prose p[lang="hi"] { color: var(--red-dark); }
html[data-lang="hi"] .prose p[lang="hi"] { color: var(--ink); }

/* about: the four pillars, mission and vision, the founder's note */

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pillar { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.3rem 1.1rem; }
.pillar-name { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 1rem 0 .2rem; }
.pillar h3 { color: var(--red); font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin-bottom: .5rem; }
html[data-lang="hi"] .pillar h3 { margin-top: 1rem; line-height: 1.6; }
.pillar p { color: #3A4048; }
.pillar .pillar-hi-title { color: var(--red-dark); font: 600 1rem/1.6 var(--heading); margin: .9rem 0 .2rem; }

.aims { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.aim { border-left: 4px solid var(--red); background: rgba(251, 238, 240, .6); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.3rem 1.5rem .9rem; }
.aim h3 { color: var(--red); font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.6; }
.aim p[lang="hi"] { color: var(--red-dark); }
html[data-lang="hi"] .aim p[lang="hi"] { color: var(--ink); }

.founder { margin: 0; text-align: center; }
.founder blockquote { margin: 0; }
.founder blockquote p { font-size: 1.15rem; margin-bottom: 1rem; }
.founder blockquote p[lang="hi"] { color: var(--red-dark); }
html[data-lang="hi"] .founder blockquote p[lang="hi"] { color: var(--ink); }
.founder figcaption { color: var(--muted); }
.founder figcaption span { display: block; margin-top: .2rem; }
.founder figcaption strong { color: var(--ink); }

/* ---------- tracking result ---------- */

.notice { border-left: 4px solid var(--red); background: var(--red-soft); border-radius: 0 10px 10px 0; padding: .9rem 1.1rem .5rem; margin-top: 1.5rem; }
.notice p { margin-bottom: .4rem; }
.notice-test { border-left-color: #C99700; background: var(--amber-soft); color: var(--amber); font-weight: 600; padding-bottom: .9rem; margin-top: 0; margin-bottom: 1.5rem; }

.parcel { border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; margin-top: 1.75rem; }

.parcel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.parcel-label { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.parcel-id { font: 700 1.6rem/1.2 var(--heading); letter-spacing: .03em; }

.parcel-status { background: var(--red-soft); color: var(--red); border-radius: 10px; padding: .5rem 1rem; text-align: center; }
.parcel-status strong { display: block; font: 700 1.1rem/1.3 var(--heading); }
.parcel-status span { font-size: .95rem; }
html[data-lang="hi"] .parcel-status span { display: block; font: 700 1.1rem/1.5 var(--heading); }
.parcel-status-delivered { background: var(--green-soft); color: var(--green); }

.progress { display: flex; margin: 0 0 1.75rem; }
.progress li { flex: 1; position: relative; text-align: center; padding: 0 .25rem; color: var(--muted); }
/* The bar from this step to the next one. */
.progress li:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 50%; width: 100%; height: 3px; background: var(--line); }
.progress li.done::after { background: var(--red); }
.progress .dot { position: relative; z-index: 1; display: block; width: 25px; height: 25px; margin: 0 auto .5rem; border-radius: 50%; background: var(--white); border: 3px solid #CDD2D8; }
.progress li.done .dot { background: var(--red); border-color: var(--red); }
.progress li.current .dot { border-color: var(--red); box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 12px var(--red); }
.progress-name { display: block; font-weight: 600; font-size: .9rem; line-height: 1.25; }
.progress-hi { display: block; font-size: .8rem; }
.progress li.done, .progress li.current { color: var(--ink); }
.progress li.current .progress-name { color: var(--red); }
html[data-lang="hi"] .progress-hi { font-weight: 600; font-size: .95rem; }
html[data-lang="hi"] .progress li.current .progress-hi { color: var(--red); }

.parcel-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem 1.5rem; margin: 0 0 1.75rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.parcel-facts dt { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.parcel-facts dd { margin: .1rem 0 0; font-weight: 600; }
.parcel-facts dd small { color: var(--muted); font-weight: 400; }

.parcel h2 { font-size: 1.1rem; margin-bottom: .9rem; }

.timeline li { position: relative; padding: 0 0 1.1rem 1.5rem; border-left: 2px solid var(--red-line); margin-left: .4rem; }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.timeline time { display: block; color: var(--muted); font-size: .85rem; }
.timeline strong { display: block; }
.timeline li > span { color: #3A4048; }

/* ---------- footer ---------- */

.site-footer { background: var(--red); color: var(--white); margin-top: 1rem; padding: 2.75rem 0 1.25rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--white); text-decoration-thickness: 2px; }

.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 2rem; }
.footer-logo { height: 70px; width: auto; display: block; }
.footer-heading { font: 600 1.25rem/1.7 var(--heading); margin: .8rem 0 0; }
.site-footer h2 { font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .7rem; }
.site-footer li { margin-bottom: .35rem; overflow-wrap: anywhere; }

.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .9rem; }

/* ---------- the language question on the first visit ---------- */

.lang-dialog {
    width: min(92vw, 34rem);
    border: none;
    border-radius: 18px;
    padding: 2.25rem 2rem 2rem;
    text-align: center;
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(31, 35, 40, .28);
}
.lang-dialog::backdrop { background: rgba(31, 35, 40, .55); }
.lang-dialog h2 { font-size: 1.6rem; font-weight: 700; line-height: 1.5; }
.lang-dialog p { color: var(--muted); margin: .4rem 0 1.5rem; }
.lang-dialog-close { position: absolute; top: .5rem; right: .7rem; border: none; background: none; color: var(--muted); font-size: 1.9rem; line-height: 1; padding: .2rem .5rem; border-radius: 8px; cursor: pointer; }
.lang-dialog-close:hover { color: var(--ink); background: var(--red-soft); }

.lang-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lang-choices button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    padding: 1.2rem 1rem 1.1rem;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
    font: 600 1.1rem/1.5 var(--heading);
    cursor: pointer;
}
.lang-choices button:hover, .lang-choices button:focus-visible { border-color: var(--red); background: var(--red-soft); }
.lang-letter { color: var(--red); font-size: 2.6rem; line-height: 1.2; }

/* ---------- small screens ---------- */

@media (max-width: 860px) {
    .cards, .steps { grid-template-columns: 1fr; }
    .lines { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr 1fr; }
    .aims { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 720px) {
    .header-row { justify-content: center; padding-bottom: .5rem; }
    .site-nav { justify-content: center; gap: 0; }
    .site-nav a { padding: .45rem .6rem; font-size: .95rem; }
    .site-nav a.nav-cta { margin-left: .3rem; padding: .45rem .8rem; }

    .topbar-row { justify-content: center; }

    .hero { padding: 1.75rem 0 3rem; }
    .section { padding: 2.5rem 0; }

    .poster { gap: 1rem; min-height: 12.5rem; padding: 1.5rem 1.4rem; }
    .poster-art { width: 5.5rem; height: 5.5rem; }
    .poster-ring { inset: -8px; }
    .posters .poster-icon { width: 2.9rem; height: 2.9rem; stroke-width: 1.5; }
    .poster-sub { font-size: 1rem; }

    .pillars { grid-template-columns: 1fr; }

    .track-box { padding: 1.1rem 1.1rem .9rem; }
    .track-box h2 span { display: block; margin-left: 0; }

    .parcel { padding: 1.1rem; }

    /* The progress bar stands upright: one step per line. */
    .progress { flex-direction: column; }
    .progress li { display: grid; grid-template-columns: 25px 1fr; column-gap: .8rem; text-align: left; padding: 0 0 1.1rem; }
    .progress li:last-child { padding-bottom: 0; }
    .progress li:not(:last-child)::after { top: 25px; bottom: 0; left: 11px; width: 3px; height: auto; }
    .progress .dot { grid-row: 1 / span 2; margin: 0; }
    .progress-name { font-size: 1rem; }
    .progress-hi { font-size: .9rem; }
}

@media (max-width: 420px) {
    .track-row { flex-direction: column; }
    .track-row input { flex: none; }

    .lang-dialog { padding: 2rem 1.2rem 1.4rem; }
    .lang-choices { gap: .7rem; }
}

/* No turning and fading for those who asked their system for less motion. */
@media (prefers-reduced-motion: reduce) {
    .poster, .poster.is-active, .poster-dot { transition: none; }
}

/* ---------- rates and pickup pages ---------- */

.site-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; margin-bottom: 1.2rem; }
.site-field-wide { grid-column: 1 / -1; }
.site-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.site-field input, .site-field select, .site-field textarea {
    width: 100%;
    border: 1.5px solid #C4C9D0;
    border-radius: 10px;
    padding: .7rem 1rem;
    font: 500 1rem var(--body);
    color: var(--ink);
    background: var(--white);
}
.site-field input, .site-field select { height: 3rem; padding-top: 0; padding-bottom: 0; }
.site-field textarea { resize: vertical; }
.site-field input:focus, .site-field select:focus, .site-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(159, 13, 34, .15); }
.field-error { color: var(--red); font-size: .9rem; font-weight: 600; margin: .35rem 0 0; }

/* The robot trap is moved off the screen, not hidden, so simple robots still fill it. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice-thanks { border-left-color: #1E7B4B; background: #EAF6EF; padding-bottom: .5rem; margin: 0 0 1.5rem; font-weight: 600; }

.rates-title { font-size: 1.15rem; margin: 2rem 0 1rem; }
.rate-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rate-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; text-align: center; }
.rate-card h3 { font-size: 1.1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.rate-price { font: 700 2.2rem/1.3 var(--heading); color: var(--red); margin: .3rem 0; }
.rate-days { font-weight: 600; margin: 0 0 .2rem; }
.rates-estimate { text-align: center; }
.rates-contact { margin-top: 1.5rem; }

@media (max-width: 720px) {
    .site-form-grid, .rate-results { grid-template-columns: 1fr; }
}
