/* ==========================================================================
   Hicks Coins - Styles
   "Doing Business the Old Fashioned Way with the Technology of Today"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens & Reset
   -------------------------------------------------------------------------- */
:root {
    /* Brand palette - Capri blue / white / black */
    --color-navy: #121417;
    --color-navy-deep: #000000;
    --color-navy-soft: #2a2d33;
    --color-gold: #00BFFF;
    --color-gold-bright: #5ad2ff;
    --color-gold-deep: #0a7ea4;
    --color-cream: #ffffff;
    --color-cream-soft: #eef9ff;
    --color-paper: #ffffff;
    --color-ink: #111111;
    --color-ink-soft: #333333;
    --color-muted: #5b5b5b;
    --color-line: #d7e8f1;
    --color-white: #ffffff;

    /* Typography */
    --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.14);
    --shadow-xl: 0 28px 72px rgba(0, 0, 0, 0.22);
    --shadow-gold: 0 10px 30px rgba(0, 191, 255, 0.35);

    /* Layout */
    --container: 1200px;
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-ink);
    background: var(--color-paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--color-gold-deep);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   2. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 100%);
    color: var(--color-navy-deep);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 191, 255, 0.45);
    color: var(--color-navy-deep);
}

.btn-navy {
    background: var(--color-navy);
    color: var(--color-cream);
    border-color: var(--color-navy);
}

.btn-navy:hover {
    background: var(--color-navy-deep);
    color: var(--color-gold-bright);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-outline:hover {
    background: var(--color-navy);
    color: var(--color-cream);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-cream);
    border-color: rgba(247, 241, 227, 0.4);
}

.btn-outline-light:hover {
    background: var(--color-cream);
    color: var(--color-navy);
    border-color: var(--color-cream);
}

/* --------------------------------------------------------------------------
   3. Navigation
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 191, 255, 0.15);
    transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(8, 17, 32, 0.97);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-cream);
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.nav-logo i {
    color: var(--color-gold);
    font-size: 24px;
}

.nav-logo:hover {
    color: var(--color-gold-bright);
}

.nav-logo .nav-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--color-gold-bright), var(--color-gold-deep));
    color: var(--color-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    font-family: var(--font-serif);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0,0,0,0.3);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.01em;
    color: var(--color-gold);
    transition: color 0.25s var(--ease);
}

.nav-logo:hover .nav-logo-text {
    color: var(--color-gold-bright);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--color-cream);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 6px;
    transition: all 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold-bright);
    background: rgba(0, 191, 255, 0.08);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-gold);
    color: var(--color-navy-deep) !important;
    font-weight: 600;
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: all 0.2s var(--ease);
}

.nav-cta:hover {
    background: var(--color-gold-bright) !important;
    color: var(--color-navy-deep) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-cream);
    transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-phone {
    display: none;
}

/* Mega dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-dropdown-toggle .chev {
    font-size: 10px;
    transition: transform 0.2s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-toggle .chev,
.nav-dropdown.active .nav-dropdown-toggle .chev {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--color-navy-deep);
    border: 1px solid rgba(0, 191, 255, 0.25);
    border-radius: var(--radius-md);
    padding: 28px;
    min-width: 720px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
    z-index: 1100;
}

.mega-menu-wide {
    min-width: 820px;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mega-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mega-col h5 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-bright);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 191, 255, 0.18);
}

.mega-col a {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    color: rgba(247, 241, 227, 0.78);
    border-radius: 0;
    background: transparent !important;
}

.mega-col a:hover {
    color: var(--color-gold-bright);
    padding-left: 6px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--color-cream-soft);
    border-bottom: 1px solid var(--color-line);
    padding: 16px 0;
    font-size: 14px;
}

.breadcrumbs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
}

.breadcrumbs-list a {
    color: var(--color-muted);
    text-decoration: none;
}

.breadcrumbs-list a:hover {
    color: var(--color-gold-deep);
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--color-line);
}

.breadcrumbs-list li[aria-current="page"] {
    color: var(--color-navy);
    font-weight: 600;
}

/* Two-column content layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.two-col-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
}

.two-col-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Service / coin-type chip grid */
.chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.chip {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-left: 3px solid var(--color-gold);
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s var(--ease);
}

.chip:hover {
    background: var(--color-cream-soft);
    transform: translateX(3px);
}

.chip i {
    color: var(--color-gold-deep);
    font-size: 16px;
}

/* Service-area grid (location links) */
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.area-card {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s var(--ease);
}

.area-card:hover {
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.area-card:hover::before {
    transform: scaleY(1);
}

.area-card-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-navy);
    margin-bottom: 6px;
    font-weight: 700;
}

.area-card-meta {
    display: block;
    font-size: 13px;
    color: var(--color-muted);
}

.area-card-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold-deep);
    font-size: 14px;
    opacity: 0;
    transition: all 0.25s var(--ease);
}

.area-card:hover .area-card-arrow {
    opacity: 1;
    right: 14px;
}

.area-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.18), rgba(0, 191, 255, 0.08));
    color: var(--color-gold-deep);
    font-size: 18px;
    margin-bottom: 14px;
    transition: all 0.3s var(--ease);
}

.area-card:hover .area-card-icon {
    background: linear-gradient(135deg, var(--color-gold-deep), var(--color-gold-bright));
    color: #fff;
    transform: scale(1.05);
}

.area-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-navy);
    margin: 0 0 6px;
    font-weight: 600;
    line-height: 1.3;
}

.area-card p {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 14px;
}

.area-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gold-deep);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
}

.area-card-link i {
    font-size: 11px;
    transition: transform 0.25s var(--ease);
}

.area-card:hover .area-card-link {
    color: var(--color-gold-bright);
}

.area-card:hover .area-card-link i {
    transform: translateX(4px);
}

/* Service-area region subtitle, county tags & "beyond" coverage */
.area-region-sub {
    text-align: center;
    max-width: 700px;
    margin: -6px auto 0;
    color: var(--color-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.county-tags-label {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
    font-weight: 600;
    margin: 34px 0 0;
}

.county-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 940px;
    margin: 16px auto 0;
}

.county-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 14px;
    color: var(--color-navy);
    text-decoration: none;
    transition: all 0.2s var(--ease);
}

.county-tag i {
    color: var(--color-gold-deep);
    font-size: 12px;
}

.county-tag:hover {
    border-color: rgba(0, 191, 255, 0.55);
    background: var(--color-cream-soft);
    transform: translateY(-2px);
}

.area-group {
    margin-top: 40px;
}

.area-group-title {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
    margin: 0 0 12px;
    font-weight: 700;
    font-family: var(--font-sans);
}

/* FAQ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s var(--ease);
}

.faq-item[open] {
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: var(--shadow-sm);
}

.faq-q {
    cursor: pointer;
    padding: 20px 28px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-navy);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--color-gold-deep);
    line-height: 1;
    transition: transform 0.25s var(--ease);
    font-family: var(--font-sans);
    font-weight: 300;
}

.faq-item[open] .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 28px 22px;
    color: var(--color-ink-soft);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-a p {
    margin: 0 0 12px;
}

.faq-a p:last-child {
    margin-bottom: 0;
}

/* NAP block (Name/Address/Phone) */
.nap-block {
    background: var(--color-cream-soft);
    border: 1px solid var(--color-line);
    border-left: 4px solid var(--color-gold);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    margin: 32px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.nap-item h4 {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-deep);
    margin: 0 0 10px;
}

.nap-item p,
.nap-item a {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-navy);
    margin: 0;
    font-weight: 500;
}

.nap-item a {
    text-decoration: none;
}

.nap-item a:hover {
    color: var(--color-gold-deep);
}

.nap-item i {
    color: var(--color-gold-deep);
    margin-right: 8px;
}

/* Trust badge strip */
.trust-strip {
    background: var(--color-navy);
    padding: 32px 0;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px 56px;
    text-align: center;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-cream);
    max-width: 220px;
}

.trust-badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold-deep));
    color: var(--color-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 4px;
}

.trust-badge-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-gold-bright);
    margin: 0;
}

.trust-badge-text {
    font-size: 13px;
    color: rgba(247, 241, 227, 0.75);
    margin: 0;
    line-height: 1.4;
}

/* Highlight bar */
.local-highlight {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin: 40px 0;
    border-left: 4px solid var(--color-gold);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-navy);
    line-height: 1.6;
}

/* Coin types grid (rich page content) */
.coin-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.coin-type-card {
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: all 0.25s var(--ease);
}

.coin-type-card:hover {
    border-color: rgba(0, 191, 255, 0.4);
    box-shadow: var(--shadow-sm);
}

.coin-type-card h4 {
    color: var(--color-navy);
    font-size: 1.15rem;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-type-card h4 i {
    color: var(--color-gold-deep);
    font-size: 0.95em;
}

.coin-type-card p {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* In-page section with image side */
.page-section-with-image {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        background: rgba(0, 0, 0, 0.2);
        padding: 16px;
        margin-top: 8px;
        display: none;
        box-shadow: none;
        border: none;
    }
    .nav-dropdown.active .mega-menu {
        display: block;
        transform: none;
    }
    .mega-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mega-col h5 {
        border-color: rgba(0, 191, 255, 0.3);
    }
    .nap-block {
        padding: 22px 20px;
    }
    .trust-strip-inner {
        gap: 28px;
    }
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    background:
        linear-gradient(135deg, rgba(8, 17, 32, 0.88) 0%, rgba(0, 0, 0, 0.82) 50%, rgba(8, 17, 32, 0.92) 100%),
        url('images/coins-3-scaled.webp') center/cover no-repeat;
    color: var(--color-cream);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 191, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(0, 191, 255, 0.12);
    border: 1px solid rgba(0, 191, 255, 0.35);
    border-radius: 30px;
    color: var(--color-gold-bright);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-eyebrow i {
    font-size: 11px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--color-cream);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero h1 .text-gold {
    color: var(--color-gold-bright);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-gold-bright);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(247, 241, 227, 0.85);
    margin-bottom: 36px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(247, 241, 227, 0.85);
    font-size: 14px;
}

.hero-trust-item i {
    color: var(--color-gold-bright);
    font-size: 18px;
}

.hero-trust-item strong {
    color: var(--color-cream);
    font-weight: 600;
}

.hero-image {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-4deg);
    transition: transform 0.5s var(--ease);
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.hero-image-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 17, 32, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.hero-image-frame img {
    width: 100%;
    height: 540px;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--color-cream);
    color: var(--color-navy);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-serif);
    border-left: 4px solid var(--color-gold);
}

.hero-image-badge-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gold-deep);
    line-height: 1;
}

.hero-image-badge-text {
    font-size: 13px;
    color: var(--color-ink-soft);
    font-family: var(--font-sans);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   5. Sections (shared)
   -------------------------------------------------------------------------- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-light {
    background: var(--color-paper);
}

.section-cream {
    background: var(--color-cream-soft);
}

/* "Beyond the DMV" travel section - faint antique DMV map behind a translucent
   cream wash so it reads as a subtle texture, never competing with the copy. */
.travel-map-section {
    position: relative;
    background-color: var(--color-cream-soft);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.84)),
        url('images/dmv-map.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-navy {
    background: var(--color-navy);
    color: var(--color-cream);
}

.section-navy h1,
.section-navy h2,
.section-navy h3 {
    color: var(--color-cream);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--color-gold-deep);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-navy .section-eyebrow {
    color: var(--color-gold-bright);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

.section-navy .section-header p {
    color: rgba(247, 241, 227, 0.75);
}

.divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 20px auto;
    color: var(--color-gold);
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

/* --------------------------------------------------------------------------
   6. About Section
   -------------------------------------------------------------------------- */
.about {
    background: var(--color-paper);
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-quote {
    position: absolute;
    bottom: -30px;
    right: -30px;
    max-width: 280px;
    background: var(--color-navy);
    color: var(--color-cream);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.5;
    border-top: 3px solid var(--color-gold);
}

.about-image-quote::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 16px;
    font-size: 5rem;
    color: var(--color-gold);
    line-height: 1;
    font-family: var(--font-serif);
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--color-ink-soft);
    margin-bottom: 18px;
    line-height: 1.75;
}

.about-signature {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-line);
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-signature-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-navy);
}

.about-signature-title {
    color: var(--color-muted);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-contact-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
}

.about-contact-inline a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-navy);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
}

.about-contact-inline a i {
    color: var(--color-gold-deep);
}

.about-contact-inline a:hover {
    color: var(--color-gold-deep);
}

/* --------------------------------------------------------------------------
   7. Tagline Banner
   -------------------------------------------------------------------------- */
.tagline-banner {
    background:
        linear-gradient(135deg, rgba(8, 17, 32, 0.94) 0%, rgba(0, 0, 0, 0.9) 100%),
        url('images/coins-2-scaled.webp') center/cover no-repeat fixed;
    padding: 80px 0;
    text-align: center;
    color: var(--color-cream);
}

.tagline-banner h2 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    color: var(--color-gold-bright);
    margin: 0;
    letter-spacing: 0.01em;
}

.tagline-banner .ornament-line {
    width: 80px;
    height: 2px;
    background: var(--color-gold);
    margin: 24px auto;
}

.tagline-banner p {
    font-size: 1.1rem;
    color: rgba(247, 241, 227, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   8. Advantages / Cards
   -------------------------------------------------------------------------- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.advantage-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-line);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-gold-deep), var(--color-gold-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 191, 255, 0.4);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold-deep));
    color: var(--color-navy-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.15), var(--shadow-sm);
}

.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.advantage-card p {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* --------------------------------------------------------------------------
   9. Process / Steps
   -------------------------------------------------------------------------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--color-gold) 0 8px, transparent 8px 16px);
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    background: var(--color-cream-soft);
    padding: 40px 28px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-line);
    z-index: 1;
    transition: all 0.3s var(--ease);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.process-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 3px solid var(--color-gold);
    box-shadow: inset 0 0 8px rgba(0,0,0,0.3), var(--shadow-sm);
}

.process-step-icon {
    font-size: 32px;
    color: var(--color-gold-deep);
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

/* --------------------------------------------------------------------------
   10. Feature Image Split
   -------------------------------------------------------------------------- */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--color-cream-soft);
}

.feature-split-img {
    position: relative;
    height: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center;
}

.feature-split-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), transparent);
}

.feature-split-content {
    padding: 80px 64px;
}

.feature-split-content .section-eyebrow {
    text-align: left;
}

.feature-split-content h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
}

.feature-split-content p {
    color: var(--color-ink-soft);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.feature-split-content .btn {
    margin-top: 18px;
}

/* --------------------------------------------------------------------------
   11. Service Lists (Consultation)
   -------------------------------------------------------------------------- */
.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-item {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--color-white);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
}

.service-item:hover {
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-item-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
    color: var(--color-gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.service-item-body h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.service-item-body p {
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

/* --------------------------------------------------------------------------
   12. CTA Sections
   -------------------------------------------------------------------------- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(135deg, rgba(8, 17, 32, 0.92) 0%, rgba(0, 0, 0, 0.85) 100%),
        url('images/cash-payment-scaled.webp') center/cover no-repeat;
    color: var(--color-cream);
    text-align: center;
}

.cta-section h2 {
    color: var(--color-cream);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.cta-section h2 span {
    color: var(--color-gold-bright);
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(247, 241, 227, 0.85);
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.cta-divider {
    width: 80px;
    height: 2px;
    background: var(--color-gold);
    margin: 0 auto 28px;
}

/* --------------------------------------------------------------------------
   13. Page Hero (sub-pages)
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    padding: 180px 0 90px;
    background:
        linear-gradient(135deg, rgba(8, 17, 32, 0.9) 0%, rgba(0, 0, 0, 0.85) 100%),
        url('images/coins-3-scaled.webp') center/cover no-repeat;
    color: var(--color-cream);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: radial-gradient(circle at right, rgba(0, 191, 255, 0.12), transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-hero .eyebrow {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(0, 191, 255, 0.4);
    background: rgba(0, 191, 255, 0.08);
    color: var(--color-gold-bright);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--color-cream);
    margin-bottom: 18px;
    line-height: 1.15;
}

.page-hero h1 .text-gold {
    color: var(--color-gold-bright);
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(247, 241, 227, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   14. Rich Content (article style)
   -------------------------------------------------------------------------- */
.rich {
    max-width: 820px;
    margin: 0 auto;
}

.rich h2 {
    font-size: 2rem;
    margin-top: 56px;
    margin-bottom: 18px;
}

.rich h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 14px;
    color: var(--color-navy);
}

.rich h3.gold-accent::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    margin-right: 14px;
    vertical-align: middle;
    transform: translateY(-2px);
}

.rich p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--color-ink-soft);
    margin-bottom: 20px;
}

.rich blockquote {
    margin: 36px 0;
    padding: 24px 32px;
    border-left: 4px solid var(--color-gold);
    background: var(--color-cream-soft);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-navy);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-navy-deep);
    color: rgba(247, 241, 227, 0.7);
    padding: 70px 0 30px;
    border-top: 3px solid var(--color-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 50px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gold-bright);
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand .footer-logo i {
    color: var(--color-gold);
}

/* Membership / credential logo band */
.logo-band {
    background: #ffffff;
    padding: 56px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.logo-band-title {
    text-align: center;
    font-family: var(--font-serif);
    color: var(--color-navy);
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    margin: 0 0 34px;
}

.logo-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 56px;
}

.logo-band-inner img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.logo-band-inner .logo-band-medallion {
    height: 92px;
}

@media (max-width: 600px) {
    .logo-band {
        padding: 40px 0;
    }
    .logo-band-inner {
        gap: 36px;
    }
    .logo-band-inner img {
        height: 54px;
    }
    .logo-band-inner .logo-band-medallion {
        height: 68px;
    }
}

.footer-brand p {
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 380px;
    margin: 0 0 16px;
}

.footer-tagline {
    font-family: var(--font-serif);
    color: var(--color-gold-bright);
    font-size: 0.95rem;
}

.footer h4 {
    color: var(--color-cream);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.footer-links a,
.footer-contact a {
    color: rgba(247, 241, 227, 0.7);
    display: block;
    padding: 6px 0;
    font-size: 0.98rem;
    transition: color 0.2s var(--ease);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-gold-bright);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-contact p i {
    color: var(--color-gold);
    margin-top: 4px;
    width: 16px;
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(0, 191, 255, 0.15);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(247, 241, 227, 0.5);
}

/* --------------------------------------------------------------------------
   16. Mobile CTA Bar (mobile only)
   -------------------------------------------------------------------------- */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-navy-deep);
    border-top: 1px solid rgba(0, 191, 255, 0.3);
    padding: 12px;
    z-index: 999;
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}

.mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.mobile-cta-call {
    background: var(--color-gold);
    color: var(--color-navy-deep);
}

.mobile-cta-text {
    background: transparent;
    color: var(--color-cream);
    border: 1px solid rgba(0, 191, 255, 0.4);
}

/* --------------------------------------------------------------------------
   17. Animations
   -------------------------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-image-frame {
        transform: none;
    }

    .hero-image-frame img {
        height: 420px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        max-width: 420px;
        margin: 0 auto;
    }

    .feature-split {
        grid-template-columns: 1fr;
    }

    .feature-split-img {
        min-height: 320px;
    }

    .feature-split-content {
        padding: 60px 32px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .section {
        padding: 70px 0;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-navy-deep);
        flex-direction: column;
        gap: 0;
        padding: 16px;
        border-top: 1px solid rgba(0, 191, 255, 0.2);
        transform: translateY(-130%);
        transition: transform 0.3s var(--ease);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 16px;
        border-radius: 6px;
    }

    .nav-mobile-phone {
        display: block;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(0, 191, 255, 0.2);
    }

    .nav-mobile-phone a {
        background: var(--color-gold);
        color: var(--color-navy-deep) !important;
        text-align: center;
        font-weight: 700;
    }

    .hero {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .hero-image-frame img {
        height: 320px;
    }

    .hero-image-badge {
        left: 16px;
        bottom: -20px;
        padding: 14px 18px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-grid::before {
        display: none;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-quote {
        position: static;
        margin: 24px auto 0;
        max-width: none;
    }

    .feature-split-content {
        padding: 50px 24px;
    }

    .mobile-cta-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .tagline-banner {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 22px;
        font-size: 14px;
        width: 100%;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: auto;
    }
}

/* --------------------------------------------------------------------------
   19. Mobile Tuning - Polish (tablet + phone + small phone)
   -------------------------------------------------------------------------- */

/* Container padding tightens on phones so text breathes against the edge */
@media (max-width: 768px) {
    .container,
    .nav-container,
    .hero-container,
    .page-hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Page hero (inner pages) - reduce huge top padding on mobile */
    .page-hero {
        padding: 130px 0 60px;
    }

    .page-hero h1 {
        font-size: clamp(1.85rem, 7vw, 2.6rem);
        line-height: 1.18;
    }

    .page-hero p {
        font-size: 1.05rem;
    }

    .page-hero .eyebrow {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 18px;
    }

    /* Hero (homepage) - tighten copy sizing on small screens */
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1.02rem;
    }

    .hero-tagline {
        font-size: 1.02rem;
    }

    .hero-eyebrow {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 22px;
    }

    /* Hero image - flatten the 3D tilt on touch devices for performance */
    .hero-image-frame {
        transform: none !important;
    }

    .hero-image-badge {
        position: relative;
        left: auto;
        bottom: auto;
        margin: 20px auto 0;
        display: inline-block;
    }

    /* Cards - reduce internal padding on phones */
    .advantage-card {
        padding: 28px 22px;
    }

    .advantage-card h3 {
        font-size: 1.2rem;
    }

    .advantage-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .process-step {
        padding: 30px 22px 26px;
    }

    .area-card {
        padding: 18px 20px;
    }

    .area-card-name,
    .area-card h3 {
        font-size: 1.1rem;
    }

    /* Section header text scales down */
    .section-header h2,
    .rich h2 {
        font-size: 1.7rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* FAQ - tighter padding, easier to tap */
    .faq-q {
        padding: 16px 20px;
        font-size: 1.02rem;
        gap: 12px;
        min-height: 48px;
    }

    .faq-a {
        padding: 0 20px 18px;
        font-size: 0.97rem;
    }

    /* NAP block - collapses better */
    .nap-block {
        padding: 22px 20px;
        gap: 18px;
    }

    /* Trust strip - tighter */
    .trust-strip {
        padding: 24px 0;
    }

    .trust-strip-inner {
        gap: 22px 32px;
    }

    .trust-badge {
        flex: 1 1 130px;
        min-width: 130px;
    }

    .trust-badge-title {
        font-size: 0.95rem;
    }

    .trust-badge-text {
        font-size: 0.78rem;
    }

    /* Tagline banner - phone sizing */
    .tagline-banner {
        padding: 60px 0;
    }

    .tagline-banner p {
        font-size: 1rem;
    }

    /* CTA section - phone sizing */
    .cta-section {
        padding: 70px 0;
    }

    .cta-section p {
        font-size: 1.02rem;
    }

    /* Breadcrumbs - wrap nicely + tighter font */
    .breadcrumbs {
        padding: 12px 0;
        font-size: 13px;
    }

    .breadcrumbs-list {
        gap: 6px;
    }

    /* Nav tap target - guaranteed 48px */
    .nav-links a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* Coin-type cards - reduce padding */
    .coin-type-card {
        padding: 22px 20px;
    }

    /* Chip grid - tighter on mobile */
    .chip {
        font-size: 14px;
        padding: 14px 16px;
    }

    /* Feature-split image - keep visible height reasonable */
    .feature-split-img {
        min-height: 240px;
    }

    /* About signature inline contact - wrap correctly */
    .about-contact-inline {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Small phones (≤ 480px) - final pass */
@media (max-width: 480px) {
    body {
        font-size: 15.5px;
    }

    /* Tighter sections on small screens */
    .section {
        padding: 54px 0;
    }

    /* Hero on small phones */
    .hero {
        padding: 100px 0 50px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 9vw, 2.4rem);
    }

    .hero-image-frame img {
        height: 260px;
    }

    .hero-trust {
        gap: 16px;
        padding-top: 22px;
    }

    .hero-trust-item {
        font-size: 13px;
    }

    /* Page hero on small phones */
    .page-hero {
        padding: 115px 0 50px;
    }

    .page-hero h1 {
        font-size: clamp(1.7rem, 8vw, 2.3rem);
    }

    .page-hero p {
        font-size: 0.98rem;
    }

    /* Card grids force single-column at very small width */
    .advantages-grid,
    .area-grid,
    .coin-types,
    .nap-block {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantage-card {
        padding: 24px 20px;
    }

    .section-header h2,
    .rich h2 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .cta-section h2 {
        font-size: 1.65rem;
    }

    .tagline-banner h2 {
        font-size: 1.45rem;
    }

    .tagline-banner {
        padding: 50px 0;
    }

    /* Mobile CTA bar buttons larger tap target */
    .mobile-cta-btn {
        padding: 14px;
        font-size: 14px;
        min-height: 48px;
    }

    /* Footer - tighter */
    .footer {
        padding: 60px 0 20px;
    }

    .footer-grid {
        gap: 32px;
    }

    /* Logo on phones */
    .nav-logo {
        font-size: 18px;
    }

    .nav-logo .nav-logo-mark {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .nav-logo-text {
        font-size: 19px;
    }

    /* Buttons inside narrow about/contact layouts */
    .about-content .btn,
    .feature-split-content .btn {
        width: auto;
    }

    /* Make the rich article text comfortable on phones */
    .rich p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .rich h2 {
        margin-top: 36px;
    }

    .rich h3 {
        font-size: 1.2rem;
        margin-top: 26px;
    }
}

/* iOS - safe-area insets for the bottom mobile CTA bar (notched iPhones) */
@supports (padding: max(0px)) {
    .mobile-cta-bar {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    @media (max-width: 768px) {
        body {
            padding-bottom: calc(70px + env(safe-area-inset-bottom));
        }
    }
}

/* Prevent iOS from zooming text on tap by ensuring 16px+ inputs/details */
@media (max-width: 768px) {
    details summary,
    input,
    select,
    textarea,
    button {
        font-size: max(16px, 1rem);
    }
}

/* Respect reduced motion - disables expensive animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .fade-up {
        opacity: 1;
        transform: none;
    }
}

/* Disable the parallax-style fixed backgrounds across all touch devices - they cause noticeable jank on iOS/Android, even when nominally supported. */
@media (hover: none) and (pointer: coarse) {
    .hero,
    .page-hero,
    .tagline-banner,
    .cta-section {
        background-attachment: scroll !important;
    }
}

/* Touch device - disable hover transforms that look broken on tap */
@media (hover: none) {
    .advantage-card:hover,
    .area-card:hover,
    .process-step:hover {
        transform: none;
    }
}

/* Image performance hints - fade-in once decoded, no layout shift */
img {
    background-color: rgba(247, 241, 227, 0.4);
}
