:root {
    --color-ocean-deep: #1a3a4a;
    --color-ocean: #2d5a6b;
    --color-sand: #faf8f5;
    --color-sand-warm: #f5f0e8;
    --color-coral: #c4785a;
    --color-coral-soft: #f5ebe5;

    --color-palm: #3d6b5a;
    --color-lava: #2a2a2a;
    --color-muted: #6b7b82;
    --color-border: #e5e0d8;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-sand);
    color: var(--color-lava);
    line-height: 1.7;
    font-size: 17px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(45, 90, 107, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 120, 90, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 2rem;
    max-height: 84px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-sand);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

nav.scrolled {
    border-color: var(--color-border);
    backdrop-filter: blur(10px);
    background: rgba(250, 248, 245, 0.92);
}

.logo {
    text-decoration: none;
    display: inline-block;
    line-height: 0;
}

.logo-image {
    height: 140px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

nav .logo-image {
    height: 90px;
    width: auto;
}

.logo-image:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-ocean-deep);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Nav CTA Button */
.nav-cta {
    background: var(--color-ocean-deep) !important;
    color: white !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: 3px;
    transition: background 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--color-ocean) !important;
    color: white !important;
}

.nav-cta::after { display: none !important; }

/* Services dropdown */
.has-dropdown { position: relative; }

/* Transparent bridge fills the gap so hover isn't lost crossing to the dropdown */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}

.services-toggle { cursor: default; display: flex; align-items: center; gap: 0.35rem; }
.services-toggle:hover { color: var(--color-ocean-deep); }
.dropdown-arrow { transition: transform 0.2s ease; flex-shrink: 0; }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    box-shadow: 0 8px 24px rgba(26, 58, 74, 0.1);
    z-index: 200;
}
.has-dropdown:hover .nav-dropdown { display: block; }

.nav-dropdown li a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    color: var(--color-muted);
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.nav-dropdown li a:hover {
    color: var(--color-ocean-deep);
    background: var(--color-sand);
    padding-left: 1.5rem;
}
/* Hide the underline animation on dropdown items */
.nav-dropdown li a::after { display: none; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-ocean-deep);
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeUp 0.8s ease-out;
}

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

.hero-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-coral);
    margin-bottom: 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--color-coral);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5.8vw, 3.8rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    color: var(--color-ocean-deep);
}

.hero h1 em {
    font-style: italic;
    color: var(--color-coral);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-muted);
    max-width: 48ch;
    margin-bottom: 3rem;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-ocean-deep);
    color: white;
}

.btn-primary:hover {
    background: var(--color-ocean);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 58, 74, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-ocean-deep);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-ocean);
    background: white;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

/* Rotating Questions Section */
.rotating-questions {
    margin: 3rem 0;
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(45, 90, 107, 0.03) 0%, rgba(196, 120, 90, 0.03) 100%);
    border-radius: 8px;
}

.questions-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-coral);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.question-display {
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.question-slide {
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-ocean-deep);
    line-height: 1.4;
    max-width: 700px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.question-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.question-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: var(--color-coral);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--color-ocean-deep);
    width: 28px;
    border-radius: 5px;
}

.questions-answer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-ocean);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: gap 0.3s ease;
}

.questions-answer-link:hover {
    gap: 0.75rem;
    text-decoration: underline;
}

/* Trust Badge */
.trust-line {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.trust-line svg {
    width: 18px;
    height: 18px;
    color: var(--color-palm);
    flex-shrink: 0;
}

.trust-line a {
    color: var(--color-ocean);
    text-decoration: underline;
    text-decoration-color: var(--color-border);
    text-underline-offset: 2px;
}

.trust-line a:hover {
    text-decoration-color: var(--color-ocean);
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 2rem;
    background: white;
}

/* ============================================
   Process Stepper — Core Component
   ============================================ */
.process-stepper {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.process-stepper__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-ocean-deep);
    margin-bottom: 2rem;
    text-align: center;
}

.process-stepper__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.process-step__indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.process-step__number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-ocean-deep);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    flex-shrink: 0;
}

.process-step.completed .process-step__number {
    background: var(--color-palm);
}

.process-step__connector {
    width: 2px;
    height: 32px;
    background: var(--color-border);
}

.process-step:last-child .process-step__connector {
    display: none;
}

.process-step__content {
    padding-top: 0.35rem;
    padding-bottom: 1.25rem;
}

.process-step:last-child .process-step__content {
    padding-bottom: 0;
}

.process-step__label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-ocean-deep);
    margin-bottom: 0.25rem;
}

.process-step__desc {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-stepper__reassurance {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-coral);
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-stepper__reassurance strong {
    font-weight: 500;
}

/* Stepper horizontal layout on larger screens */
@media (min-width: 769px) {
    .process-stepper__steps {
        flex-direction: row;
        gap: 0;
    }

    .process-step {
        flex: 1;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .process-step__indicator {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .process-step__connector {
        width: auto;
        height: 2px;
        flex: 1;
        margin-top: 17px;
        position: absolute;
        right: -50%;
        left: 50%;
    }

    .process-step__indicator {
        position: relative;
    }

    .process-step:last-child .process-step__connector {
        display: none;
    }

    .process-step__content {
        padding: 0 0.5rem;
    }
}

/* Trust Strip */
.trust-strip {
    background: white;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 2rem;
}

.trust-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.trust-pillar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-pillar svg {
    width: 28px;
    height: 28px;
    color: var(--color-ocean-deep);
    flex-shrink: 0;
}

.trust-pillar strong {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-ocean-deep);
    font-family: var(--font-body);
}

.trust-pillar p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .trust-pillars {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Section Base */
section {
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-coral);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--color-ocean-deep);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--color-muted);
    max-width: 55ch;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Inquiry Form Section */
.inquiry-section {
    background: linear-gradient(180deg, var(--color-sand) 0%, white 100%);
}

.form-container {
    background: white;
    padding: 3rem;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    margin-top: 2rem;
    max-width: 600px;
}

.form-intro {
    color: var(--color-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-ocean-deep);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    background: var(--color-sand);
    color: var(--color-lava);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-ocean);
    background: white;
    box-shadow: 0 0 0 3px rgba(45, 90, 107, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a8ac;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-ocean);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--color-muted);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--color-ocean);
    text-decoration: underline;
    text-decoration-color: var(--color-border);
    text-underline-offset: 2px;
}

.checkbox-group a:hover {
    text-decoration-color: var(--color-ocean);
}

.btn-submit {
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1rem;
    background: var(--color-ocean-deep);
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--color-ocean);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 58, 74, 0.2);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-privacy-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.form-privacy-note svg {
    width: 18px;
    height: 18px;
    color: var(--color-palm);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 3px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #991b1b;
    font-size: 0.9rem;
    display: none;
}

.form-error.active {
    display: block;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--color-ocean-deep);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(196, 120, 90, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.newsletter-section .section-label {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-section .section-title {
    color: white;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 45ch;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 180px;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 1rem 1.75rem;
    background: var(--color-coral);
    color: white;
    border: none;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #d4896a;
    transform: translateY(-2px);
}

.newsletter-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.newsletter-success {
    color: white;
    padding: 1rem 0;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Success Message */
.success-message {
    display: none;
    padding: 2rem 0;
}

.success-message.active {
    display: block;
    animation: fadeUp 0.5s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--color-palm);
    margin: 0 auto 1.5rem;
    display: block;
}

.success-message h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-ocean-deep);
    margin-bottom: 0.75rem;
    text-align: center;
}

.success-message > p {
    color: var(--color-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: var(--color-ocean-deep);
    color: rgba(255, 255, 255, 0.65);
    padding: 4rem 2rem 2.5rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
}

.footer-brand .logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: white;
    line-height: 1.2;
    letter-spacing: 0.04em;
    display: inline-block;
    margin-bottom: 0.875rem;
    text-decoration: none;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    max-width: 36ch;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 900px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Privacy Policy Page */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.privacy-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--color-ocean-deep);
    margin-bottom: 0.5rem;
}

.privacy-content .effective-date {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.privacy-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-ocean-deep);
    margin: 2.5rem 0 1rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: var(--color-muted);
    line-height: 1.8;
}

.privacy-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--color-muted);
}

.privacy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Decorative Elements */
.aloha-mark {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 300;
    color: rgba(196, 120, 90, 0.05);
    line-height: 1;
    pointer-events: none;
}

/* ============================================
   Card Grid Component (About, Principles)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-card {
    background: var(--color-sand);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 2rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 58, 74, 0.08);
}

.service-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: block;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-ocean-deep);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.service-tagline {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 1rem;
        max-height: 70px;
    }

    /* Allow dropdown to overlay when menu is open */
    nav.menu-open {
        overflow: visible;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 1rem;
        width: 200px;
        flex-direction: column;
        background: var(--color-sand);
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 0.5rem 0;
        gap: 0;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        padding: 0;
        border-bottom: none;
    }

    .nav-links li a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 6rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .form-container {
        padding: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        text-align: left;
    }

    .aloha-mark {
        display: none;
    }

    .process-stepper {
        padding: 2rem;
    }

    .rotating-questions {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }

    .question-slide {
        font-size: 1.4rem;
        padding: 0 1rem;
    }

    .question-display {
        min-height: 120px;
    }

    /* Mobile dropdown — static, toggled by .has-dropdown.open */
    .has-dropdown .nav-dropdown {
        display: none;
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: transparent;
        min-width: auto;
    }
    .has-dropdown.open .nav-dropdown { display: block; }
    .has-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

    .nav-dropdown li a {
        padding: 0.65rem 1rem 0.65rem 2rem;
        border-bottom: 1px solid var(--color-border);
        font-size: 0.875rem;
    }
    .nav-dropdown li:last-child a { border-bottom: none; }

    .services-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--color-border);
        cursor: pointer;
    }
}

/* ============================================
   Services Page Styles
   ============================================ */
.services-hero {
    padding: 6rem 2rem 3rem;
}

.section-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-lava);
    max-width: 700px;
    margin: 1.5rem 0 0 0;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.service-tab {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    padding: 0.6rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-tab:hover { color: var(--color-ocean-deep); border-color: var(--color-ocean); }

.service-tab.active {
    background: var(--color-ocean-deep);
    border-color: var(--color-ocean-deep);
    color: white;
}

/* Service Panels */
.service-panel { display: none; }
.service-panel.active { display: block; animation: fadeUp 0.3s ease; }

.service-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-panel-tagline { font-style: italic; color: var(--color-muted); margin-bottom: 1.5rem; }

.service-panel-features { list-style: none; padding: 0; margin-bottom: 2rem; }

.service-panel-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-lava);
}

.service-panel-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-palm);
    font-weight: 600;
}

.service-panel-aside {
    background: var(--color-sand-warm);
    border-radius: 4px;
    padding: 2rem;
    border: 1px solid var(--color-border);
}

.service-panel-aside-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-coral);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(45, 90, 107, 0.03) 0%, rgba(196, 120, 90, 0.03) 100%);
    padding: 5rem 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.125rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: var(--color-ocean-deep);
    color: white;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--color-ocean);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 58, 74, 0.2);
}

.cta-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(3px);
}

/* ============================================
   About Page Utility Classes
   ============================================ */
.section--alt {
    background: var(--color-sand-warm);
}

.section--center .section-inner {
    text-align: center;
}

.section--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section--split .section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .section--split .section-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Service Tabs + Panels — Mobile */
@media (max-width: 768px) {
    .service-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .service-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .service-panel-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-hero {
        padding: 4rem 1.5rem 2rem;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }
}

/* ============================================
   Portfolio / Case Studies Page
   ============================================ */
.portfolio-section {
    padding: 6rem 2rem;
    background: white;
}

.portfolio-page-hero {
    padding-top: 8rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.case-study-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 58, 74, 0.08);
}

.case-study-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: var(--color-coral);
    background: var(--color-coral-soft);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    align-self: flex-start;
}

.case-study-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-ocean-deep);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0;
}

.case-study-body {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-chips span {
    font-size: 0.78rem;
    font-weight: 400;
    color: white;
    background: var(--color-ocean-deep);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.case-study-result {
    background: var(--color-sand-warm);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-ocean-deep);
    border-radius: 4px;
    padding: 1.25rem 1.5rem;
}

.case-study-result__label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--color-ocean-deep);
    margin-bottom: 0.5rem;
}

.case-study-result__metric {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-ocean-deep);
    margin-bottom: 0.35rem;
}

.case-study-result__desc {
    color: var(--color-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.case-study-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.portfolio-more {
    margin-top: 3rem;
    color: var(--color-muted);
    font-size: 0.9rem;
    text-align: center;
}

.portfolio-more a {
    color: var(--color-ocean);
    text-decoration: underline;
    text-decoration-color: var(--color-border);
    text-underline-offset: 2px;
}

.portfolio-more a:hover {
    text-decoration-color: var(--color-ocean);
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .case-study-card {
        padding: 2rem;
    }
}

/* Article / Service Page — Back Link */
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-coral);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.article-back svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.article-back:hover {
    color: var(--color-ocean-deep);
    gap: 0.75rem;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--color-ocean-deep);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
                background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(26, 58, 74, 0.18);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-ocean);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26, 58, 74, 0.2);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--color-coral);
    outline-offset: 3px;
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 40px;
        height: 40px;
    }
}
