/* ============================================================
   Tude & Villar CPAs - Design System Styles
   Modern Premium Editorial Aesthetic
   ============================================================ */

/* --- Signature Divider --- */
.signature-divider {
    height: 1px;
    background-color: #E8E6E1;
    width: 100%;
    margin: 2rem 0;
}

.signature-divider--gradient {
    height: 1px;
    background: linear-gradient(90deg, rgba(26,17,30,0) 0%, rgba(26,17,30,1) 50%, rgba(26,17,30,0) 100%);
    opacity: 0.3;
}

/* --- Hairline Border Utility --- */
.hairline-border {
    border: 1px solid #E8E6E1;
}

/* --- Material Symbols Fill Variant --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined.fill {
    font-variation-settings: 'FILL' 1;
}

/* --- Selection Styling --- */
::selection {
    background-color: #1A111E;
    color: #FBFBF9;
}

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Hover lift effect --- */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(26, 17, 30, 0.08);
}

/* --- Active Nav Link --- */
.nav-link-active {
    color: #C5A880;
    border-bottom: 2px solid #C5A880;
    padding-bottom: 4px;
}

/* --- Image hover zoom container --- */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img,
.img-zoom-container div {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom-container:hover img,
.img-zoom-container:hover div {
    transform: scale(1.05);
}

/* --- Partner grayscale hover --- */
.partner-grayscale {
    filter: grayscale(100%);
    transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-grayscale:hover {
    filter: grayscale(0%);
}

/* --- Card border transition --- */
.card-border-hover {
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-border-hover:hover {
    border-color: #C5A880;
    box-shadow: 0 4px 24px rgba(197, 168, 128, 0.12);
}

/* --- Service icon circle --- */
.service-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #F6F6F4;
    border-radius: 50%;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-icon-circle:hover,
.group:hover .service-icon-circle {
    background-color: #1A111E;
    color: #C5A880;
}

/* --- Newsletter input focus --- */
.newsletter-input:focus {
    outline: none;
    border-color: #C5A880;
    box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2);
}

/* --- Mobile nav animation --- */
.mobile-nav-open {
    max-height: 300px;
    opacity: 1;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-closed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Aspect ratio helper --- */
.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-16-9 {
    aspect-ratio: 16 / 9;
}

/* --- Button base styles --- */
.btn-primary {
    background-color: #1A111E;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 32px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #C5A880;
    color: #1A111E;
}

.btn-secondary {
    background-color: transparent;
    color: #1A111E;
    border: 1px solid #C5A880;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #F6F6F4;
    border-color: #1A111E;
}

/* --- Featured article divider dot --- */
.dot-separator {
    width: 4px;
    height: 4px;
    background-color: #C5A880;
    border-radius: 50%;
    display: inline-block;
}
