/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #333;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #21cbea; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1aa8c4; }

/* ===== HEADER / NAV ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1060;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    transition: background 0.3s;
}
.site-header.scrolled { background: rgba(255,255,255,0.99); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-icon {
    width: 53px;
    height: 53px;
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.44rem;
    font-weight: normal;
    letter-spacing: 2px;
    color: #333;
}
.logo-sub {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.66rem;
    font-weight: 400;
    letter-spacing: 5px;
    color: #21cbea;
    margin-top: 1px;
}

/* Header contact strip */
.header-contact {
    flex: 1;
    text-align: center;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #333;
    padding: 0 24px;
}
.header-contact a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header-contact .hc-icon {
    width: 15px;
    height: 15px;
    color: #21cbea;
    flex-shrink: 0;
}
.header-contact a:hover { color: #21cbea; }
.header-contact-sep {
    display: inline-block;
    margin: 0 10px;
    color: #21cbea;
}

/* Hamburger toggle — always visible */
.mobile-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}
.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #333;
    margin: 7px 0;
    transition: all 0.3s;
}
.mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 7px); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -8px); }

/* Right-side drawer menu */
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    border-left: 3px solid #21cbea;
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 96px 0 32px;
    z-index: 1050;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}
.main-nav.open { transform: translateX(0); }

.main-nav > li {
    width: 100%;
    text-align: center;
}
.main-nav > li > a {
    display: block;
    padding: 16px 32px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333;
    transition: color 0.2s, background 0.2s;
}
.main-nav > li > a:hover,
.main-nav > li > a.active {
    color: #21cbea;
    background: #fafafa;
}

/* Drawer backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.33);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1040;
}
.nav-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Keep hamburger above the drawer so it can close it */
.mobile-toggle { z-index: 1100; position: relative; }

/* Hide any legacy dropdown markup if still present */
.main-nav .dropdown { display: none !important; }

/* ===== HERO / HOME ===== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #0a1628;
}
.hero-video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #134a6e 70%, #1a6e8e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video-placeholder span {
    color: rgba(255,255,255,0.25);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.55);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 24px;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.hero-content h1 strong { font-weight: 700; }
.hero-content p {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.8;
}
.hero-content .hero-tagline {
    margin-top: 36px;
    margin-bottom: 0;
    font-style: italic;
    font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid #21cbea;
    border-radius: 3px;
    color: #fff;
    background: #21cbea;
    transition: all 0.3s;
    cursor: pointer;
}
.btn:hover { background: transparent; color: #21cbea; }
.btn-outline { background: transparent; color: #fff; }
.btn-outline:hover { background: #21cbea; color: #fff; }
.btn + .btn { margin-left: 12px; }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
    padding: 140px 24px 60px;
    text-align: center;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #134a6e 100%);
    color: #fff;
}
.page-header h1 {
    font-size: 2.4rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.page-header h1 strong { font-weight: 700; }
.page-header p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}
.page-header .accent-line {
    width: 60px;
    height: 3px;
    background: #21cbea;
    margin: 0 auto 20px;
}

/* ===== SECTIONS (shared) ===== */
.section { padding: 80px 24px; }
.section-dark { background: #f7f9fb; }
.section-navy { background: #0a1628; color: #fff; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #333;
}
.section-navy .section-header h2 { color: #fff; }
.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: #21cbea;
    margin: 0 auto 20px;
}
.section-header p {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.section-navy .section-header p { color: rgba(255,255,255,0.7); }

/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.card-img {
    height: 220px;
    background: linear-gradient(135deg, #e8f4f8, #d0edf5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: #333; }
.card-body p { font-size: 0.9rem; color: #666; margin-bottom: 16px; }
.card-link {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #21cbea;
}
.card-link:hover { color: #1aa8c4; }
.card-link::after { content: ' \2192'; transition: margin-left 0.2s; }
.card-link:hover::after { margin-left: 4px; }

/* ===== TWO-COLUMN LAYOUT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.two-col-text h3 {
    font-size: 1.6rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.two-col-text p { color: #666; margin-bottom: 20px; }
.two-col-img {
    height: 360px;
    border-radius: 4px;
    background: linear-gradient(135deg, #e8f4f8, #d0edf5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.two-col-img-natural {
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.two-col-img-natural img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

/* ===== SUBSECTION TABS ===== */
.sub-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.sub-tab {
    padding: 10px 24px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #e2e2e2;
    border-radius: 3px;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
.sub-tab:hover, .sub-tab.active {
    border-color: #21cbea;
    color: #21cbea;
}
.sub-content { display: none; }
.sub-content.active { display: block; }

/* ===== BUY HERO BOX ===== */
.buy-hero-box {
    position: relative;
    min-height: 340px;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.buy-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.55) 0%, rgba(13,40,71,0.45) 100%);
}
.buy-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 24px;
    color: #fff;
    max-width: 640px;
}
.buy-hero-content h3 {
    font-size: 1.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    color: #fff;
}
.buy-hero-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 26px;
    line-height: 1.7;
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.article-card {
    border-bottom: 2px solid #e2e2e2;
    padding-bottom: 20px;
    transition: border-color 0.2s;
}
.article-card:hover { border-color: #21cbea; }
.article-tag {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #21cbea;
    margin-bottom: 8px;
}
.article-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: #333; }
.article-card p { font-size: 0.85rem; color: #888; }

/* ===== ABOUT ===== */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: stretch;
}
.about-bio h3 {
    font-size: 1.6rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: #333;
}
.about-bio h3 strong { font-weight: 700; }
.bio-cta {
    margin-top: 28px !important;
}
.about-bio p {
    color: #555;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
}
.about-photo-col {
    display: flex;
    flex-direction: column;
}
.about-photo-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 4px;
    flex: 1;
    min-height: 0;
}
.about-photo-placeholder {
    width: 100%;
    flex: 1;
    border-radius: 4px;
    background: linear-gradient(135deg, #e8f4f8, #d0edf5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.8rem;
}
.about-contact-bar {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    flex-shrink: 0;
}
.about-contact-bar p {
    font-size: 0.88rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 4px;
    line-height: 1.6;
}
.about-contact-bar a { color: #21cbea; }
.about-contact-bar a:hover { color: #1aa8c4; }

/* ===== VALUATION BANNER ===== */
.valuation-banner {
    position: relative;
    width: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 40%, #134a6e 70%, #1a6e8e 100%);
}
.valuation-banner-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}
.valuation-banner-content {
    position: relative;
    z-index: 2;
    padding: 60px 24px;
    max-width: 700px;
}
.valuation-banner-content h2 {
    font-size: 2.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 16px;
}
.valuation-banner-content h2 strong { font-weight: 700; }
.valuation-banner-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}
.contact-info p { color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.contact-info a { color: #21cbea; }
.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 3px;
    color: #fff;
    margin-bottom: 20px;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #21cbea;
}
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form select option { color: #333; background: #fff; }

/* ===== FORM VALIDATION ===== */
.field-error {
    border-color: #e74c3c !important;
}
.error-msg {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: -12px;
    margin-bottom: 12px;
    display: none;
}
.error-msg.visible {
    display: block;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #070e1a;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 32px 24px;
    font-size: 0.8rem;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-brand img {
    width: 32px;
    height: 32px;
}
.footer-brand .footer-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
}
.footer-brand .footer-sub {
    font-size: 0.5rem;
    letter-spacing: 5px;
    color: #21cbea;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-layout { grid-template-columns: 1fr; }
    .about-photo-col img, .about-photo-placeholder { min-height: 400px; }
    .two-col, .contact-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.2rem; }
    .nav-container { height: 60px; }
}
@media (max-width: 768px) {
    .main-nav { padding-top: 84px; }
    .main-nav > li > a { font-size: 1.1rem; padding: 14px 24px; letter-spacing: 2px; }
    .header-contact { font-size: 0.72rem; padding: 0 8px; letter-spacing: 0; }
    .header-contact-sep { margin: 0 4px; }
    .hero-content h1 { font-size: 1.8rem; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header { padding: 120px 24px 48px; }
    .btn + .btn { margin-left: 0; margin-top: 12px; }
    .hero-content .btn { display: block; width: fit-content; margin: 0 auto; }
    .hero-content .btn + .btn { margin-top: 12px; }
}
