@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/playfair-display-v37-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/playfair-display-v37-latin-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-v13-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-v13-latin-600.woff2') format('woff2');
}
:root {
    --song-navy: #1a2c42;
    --song-paper: #fdfbf7;
    --song-stone: #f4f1eb;
    --song-gold: #c5a059;
    --song-border: rgba(15, 23, 42, 0.08);
    --song-border-dark: rgba(15, 23, 42, 0.15);
}

html {
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--song-paper);
    color: var(--song-navy);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
.serif-lean {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.016em;
    line-height: 1.12;
}

.serif-bold {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.014em;
    line-height: 1.12;
}

/* Borders */
.thin-border {
    border: 1px solid var(--song-border);
}

/* Components */
.screen-card {
    border: 1px solid var(--song-border);
    padding: 0px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    background: white;
    min-height: 320px;
    overflow: hidden;
}

.screen-card:hover {
    border-color: var(--song-gold) !important;
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.03);
}

.line-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: all 0.8s ease;
}

.screen-card:hover .line-art-img {
    opacity: 1;
    transform: scale(1.02);
}

.btn-song {
    background: var(--song-gold);
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-song:hover {
    background: var(--song-navy);
    color: white;
    text-decoration: none;
}

.btn-success {
    background: #16a34a;
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.btn-success:hover {
    background: #15803d;
    color: white;
    text-decoration: none;
}

/* Application Form Overrides */
#application-form-container input[type="submit"],
#application-form-container button[type="submit"],
#application-form-container .btn-song {
    background-color: var(--song-gold) !important;
    border: none !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 1.2rem !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    width: 100%;
    cursor: pointer;
}

.nav-link {
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.1em;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--song-navy);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.elegant-input {
    width: 100%;
    background: white;
    border: 1px solid var(--song-border-dark);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--song-navy);
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    border-radius: 0;
}

.elegant-input:focus {
    border-color: var(--song-gold);
    box-shadow: 0 0 0 1px var(--song-gold);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 1px solid var(--song-navy);
    border-bottom: 1px solid var(--song-navy);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* FAQ & Interactions */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-answer.open {
    max-height: 500px;
    transition: max-height 0.6s ease-in-out;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--song-gold);
}

.bullet-gold {
    color: var(--song-gold);
    font-size: 0.6rem;
    margin-right: 0.75rem;
    margin-top: 0.35rem;
}

/* Tabs */
.tab-btn {
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: var(--song-navy);
}

.tab-btn.active {
    color: var(--song-navy);
    background: white;
    border-color: var(--song-border);
    border-top: 3px solid var(--song-gold);
}

.tab-content {
    display: none;
    background: white;
    border: 1px solid var(--song-border);
    padding: 2rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities */
.custom-scrollbar::-webkit-scrollbar {
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--song-gold);
}

/* ===================================================
   SHARED COMPONENT STYLES
   Used by reusable Razor partials.
   Edit here to update all pages simultaneously.
   =================================================== */

/* Breadcrumb Bar */
.breadcrumb-bar { padding: 0.75rem 0; border-bottom: 1px solid var(--song-border); background: white; }
.breadcrumb-bar ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; list-style: none; padding: 0; margin: 0; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #9ca3af; }
.breadcrumb-bar a { color: #9ca3af; text-decoration: none; transition: color 0.2s; }
.breadcrumb-bar a:hover { color: var(--song-navy); }
.breadcrumb-bar .bc-current { color: var(--song-navy); }
.breadcrumb-bar .bc-sep { color: #d1d5db; }

/* Hero Section */
.page-hero { position: relative; background-color: var(--song-navy); padding: 5rem 0; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__content { position: relative; z-index: 10; text-align: center; }
.page-hero__label { display: block; color: var(--song-gold); text-transform: uppercase; letter-spacing: 0.34em; font-size: 0.6875rem; font-weight: 600; margin-bottom: 1rem; }
.page-hero__title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(2.75rem, 5vw, 4.4rem); color: white; margin-bottom: 1.5rem; letter-spacing: -0.025em; line-height: 0.98; }
.page-hero__subtitle { color: rgba(255,255,255,0.7); font-style: italic; max-width: 36rem; margin: 0 auto; font-size: 0.9rem; font-weight: 300; }

/* Sidebar */
.sidebar-section { border: 1px solid var(--song-border); background: white; overflow: hidden; margin-bottom: 0.75rem; }
.aside-sticky { position: sticky; top: 2rem; }
.sidebar-section-header { background: #fdfbf7; border-bottom: 1px solid var(--song-border); padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--song-navy); }
.sidebar-section-header i { color: var(--song-gold); }
.sidebar-nav { padding: 0.5rem; }
.sidebar-nav-link { display: block; padding: 0.5rem 0.75rem; font-size: 0.75rem; font-weight: 400; color: #4b5563; text-decoration: none; transition: all 0.2s; border-left: 2px solid transparent; }
.sidebar-nav-link:hover { color: var(--song-navy); border-left-color: var(--song-gold); background: rgba(197,160,89,0.05); }
.sidebar-nav-link.active { color: var(--song-navy); font-weight: 700; border-left-color: var(--song-gold); }

/* Hotline Widget */
.hotline-widget { background: var(--song-navy); padding: 1.75rem 1.5rem; text-align: center; }
.hotline-widget__icon { width: 3rem; height: 3rem; background: rgba(197,160,89,0.15); border: 1px solid rgba(197,160,89,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--song-gold); }
.hotline-widget__label { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.62); display: block; margin-bottom: 0.875rem; }
.hotline-widget__number { font-family: inherit; font-size: 1.16rem; font-weight: 400; letter-spacing: -0.006em; font-variant-numeric: tabular-nums; color: white; display: block; margin-bottom: 1.25rem; text-decoration: none; transition: color 0.2s; }
.hotline-widget__number:hover { color: var(--song-gold); }
.hotline-widget__divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 0 0 1.25rem; }
.hotline-widget__email { font-size: 0.75rem; color: var(--song-gold); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
.hotline-widget__email svg, .hotline-widget__email i[data-lucide] { flex-shrink: 0; }
.hotline-widget__email:hover { color: white; }

/* Content Section Wrapper */
.content-section { background: white; border: 1px solid var(--song-border); padding: 2.5rem 3rem; }
@media (max-width: 768px) { .content-section { padding: 1.5rem; } }

/* CTA Banner */
.cta-banner { background: var(--song-navy); padding: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: center; }
@media (min-width: 768px) { .cta-banner { flex-direction: row; text-align: left; } }
.cta-banner__title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 1.7rem; color: white; margin-bottom: 0.35rem; letter-spacing: -0.02em; line-height: 1.05; }
.cta-banner__subtitle { font-size: 0.8125rem; color: rgba(255,255,255,0.5); font-weight: 300; }

/* Country Card Overlay */
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,44,66,0.9) 0%, rgba(26,44,66,0.2) 40%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; transition: all 0.5s ease; }
.screen-card:hover .card-overlay { background: linear-gradient(to top, rgba(26,44,66,0.95) 0%, rgba(26,44,66,0.3) 50%, transparent 100%); }

/* Content Page Layout */
.content-layout { padding: 4rem 0; background: var(--song-paper); }

/* Prose (content body text) */
.page-prose { font-size: 0.9375rem; font-weight: 300; color: #475569; line-height: 1.86; }
.page-prose h2, .page-prose h3 { font-family: 'Playfair Display', serif; font-weight: 400; color: var(--song-navy); margin-top: 2rem; margin-bottom: 0.75rem; letter-spacing: -0.018em; line-height: 1.15; }
.page-prose h2 { font-size: 1.9rem; }
.page-prose h3 { font-size: 1.35rem; }
@media (min-width: 768px) {
    .page-prose h2 { font-size: 2.15rem; }
    .page-prose h3 { font-size: 1.5rem; }
}

/* Stronger heading hierarchy for legal/service long-form pages */
.legal-prose h2 {
    font-size: clamp(1.45rem, 1.8vw, 1.9rem) !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    margin-top: 2.35rem !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.015em;
    padding-bottom: 0.2rem;
}

.legal-prose h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 1.5px;
    background: var(--song-gold);
    margin-top: 0.45rem;
}

.legal-prose h3 {
    font-size: clamp(1.12rem, 1.2vw, 1.3rem) !important;
    font-weight: 500 !important;
    color: #24364b;
    margin-top: 1.5rem;
}
.page-prose ul, .page-prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.page-prose li { margin-bottom: 0.4rem; }
.page-prose strong { font-weight: 600; color: var(--song-navy); }
.page-prose img { border: 1px solid var(--song-border); margin-bottom: 1rem; }

/* Section heading used across visa detail pages */
.section-title { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 2rem; color: var(--song-navy); margin-bottom: 0.75rem; line-height: 1.08; letter-spacing: -0.022em; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }

/* Contact Form Alert States */
.contact-status .alert { border: 1px solid var(--song-border); padding: 0.85rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; }
.contact-status .alert-danger { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.contact-status .alert-success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }

/* Utility: visually hidden honeypot */
.vh-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ===== Accessibility: Focus Styles ===== */
*:focus-visible {
  outline: 2px solid var(--song-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--song-gold);
  outline-offset: 3px;
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.focus:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ===== Application Form Field UI ===== */

/* Song aesthetic: zero border radius on ALL form elements */
#form1 input[type="text"],
#form1 input[type="email"],
#form1 input[type="tel"],
#form1 input[type="date"],
#form1 input[type="number"],
#form1 select,
#form1 textarea {
    border-radius: 0 !important;
}

/* Zero radius on section cards and buttons inside the form */
#form1 .rounded-lg,
#form1 .rounded,
#form1 .rounded-xl,
#form1 .rounded-2xl,
#form1 .rounded-full {
    border-radius: 0 !important;
}

/* Base input/select styles */
#form1 input[type="text"],
#form1 input[type="email"],
#form1 input[type="tel"],
#form1 input[type="date"],
#form1 input[type="number"],
#form1 select {
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    font-size: 0.875rem;
    color: #1a2c42;
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    width: 100%;
    display: block;
}

/* Hover state */
#form1 input[type="text"]:hover,
#form1 input[type="email"]:hover,
#form1 input[type="tel"]:hover,
#form1 input[type="date"]:hover,
#form1 input[type="number"]:hover,
#form1 select:hover {
    border-color: #94a3b8;
}

/* Focus state — gold ring */
#form1 input[type="text"]:focus,
#form1 input[type="email"]:focus,
#form1 input[type="tel"]:focus,
#form1 input[type="date"]:focus,
#form1 input[type="number"]:focus,
#form1 select:focus {
    border-color: var(--song-gold) !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.18);
    outline: none !important;
}

/* Field label typography */
#form1 label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1a2c42;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

/* Row spacing */
#form1 .grid + .grid {
    margin-top: 1.25rem;
}

/* Field wrapper bottom spacing */
#form1 .grid > div {
    padding-bottom: 0.25rem;
}

/* Responsive: reduce card padding on mobile */
@media (max-width: 767px) {
    #form1 .p-8 {
        padding: 1.25rem !important;
    }
    #form1 .px-8 {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    #form1 .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Progress steps: square dot */
#form1 .step-dot {
    border-radius: 0 !important;
}

