:root {
    --primary: #669966;
    --primary-hover: #4f7f4f;
    --secondary: #cc9966;
    --secondary-hover: #b07f4f;
    --accent: #3f5d7d;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #fff;
    --footer-bg: #f8f8f8;
    --border-color: #e5e5e5;
}

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

body {
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

button,
a,
select,
input,
textarea {
    cursor: pointer;
    font-family: "Instrument Sans", sans-serif;
    text-decoration: none;
}

h1,
h2,
h3 {
    font-family: "Varela Round", sans-serif;
}

.title-highlight {
    color: #d4af37;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.leg-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #2c3e50;
    padding: 100px 0 40px;
}

.leg-hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.leg-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

.leg-hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.leg-hero-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.leg-hero-content-wrapper {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leg-hero-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

.leg-hero-content {
    max-width: 750px;
}

.leg-hero-title {
    font-family: "Varela Round", sans-serif;
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.leg-hero-title-highlight {
    font-style: italic;
    color: var(--secondary);
}

.leg-hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.leg-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.leg-hero-btn {
    padding: 10px 20px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.leg-hero-btn-primary {
    background: var(--secondary);
    color: var(--text-light);
}

.leg-hero-btn-primary:hover {
    background: var(--secondary-hover);
    transform: translateX(5px);
}

.leg-hero-btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.leg-hero-btn-secondary:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

.leg-hero-features {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 30px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.leg-hero-feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.leg-hero-feature-icon {
    color: var(--primary);
    font-size: 1.1rem;
}

.leg-hero-bottom {
    position: relative;
    z-index: 2;
    padding: 0 0 2rem 0;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.leg-hero-border {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 2rem 1.5rem 2rem;
}

.leg-hero-indicators {
    padding: 0 2rem;
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.leg-hero-dash {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
}

.leg-hero-dash.active {
    background: var(--text-light);
}

.leg-hero-dash:hover {
    background: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .leg-hero {
        min-height: 65vh;
    }

    .leg-hero-title {
        font-size: 2.8rem;
    }

    .leg-hero-features {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .leg-hero {
        min-height: 60vh;
    }

    .leg-hero-container {
        padding: 0 1.5rem;
    }

    .leg-hero-title {
        font-size: 2.2rem;
    }

    .leg-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .leg-hero-buttons {
        flex-direction: column;
    }

    .leg-hero-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
    }

    .leg-hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .leg-hero-indicators {
        padding: 0 1.5rem;
    }

    .leg-hero-border {
        margin: 0 1.5rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .leg-hero {
        min-height: 55vh;
    }

    .leg-hero-title {
        font-size: 1.8rem;
    }

    .leg-hero-subtitle {
        font-size: 0.95rem;
    }

    .leg-hero-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.3rem;
    }

    .leg-hero-feature {
        font-size: 0.9rem;
    }
}

.leg-fnd-section {
    background: var(--footer-bg);
    padding: 5rem 2rem;
}

.leg-fnd-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.leg-fnd-image-wrapper {
    position: relative;
}

.leg-fnd-image {
    width: 100%;
    height: auto;
    display: block;
}

.leg-fnd-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: #ffffff;
    padding: 3rem;
}

.leg-fnd-tagline {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

.leg-fnd-tagline::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--secondary);
}

.leg-fnd-quote {
    font-family: "Varela Round", sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 400;
}

.leg-fnd-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

.leg-fnd-bottom {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.leg-fnd-btn {
    background: var(--primary);
    color: var(--text-light);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: "Instrument Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.leg-fnd-btn:hover {
    background: var(--primary-hover);
    transform: translateX(5px);
}

.leg-fnd-founder-info {
    display: flex;
    flex-direction: column;
}

.leg-fnd-founder-name {
    font-family: "Varela Round", sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.leg-fnd-founder-title {
    font-size: 0.85rem;
    color: #666;
}

.leg-fnd-founder-signature {
    width: 80px;
    height: auto;
    opacity: 0.6;
    margin-left: 1rem;
}

@media (max-width: 1024px) {
    .leg-fnd-section {
        padding: 4rem 1.5rem;
    }

    .leg-fnd-container {
        gap: 3rem;
    }

    .leg-fnd-quote {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .leg-fnd-section {
        padding: 3rem 1.5rem;
    }

    .leg-fnd-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .leg-fnd-content {
        padding: 1.5rem 1rem;
    }

    .leg-fnd-quote {
        font-size: 1.4rem;
    }

    .leg-fnd-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .leg-fnd-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .leg-fnd-section {
        padding: 2.5rem 1rem;
    }

    .leg-fnd-quote {
        font-size: 1.4rem;
    }

    .leg-fnd-description {
        font-size: 0.9rem;
    }
}

.leg-abt-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.leg-abt-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.leg-abt-tagline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

.leg-abt-tagline::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--secondary);
}

.leg-abt-title {
    font-family: "Varela Round", sans-serif;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    max-width: 800px;
}

.leg-abt-title-italic {
    font-style: italic;
    color: var(--text-dark);
}

.leg-abt-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3.5rem;
}

.leg-abt-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.leg-abt-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.leg-abt-founder {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.leg-abt-btn {
    background: var(--primary);
    color: var(--text-light);
    padding: .9rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: "Instrument Sans", sans-serif;
    font-size: .95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.leg-abt-btn:hover {
    background: var(--primary-hover);
    transform: translateX(5px);
}

.leg-abt-founder-info {
    display: flex;
    flex-direction: column;
}

.leg-abt-founder-name {
    font-family: "Varela Round", sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.leg-abt-founder-title {
    font-size: 0.85rem;
    color: #666;
}

.leg-abt-founder-signature {
    width: 80px;
    height: auto;
    opacity: 0.6;
}

.leg-abt-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.leg-abt-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.leg-abt-feature-icon {
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.leg-abt-right {
    position: relative;
}

.leg-abt-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.leg-abt-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leg-abt-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(102, 153, 102, 0.85);
    padding: 2rem;
    color: var(--text-light);
}

.leg-abt-overlay-title {
    font-family: "Varela Round", sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.leg-abt-overlay-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
    .leg-abt-section {
        padding: 4rem 1.5rem;
    }

    .leg-abt-header {
        align-items: flex-start;
        text-align: left;
    }

    .leg-abt-title {
        font-size: 2rem;
    }

    .leg-abt-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .leg-abt-section {
        padding: 3rem 1.5rem;
    }

    .leg-abt-title {
        font-size: 2rem;
    }

    .leg-abt-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .leg-abt-image-wrapper {
        min-height: 400px;
    }

    .leg-abt-founder {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .leg-abt-section {
        padding: 2.5rem 1rem;
    }

    .leg-abt-title {
        font-size: 1.7rem;
    }

    .leg-abt-text {
        font-size: 0.9rem;
    }

    .leg-abt-btn {
        width: 100%;
        justify-content: center;
    }

    .leg-abt-image-wrapper {
        min-height: 350px;
    }

    .leg-abt-image-overlay {
        padding: 1.5rem;
    }
}

.legal-why-section {
    background: linear-gradient(135deg, #3f5d7d 0%, #669966 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.legal-why-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/legal5.jpg) center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.legal-why-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-why-tagline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
}

.legal-why-tagline::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--secondary);
}

.legal-why-title {
    font-family: "Varela Round", sans-serif;
    font-size: 2.8rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.3;
    max-width: 700px;
}

.legal-why-title-italic {
    font-style: italic;
    display: block;
}

.legal-why-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.legal-why-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.legal-why-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.legal-why-card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.legal-why-card-title {
    font-family: "Varela Round", sans-serif;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.legal-why-card-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.legal-why-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.legal-why-bottom-text {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
}

.legal-why-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.legal-why-btn {
    padding: 10px 20px;
    font-family: "Instrument Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.legal-why-btn-primary {
    background: var(--secondary);
    color: var(--text-light);
}

.legal-why-btn-primary:hover {
    background: var(--secondary-hover);
    transform: translateX(5px);
}

.legal-why-btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.legal-why-btn-secondary:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

@media (max-width: 1200px) {
    .legal-why-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .legal-why-section {
        padding: 4rem 1.5rem;
    }

    .legal-why-title {
        font-size: 2.3rem;
    }

    .legal-why-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-why-buttons {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .legal-why-section {
        padding: 3rem 1.5rem;
    }

    .legal-why-title {
        font-size: 2rem;
    }

    .legal-why-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .legal-why-card {
        padding: 2rem 1.5rem;
    }

    .legal-why-buttons {
        flex-direction: column;
    }

    .legal-why-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .legal-why-section {
        padding: 2.5rem 1rem;
    }

    .legal-why-title {
        font-size: 1.7rem;
    }

    .legal-why-card-icon {
        font-size: 2rem;
    }

    .legal-why-bottom-text {
        font-size: 0.95rem;
    }
}

.leg-typ-section {
    padding: 80px 20px;
    background: var(--bg-light);
    width: 100%;
    overflow: hidden;
}

.leg-typ-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    background: linear-gradient(
        135deg,
        rgba(102, 153, 102, 0.15) 0%,
        rgba(204, 153, 102, 0.1) 100%
    );
    border-radius: 24px;
    padding: 80px 60px;
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.leg-typ-title {
    font-family: "Varela Round", sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 400;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.leg-typ-title.leg-typ-animate {
    opacity: 1;
    transform: translateX(0);
}

.leg-typ-cards {
    margin-left: auto;
    display: grid;
    grid-template-columns: repeat(2, 320px);
    gap: 30px;
}

.leg-typ-card {
    border-radius: 16px;
    padding: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.leg-typ-card:nth-child(1) {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.leg-typ-card:nth-child(2) {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.leg-typ-card:nth-child(3) {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.leg-typ-card:nth-child(4) {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.leg-typ-card.leg-typ-animate {
    opacity: 1;
    transform: translateY(0);
}

.leg-typ-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.leg-typ-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

.leg-typ-card:nth-child(1) .leg-typ-card-icon {
    color: #2e7d32;
}

.leg-typ-card:nth-child(2) .leg-typ-card-icon {
    color: #e65100;
}

.leg-typ-card:nth-child(3) .leg-typ-card-icon {
    color: #1565c0;
}

.leg-typ-card:nth-child(4) .leg-typ-card-icon {
    color: #6a1b9a;
}

.leg-typ-card-title {
    font-family: "Varela Round", sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 400;
}

.leg-typ-card-text {
    font-size: 0.8rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.leg-typ-decoration {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 180px;
    height: auto;
    opacity: 0;
    transition: opacity 0.8s ease 0.8s;
}

.leg-typ-decoration.leg-typ-animate {
    opacity: 1;
}

.leg-typ-decoration img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .leg-typ-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 40px;
    }

    .leg-typ-title {
        font-size: 1.8rem;
    }

    .leg-typ-decoration {
        width: 150px;
        bottom: 30px;
        left: 30px;
    }
}

@media (max-width: 900px) {
    .leg-typ-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .leg-typ-section {
        padding: 60px 20px;
    }

    .leg-typ-container {
        padding: 50px 30px;
        border-radius: 20px;
        gap: 30px;
    }

    .leg-typ-title {
        font-size: 1.6rem;
    }

    .leg-typ-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .leg-typ-card {
        padding: 30px;
    }

    .leg-typ-decoration {
        width: 120px;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .leg-typ-section {
        padding: 50px 16px;
    }

    .leg-typ-container {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .leg-typ-title {
        font-size: 1.4rem;
    }

    .leg-typ-card {
        padding: 25px 20px;
    }

    .leg-typ-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .leg-typ-card-title {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .leg-typ-decoration {
        width: 100px;
        bottom: 15px;
        left: 15px;
    }
}
