/* --- 1. CORE ARCHITECTURE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Lato', sans-serif; color: #333; background-color: #fdfbf9;
    line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: 100px;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 400; letter-spacing: 0.05em; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s ease; }

/* --- 2. STICKY HEADER --- */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background-color: rgba(253, 251, 249, 0.95);
    backdrop-filter: blur(10px); position: fixed; top: 0; left: 0; width: 100%;
    z-index: 10000; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo-container { display: flex; align-items: center; gap: 15px; }
.logo-img { height: 45px; width: auto; }
.logo-sub { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: #888; }
nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: #444; }
.btn-nav-outline {
    border: 1px solid #333; padding: 0.7rem 1.2rem;
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em;
    cursor: pointer; background: transparent;
}
.hamburger { display: none !important; }

/* --- 3. HERO SYSTEMS --- */
.master-hero {
    position: relative; width: 90%; margin: 0 auto; height: 75vh; min-height: 550px;
    border-radius: 20px; overflow: hidden; display: flex; align-items: center;
    justify-content: center; text-align: center; color: white;
}
.hero-bg-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('images/anchor-stone.jpg'); background-size: cover;
    background-position: center; filter: brightness(0.55); z-index: 1;
}
.hero-text-box { position: relative; z-index: 2; padding: 0 20px; max-width: 800px; }
.hero-title-main { font-size: 3.2rem; line-height: 1.2; margin-bottom: 1.5rem; color: #fff; }
.hero-title-main span { display: block; font-size: 2.4rem; font-style: italic; opacity: 0.9; }

/* --- 4. BUTTONS --- */
.btn-action-primary {
    background-color: white; color: #1a1a1a; padding: 1.1rem 2.2rem;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
    border: none; cursor: pointer; font-weight: 700; display: inline-block;
}
.btn-dark { background-color: #1a1a1a; color: white; }

/* --- 5. GRID & PILLARS --- */
.section-wrapper { padding: 6rem 5%; text-align: center; }
.unified-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem; max-width: 1200px; margin: 0 auto;
}
.grid-card { text-align: center; }
.grid-icon { font-size: 2rem; color: #555; margin-bottom: 1.5rem; }

/* --- 6. FORMS & ASSESSMENT --- */
.center-form-box { padding: 5rem 5%; max-width: 850px; margin: 0 auto; text-align: center; }
.glass-panel {
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px);
    padding: 3rem; border-radius: 15px; border: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem; text-align: left;
}
.white-card { background: white; border: 1px solid #eee; padding: 3rem; border-radius: 12px; text-align: left; }

.input-row { margin-bottom: 1.5rem; }
.label-small { display: block; font-size: 0.7rem; text-transform: uppercase; color: #888; margin-bottom: 0.5rem; }
.input-field {
    width: 100%; padding: 1rem; border: 1px solid #ddd; border-radius: 5px;
    font-family: 'Lato', sans-serif; font-size: 0.95rem; background: #fff;
}
.hero-input { background: rgba(0,0,0,0.2); color: white; border-color: rgba(255,255,255,0.2); }

.choice-selection {
    width: 100%; padding: 1.2rem; margin-bottom: 12px; background: white;
    border: 1px solid #ddd; cursor: pointer; text-align: center; font-size: 0.9rem;
    font-family: 'Lato', sans-serif; transition: 0.3s;
}
.choice-selection:hover { border-color: #1a1a1a; background: #fafafa; }

/* --- 7. COOKIE SWITCHES --- */
.preference-row { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid #f0f0f0; }
.switch-base { position: relative; display: inline-block; width: 44px; height: 22px; }
.switch-base input { opacity: 0; width: 0; height: 0; }
.switch-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc; transition: .4s; border-radius: 34px;
}
.switch-slider:before {
    position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px;
    background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .switch-slider { background-color: #1a1a1a; }
input:checked + .switch-slider:before { transform: translateX(22px); }

/* --- 8. COMPACT FOOTER --- */
footer { padding: 2.5rem 5%; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 5rem; }
.footer-box { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-corp-logo { height: 22px; opacity: 0.75; }
.copy-legal { font-size: 0.65rem; color: #999; }
.footer-nav { display: flex; gap: 25px; font-size: 0.65rem; color: #999; text-transform: uppercase; }

/* --- 9. MOBILE --- */
@media (max-width: 768px) {
    .hero-title-main { font-size: 2rem; }
    .footer-box { flex-direction: column; gap: 2rem; text-align: center; }
}