/* Judicco Visual Identity + Ownr Structure */
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary-green: #88B100;
    --dark-grey: #1A1A1A;
    --medium-grey: #505050;
    --light-grey: #F9FAFB;
    --white: #FFFFFF;
    --black: #000000;
    
    --font-heading: 'Aldrich', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-max-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, .nav-link, .btn {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease-in-out;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* GLOBAL SECTION TITLES */
.section-title,
.benefits-header h2,
.why-us-header h2,
.process-header h2,
.included-header h2,
.form-header h2 {
    font-size: 32px !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    text-align: center !important;
    color: var(--black) !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
}

@media (max-width: 991px) {
    .section-title,
    .benefits-header h2,
    .why-us-header h2,
    .process-header h2,
    .included-header h2,
    .form-header h2 {
        font-size: 26px !important;
    }
}

/* BUTTONS (Judicco Flat Style) */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 4px; /* Minimal rounding */
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--black);
}

.btn-primary:hover {
    filter: brightness(1.1);
}

/* HEADER (Sticky) */
header {
    height: var(--header-height);
    background: var(--white);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: bold;
    color: var(--black);
    text-decoration: none;
}

.logo span {
    color: var(--primary-green);
}

.logo-img {
    height: 32px; /* Smaller as requested */
    width: auto;
    display: block;
}

/* Footer specific logo styling */
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
}

.nav-link:hover {
    color: var(--primary-green);
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-dropbtn {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 15px;
    font-family: var(--font-heading);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.drop-icon {
    font-size: 10px;
    color: var(--medium-grey);
}

.lang-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--white);
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border: 1px solid #eee;
}

.lang-content a {
    color: var(--black);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-family: var(--font-heading);
}

.lang-content a:hover {
    background-color: #f9f9f9;
    color: var(--primary-green);
}

.lang-dropdown:hover .lang-content {
    display: block;
}

.lang-dropdown:hover .lang-dropbtn {
    border-color: var(--primary-green);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* HERO SECTION */
.hero {
    background-color: var(--light-grey);
    padding: 100px 0;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 20px;
    color: var(--medium-grey);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-hero,
.btn-large {
    padding: 18px 45px;
    font-size: 16px;
    display: inline-block;
}

.hero-visual {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
}

.hero-visual img.mirrored {
    transform: scaleX(-1); /* Invert image horizontally as requested */
    max-width: 90%; /* Reduced size as requested */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
    filter: brightness(1.05); /* Slight enhancement */
}

/* TRUST BAR - BIG/SMALL STATS ROW */
.trust-bar {
    padding: 50px 0;
    background-color: var(--white);
    border-bottom: 2px solid var(--light-grey);
}

.stats-row {
    display: flex;
    justify-content: space-between; /* Spread across horizontal line */
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column; /* Vertical stack: Big top, Small bottom */
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-top {
    font-size: 38px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* Keep consistent height for icons/numbers */
}

.stat-top.aldrich {
    font-family: var(--font-heading);
}

.icon-large {
    font-size: 40px;
}

.trust-badge-img {
    height: 70px; /* Big but proportional */
    width: auto;
    filter: none; /* No card/shadow behind */
}

.stat-bottom {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--medium-grey);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .stats-row {
        gap: 20px;
    }
    .stat-top {
        font-size: 30px;
        height: 50px;
    }
    .trust-badge-img {
        height: 60px;
    }
}

@media (max-width: 767px) {
    .stats-row {
        gap: 30px;
        justify-content: center;
    }
    .stat-item {
        min-width: 45%; /* 2 per row on small tablets */
    }
}

@media (max-width: 480px) {
    .stat-item {
        min-width: 100%; /* stack on small mobile if needed */
    }
}

/* BENEFITS SECTION */
.benefits {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.benefits-header {
    margin-bottom: 60px;
}

.benefits-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.benefits-header p {
    font-size: 18px;
    color: var(--medium-grey);
    max-width: 800px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-card {
    padding: 40px;
    background-color: var(--white);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-align: left;
}

.benefit-card:hover {
    background-color: rgba(0, 0, 0, 0.03);
    border-color: var(--primary-green);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-green);
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--black);
}

.benefit-card p {
    font-size: 14px;
    color: var(--medium-grey);
    line-height: 1.8;
}

.benefits-cta {
    margin-top: 40px;
}

.why-us {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.why-us-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.why-us-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 30px;
    border: 1px solid #eee;
}

.why-us-marker {
    width: 30px;
    height: 4px;
    background: var(--primary-green);
    margin-top: 12px;
}

.why-us-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.why-us-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.why-us-bullets {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.why-us-bullets li {
    font-size: 13px;
    color: var(--medium-grey);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.why-us-bullets li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.trust-badge-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    border: 2px solid var(--primary-green);
    font-family: var(--font-heading);
    color: var(--black);
    font-weight: bold;
    letter-spacing: 1px;
}

.badge-icon {
    font-size: 20px;
    color: var(--primary-green);
}

/* PROCESS SECTION (3 STEPS) - BG: WHITE */
.process {
    padding: 100px 0;
    background-color: var(--white);
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-steps.simplified {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.process-steps.simplified .step-item {
    flex: 1;
    position: relative;
    padding: 40px;
    background: var(--light-grey);
    border: none;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.process-steps.simplified .step-item.step-success {
    border: 2px solid var(--primary-green);
    background: #f1f9e8;
}

.process-steps.simplified .step-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 5px;
    width: fit-content;
    font-family: var(--font-heading);
}

.process-steps.simplified h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--black);
    position: relative;
    z-index: 2;
}

.process-steps.simplified p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--medium-grey);
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .process-steps.simplified {
        flex-direction: column;
    }
}

/* COMPARISON TABLE REDESIGN */
.included {
    padding: 120px 0;
    background-color: var(--white);
}

.included-header {
    text-align: center;
    margin-bottom: 60px;
}

.included-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.included-header p {
    font-size: 18px;
    color: var(--medium-grey);
}

.comparison-wrapper {
    max-width: 1000px;
    margin: 0 auto 60px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    border: 1px solid #eee;
}

.comparison-table th, 
.comparison-table td {
    padding: 20px 30px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table thead th {
    background: #f9f9f9;
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table .comp-col, 
.comparison-table .our-col {
    text-align: center;
    width: 200px;
}

.comparison-table .our-col {
    background: var(--primary-green);
    color: var(--black);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #fbfbfb;
}

.comparison-table .comp-val, 
.comparison-table .our-val {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.comparison-table .comp-val {
    color: #ccc;
}

.comparison-table .our-val {
    color: var(--primary-green);
}

/* THE BONUS ROW */
.comparison-table tr.bonus-row {
    background-color: #f9fff0 !important;
    border: 2px solid var(--primary-green);
}

.comparison-table tr.bonus-row td {
    color: var(--black);
    border-bottom: none;
}

.bonus-hint {
    display: block;
    font-size: 12px;
    color: var(--medium-grey);
    margin-top: 5px;
}

.options-section {
    max-width: 1000px;
    margin: 80px auto 0;
    padding-top: 60px;
    border-top: 2px solid #eee;
}

.options-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9f9;
    padding: 20px 30px;
    border: 1px solid #eee;
}

.option-check {
    color: var(--primary-green);
}

.final-cta {
    margin-top: 80px;
    text-align: center;
}


/* GUARANTEED PRICE SECTION - BG: GREY */
.guaranteed-price {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.price-banner {
    background: var(--white);
    padding: 60px;
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

/* GUARANTEED PRICE SECTION - BG: GREY */
.guaranteed-price {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.price-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.price-card {
    background: var(--white);
    max-width: 600px;
    width: 100%;
    padding: 60px;
    border: 1px solid #ddd;
    border-top: 6px solid var(--primary-green);
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.price-value {
    font-size: 56px;
    color: var(--black);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.price-value small {
    font-size: 18px;
    font-weight: normal;
    color: var(--medium-grey);
}

.price-subtext {
    font-size: 16px;
    color: var(--black);
    font-weight: 600;
    line-height: 1.4;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 50px;
    text-align: left;
    display: inline-block;
}

.price-features li {
    font-size: 15px;
    color: var(--medium-grey);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feat-icon {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 18px;
}

.btn-full {
    display: block;
    width: 100%;
    padding: 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 767px) {
    .price-card {
        padding: 40px 25px;
    }
    .price-value {
        font-size: 42px;
    }
}

/* REVIEWS SECTION & SWIPER - BG: GREY */
.reviews {
    padding: 120px 0;
    background-color: var(--light-grey);
    text-align: center;
}

.reviews .section-title.centered {
    text-align: center;
    margin-bottom: 80px; /* Space between title and swiper */
}

.reviews-swiper {
    padding-bottom: 20px; /* Space for pagination */
}

.review-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    min-height: 280px; /* Force uniform height base */
}

.review-rating {
    color: var(--primary-green);
    font-size: 18px;
    margin-bottom: 20px;
}

.review-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 30px;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    font-weight: bold;
    font-size: 14px;
    color: var(--medium-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SWIPER PAGINATION REFINEMENT */
.reviews .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 40px; /* Space between cards and dots */
}

.reviews .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
    margin: 0 8px !important;
    transition: all 0.3s ease;
}

.reviews .swiper-pagination-bullet-active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 6px;
}

/* FAQ SECTION (ACCORDION) - BG: GREY */
.faq {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.faq .section-title.centered {
    text-align: center;
    margin-bottom: 50px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--black);
    transition: 0.3s;
}

.faq-question:hover {
    color: var(--primary-green);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Increased to allow for longer legal explanations */
    padding-bottom: 30px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--medium-grey);
    line-height: 1.6;
}

/* INCORPORATION FORM (MULTI-STEP) - BG: WHITE */
.incorporation-form {
    padding: 120px 0;
    background-color: var(--white);
}

.form-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border: 1px solid #ddd;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.form-header p {
    font-size: 16px;
    color: var(--medium-grey);
}

.form-progress {
    margin-bottom: 60px;
    position: relative;
    padding: 0 40px;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #dfdfdf;
    transform: translateY(-50%);
    z-index: 1;
}

.progress-active {
    height: 100%;
    background: var(--primary-green);
    transition: width 0.4s ease-in-out;
}

.steps-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-dot {
    width: 36px;
    height: 36px;
    background: #dfdfdf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--white);
    transition: 0.3s;
}

.step-dot.active {
    background: var(--primary-green);
    color: var(--black);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

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

.step-title {
    font-size: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    margin-bottom: 10px;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-green);
    outline: none;
}

.form-actions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-secondary {
    background-color: #eee;
    color: var(--black);
}

.btn-secondary:hover {
    background-color: #ddd;
}

.step-placeholder {
    padding: 60px;
    background: #f9f9f9;
    color: #999;
    border: 1px dashed #ddd;
    text-align: center;
}

/* SITE FOOTER */
.site-footer {
    background-color: var(--black);
    color: var(--white);
    padding: 80px 0 40px;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--primary-green);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

.footer-col p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover, .footer-bottom a:hover {
    color: var(--primary-green);
}

.footer-tagline a, .credits a {
    color: var(--primary-green);
    font-weight: bold;
    text-decoration: underline;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-links a:hover {
    border-color: var(--primary-green);
    background: rgba(136, 177, 0, 0.1);
}

.social-links a:hover svg {
    stroke: var(--primary-green);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-copy p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.credits {
    font-weight: bold;
    color: #444 !important;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 40px 20px;
    }
    .form-group-grid {
        grid-template-columns: 1fr;
    }
}
