/**
 * INGO Website — Main Stylesheet
 * Colors, layout, and components matching the homepage reference design
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-navy: #071b3a;
    --color-deep-blue: #0b2447;
    --color-navy-mid: #0d2a52;
    --color-gold: #c9961a;
    --color-gold-hover: #b58516;
    --color-gold-light: #d4a84a;
    --color-white: #ffffff;
    --color-light-gray: #f7f7f7;
    --color-text-gray: #555555;
    --color-text-dark: #1a1a1a;
    --color-border: #e8e8e8;
    --color-border-light: #eeeeee;
    --color-error: #c0392b;
    --color-success: #1e7e34;

    /* Typography */
    --font-primary: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Poppins', 'Montserrat', sans-serif;

    /* Spacing scale */
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 64px;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 24px;
    --header-height: 80px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(7, 27, 58, 0.06);
    --shadow-md: 0 4px 16px rgba(7, 27, 58, 0.08);
    --shadow-lg: 0 8px 28px rgba(7, 27, 58, 0.12);
    --shadow-header: 0 2px 12px rgba(7, 27, 58, 0.1);

    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.2s ease;

    /* Section padding */
    --section-padding-y: 72px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-gray);
    background: var(--color-white);
    overflow-x: hidden;
    max-width: 100%;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Logos and icons should not be cropped */
.logo-img,
.brand-logo img,
.service-card-icon img,
.footer-logo .logo-img,
.why-icon img,
.benefit-icon img,
.stat-icon img,
.value-icon img {
    object-fit: contain;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-hover);
}

ul, ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-navy);
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin-bottom: var(--space-16);
}

p:last-child {
    margin-bottom: 0;
}

:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}

.btn:focus-visible,
.nav-link:focus-visible,
.social-link:focus-visible,
.back-to-top:focus-visible,
.faq-question:focus-visible,
.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
}

.btn-gold:focus-visible {
    outline-color: var(--color-navy);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--color-gold);
    color: var(--color-white);
    padding: var(--space-12) var(--space-24);
    font-weight: 600;
}

.skip-link:focus {
    left: var(--space-16);
    top: var(--space-16);
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding: var(--section-padding-y) 0;
}

.section-gray {
    background: var(--color-light-gray);
}

.section-navy {
    background: var(--color-navy);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-48);
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-navy);
}

.section-navy .section-title {
    color: var(--color-white);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-12);
}

.text-gold {
    color: var(--color-gold);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition-fast), box-shadow var(--transition);
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    min-height: 48px;
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn-gold:hover {
    background: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(201, 150, 26, 0.35);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
}

.btn-navy {
    background: var(--color-navy);
    color: var(--color-white);
    border: 2px solid var(--color-navy);
}

.btn-navy:hover {
    background: var(--color-deep-blue);
    border-color: var(--color-deep-blue);
    color: var(--color-white);
}

.btn-header {
    padding: 12px 22px;
    font-size: 0.8125rem;
    min-height: 44px;
}

.btn-arrow::after {
    content: '→';
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
    transform: translateX(3px);
}

.btn:disabled,
.btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn-gold:hover,
.btn-navy:hover,
.btn-outline-white:hover {
    text-decoration: none;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    height: var(--header-height);
    transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-header);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--space-24);
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 8px 12px;
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-navy);
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 1px;
}

.desktop-quote-btn {
    flex-shrink: 0;
}

.mobile-quote-btn {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-navy);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 58, 0.5);
    z-index: 998;
}

/* ==========================================================================
   Hero Section
   Recommended hero image: 1600x900px (hero-banner.jpg)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    background: var(--color-navy);
    overflow: hidden;
}

.hero-inner {
    position: relative;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    align-items: stretch;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 0 80px;
    max-width: 560px;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-16);
}

.hero-title {
    font-size: clamp(1.75rem, 3.2vw, 2.625rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: var(--space-16);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-32);
    max-width: 440px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-16);
}

.hero-media {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        var(--color-navy) 0%,
        var(--color-navy) 42%,
        rgba(7, 27, 58, 0.85) 52%,
        rgba(7, 27, 58, 0.35) 68%,
        transparent 82%
    );
    pointer-events: none;
}

/* Hero Stats Bar */
.hero-stats {
    position: relative;
    z-index: 3;
    background: var(--color-deep-blue);
    margin-top: auto;
}

.hero-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 28px 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    padding: 0 var(--space-24);
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: rgba(201, 150, 26, 0.45);
}

.stat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--color-gold);
}

.stat-icon svg,
.stat-icon img {
    width: 100%;
    height: 100%;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
}

/* ==========================================================================
   Trusted Brands
   Client logos recommended size: 160x60px
   ========================================================================== */
.trusted-brands {
    padding: 48px 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border-light);
}

.trusted-brands .section-header {
    margin-bottom: var(--space-32);
}

.trusted-brands .section-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.brand-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-32) var(--space-48);
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: opacity var(--transition), filter var(--transition);
}

.brand-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.brand-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-more {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-gray);
    font-style: italic;
    opacity: 0.7;
}

/* ==========================================================================
   About Section
   About image recommended: 600x480px
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: var(--color-light-gray);
}

.about-image img {
    width: 100%;
    height: 100%;
}

.about-content .section-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: var(--space-16);
}

.about-content p {
    margin-bottom: var(--space-16);
    font-size: 0.9375rem;
}

.about-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24) var(--space-16);
    margin-top: var(--space-32);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-12);
}

.benefit-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--color-gold);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-title {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.4;
}

/* ==========================================================================
   Services Grid
   Service icons recommended: 64x64px SVG
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-24);
}

.services-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-32) var(--space-16);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 180px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 150, 26, 0.35);
}

.service-card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-16);
    color: var(--color-gold);
}

.service-card-icon img,
.service-card-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0;
}

.service-card a {
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.services-cta {
    text-align: center;
    margin-top: var(--space-48);
}

/* ==========================================================================
   Industries
   Industry images recommended: 280x400px
   ========================================================================== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-16);
}

.industry-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3 / 4.2;
    background: var(--color-deep-blue);
    display: block;
}

.industry-card img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.industry-card:hover img {
    transform: scale(1.08);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 27, 58, 0.92) 0%, rgba(7, 27, 58, 0.3) 45%, transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-16);
}

.industry-title {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
    margin: 0;
}

/* ==========================================================================
   Why Choose INGO
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.why-item {
    text-align: center;
    padding: 0 var(--space-16);
    position: relative;
}

.why-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(201, 150, 26, 0.35);
}

.why-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-16);
    color: var(--color-gold);
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-title {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   Hiring Process
   ========================================================================== */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-8);
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    max-width: 180px;
}

.process-circle {
    width: 88px;
    height: 88px;
    margin: 0 auto var(--space-16);
    background: var(--color-navy);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--color-white);
}

.process-circle svg {
    width: 36px;
    height: 36px;
}

.process-number {
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 28px;
    height: 28px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
}

.process-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.35;
}

.process-arrow {
    flex-shrink: 0;
    align-self: center;
    margin-top: -40px;
    color: #c5c5c5;
    width: 32px;
}

.process-arrow svg {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: var(--space-32);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-16);
}

.quote-icon {
    color: var(--color-gold);
    font-size: 2.5rem;
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.9;
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--color-gold);
}

.stars svg {
    width: 14px;
    height: 14px;
}

.testimonial-text {
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--color-text-gray);
    flex: 1;
    margin-bottom: var(--space-24);
    line-height: 1.7;
}

.testimonial-author {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0;
}

/* ==========================================================================
   Founder + Contact Form
   Founder image recommended: 400x480px
   ========================================================================== */
.founder-contact {
    background: var(--color-white);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
    align-items: start;
}

.founder-block {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--space-24);
    align-items: start;
}

.founder-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--color-light-gray);
}

.founder-image img {
    width: 100%;
    height: 100%;
}

.founder-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-8);
}

.founder-name {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 0.8125rem;
    color: var(--color-text-gray);
    margin-bottom: var(--space-16);
}

.founder-message {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: var(--space-16);
}

.founder-signature {
    font-family: 'Georgia', 'Times New Roman', cursive;
    font-size: 1.5rem;
    color: var(--color-navy);
    font-style: italic;
}

/* Contact Form */
.contact-form-card {
    background: var(--color-light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-32);
}

.form-group {
    margin-bottom: var(--space-16);
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.form-group .required {
    color: var(--color-gold);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-text-dark);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    min-height: 48px;
}

.form-control:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 150, 26, 0.15);
}

.form-control.is-invalid {
    border-color: var(--color-error);
}

textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555555' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.field-error {
    display: block;
    font-size: 0.75rem;
    color: var(--color-error);
    margin-top: 4px;
    min-height: 1.1em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.btn-block {
    width: 100%;
}

.form-alert {
    padding: var(--space-12) var(--space-16);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-16);
    font-size: 0.875rem;
}

.form-alert-error {
    background: #fdecea;
    color: var(--color-error);
    border: 1px solid #f5c6cb;
}

.form-alert-success {
    background: #e8f5e9;
    color: var(--color-success);
    border: 1px solid #c3e6cb;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.75);
    padding-top: var(--space-64);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
    gap: var(--space-32);
    padding-bottom: var(--space-48);
}

.footer-logo .logo-img {
    height: 42px;
    margin-bottom: var(--space-16);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: var(--space-24);
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: var(--space-12);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.social-link:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

.footer-heading {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-24);
    letter-spacing: 0.02em;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
    font-size: 0.875rem;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list a:hover {
    color: var(--color-gold);
}

.contact-icon {
    flex-shrink: 0;
    color: var(--color-gold);
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-24) 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ==========================================================================
   Inner Page Banner
   ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-deep-blue) 100%);
    padding: 64px 0 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/pattern-overlay.svg') center/cover;
    opacity: 0.06;
    pointer-events: none;
}

.page-banner-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--color-white);
    margin-bottom: var(--space-12);
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    font-size: 0.875rem;
    position: relative;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

.breadcrumb span {
    color: var(--color-gold);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Content Pages (About, Legal, etc.)
   ========================================================================== */
.content-block {
    margin-bottom: var(--space-48);
}

.content-block h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-16);
}

.content-block h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-12);
    margin-top: var(--space-24);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-48);
    align-items: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-24);
}

.value-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-24);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-16);
    color: var(--color-gold);
}

.value-card h3 {
    font-size: 0.9375rem;
    margin: 0 0 var(--space-8);
}

.value-card p {
    font-size: 0.8125rem;
    margin: 0;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
}

.mv-card {
    background: var(--color-light-gray);
    border-radius: var(--radius-md);
    padding: var(--space-32);
    border-top: 3px solid var(--color-gold);
}

.mv-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-12);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-24);
    text-align: center;
}

.stat-box {
    background: var(--color-navy);
    border-radius: var(--radius-md);
    padding: var(--space-32) var(--space-16);
    color: var(--color-white);
}

.stat-box .number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    display: block;
    margin-bottom: var(--space-8);
}

.stat-box .label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-banner {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-deep-blue) 100%);
    padding: var(--space-64) 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--color-white);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: var(--space-16);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-32);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-24);
    margin-bottom: var(--space-48);
}

.contact-info-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-32) var(--space-24);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-16);
    background: rgba(201, 150, 26, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.contact-info-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-8);
}

.contact-info-card p,
.contact-info-card a {
    font-size: 0.875rem;
    color: var(--color-text-gray);
}

.contact-info-card a:hover {
    color: var(--color-gold);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-48);
}

.map-placeholder {
    background: var(--color-light-gray);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 360px;
    margin-top: var(--space-48);
}

.map-placeholder iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-12);
    overflow: hidden;
    background: var(--color-white);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-16);
    padding: var(--space-16) var(--space-24);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy);
    text-align: left;
    background: var(--color-white);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-light-gray);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-gold);
    transition: transform var(--transition);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    top: 5px;
    left: 11px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    display: none;
    padding: 0 var(--space-24) var(--space-16);
    font-size: 0.9375rem;
    color: var(--color-text-gray);
}

.faq-answer.is-open {
    display: block;
}

/* ==========================================================================
   Service Details
   ========================================================================== */
.service-detail-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-16);
    margin-top: var(--space-32);
}

.service-detail-content h2:first-child {
    margin-top: 0;
}

.check-list {
    margin: var(--space-16) 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 0.9375rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9961a' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.related-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
}

.sidebar-form {
    background: var(--color-light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-32);
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.sidebar-form h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-8);
}

.sidebar-form > p {
    font-size: 0.875rem;
    margin-bottom: var(--space-24);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: var(--space-48);
    align-items: start;
}

.not-found {
    text-align: center;
    padding: var(--space-64) 0;
}

.not-found h1 {
    font-size: 2rem;
    margin-bottom: var(--space-16);
}

/* ==========================================================================
   Thank You / Legal
   ========================================================================== */
.thank-you-box {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: var(--space-64) var(--space-24);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-24);
    background: rgba(201, 150, 26, 0.12);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: var(--space-32);
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
}

.legal-meta {
    font-size: 0.875rem;
    color: var(--color-text-gray);
    margin-bottom: var(--space-32);
    font-style: italic;
}

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
    z-index: 900;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-gold-hover);
}

/* Honeypot field — visually hidden from users */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Image placeholder styling when real images are missing */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-deep-blue) 0%, var(--color-navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-primary);
    font-size: 0.875rem;
    text-align: center;
    padding: var(--space-16);
}
