/* ================================================================
   HOME PAGE — home.css
   ================================================================ */


/* ----------------------------------------------------------------
   SHARED SECTION UTILITIES
---------------------------------------------------------------- */
.section-pad {
    padding: 6rem 0;
}

.section-header {
    max-width: 680px;
    margin: 0 auto 1rem;
}

.section-intro {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

/* ----------------------------------------------------------------
   PROMOTIONAL BANNER
---------------------------------------------------------------- */
.promo-banner {
    background: linear-gradient(90deg, var(--mahogany) 0%, var(--olive) 50%, var(--mahogany) 100%);
    padding: 0.6rem 0;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid rgba(212, 162, 75, 0.3);
}

.promo-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.promo-icon {
    color: var(--gold);
    font-size: 0.8rem;
    animation: promo-pulse 2s ease-in-out infinite;
}

@keyframes promo-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.promo-text {
    color: var(--parchment);
    font-size: 0.875rem;
    font-weight: 400;
}

.promo-link {
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.15rem 0.75rem;
    border: 1px solid var(--gold);
    border-radius: 20px;
    transition: var(--transition);
}

.promo-link:hover {
    background: var(--gold);
    color: var(--mahogany);
}

.promo-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(242, 231, 213, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.25rem;
    transition: var(--transition);
}

.promo-close:hover {
    color: var(--gold);
}


/* ----------------------------------------------------------------
   HERO SECTION
---------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.min-vh-85 {
    min-height: 85vh;
}

/* Background layers */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--mahogany)   0%,
        #3d1e0a           35%,
        var(--olive)      65%,
        #2a2414           100%
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(43, 22, 8, 0.88)  0%,
        rgba(43, 22, 8, 0.65)  50%,
        rgba(74, 70, 38, 0.45) 100%
    );
}

/* Subtle noise texture overlay */
.hero-texture {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* Decorative floating circles */
.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-decor-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212, 162, 75, 0.15);
}

.hero-decor-1 {
    width: 500px;
    height: 500px;
    right: -100px;
    top: -100px;
    animation: hero-rotate 30s linear infinite;
}

.hero-decor-2 {
    width: 300px;
    height: 300px;
    right: 50px;
    top: 50px;
    border-color: rgba(230, 126, 34, 0.1);
    animation: hero-rotate 20s linear infinite reverse;
}

.hero-decor-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold) 30%,
        var(--orange) 60%,
        transparent 100%
    );
    opacity: 0.6;
}

@keyframes hero-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Content */
.hero-content-wrap {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(242, 231, 213, 0.65);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    color: var(--parchment);
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(242, 231, 213, 0.82);
    line-height: 1.75;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-btn-secondary {
    border-color: rgba(242, 231, 213, 0.5) !important;
    color: var(--parchment) !important;
}

.hero-btn-secondary:hover {
    background: rgba(242, 231, 213, 0.1) !important;
    border-color: var(--parchment) !important;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(242, 231, 213, 0.65);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-trust-item i {
    color: var(--gold);
    font-size: 0.75rem;
}

.hero-trust-sep {
    color: rgba(212, 162, 75, 0.4);
    font-size: 1.2rem;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0.6;
}

.hero-scroll-hint span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--parchment);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(1);   opacity: 0.6; }
    50%       { transform: scaleY(0.6); opacity: 1;   }
}


/* ----------------------------------------------------------------
   HERO ANIMATIONS
---------------------------------------------------------------- */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ----------------------------------------------------------------
   STATS SECTION
---------------------------------------------------------------- */
.stats-section {
    background: var(--mahogany);
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Diagonal top cut */
.stats-section::before {
    content: '';
    display: block;
    height: 50px;
    background: var(--parchment);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    margin-bottom: -1px;
}

.stats-section::after {
    content: '';
    display: block;
    height: 50px;
    background: var(--parchment);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    margin-top: -1px;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 3rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 130px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(242, 231, 213, 0.65);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(212, 162, 75, 0.25);
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .stat-divider { display: none; }
    .stats-grid   { gap: 1.5rem; }
    .stat-item    { min-width: 40%; }
}


/* ----------------------------------------------------------------
   SERVICES PREVIEW
---------------------------------------------------------------- */
.services-preview-section {
    background: var(--parchment);
}

/* Scroll reveal animation */
.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--delay) * 0.1s);
}

.reveal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service card link wrapper */
.service-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.service-card-link:hover { text-decoration: none; }

/* Override cards.css for home page variant */
.services-preview-section .service-card {
    border: 1px solid rgba(212, 162, 75, 0.12);
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.services-preview-section .service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
}

.services-preview-section .service-card:hover::before {
    transform: scaleX(1);
}

.services-preview-section .service-card:hover {
    border-color: rgba(212, 162, 75, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.service-card-img-wrap {
    overflow: hidden;
    height: 180px;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.06);
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    transition: var(--transition);
}

.service-card:hover .service-card-cta {
    color: var(--orange);
    gap: 0.5rem;
}


/* ----------------------------------------------------------------
   ABOUT SECTION
---------------------------------------------------------------- */
.about-section {
    background: var(--parchment-dark);
    position: relative;
    overflow: hidden;
}

.about-bg-shape {
    position: absolute;
    top: -100px;
    right: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(212, 162, 75, 0.07) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* Image block */
.about-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.about-img-placeholder {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, var(--mahogany), var(--olive));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(212, 162, 75, 0.4);
}

/* Floating badge on image */
.about-img-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--mahogany);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.about-img-badge i {
    font-size: 1.5rem;
    color: var(--gold);
}

.about-img-badge strong {
    display: block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1;
}

.about-img-badge span {
    font-size: 0.75rem;
    color: rgba(242, 231, 213, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-body {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Why pillars */
.why-pillars {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.why-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-pillar:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.why-pillar-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(212, 162, 75, 0.15), rgba(230, 126, 34, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-pillar strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--mahogany);
    margin-bottom: 0.2rem;
}

.why-pillar p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .about-img-wrap { padding-bottom: 1.5rem; padding-right: 1.5rem; }
}


/* ----------------------------------------------------------------
   TESTIMONIALS SECTION
---------------------------------------------------------------- */
.testimonials-section {
    background: var(--mahogany);
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 20% 50%,
        rgba(212, 162, 75, 0.08) 0%,
        transparent 60%
    ),
    radial-gradient(
        ellipse at 80% 50%,
        rgba(230, 126, 34, 0.06) 0%,
        transparent 60%
    );
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 162, 75, 0.2);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 162, 75, 0.45);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-quote-icon {
    font-size: 1.8rem;
    color: rgba(212, 162, 75, 0.3);
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-quote {
    color: rgba(242, 231, 213, 0.85);
    font-size: 0.95rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    color: var(--gold);
    font-size: 0.85rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(212, 162, 75, 0.15);
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(212, 162, 75, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 162, 75, 0.1);
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info strong {
    display: block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.2;
}

.testimonial-info span {
    display: block;
    font-size: 0.78rem;
    color: rgba(242, 231, 213, 0.5);
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

.testimonial-info em {
    display: block;
    font-size: 0.75rem;
    color: rgba(212, 162, 75, 0.6);
    font-style: italic;
    margin-top: 0.1rem;
}


/* ----------------------------------------------------------------
   BLOG PREVIEW SECTION
---------------------------------------------------------------- */
.blog-preview-section {
    background: var(--parchment);
}

.blog-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.blog-card-link:hover { text-decoration: none; }

.blog-preview-section .blog-card {
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.blog-preview-section .blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.blog-preview-section .blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-img {
    transition: transform 0.5s ease;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    transition: var(--transition);
}

.blog-card:hover .blog-card-cta {
    color: var(--orange);
    gap: 0.5rem;
}


/* ----------------------------------------------------------------
   CTA STRIP
---------------------------------------------------------------- */
.cta-strip {
    position: relative;
    overflow: hidden;
}

.cta-strip-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--olive) 0%, var(--mahogany) 60%);
}

/* Diagonal cut top */
.cta-strip::before {
    content: '';
    display: block;
    height: 60px;
    background: var(--parchment);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
    position: relative;
    z-index: 1;
}

.cta-strip-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 4rem 0 5rem;
    flex-wrap: wrap;
}

.cta-strip-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.cta-strip-text p {
    color: rgba(242, 231, 213, 0.78);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0;
}

.cta-strip-text a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
}

.cta-strip-text a:hover {
    color: var(--orange);
}

.cta-strip-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cta-strip .btn-brand-outline {
    border-color: rgba(242, 231, 213, 0.4);
    color: var(--parchment);
}

.cta-strip .btn-brand-outline:hover {
    background: rgba(242, 231, 213, 0.1);
    border-color: var(--parchment);
    color: var(--parchment);
}

@media (max-width: 767.98px) {
    .cta-strip-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-strip-actions {
        justify-content: center;
    }
}


/* ----------------------------------------------------------------
   RESPONSIVE ADJUSTMENTS
---------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-section   { min-height: 80vh; }
    .section-pad    { padding: 4rem 0; }
    .about-img-badge {
        bottom: 0.5rem;
        right: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title     { font-size: 2.2rem; }
    .hero-actions   { flex-direction: column; align-items: flex-start; }
    .stat-divider   { display: none; }
    .stats-grid     { gap: 2rem; }
}

@media (max-width: 575.98px) {
    .hero-trust     { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .hero-trust-sep { display: none; }
    .section-pad    { padding: 3rem 0; }
}