@font-face {
    font-family: 'Aldrich';
    src: url('../fonts/Aldrich.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ryatech-navy: #001f3f;
    --ryatech-navy-dark: #00152b;
    --ryatech-navy-soft: #0d2f50;
    --ryatech-gold: #d1bc00;
    --ryatech-gold-hover: #e4cf00;
    --ryatech-black: #111820;
    --ryatech-text: #26323d;
    --ryatech-muted: #687581;
    --ryatech-light: #f4f5f6;
    --ryatech-light-alt: #eef1f3;
    --ryatech-border: #dde2e6;
    --ryatech-white: #ffffff;
    --ryatech-font-brand: 'Aldrich', sans-serif;
    --ryatech-font-body: Arial, Helvetica, sans-serif;
    --ryatech-radius-sm: 0.35rem;
    --ryatech-radius: 0.65rem;
    --ryatech-radius-lg: 1rem;
    --ryatech-shadow-sm: 0 0.5rem 1.5rem rgba(0, 31, 63, 0.06);
    --ryatech-shadow: 0 1.25rem 3rem rgba(0, 31, 63, 0.1);
}

/* -----------------------------------
   BASE
----------------------------------- */

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--ryatech-white);
    color: var(--ryatech-text);
    font-family: var(--ryatech-font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    min-height: 55vh;
}

img {
    max-width: 100%;
}

a {
    color: var(--ryatech-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

    a:hover {
        color: var(--ryatech-gold);
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--ryatech-navy);
    font-family: var(--ryatech-font-brand);
    font-weight: 400;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2.9rem, 5vw, 5.4rem);
}

h2 {
    font-size: clamp(2.1rem, 3.5vw, 3.7rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    background: var(--ryatech-gold);
    color: var(--ryatech-navy);
}

/* -----------------------------------
   LAYOUT
----------------------------------- */

.site-nav-container,
.site-footer-container {
    width: 100%;
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
}

.page-container {
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
}

.content-narrow {
    max-width: 850px;
}

.section {
    padding: 7rem 0;
}

.section-sm {
    padding: 4.5rem 0;
}

.section-lg {
    padding: 9rem 0;
}

.section-light {
    background: var(--ryatech-light);
}

.section-light-alt {
    background: var(--ryatech-light-alt);
}

.section-navy {
    background: var(--ryatech-navy);
    color: rgba(255, 255, 255, 0.74);
}

    .section-navy h1,
    .section-navy h2,
    .section-navy h3,
    .section-navy h4,
    .section-navy h5,
    .section-navy h6 {
        color: var(--ryatech-white);
    }

/* -----------------------------------
   HEADER
----------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #0b1724 0%, #10263a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.16);
}

.header-accent {
    height: 4px;
    background: var(--ryatech-gold);
}

.site-header .navbar {
    min-height: 104px;
    padding: 1rem 0;
}

.site-logo {
    display: block;
    width: auto;
    height: 54px;
}

.site-header .navbar-nav {
    gap: 0.25rem;
}

.site-header .nav-link {
    position: relative;
    padding: 0.75rem 1rem !important;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--ryatech-font-brand);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

    .site-header .nav-link:hover,
    .site-header .nav-link:focus,
    .site-header .nav-link.active {
        color: var(--ryatech-white);
    }

    .site-header .nav-link::after {
        position: absolute;
        right: 1rem;
        bottom: 0.4rem;
        left: 1rem;
        height: 2px;
        background: var(--ryatech-gold);
        content: '';
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.2s ease;
    }

    .site-header .nav-link:hover::after,
    .site-header .nav-link.active::after {
        transform: scaleX(1);
    }

.nav-contact {
    margin-left: 1rem;
}

.nav-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ryatech-gold);
    color: var(--ryatech-gold);
    font-family: var(--ryatech-font-brand);
    font-size: 0.82rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .nav-contact-link:hover {
        background: var(--ryatech-gold);
        color: var(--ryatech-navy);
    }

    .nav-contact-link.active {
        background: var(--ryatech-gold);
        color: var(--ryatech-navy);
    }

.site-header .navbar-toggler {
    padding: 0.2rem;
    border: 0;
    color: var(--ryatech-gold);
    font-size: 2rem;
    line-height: 1;
    box-shadow: none;
}

    .site-header .navbar-toggler:hover,
    .site-header .navbar-toggler:focus {
        color: var(--ryatech-white);
        box-shadow: none;
    }

/* -----------------------------------
   BUTTONS
----------------------------------- */

.btn {
    border-radius: var(--ryatech-radius-sm);
    font-family: var(--ryatech-font-brand);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}

.btn-ryatech {
    padding: 0.85rem 1.35rem;
    border: 1px solid var(--ryatech-navy);
    background: var(--ryatech-navy);
    color: var(--ryatech-white);
}

    .btn-ryatech:hover,
    .btn-ryatech:focus {
        border-color: var(--ryatech-gold);
        background: var(--ryatech-gold);
        color: var(--ryatech-navy);
    }

.btn-ryatech-gold {
    padding: 0.85rem 1.35rem;
    border: 1px solid var(--ryatech-gold);
    background: var(--ryatech-gold);
    color: var(--ryatech-navy);
}

    .btn-ryatech-gold:hover,
    .btn-ryatech-gold:focus {
        border-color: var(--ryatech-gold-hover);
        background: var(--ryatech-gold-hover);
        color: var(--ryatech-navy);
    }

.btn-ryatech-outline {
    padding: 0.85rem 1.35rem;
    border: 1px solid var(--ryatech-navy);
    background: transparent;
    color: var(--ryatech-navy);
}

    .btn-ryatech-outline:hover,
    .btn-ryatech-outline:focus {
        background: var(--ryatech-navy);
        color: var(--ryatech-white);
    }

.btn-ryatech-light {
    padding: 0.85rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: transparent;
    color: var(--ryatech-white);
}

    .btn-ryatech-light:hover,
    .btn-ryatech-light:focus {
        border-color: var(--ryatech-white);
        background: var(--ryatech-white);
        color: var(--ryatech-navy);
    }

.btn-lg {
    padding: 1rem 1.55rem;
}

/* -----------------------------------
   SECTION HEADINGS
----------------------------------- */

.section-heading {
    max-width: 850px;
    margin-bottom: 4rem;
}

    .section-heading.text-center {
        margin-right: auto;
        margin-left: auto;
    }

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--ryatech-gold);
    font-family: var(--ryatech-font-brand);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

    .section-eyebrow::before {
        width: 34px;
        height: 2px;
        background: var(--ryatech-gold);
        content: '';
    }

.section-heading.text-center .section-eyebrow {
    justify-content: center;
}

    .section-heading.text-center .section-eyebrow::after {
        width: 34px;
        height: 2px;
        background: var(--ryatech-gold);
        content: '';
    }

.section-heading h2 {
    margin-bottom: 1.25rem;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--ryatech-muted);
    font-size: 1.1rem;
}

.section-navy .section-heading p {
    color: rgba(255, 255, 255, 0.68);
}

/* -----------------------------------
   PAGE HERO
----------------------------------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background: var(--ryatech-navy);
    color: rgba(255, 255, 255, 0.75);
}

    .page-hero::after {
        position: absolute;
        top: -200px;
        right: -200px;
        width: 500px;
        height: 500px;
        border: 1px solid rgba(209, 188, 0, 0.18);
        border-radius: 50%;
        content: '';
    }

    .page-hero h1 {
        max-width: 1000px;
        margin-bottom: 1.5rem;
        color: var(--ryatech-white);
    }

    .page-hero p {
        max-width: 760px;
        margin-bottom: 0;
        font-size: 1.15rem;
    }

.page-hero-eyebrow {
    margin-bottom: 1rem;
    color: var(--ryatech-gold);
    font-family: var(--ryatech-font-brand);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* -----------------------------------
   CARDS
----------------------------------- */

.ryatech-card {
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--ryatech-border);
    border-radius: var(--ryatech-radius);
    background: var(--ryatech-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .ryatech-card:hover {
        border-color: rgba(209, 188, 0, 0.7);
        box-shadow: var(--ryatech-shadow-sm);
        transform: translateY(-3px);
    }

.ryatech-card-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--ryatech-navy);
    color: var(--ryatech-gold);
    font-size: 1.35rem;
}

.ryatech-card h3 {
    margin-bottom: 0.9rem;
}

.ryatech-card p {
    color: var(--ryatech-muted);
}

/* -----------------------------------
   TECH ELEMENTS
----------------------------------- */

.tech-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--ryatech-border);
    background: var(--ryatech-white);
    color: var(--ryatech-navy);
    font-family: var(--ryatech-font-brand);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

    .tech-label i {
        color: var(--ryatech-gold);
    }

.code-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--ryatech-navy-dark);
    box-shadow: var(--ryatech-shadow);
}

.code-panel-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-panel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.code-panel-body {
    padding: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-accent {
    color: var(--ryatech-gold);
}

/* -----------------------------------
   FEATURE LISTS
----------------------------------- */

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

        .feature-list li:last-child {
            margin-bottom: 0;
        }

    .feature-list i {
        margin-top: 0.15rem;
        color: var(--ryatech-gold);
        font-size: 1.05rem;
    }

/* -----------------------------------
   ACCENTS
----------------------------------- */

.gold-line {
    width: 70px;
    height: 3px;
    margin-bottom: 1.5rem;
    background: var(--ryatech-gold);
}

.section-divider {
    border-top: 1px solid var(--ryatech-border);
}

/* -----------------------------------
   FORMS
----------------------------------- */

.form-label {
    color: var(--ryatech-black);
    font-weight: 600;
}

.form-control,
.form-select {
    min-height: 52px;
    border-color: var(--ryatech-border);
    border-radius: var(--ryatech-radius-sm);
    background: var(--ryatech-white);
}

textarea.form-control {
    min-height: 160px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ryatech-gold);
    box-shadow: 0 0 0 0.2rem rgba(209, 188, 0, 0.12);
}

/* -----------------------------------
   FOOTER
----------------------------------- */

.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--ryatech-navy-dark);
    color: rgba(255, 255, 255, 0.62);
}

    .site-footer::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 130px;
        height: 6px;
        background: var(--ryatech-gold);
        content: '';
    }

.footer-main {
    padding: 5.5rem 0 4rem;
}

.footer-logo {
    width: auto;
    height: 52px;
}

.footer-intro {
    max-width: 520px;
    margin-top: 1.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.98rem;
    line-height: 1.8;
}

.footer-title {
    margin-bottom: 1.25rem;
    color: var(--ryatech-gold);
    font-family: var(--ryatech-font-brand);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links,
.footer-tech {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .footer-links li,
    .footer-tech li {
        margin-bottom: 0.65rem;
    }

    .footer-links a,
    .footer-tech li {
        color: rgba(255, 255, 255, 0.62);
        font-size: 0.92rem;
    }

        .footer-links a:hover {
            color: var(--ryatech-gold);
        }

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ryatech-white);
    font-family: var(--ryatech-font-brand);
    font-size: 0.86rem;
}

    .footer-contact-link:hover {
        color: var(--ryatech-gold);
    }

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 86px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.82rem;
}

.footer-brand-mark img {
    display: block;
    width: 34px;
    height: 34px;
    opacity: 0.45;
}

.footer-back-top {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--ryatech-font-brand);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

    .footer-back-top:hover {
        color: var(--ryatech-gold);
    }

/* -----------------------------------
   BRAND UTILITIES
----------------------------------- */

.text-ryatech-navy {
    color: var(--ryatech-navy) !important;
}

.text-ryatech-gold {
    color: var(--ryatech-gold) !important;
}

.text-ryatech-muted {
    color: var(--ryatech-muted) !important;
}

.bg-ryatech-navy {
    background-color: var(--ryatech-navy) !important;
}

.bg-ryatech-gold {
    background-color: var(--ryatech-gold) !important;
}

.bg-ryatech-light {
    background-color: var(--ryatech-light) !important;
}

.font-brand {
    font-family: var(--ryatech-font-brand) !important;
}

/* -----------------------------------
   RESPONSIVE
----------------------------------- */

@media (max-width: 1199.98px) {
    .section {
        padding: 6rem 0;
    }

    .section-lg {
        padding: 7rem 0;
    }
}

@media (max-width: 991.98px) {
    .site-nav-container,
    .site-footer-container,
    .page-container {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    .site-header .navbar {
        min-height: 86px;
    }

    .site-logo {
        height: 46px;
    }

    .site-header .navbar-collapse {
        margin-top: 0.75rem;
        padding: 1rem 0 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header .navbar-nav {
        align-items: stretch !important;
    }

    .site-header .nav-link {
        padding: 0.75rem 0 !important;
    }

        .site-header .nav-link::after {
            display: none;
        }

    .nav-contact {
        margin-top: 0.5rem;
        margin-left: 0;
    }

    .nav-contact-link {
        justify-content: space-between;
        width: 100%;
    }

    .section {
        padding: 5rem 0;
    }

    .section-lg {
        padding: 6rem 0;
    }

    .page-hero {
        padding: 5rem 0;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 4rem 0;
    }

    .section-sm {
        padding: 3rem 0;
    }

    .section-lg {
        padding: 4.5rem 0;
    }

    .section-heading {
        margin-bottom: 2.75rem;
    }

    .page-hero {
        padding: 4rem 0;
    }

    .footer-main {
        padding: 4rem 0 3rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr auto;
        min-height: 74px;
    }

    .footer-brand-mark {
        display: none;
    }

    .footer-logo {
        height: 46px;
    }
}

@media (max-width: 575.98px) {
    .site-nav-container,
    .site-footer-container,
    .page-container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .site-logo {
        height: 40px;
    }

    .section-heading p {
        font-size: 1rem;
    }

    .ryatech-card {
        padding: 1.5rem;
    }

    .footer-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}
