/**
 * Santos Consultants – Complete Stylesheet (Plain CSS)
 * Replaces Tailwind utility classes with semantic styles.
 */

/* ========== Variables ========== */
:root {
    --primary: #000000;
    --accent: #333333;
    --bg-light: #f8f8f8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-900: #0f172a;
}

/* ========== Reset & Base ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    scroll-behavior: smooth;
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== Typography ========== */
.serif {
    font-family: 'Playfair Display', serif;
}

.logo-text {
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* ========== Layout Helpers ========== */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--md {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--sm {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 1.5rem;
}

/* ========== Buttons ========== */
.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

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

.btn-outline {
    border: 1px solid #000;
    padding: 0.75rem 2rem;
    display: inline-block;
    transition: all 0.3s ease;
    background: transparent;
    color: #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* ========== Cards ========== */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */
#navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    top: 0;
    padding: 1rem 0;
    transition: background-color 0.3s, border-bottom 0.3s;
}

.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.nav-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
}

.nav-divider {
    width: 1px;
    height: 1.5rem;
    background: var(--gray-300);
    margin: 0 0.75rem;
}

.nav-brand {
    font-size: 10px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gray-500);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 767px) {

    .nav-divider,
    .nav-brand {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

#mobile-menu.open {
    display: flex;
}

#mobile-menu a {
    font-size: 1.25rem;
    font-weight: 300;
}

.mobile-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.875rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    position: relative;
    overflow: hidden;
}

.hero__watermark {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__watermark span {
    font-size: 40vw;
    font-weight: 700;
    user-select: none;
}

.hero__content {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero__title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 4.5rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .hero__actions {
        flex-direction: row;
    }
}

/* ========================================================================
   QUOTE SECTION
   ======================================================================== */
.quote-section {
    background: #000;
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.quote-section__icon {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
    display: block;
}

.quote-section__text {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
}

.quote-section__author {
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .quote-section__text {
        font-size: 2.25rem;
    }
}

/* ========================================================================
   ABOUT SECTION
   ======================================================================== */
.about {
    background: #fff;
}

.about__grid {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 4rem;
    align-items: center;
}

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

.about__label {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--gray-400);
}

.about__title {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about__title {
        font-size: 3rem;
    }
}

.about__text {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about__skills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.025em;
}

@media (min-width: 640px) {
    .about__skills {
        grid-template-columns: 1fr 1fr;
    }
}

.about__skill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about__skill i {
    font-size: 8px;
}

.about__stats {
    background: var(--gray-100);
    padding: 2rem;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .about__stats {
        padding: 3rem;
    }
}

.about__stat-main {
    border-left: 4px solid #000;
    padding-left: 2rem;
}

.about__stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about__stat-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
}

.about__details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__detail-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.about__detail-value {
    font-size: 1.125rem;
}

/* ========================================================================
   SERVICES SECTION
   ======================================================================== */
.services {
    background: var(--gray-50);
}

.services__header {
    text-align: center;
    margin-bottom: 4rem;
}

.services__title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.services__divider {
    width: 4rem;
    height: 4px;
    background: #000;
    margin: 0 auto;
}

.services__grid {
    display: grid;
    gap: 2rem;
}

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

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: #fff;
    padding: 2rem;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

.service-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.service-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.service-card__desc {
    color: var(--gray-500);
    font-size: 0.75rem;
    line-height: 1.6;
}

/* ========================================================================
   INSIGHTS SECTION
   ======================================================================== */
.insights {
    background: #fff;
}

.insights__header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .insights__header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.insights__label {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--gray-400);
}

.insights__title {
    font-size: 2.25rem;
}

.insights__link {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid #000;
    padding-bottom: 0.25rem;
    transition: all 0.3s;
    align-self: flex-start;
}

@media (min-width: 768px) {
    .insights__link {
        margin-top: 0;
    }
}

.insights__link:hover {
    color: var(--gray-500);
    border-color: var(--gray-500);
}

.insights__grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .insights__grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

.article-card {
    display: block;
    color: inherit;
}

.article-card__thumb {
    aspect-ratio: 16/9;
    background: var(--gray-100);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.article-card__overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    transition: opacity 0.3s;
}

.article-card:hover .article-card__overlay {
    opacity: 0.1;
}

.article-card__icon-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
}

.article-card__icon-wrap i {
    font-size: 3.75rem;
    opacity: 0.2;
}

.article-card__category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.article-card__title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.article-card:hover .article-card__title {
    text-decoration: underline;
}

.article-card__desc {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================================================
   CAREER TIMELINE
   ======================================================================== */
.timeline {
    background: var(--gray-50);
}

.timeline__title {
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center;
}

.timeline__list {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline__list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.25rem;
    transform: translateX(-0.5px);
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--slate-300), transparent);
}

@media (min-width: 768px) {
    .timeline__list::before {
        left: 50%;
        transform: translateX(-0.5px);
    }
}

.timeline__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .timeline__item {
        justify-content: normal;
    }

    .timeline__item:nth-child(odd) {
        flex-direction: row-reverse;
    }
}

.timeline__dot {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
    z-index: 1;
}

.timeline__dot--active {
    background: #000;
    color: #fff;
}

.timeline__dot--past {
    background: var(--gray-200);
    color: var(--slate-500);
}

@media (min-width: 768px) {
    .timeline__dot {
        order: 1;
    }

    .timeline__item:nth-child(odd) .timeline__dot {
        transform: translateX(-50%);
    }

    .timeline__item:nth-child(even) .timeline__dot {
        transform: translateX(50%);
    }
}

.timeline__card {
    width: calc(100% - 4rem);
    padding: 1rem;
    border-radius: 0.375rem;
    background: #fff;
    border: 1px solid var(--gray-100);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .timeline__card {
        width: 45%;
    }
}

.timeline__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.timeline__role {
    font-weight: 700;
    color: var(--slate-900);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .timeline__role {
        font-size: 1rem;
    }
}

.timeline__date {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
}

.timeline__company {
    color: var(--slate-500);
    font-size: 0.75rem;
    font-style: italic;
}

@media (min-width: 768px) {
    .timeline__company {
        font-size: 0.875rem;
    }
}

/* ========================================================================
   CONTACT SECTION
   ======================================================================== */
.contact {
    background: #111;
    color: #fff;
}

.contact__grid {
    display: grid;
    gap: 4rem;
}

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

.contact__title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.contact__subtitle {
    color: var(--gray-400);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact__info-icon {
    margin-top: 0.25rem;
    color: var(--gray-500);
}

.contact__info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 700;
}

.contact__info-value {
    font-size: 1.25rem;
}

.contact__info-value a {
    transition: color 0.3s;
}

.contact__info-value a:hover {
    color: var(--gray-300);
}

.contact__form-wrap {
    background: #fff;
    padding: 2rem;
    color: #000;
}

@media (min-width: 768px) {
    .contact__form-wrap {
        padding: 3rem;
    }
}

.contact__form {
    display: grid;
    gap: 1.5rem;
}

.contact__form label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact__form input,
.contact__form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--gray-300);
    padding: 0.5rem 0;
    font-family: inherit;
    font-size: inherit;
    transition: border-color 0.3s;
    outline: none;
    background: transparent;
}

.contact__form input:focus,
.contact__form textarea:focus {
    border-bottom-color: #000;
}

.contact__form .btn-primary {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
    padding: 3rem 0;
    background: #000;
    color: #fff;
    border-top: 1px solid #1a1a1a;
}

.footer__inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer__brand {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer__brand {
        margin-bottom: 0;
    }
}

.footer__name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer__copy {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
}

.footer__links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer__links a {
    color: var(--gray-500);
    transition: color 0.3s;
}

.footer__links a:hover {
    color: #fff;
}

/* ========================================================================
   WORDPRESS OVERRIDES
   ======================================================================== */
.wp-site-blocks {
    padding: 0 !important;
}

.wp-site-blocks>*+* {
    margin-block-start: 0 !important;
}

.wp-block-html,
.wp-block-shortcode {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}