/* ===================================
   ZEID ALSHARIF - VERSION 3
   Araamis-Inspired: Animated Banner, Carousels, Timeline
   Brand Colors & Logo Preserved
   =================================== */

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

html {
    scroll-behavior: smooth;
}

/* BASE STYLES */
body {
    font-family: 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: #141414;
    line-height: 1.7;
    font-size: 16px;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Helvetica Neue', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    color: #044233;
}

h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.mobile-break {
    display: none;
}

h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: #141414;
}

a {
    color: #1B7A7E;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #044233;
}

/* HEADER */
.header-v3 {
    background: #ffffff;
    border: none;
    border-bottom: none;
    box-shadow: none;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo-image {
    max-height: 50px;
    width: auto;
}

.logo-section a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* HAMBURGER MENU */
.hamburger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    gap: 6px;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: #044233;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

/* NAVIGATION */
.nav-v3 {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
    font-size: 14px;
    color: #141414;
    font-weight: 500;
    padding-bottom: 6px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-item:hover {
    color: #1B7A7E;
}

.nav-item:not(.cta-nav)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #1B7A7E;
    transition: width 0.3s ease;
}

.nav-item:not(.cta-nav):hover::after,
.nav-item.active::after {
    width: 100%;
}

.cta-nav {
    background: #044233;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
}

.cta-nav:hover {
    background: #C3985E;
}

/* ANIMATED HERO SECTION */
.hero-v3 {
    padding: 80px 0 100px;
    background: #F7F4EE;
    border: none;
    border-top: none;
    box-shadow: none;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

/* Shared rail: centers content at max-width:1400px, matching .header-container exactly,
   so hero content (on every page) lines up with the logo/nav regardless of viewport width. */
.hero-v3-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    max-width: 900px;
    text-align: left;
    margin-right: auto;
}

/* Inner-page hero banners: same full-bleed background + 1400px rail as the homepage hero,
   just without its min-height:100vh — these stay compact banners, not full-screen. */
.section-v3.hero-section {
    max-width: none;
    margin: 0;
    padding: 80px 0;
    background: #F7F4EE;
    color: #141414;
    text-align: left;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #044233;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gold-accent {
    color: #C3985E;
}

.hero-subtitle-main {
    font-size: 24px;
    color: #1B7A7E;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    font-weight: 600;
    line-height: 1.4;
}

.hero-description {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    margin-left: 0;
    margin-right: 0;
}

.animated-headline {
    margin-bottom: 30px;
}

.headline-main {
    font-size: 56px;
    font-weight: 600;
    color: #141414;
    margin-bottom: 10px;
    line-height: 1.2;
}

.headline-highlight {
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(120deg, #044233, #1B7A7E, #C3985E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.2;
}

.word-animated {
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
}

.word-animated:nth-child(1) {
    animation-delay: 0.1s;
}

.word-animated:nth-child(2) {
    animation-delay: 0.3s;
}

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

.hero-subtitle {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: #044233;
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #C3985E;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: #ffffff;
    color: #044233;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #044233;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: #C3985E;
    color: #ffffff;
    transform: translateY(-2px);
}

#what-we-do {
    scroll-margin-top: 100px;
}

.btn-large {
    padding: 18px 50px;
    font-size: 16px;
}

/* SECTION CTA */
.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* CLOSING CTA SECTION */
.cta-section-v3 .btn-primary {
    background: #044233;
    color: #ffffff;
    border: 2px solid #C3985E;
}

.cta-section-v3 .btn-primary:hover {
    background: #C3985E;
    color: #ffffff;
    border-color: #C3985E;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1B7A7E;
    font-size: 13px;
    font-weight: 500;
    animation: bounce 2s infinite;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator:hover {
    color: #044233;
    transform: translateY(-3px);
}

.scroll-indicator svg {
    transition: stroke 0.3s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* SECTIONS */
.section-v3 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px;
}

.section-container {
    max-width: 900px;
    margin: 0;
}

/* RESONANCE SECTION */
.section-resonance {
    background: #F7F4EE;
    margin-top: 30px;
}

.section-resonance .section-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    align-items: flex-start;
    max-width: 1400px;
}

.section-resonance h2 {
    text-align: left;
    margin-bottom: 0;
    order: 1;
    width: 100%;
    max-width: 100%;
}

.resonance-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
    order: 2;
    overflow-wrap: break-word;
    word-break: break-word;
}

.resonance-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.resonance-content p:last-child {
    margin-bottom: 0;
}

/* SECTION INTRO */
.section-intro {
    max-width: 900px;
    margin: 0 0 30px;
    text-align: left;
}

.section-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.services-intro {
    text-align: left;
    margin-bottom: 50px;
}

.services-intro h3 {
    font-size: 24px;
    color: #044233;
}

/* PHILOSOPHY SECTION */
.section-philosophy {
    background: #F7F4EE;
}

.section-philosophy .section-container {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 80px;
    align-items: flex-start;
    max-width: 1200px;
}

.section-philosophy h2 {
    text-align: left;
    margin-bottom: 0;
    order: 1;
    grid-column: 1;
}

.philosophy-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
    order: 2;
    grid-column: 2;
    display: flex;
    flex-direction: column;
}

.philosophy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
}

.philosophy-content p::before {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
}

.philosophy-content p:nth-child(1)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C3985E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="10" r="7"/><path d="M8 17H16M10 21H14M11 21V20M13 21V20"/></svg>');
}

.philosophy-content p:nth-child(2)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C3985E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="M21 21L16.65 16.65"/></svg>');
}

.philosophy-content p:nth-child(3)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C3985E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17L4 12"/></svg>');
}

.philosophy-content p:last-child {
    margin-bottom: 0;
}

.philosophy-cta {
    text-align: left;
    margin-top: 40px;
    grid-column: 2;
    order: 3;
    align-self: flex-end;
}

/* EXPERIENCE SECTION */
#experience-perspective {
    background: #ffffff;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

#experience-perspective .section-header {
    text-align: left;
    margin-bottom: 0;
    grid-column: 1;
    margin-bottom: 0;
}

#experience-perspective .section-header h2 {
    text-align: left;
    margin-bottom: 0;
}

.experience-intro {
    max-width: 100%;
    margin: 0;
    text-align: left;
    grid-column: 2;
    display: flex;
    flex-direction: column;
}

.experience-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.experience-intro p:last-child {
    margin-bottom: 0;
}

.experience-cta {
    text-align: left;
    margin-top: 40px;
    grid-column: 2;
    order: 3;
    align-self: flex-end;
}

.section-header {
    text-align: left;
    margin-bottom: 20px;
}

.section-header h2 {
    margin-bottom: 10px;
    color: #044233;
}

.section-subtitle {
    font-size: 18px;
    color: #1B7A7E;
    font-weight: 500;
    margin: 0;
}

/* CAROUSEL STYLES - CONVERTED TO GRID */
.carousel-container {
    position: relative;
    margin-bottom: 60px;
}

.carousel-wrapper {
    overflow: visible;
    border-radius: 0;
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: none;
}

.service-card {
    padding: 40px 30px;
    background: #ffffff;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    background-color: #F7F4EE;
    border-color: #C3985E;
}

.service-card:active {
    background-color: #F7F4EE;
    border-color: #C3985E;
}

.service-card::before {
    content: attr(data-number);
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #C3985E;
    margin-bottom: 20px;
}

.service-card h3 {
    margin: 0 0 15px 0;
    color: #044233;
    font-size: 20px;
    font-weight: 700;
}

.service-card p {
    flex-grow: 1;
    font-size: 15px;
    color: #555;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.service-label {
    font-size: 14px;
    color: #1B7A7E;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    display: inline-block;
    margin-bottom: 10px;
}

.carousel-controls {
    display: none;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #E8E8E8;
    background: #ffffff;
    color: #044233;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    border-color: #044233;
    background: #044233;
    color: #ffffff;
}

/* TIMELINE STYLES */
.timeline-section {
    background: #F7F4EE;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-track {
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #044233, #1B7A7E, #C3985E);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 60px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    flex: 0 0 100px;
    height: 100px;
    background: #ffffff;
    border: 3px solid #C3985E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #044233;
    text-align: center;
    margin-top: 10px;
}

.timeline-content {
    flex: 1;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    color: #044233;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

.timeline-connector {
    display: none;
}

/* TESTIMONIALS */
.testimonials-section {
    background: #ffffff;
}

.testimonials-carousel {
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    scroll-behavior: smooth;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonials-track::-webkit-scrollbar {
    height: 8px;
}

.testimonials-track::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.testimonials-track::-webkit-scrollbar-thumb {
    background: #1B7A7E;
    border-radius: 4px;
}

.testimonial-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.testimonial-card {
    padding: 50px 40px;
    background: #F7F4EE;
    border-left: 4px solid #C3985E;
    border-radius: 8px;
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: #141414;
    margin-bottom: 25px;
    font-weight: 500;
}

.testimonial-author {
    font-size: 14px;
    color: #1B7A7E;
    font-weight: 600;
    margin: 0;
}

/* ABOUT SECTION */
.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #F7F4EE 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #E8E8E8;
}

.stat h3 {
    font-size: 48px;
    color: #C3985E;
    margin-bottom: 10px;
}

.stat p {
    font-size: 14px;
    color: #1B7A7E;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* CTA SECTION */
.cta-section-v3 {
    padding: 120px 40px;
    background: #044233;
    color: #ffffff;
    text-align: center;
}

.cta-section-v3 h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 48px;
}

.cta-section-v3 p {
    color: #F7F4EE;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* FOOTER */
.footer-v3 {
    background: #ffffff;
    border-top: 1px solid #E8E8E8;
    padding: 80px 40px 40px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #044233;
    color: #F7F4EE;
    padding: 20px 40px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
}

.cookie-consent-banner.visible {
    display: flex;
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #F7F4EE;
    flex: 1;
    min-width: 260px;
}

.cookie-consent-banner a {
    color: #C3985E;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-reject {
    background: transparent;
    color: #F7F4EE;
    border: 1px solid rgba(247, 244, 238, 0.4);
}

.cookie-btn-reject:hover {
    border-color: #F7F4EE;
    background: rgba(247, 244, 238, 0.08);
}

.cookie-btn-accept {
    background: #C3985E;
    color: #141414;
}

.cookie-btn-accept:hover {
    background: #d4ab74;
}

@media (max-width: 600px) {
    .cookie-consent-banner {
        padding: 16px 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        justify-content: flex-end;
    }
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding: 0 40px;
}

.footer-column-about p {
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #044233;
}

.footer-column p {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: #1B7A7E;
    margin-bottom: 12px;
}

.footer-column a:hover {
    color: #044233;
}

.footer-social-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.footer-social-link svg {
    flex-shrink: 0;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid #E8E8E8;
}

.footer-bottom p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.footer-bottom p:first-child {
    text-align: left;
    justify-self: start;
}

.footer-bottom p:nth-child(2) {
    text-align: center;
    justify-self: center;
    white-space: nowrap;
}

.footer-bottom p:last-child {
    text-align: right;
    justify-self: end;
}

.footer-bottom a {
    color: #999;
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: #044233;
}

/* CONTACT FORM STYLES */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #044233;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    font-family: inherit;
    color: #141414;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C3985E;
}

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

/* ARTICLE GRID STYLES */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.article-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: #C3985E;
    box-shadow: 0 8px 24px rgba(4, 66, 51, 0.08);
}

.article-card .article-date {
    font-size: 13px;
    color: #1B7A7E;
    font-weight: 500;
    margin-bottom: 12px;
}

.article-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.article-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* ADVISORY QUICK NAV (business-advisory.html) */
.advisory-quicknav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.quicknav-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid #E8E0D0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quicknav-card:hover {
    border-color: #C3985E;
    box-shadow: 0 8px 20px rgba(4, 66, 51, 0.08);
    transform: translateY(-2px);
}

.quicknav-card svg {
    flex-shrink: 0;
}

.quicknav-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #044233;
    line-height: 1.3;
}

/* offsets anchor scroll so the sticky header doesn't cover the section */
.service-card {
    scroll-margin-top: 100px;
}

/* ABOUT PAGE: founder profile card */
.founder-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.founder-card {
    background: #ffffff;
    border: 1px solid #C3985E;
    border-radius: 8px;
    padding: 32px 28px;
    text-align: left;
    position: sticky;
    top: 100px;
}

.founder-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.founder-avatar-frame {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #F7F4EE;
    border: 2px solid #C3985E;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-avatar-frame img {
    width: 52%;
    height: auto;
    display: block;
}

.founder-name {
    font-size: 18px;
    font-weight: 700;
    color: #044233;
    margin-bottom: 3px;
}

.founder-title {
    font-size: 13px;
    color: #1B7A7E;
    font-weight: 600;
}

.founder-facts {
    list-style: none;
    padding: 20px 0 0;
    margin: 0;
    border-top: 1px solid #E8E0D0;
}

.founder-facts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 14px;
}

.founder-facts li:last-child {
    margin-bottom: 0;
}

.founder-facts .dot {
    color: #C3985E;
    font-weight: bold;
    flex-shrink: 0;
}

.founder-narrative p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.founder-narrative p:last-child {
    margin-bottom: 0;
}

/* ABOUT PAGE: areas of experience — chip grid, reflows naturally at any width */
.experience-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.experience-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #E8E0D0;
    border-radius: 30px;
    font-size: 14px;
    color: #141414;
    transition: all 0.3s ease;
}

.experience-chip:hover {
    border-color: #C3985E;
    box-shadow: 0 4px 12px rgba(4, 66, 51, 0.08);
}

.experience-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1B7A7E;
    flex-shrink: 0;
}

/* ABOUT PAGE: philosophy + purpose callout */
.purpose-callout {
    margin-top: 32px;
    padding: 28px 32px;
    background: #ffffff;
    border-left: 4px solid #C3985E;
    border-radius: 4px;
}

.purpose-callout p {
    font-size: 18px;
    line-height: 1.6;
    color: #044233;
    font-weight: 600;
    margin: 0;
}

/* INSIGHTS PAGE: article grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.insight-card {
    border: 1px solid #E0E0E0;
    padding: 30px;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.insight-card:hover {
    box-shadow: 0 8px 20px rgba(4, 66, 51, 0.08);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-v3 {
        padding: 12px 0;
    }

    .header-container {
        padding: 0 20px;
    }

    .header-v3 {
        border: none;
        border-bottom: none;
        box-shadow: none;
    }

    /* Mobile resonance section - stack vertically */
    .section-resonance .section-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-resonance h2 {
        order: 1;
    }

    .resonance-content {
        order: 2;
    }

    /* Mobile philosophy section - stack vertically */
    .section-philosophy .section-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .section-philosophy h2 {
        order: 1 !important;
    }

    .philosophy-content {
        grid-column: 1 !important;
        order: 2 !important;
    }

    .philosophy-cta {
        grid-column: 1 !important;
        order: 3 !important;
        text-align: center;
    }

    /* Mobile experience section - stack vertically */
    #experience-perspective {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    #experience-perspective .section-header {
        grid-column: auto !important;
        margin-bottom: 0 !important;
    }

    .experience-intro {
        grid-column: auto !important;
        margin-top: 30px !important;
    }

    .experience-cta {
        grid-column: auto !important;
        text-align: center;
    }

    /* Mobile service points - stack vertically (situations, then outcome) */
    .service-points {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Quick nav becomes a swipeable horizontal carousel on mobile */
    .advisory-quicknav {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        gap: 14px;
        margin-top: 36px;
        padding-bottom: 6px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .advisory-quicknav::-webkit-scrollbar {
        display: none;
    }

    .quicknav-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    /* Mobile: Our Approach page - five-stage model, relationship & engagement grids */
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .process-step {
        aspect-ratio: auto !important;
        padding: 24px 20px !important;
    }

    .advisory-relationship-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .engagement-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Mobile: About page - founder profile & areas of experience */
    .founder-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .founder-card {
        position: static !important;
        padding: 24px !important;
    }

    .experience-chip {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }

    .purpose-callout {
        padding: 22px 24px !important;
    }

    /* Mobile: Business Advisory page - clearer boundary between the 6 stacked service sections
       (scoped to .services-list so it doesn't affect the homepage's .service-card carousel;
       border-left accent stays via inline style, this adds the other 3 sides + a lift) */
    .services-list .service-card {
        border: 1px solid #E8E0D0;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

    .purpose-callout p {
        font-size: 16px !important;
    }

    /* Show hamburger menu on mobile */
    .hamburger-btn {
        display: flex;
    }

    /* Mobile navigation dropdown */
    .nav-v3 {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #E8E8E8;
        padding: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-v3.active {
        max-height: 400px;
        overflow-y: auto;
    }

    .nav-item {
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
    }

    .cta-nav {
        background: #044233;
        color: #ffffff;
        margin: 10px 20px;
        padding: 12px 20px;
        border-radius: 4px;
    }

    .hero-v3 {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-v3-inner {
        padding: 0 20px;
    }

    .section-v3.hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 48px !important;
    }

    .hero-subtitle-main {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    /* Inner page h1 styling - tablet */
    .hero-section h1 {
        font-size: 48px !important;
    }

    .hero-cta {
        text-align: left;
    }

    .btn-secondary {
        margin-top: 10px;
    }

    .headline-main {
        font-size: 36px;
    }

    .headline-highlight {
        font-size: 48px;
    }

    .resonance-content p,
    .section-intro p,
    .philosophy-content p,
    .experience-intro p {
        font-size: 15px;
    }

    .section-v3 {
        padding: 60px 20px;
    }

    /* Five-stage advisory model tablet */
    .process-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .carousel-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-slide {
        flex: 0 0 100%;
    }

    .timeline-track::before {
        display: none;
    }

    .timeline-item {
        flex-direction: row !important;
        gap: 25px;
        margin-bottom: 40px;
        align-items: flex-start;
    }

    .timeline-marker {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
        font-size: 20px;
        margin-top: 0;
        border-width: 2.5px;
    }

    .timeline-content {
        padding: 24px 20px;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border-radius: 6px;
    }

    .timeline-content h3 {
        font-size: 18px;
        margin-bottom: 6px;
        color: #044233;
    }

    .timeline-content p {
        font-size: 14px;
        color: #555;
        line-height: 1.5;
        margin: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* 768px: Enhanced section styling */
    .section-v3 {
        padding: 60px 20px;
    }

    .section-v3 h2 {
        font-size: 48px;
    }

    .section-v3 p {
        font-size: 15px;
    }

    h4 {
        font-size: 16px;
        font-weight: 600;
    }

    /* 768px: Service card grid optimization */
    .carousel-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 14px;
    }

    .service-label {
        font-size: 13px;
    }

    /* 768px: About section */
    .about-text p {
        font-size: 15px;
    }

    .stat h3 {
        font-size: 40px;
    }

    /* 768px: Article grid */
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .article-card {
        padding: 24px;
    }

    .article-card h3 {
        font-size: 18px;
    }

    .article-card p {
        font-size: 14px;
    }

    /* 768px: Contact form */
    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 15px;
        padding: 11px 14px;
    }
}

@media (max-width: 480px) {
    .mobile-break {
        display: inline;
    }

    /* prevents insight cards overflowing when the 350px minmax minimum no longer fits */
    .insights-grid {
        grid-template-columns: 1fr !important;
    }

    .advisory-quicknav {
        gap: 12px;
    }

    .quicknav-card {
        flex: 0 0 85%;
        padding: 18px 20px;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
    }

    /* Header mobile small */
    .header-v3 {
        padding: 10px 0;
    }

    .header-container {
        padding: 0 16px;
    }

    .logo-image {
        max-height: 36px;
    }

    .hamburger-btn {
        padding: 6px;
    }

    .hamburger-btn span {
        width: 20px;
        height: 2px;
    }

    /* Nav mobile small */
    .nav-v3 {
        top: 55px;
    }

    .nav-item {
        padding: 14px 16px;
        font-size: 15px;
    }

    .cta-nav {
        margin: 8px 16px;
        padding: 11px 18px;
        font-size: 14px;
    }

    /* Hero mobile small */
    .hero-v3 {
        padding: 70px 0 50px;
    }

    .hero-v3-inner {
        padding: 0 16px;
    }

    .section-v3.hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 36px !important;
    }

    .hero-subtitle-main {
        font-size: 18px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 32px;
    }

    /* Inner page h1 styling - mobile */
    .hero-section h1 {
        font-size: 36px !important;
    }

    .hero-cta {
        text-align: center;
    }

    .btn-secondary {
        margin-top: 12px;
        margin-left: 0;
    }

    .btn-secondary:hover,
    .btn-secondary:active,
    .btn-secondary:focus {
        background: #ffffff;
        color: #044233;
        border-color: #C3985E;
    }

    .animated-headline {
        gap: 8px;
    }

    .headline-main {
        font-size: 26px;
        line-height: 1.2;
    }

    .headline-highlight {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    .resonance-content p,
    .section-intro p,
    .philosophy-content p,
    .experience-intro p {
        font-size: 15px;
    }

    #experience-perspective {
        grid-template-columns: 1fr !important;
    }

    #experience-perspective .section-header {
        grid-column: auto !important;
    }

    .experience-intro {
        grid-column: auto !important;
    }

    .scroll-indicator {
        font-size: 12px;
        gap: 8px;
        display: none;
    }

    .hero-v3 .scroll-indicator {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .scroll-indicator svg {
        width: 16px;
        height: 16px;
    }

    /* Button mobile small */
    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-large {
        padding: 13px 26px;
        font-size: 15px;
    }

    /* Section mobile small */
    .section-philosophy .section-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-philosophy h2 {
        order: 1;
    }

    .philosophy-content {
        order: 2;
    }

    #experience-perspective .section-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #experience-perspective .section-header {
        order: 1;
    }

    .experience-intro {
        order: 2;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .section-header p {
        font-size: 14px;
    }

    .section-v3 h2 {
        font-size: 36px;
    }

    .section-resonance h2 {
        font-size: 36px;
    }

    .section-philosophy h2 {
        font-size: 36px;
    }

    #experience-perspective .section-header h2 {
        font-size: 36px;
    }

    .section-v3 {
        padding: 40px 16px;
        border: none;
    }

    /* Five-stage advisory model mobile */
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .process-step {
        padding: 24px !important;
        aspect-ratio: auto !important;
        min-height: auto !important;
        border: 1px solid #C3985E !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    }

    /* Mobile typography for five-stage model */
    .process-step svg {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 10px !important;
    }

    .step-name {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .step-description {
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: left !important;
        margin: 0 !important;
    }

    /* Service carousel mobile small */
    .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 100%;
    }

    .service-card {
        padding: 20px 16px;
        border-radius: 6px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .service-label {
        font-size: 12px;
    }

    .carousel-controls {
        gap: 8px;
    }

    .carousel-track {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Timeline mobile small */
    .timeline-section {
        border: none;
    }

    .timeline-track::before {
        display: none;
    }

    .timeline-item {
        flex-direction: row !important;
        gap: 18px;
        margin-bottom: 32px;
        align-items: flex-start;
    }

    .timeline-marker {
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
        font-size: 18px;
        margin-top: 0;
        border-width: 2.5px;
    }

    .timeline-content {
        padding: 20px 16px;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border-radius: 6px;
    }

    .timeline-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
        font-weight: 600;
        color: #044233;
    }

    .timeline-content p {
        font-size: 13px;
        line-height: 1.5;
        color: #555;
        margin: 0;
    }

    /* Testimonials mobile small */
    .testimonials-section {
        border: none;
    }

    .testimonial-slide {
        flex: 0 0 100% !important;
        min-width: 100%;
    }

    .testimonial-card {
        padding: 24px 16px;
        border-radius: 6px;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .testimonial-author {
        font-size: 12px;
    }

    /* About mobile small */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .about-text p {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .about-stats {
        gap: 16px;
    }

    .stat {
        padding: 20px 16px;
        border-radius: 6px;
    }

    .stat h3 {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .stat p {
        font-size: 12px;
    }

    /* CTA mobile small */
    .cta-section-v3 {
        padding: 60px 16px;
    }

    .cta-section-v3 h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .cta-section-v3 p {
        font-size: 15px;
        margin-bottom: 32px;
    }

    /* Footer mobile small */
    .footer-v3 {
        padding: 60px 16px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
        margin-bottom: 30px;
    }

    .footer-column h4 {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .footer-column p {
        font-size: 12px;
    }

    .footer-column a {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 8px;
        padding-top: 20px;
        text-align: center;
    }

    .footer-bottom p:first-child,
    .footer-bottom p:nth-child(2),
    .footer-bottom p:last-child {
        text-align: center;
        justify-self: center;
        white-space: normal;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    /* 480px: Comprehensive section styling */
    .section-v3 {
        padding: 40px 16px;
    }

    .section-v3 h2 {
        font-size: 36px;
        margin-bottom: 16px;
    }

    .section-v3 p {
        font-size: 15px;
        margin-bottom: 14px;
    }

    h4 {
        font-size: 14px;
        font-weight: 600;
    }

    /* 480px: Service card styling (business-advisory) */
    .carousel-track {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 20px 16px;
        border-radius: 6px;
    }

    .service-card::before {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 24px;
        margin-bottom: 10px;
        color: #044233;
    }

    .service-card p {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .service-label {
        font-size: 12px;
        color: #1B7A7E;
    }

    /* 480px: About page sections */
    .about-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-text h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .about-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .about-text ul {
        margin-left: 20px;
    }

    .about-text ul li {
        font-size: 13px;
        margin-bottom: 8px;
        color: #555;
    }

    .about-stats {
        gap: 16px;
    }

    .stat {
        padding: 20px 16px;
    }

    .stat h3 {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .stat p {
        font-size: 12px;
    }

    /* 480px: Approach/philosophy sections */
    .section-philosophy h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .philosophy-content p {
        font-size: 13px;
        padding-left: 40px;
        margin-bottom: 12px;
    }

    .philosophy-content p::before {
        width: 24px;
        height: 24px;
    }

    /* 480px: Article grid (insights) */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .article-card {
        padding: 20px 16px;
        border-radius: 6px;
    }

    .article-card .article-date {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .article-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .article-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* 480px: Contact form elements */
    .contact-form {
        max-width: 100%;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 12px;
        font-weight: 600;
        color: #044233;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px 12px;
        font-size: 14px;
        border: 1px solid #E8E8E8;
        border-radius: 4px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .form-group button {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }
}
