/* ==========================================================================
   1. VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    --primary: #FFB800;
    --primary-hover: #E5A500;
    --secondary: #0F172A;
    --text-main: #334155;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-warm: #FFFDF6;
    --white: #FFFFFF;
    --accent-green: #00B67A; /* Trustpilot Green */
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. CSS RESET & GLOBAL STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   3. UTILITY & HELPER CLASSES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 90px 0;
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 184, 0, 0.12);
    color: #b27a00;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 184, 0, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1e293b;
    transform: translateY(-2px);
}

/* ==========================================================================
   4. NAVIGATION & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--secondary);
    color: #94a3b8;
    padding: 12px 0;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #1e293b;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-phones a {
    margin-left: 20px;
    color: var(--primary);
    font-weight: 700;
}

.top-bar-phones a:hover {
    color: var(--white);
}

.header {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #f1f5f9;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    max-height: 52px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.nav-links a {
    color: var(--text-main);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-hover);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    background: radial-gradient(circle at 80% 20%, rgba(255, 184, 0, 0.08) 0%, rgba(255, 255, 255, 0) 60%), var(--white);
    padding: 100px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.25rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(255, 184, 0, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--white);
}

.hero-image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--secondary);
    color: var(--white);
    padding: 18px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid var(--primary);
    z-index: 10;
}

.experience-badge span {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

/* ==========================================================================
   6. USP CARDS BLOCK
   ========================================================================== */
.usp-section {
    background-color: var(--bg-light);
    padding: 50px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.usp-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
}

.usp-icon {
    background-color: rgba(255, 184, 0, 0.1);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d49900;
    flex-shrink: 0;
}

.usp-card h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.usp-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ==========================================================================
   7. EXPLAINER & TRADES GRID
   ========================================================================== */
.intro-section {
    background-color: var(--bg-warm);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.intro-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-main);
}

.trades-showcase-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #f1f5f9;
}

.trades-showcase-card h3 {
    font-size: 1.35rem;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 12px;
}

.trades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.trade-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
}

.trade-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    flex-shrink: 0;
}

/* ==========================================================================
   8. TESTIMONIALS (TRUSTPILOT)
   ========================================================================== */
.reviews-section {
    background-color: var(--white);
}

.reviews-header {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trustpilot-rating-widget {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.tp-star-row {
    display: flex;
    gap: 4px;
}

.tp-star-box {
    background-color: var(--accent-green);
    color: var(--white);
    padding: 4px 6px;
    font-size: 0.85rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.review-card {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-md);
    border: 1px solid #f1f5f9;
    border-top: 6px solid var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.review-quote-svg {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(15, 23, 42, 0.05);
    width: 48px;
    height: 48px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-main);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.author-details h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.author-details span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==========================================================================
   9. CORE FEATURES VALUE GRID
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 36px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon-container {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 184, 0, 0.08);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d49900;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ==========================================================================
   10. PORTFOLIO SHOWCASE
   ========================================================================== */
.portfolio-section {
    background-color: var(--bg-light);
}

.portfolio-tabs {
    display: inline-flex;
    gap: 12px;
    background: #e2e8f0;
    padding: 6px;
    border-radius: 50px;
    margin-bottom: 40px;
}

.portfolio-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-tab.active {
    background-color: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
}

.portfolio-tab:not(.active) {
    color: var(--text-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.portfolio-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background-color: #cbd5e1;
}

.portfolio-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-info {
    padding: 30px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   11. PRICING SECTIONS
   ========================================================================== */
.pricing-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-warm) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 460px));
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.popular {
    border: 4px solid var(--primary);
}

.popular-badge-ribbon {
    position: absolute;
    top: -20px;
    right: 40px;
    background-color: var(--primary);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.pricing-header h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.price-row {
    font-size: 3.5rem;
    color: var(--secondary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    margin: 20px 0;
    display: flex;
    align-items: baseline;
}

.price-row span {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 500;
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin: 30px 0 40px;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
}

.pricing-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.tick-icon {
    color: var(--accent-green);
    flex-shrink: 0;
    display: inline-flex;
}

.pricing-footer-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 24px;
}

/* ==========================================================================
   12. ABOUT KIRSTY
   ========================================================================== */
.about-section {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-visual-block {
    position: relative;
}

.about-image-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 8px solid var(--white);
    background-color: var(--bg-light);
}

.about-image-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.about-quote-box {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 24px;
    border-radius: var(--border-radius-md);
    position: absolute;
    bottom: -30px;
    right: -30px;
    max-width: 280px;
    box-shadow: var(--shadow-md);
    font-weight: 700;
    font-size: 0.95rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.05rem;
}

/* ==========================================================================
   13. CONTACT BOX
   ========================================================================== */
.contact-section {
    background-color: var(--bg-warm);
}

.contact-box {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
}

.contact-phones {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 36px 0;
}

.phone-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--bg-light);
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    border: 1px solid #f1f5f9;
}

.phone-card svg {
    color: var(--primary-hover);
}

/* ==========================================================================
   14. FOOTER & FIXED ELEMENTS
   ========================================================================== */
.footer {
    background-color: var(--secondary);
    color: #94a3b8;
    padding: 90px 0 40px;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo-container {
    margin-bottom: 24px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact-info p {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact-info svg {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

/* Floating WhatsApp Action Trigger */
.whatsapp-floating-action {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-floating-action:hover {
    transform: translateY(-4px);
    background-color: #20ba5a;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}


/* ==========================================================================
   15. RESPONSIVE & MOBILE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Large Mobile Landscape Viewports */
@media (max-width: 992px) {
    .section-padding {
        padding: 70px 0;
    }

    .hero-grid, 
    .intro-grid, 
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    /* Stack hero graphic below context on small screens */
    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .experience-badge {
        right: 10px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-visual-block {
        max-width: 480px;
        margin: 0 auto;
    }

    .about-quote-box {
        right: -10px;
    }
}

/* Standard Mobile Viewports (Phones) */
@media (max-width: 768px) {
    h1 { 
        font-size: 2.5rem !important; 
        line-height: 1.2;
    }

    h2 { 
        font-size: 1.85rem !important; 
    }

    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .top-bar-phones a {
        margin: 0 10px;
    }

    .header .container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trades-showcase-card {
        padding: 30px 20px;
    }

    .trades-grid {
        grid-template-columns: 1fr;
    }

    .usp-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-card {
        padding: 40px 24px;
    }

    .contact-box {
        padding: 35px 20px;
    }

    .contact-phones {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .phone-card {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    /* Reposition fixed WhatsApp button slightly higher to avoid overlapping overlay triggers */
    .whatsapp-floating-action {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Small Device Viewports (Portrait Phones) */
@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem !important;
    }

    .hero-image-wrapper img {
        height: 320px;
    }

    .about-image-card img {
        height: 340px;
    }

    .about-quote-box {
        position: relative;
        bottom: 0;
        right: 0;
        max-width: 100%;
        margin-top: 20px;
    }
}