@font-face {
    font-family: 'CenturyGothic';
    src: url('../fonts/CenturyGothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CenturyGothic';
    src: url('../fonts/CenturyGothic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CenturyGothic';
    src: url('../fonts/CenturyGothic-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

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

body {
    font-family: 'CenturyGothic', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: white;
    color: #333;
    padding: 15px 20px;
    border-bottom: 4px solid rgb(232, 223, 56);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

nav ul li.nav-soporte a {
    background: rgb(232, 223, 56);
    color: #111;
    font-weight: 600;
    border-top-color: transparent;
    box-shadow: none;
}
nav ul li.nav-soporte a:hover {
    background: rgb(212, 203, 36);
}

header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 12px;
}

header .logo > a {
    line-height: 0;
}

header .logo > a img {
    height: 60px;
}

/* Language Selector — Dropdown */
.lang-selector {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1001;
}
.lang-selector .lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
    line-height: 0;
    user-select: none;
}
.lang-selector .lang-current:hover {
    background: #f0f0f0;
}
.lang-selector .lang-current::after {
    content: '\25BC';
    font-size: 8px;
    color: #999;
    margin-left: 2px;
    line-height: 1;
}
.lang-selector .lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 4px 0;
    min-width: 100%;
}
.lang-selector.open .lang-dropdown {
    display: block;
}
.lang-selector .lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: background 0.15s;
    line-height: 1;
    white-space: nowrap;
}
.lang-selector .lang-dropdown a:hover {
    background: #f5f5f5;
}
.lang-selector .lang-dropdown a.active {
    font-weight: bold;
    background: #fafafa;
}
.lang-selector img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    display: block;
    border: 1px solid #ddd;
}

/* Navigation Styles */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    position: relative;
    /* Removed fixed width */
    margin: 0 4px; /* 8px margin between buttons means 4px on each side */
    display: flex; /* Use flex to center content */
    justify-content: center;
    align-items: center;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    padding: 17px 20px 15px 20px; /* Top, Right, Bottom, Left padding */
    display: block;
    border-top: 4px solid transparent;
    box-shadow: inset 0 1px 0 0 black; /* Línea divisoria de 1px */
    transition: all 0.3s ease; /* Added for smooth hover transition */
    /* Removed width: 100%; and text-align: center; to adapt to content */
}

nav ul li a:hover {
    color: #111;
    background: rgb(232, 223, 56);
    border-top-color: rgb(232, 223, 56);
    box-shadow: none;
}
nav ul li a.active {
    border-top-color: rgb(232, 223, 56);
    box-shadow: none;
}

/* Submenu Styles */
.submenu {
    display: none;
    position: absolute;
    background: white; /* White background for submenu */
    color: #333; /* Dark text for submenu */
    top: 100%;
    left: 0;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
    padding: 0 5px; /* Add 5px padding left and right */
    box-shadow: 0 5px 10px rgba(0,0,0,0.2); /* Add shadow for depth */
}

.submenu li {
    margin-right: 0; /* Remove right margin for submenu items */
    width: 100%;
    margin: 0;
}

.submenu a {
    padding: 10px 15px; /* Top, Right, Bottom, Left padding */
    color: #333;
    white-space: nowrap;
    border-top: 4px solid transparent;
    box-shadow: inset 0 1px 0 0 black; /* Línea divisoria de 1px */
    width: 100%;
    text-align: center;
    /* Removed width: 100%; and  to adapt to content */
    display: block;
}

.submenu a:hover {
    border-top-color: rgb(232, 223, 56); /* Yellow border on hover */
    box-shadow: none; /* Ocultar línea divisoria cuando aparece el borde amarillo */
}

/* Show submenu on hover */
nav ul li:hover > .submenu {
    display: block;
}

/* Portal de Incidencias */
.portal-incidencias img {
    height: 40px; /* Adjust as needed */
}

/* Main Content Styling (basic) */
main section {
    padding: 40px 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

main section#inicio {
    position: relative;
    height: 342px; /* Set to desired video height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    border-radius: 0; /* Remove rounded corners */
    margin-bottom: 0;
    box-shadow: none;
}

main section#inicio video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 342px;
    object-fit: cover;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../imagenes/PatronPuntos.png);
    background-repeat: repeat;
    z-index: 1;
    background-size: 5px 5px; /* Make dots smaller */
    opacity: 0.5;
}

main section#inicio .contenido {
    position: relative;
    z-index: 2;
    background: none; /* Removed translucent background */
    padding: 20px;
    border-radius: 10px;
}

main section#inicio h2 {
    font-size: 43px;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 0px;
}

main section#inicio h3 {
    font-size: 20px;
    font-style: italic;
    font-weight: 100;
    margin-top: 0;
    margin-bottom: 20px;
}

main section#inicio p {
    font-size: 15px;
}

.after-video-text {
    position: relative;
    text-align: center;
    margin: 0;
    padding: 60px 40px;
    max-width: none;
    color: #fff;
    background-color: #000;
    overflow: hidden;
    border-bottom: 4px solid rgb(232, 223, 56);
}
.after-video-text > video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
    display: block;
}
.after-video-text > .video-overlay-dark {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}
.after-video-text > .intro-text {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.7;
}

#info-sections-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between sections */
    margin: 0 auto;
    max-width: 1300px;
}

.info-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-section-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: rgb(232, 223, 56);
    font-size: 2em; /* Adjust as needed */
    font-weight: bold;
}

.info-section-left img {
    height: 50px;
    width: auto; /* Maintain aspect ratio */
    margin-top: 20px; /* Space from vertical title */
}

.info-section-middle {
    flex: 1; /* Allow text to take up available space */
}

.info-section-right {
    flex: 0 0 auto;
    max-width: 35%;
}
.info-section-right img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

/* Footer */
footer {
    background: #fff; /* Changed to white */
    color: #333; /* Changed to dark text */
    padding: 40px 20px;
    margin-top: 0;
    text-align: center;
    font-size: 0.9em;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd; /* Lighter border for white background */
}

.footer-column {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    display: flex; /* Added for centering content */
    flex-direction: column; /* Added for centering content */
    align-items: center; /* Added for centering content */
}

.footer-column h3 {
    color: #333; /* Changed to dark text */
    font-weight: normal;
    text-transform: uppercase;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.footer-column p {
    margin-bottom: 15px;
}

.footer-column img {
    max-width: 100px;
}

.footer-images-control-remoto {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-images-control-remoto img {
    max-width: 80px;
}

.footer-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-center img {
    max-width: 150px; /* Adjust size as needed for the centered logo */
}

.footer-middle {
    padding: 30px 0;
    border-bottom: 1px solid #ddd; /* Lighter border for white background */
}

.footer-nav a {
    color: #333; /* Changed to dark text */
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #000; /* Darker on hover */
}

.footer-services {
    margin-top: 20px;
    font-size: 0.8em;
    line-height: 1.8;
}

.footer-services a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-services a:hover {
    color: rgb(232, 223, 56);
}

.footer-bottom {
    padding-top: 30px;
}

.footer-bottom p {
    margin-bottom: 15px;
}

.footer-bottom a {
    color: #333; /* Changed to dark text */
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #000; /* Darker on hover */
}

.footer-links a {
    margin: 0 10px;
}

/* --- NEW STYLES --- */

/* Image Links Section (Contacto) */
#nosotros.image-links-section {
    display: flex;
    justify-content: flex-start; /* Aligns items to the start, allowing them to fill space if flex: 1 is used */
    gap: 0;
    padding: 0;
    background-color: transparent;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%; /* Ensure it takes full width */
}

.link-item {
    position: relative;
    flex: 1;
    height: 25vw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.link-item .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.4);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.link-item:hover .bg-image {
    filter: grayscale(100%) brightness(0.6);
    transform: scale(1.05);
}

.link-item .overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.link-item .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.link-item .icon-contacto {
    filter: brightness(0) saturate(100%) invert(88%) sepia(46%) saturate(583%) hue-rotate(6deg) brightness(103%) contrast(87%);
}

.link-item h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #fff;
}

.link-item .btn {
    background: none;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 2px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.link-item .btn:hover {
    background-color: rgb(232, 223, 56);
    color: #333;
    border-color: rgb(232, 223, 56);
}

/* Contact Section */
#contacto.contact-section {
    position: relative;
    padding: 100px 20px;
    color: #fff;
    text-align: center;
    max-width: 100%;
    margin: 0; /* Changed from 40px 0 */
    border-radius: 0;
    box-shadow: none;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#contacto.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.section-title {
    position: relative;
    z-index: 1;
    font-size: 2em;
    margin-bottom: 40px;
    color: rgb(232, 223, 56);
    text-transform: uppercase;
    font-weight: normal;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

#contacto.contact-section form {
    flex: 2;
    min-width: 300px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: none;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row input {
    flex: 1;
}

#contacto.contact-section input[type="text"],
#contacto.contact-section input[type="email"],
#contacto.contact-section textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 2px;
    background-color: rgb(232, 223, 56);
    color: #333;
    font-family: 'CenturyGothic', Arial, sans-serif;
}

#contacto.contact-section input::placeholder,
#contacto.contact-section textarea::placeholder {
    color: #888;
}

#contacto.contact-section textarea {
    min-height: 140px;
    resize: vertical;
}

.form-footer {
    display: flex;
    justify-content: center;
}

#contacto.contact-section button[type="submit"] {
    background-color: rgb(232, 223, 56);
    color: #333;
    padding: 15px 35px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#contacto.contact-section button[type="submit"]:hover {
    background-color: #fff;
    color: #333;
}

.qr-code {
    flex: 1;
    min-width: 220px;
    max-width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 2px;
}

.qr-code img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Captcha Container */
.captcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; /* Space between captcha and submit button */
}

/* ===== Submenu toggle arrow (hidden on desktop) ===== */
.submenu-toggle {
    display: none;
}

/* ===== HAMBURGER BUTTON (hidden on desktop) ===== */
.hamburger {
    display: none;
    background: #1a1a1a;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 3px;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: rgb(232, 223, 56);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== SERVICIOS PREVIEW (Homepage) ===== */
#servicios-preview {
    background: #111;
    padding: 50px 5% 0;
    border-top: 4px solid rgb(232, 223, 56);
}

.sp-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px;
}

.sp-tab {
    background: transparent;
    color: #999;
    border: 2px solid #333;
    padding: 8px 18px;
    font-size: 0.85em;
    font-family: 'CenturyGothic', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.25s;
}

.sp-tab:hover {
    border-color: rgb(232, 223, 56);
    color: #fff;
}

.sp-tab.active {
    background: rgb(232, 223, 56);
    color: #111;
    border-color: rgb(232, 223, 56);
}

.sp-panels {
    position: relative;
}

.sp-panel {
    display: none;
}

.sp-panel.active {
    display: block;
}

.sp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 60px;
    color: #ccc;
}

.sp-block img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.sp-block h3 {
    color: rgb(232, 223, 56);
    font-size: 0.9em;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.sp-block p {
    font-size: 0.82em;
    line-height: 1.65;
    color: #bbb;
    margin: 0;
}

.sp-fade {
    position: relative;
    height: 320px;
    margin-top: -320px;
    background: linear-gradient(to bottom, rgba(17,17,17,0) 0%, rgba(17,17,17,0.6) 25%, rgba(17,17,17,0.9) 45%, rgba(17,17,17,1) 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
}

.sp-vermas {
    display: inline-block;
    background: rgb(232, 223, 56);
    color: #111;
    text-decoration: none;
    padding: 10px 30px;
    font-size: 0.9em;
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.2s;
}

.sp-vermas:hover {
    background: rgb(212, 203, 36);
}

/* ===== RESPONSIVE — Tablet ===== */
@media (max-width: 1024px) {
    .info-section-right {
        max-width: 35%;
    }
    .sp-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== RESPONSIVE — Mobile ===== */
@media (max-width: 768px) {

    /* --- Header & Nav --- */
    header {
        padding: 15px 20px 15px 65px;
        justify-content: space-between;
        position: relative;
    }

    header .logo > a img {
        height: 45px;
    }

    header .logo {
        margin: 0;
        gap: 8px;
    }

    .lang-selector {
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
    }

    .hamburger {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-bottom: 4px solid rgb(232, 223, 56);
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    nav ul li a {
        padding: 15px 20px;
        border-top: none;
        box-shadow: none;
    }

    nav ul li a:hover,
    nav ul li a.active {
        border-top-color: transparent;
        background-color: #f9f9f9;
        color: rgb(232, 223, 56);
    }

    /* Submenu mobile */
    .submenu {
        position: static;
        box-shadow: none;
        background: #f5f5f5;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .submenu.open {
        max-height: 500px;
    }

    nav ul li:hover > .submenu {
        display: none;
    }

    nav ul li .submenu.open {
        display: block;
    }

    .submenu a {
        padding: 12px 30px;
        text-align: left;
        box-shadow: none;
        border-top: none;
        font-size: 0.9em;
    }

    .submenu a:hover {
        border-top-color: transparent;
        color: rgb(232, 223, 56);
    }

    /* Flecha de submenu */
    .submenu-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.7em;
        color: #999;
        transition: transform 0.3s ease;
        pointer-events: none;
    }

    .submenu-toggle.rotated {
        transform: translateY(-50%) rotate(180deg);
    }

    /* --- Hero Video --- */
    main section#inicio {
        height: 250px;
    }

    main section#inicio video {
        height: 250px;
    }

    main section#inicio h2 {
        font-size: 24px;
    }

    main section#inicio h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    main section#inicio .contenido img {
        height: 40px;
    }

    main section#inicio p {
        font-size: 12px;
    }

    /* --- After video text --- */
    .after-video-text {
        padding: 40px 20px;
    }
    .after-video-text .intro-text {
        font-size: 0.95em;
    }

    /* --- Info Sections --- */
    #info-sections-container {
        padding: 20px 15px;
    }

    .info-section {
        flex-direction: column;
        text-align: center;
    }

    .info-section-left {
        flex-direction: row;
        gap: 10px;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.4em;
    }

    .info-section-left img {
        height: 30px;
        margin-top: 0;
    }

    .info-section-right {
        max-width: 60%;
        margin: 0 auto;
    }
    .info-section-right img {
        width: 100%;
    }

    /* --- Enlaces de imagen --- */
    #nosotros.image-links-section {
        flex-direction: column;
    }

    .link-item {
        height: 200px;
    }

    /* --- Contact Section (index) --- */
    #contacto.contact-section {
        padding: 50px 15px;
        background-attachment: scroll;
    }

    .section-title {
        font-size: 1.4em;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        flex-direction: column;
    }

    .qr-code {
        max-width: 160px;
        min-width: 160px;
    }

    /* --- Footer --- */
    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        min-width: unset;
        max-width: 100%;
    }

    .footer-nav a {
        margin: 0 5px;
        font-size: 0.85em;
    }

    .footer-services {
        font-size: 0.7em;
    }

    .footer-links a {
        margin: 0 5px;
        font-size: 0.8em;
    }

    /* Servicios Preview mobile */
    #servicios-preview {
        padding: 30px 4% 0;
    }
    .sp-tabs {
        gap: 5px;
    }
    .sp-tab {
        padding: 6px 10px;
        font-size: 0.75em;
    }
    .sp-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Paginas legales */
.legal-section {
    padding: 80px 20px 60px;
    background-color: #f9f9f9;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.legal-content h1 {
    font-family: 'CenturyGothic', sans-serif;
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e8df38;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-content ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

.legal-content a {
    color: #1a73e8;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-date {
    margin-top: 40px;
    font-weight: bold;
    color: #1a1a1a;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }

    .legal-content h1 {
        font-size: 22px;
    }
}
