/* ===== MOBILE STYLES (430px) ===== */

@media (max-width: 430px) {

    html,
    body {
        overflow-x: hidden;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(247, 247, 247, 0.5);
        backdrop-filter: blur(10px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transition: right 0.3s ease-in-out;
        padding-top: 80px;
        display: flex;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
        right: 0;
    }

    .nav-menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--dark-bg);
        cursor: pointer;
        padding: 0.5rem;
        transition: color 0.3s ease;
    }

    .nav-menu-close:hover {
        color: var(--accent-color);
    }

    .nav-menu ul {
        list-style: none;
        padding: 2rem;
        margin: 0;
        display: flex;
        flex-direction: column;
        flex: 1;
        justify-content: center;
    }

    .nav-menu li {
        margin: 1.5rem 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
        text-align: center;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-menu li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-menu li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-menu a {
        color: var(--accent-color);
        text-decoration: none;
        font-size: 1.3rem;
        font-weight: 600;
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        transition: color 0.3s ease;
    }

    .nav-menu a:hover {
        color: var(--accent-color);
    }

    .mobile-menu {
        display: block;
    }

    /* ===== HEADER & NAV ===== */
    .nav-container {
        padding: 0.8rem 0rem;
        max-width: 85%;
    }

    .logo img {
        height: 80px;
        padding-top: 5px;
    }

    /* ===== HERO ===== */
    .hero {
        background-position: calc(50% - 15px) center;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-content {
        padding: 0;
    }

    .divider {
        width: 200px;
    }

    .contact-button {
        padding: 0.7rem 1.3rem;
        font-size: 1.3rem;
    }

    /* ===== SERVICES ===== */
    .lines-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 1.5rem 1rem;
        width: 100%;
        margin-top: 2rem;
    }

    .line-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.5rem;
    }

    .line-item .line {
        align-self: stretch;
    }

    .line-item span {
        margin-bottom: 1rem;
        text-align: left;
        width: 100%;
    }

    .services .container {
        max-width: 100%;
        margin: 0 auto;
    }

    .services p {
        max-width: 85%;
    }

    /* ===== PHOTOS ===== */
    .photos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .photos {
        padding: 0;
    }

    /* ===== ABOUT (NOSOTROS) ===== */
    .about {
        padding: 2rem 0;
    }

    .about .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .about-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .about-header,
    .about-text,
    .about p {
        max-width: 100%;
    }

    .about .lines-container {
        width: 100%;
        gap: calc(100% / 3);
    }

    .about-header h2 {
        font-size: 2.5rem;
    }

    .about p {
        font-size: 14px;

    }

    .about-content p {
        font-size: 1rem;

    }

    /* ===== PROJECTION ===== */
    .projection {
        padding: 2rem 0 0 0;
    }

    .projection .container {
        max-width: 100%;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .projection-content {
        max-width: 90%;
        margin: 0 auto;
    }

    .projection-content h2 {
        font-size: 2.5rem;

    }

    .mission-content h3,
    .vision-content h3 {
        font-size: 1.1rem !important;
    }

    .mission-content p,
    .vision-content p {
        font-size: 1rem;
    }

    /* ===== ALLIES ===== */
    .allies-content h2 {
        margin-bottom: 1.5rem;
    }

    .allies-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }

    .ally-oval {
        padding: 0.5rem;
    }

    .allies-content p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .allies-content {
        margin-bottom: 2rem;
    }

    /* ===== PHOTOS2 ===== */
    .photos2-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .cto {
        object-fit: cover;
        object-position: left top;
    }

    .brandmanager {
        object-fit: cover;
        object-position: top;

    }

    .ceo {
        object-fit: cover;
        object-position: top;
    }

    .coo {
        object-fit: cover;
        object-position: top;
    }

    /* ===== TEAM ===== */
    .team {
        padding: 2rem 0;
    }

    .team .container {
        max-width: 90%;
        padding: 0 1rem;
    }

    .team-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .team-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .team-content p {
        font-size: rem;
    }

    .team-grid {
        gap: 0 !important;
    }

    .team-grid img {
        width: 60px;
        height: 60px;
        border-radius: 0 !important;
    }

    /* ===== CONTACT ===== */
    .contact-container {
        flex-direction: column;
        max-width: 100%;
    }

    .contact-content .line {
        margin-left: 0;
    }

    .contact-content h2 {
        margin-left: 0;
    }


    .contact-form {
        width: 100%;
        max-width: 100%;
    }

    .contact-info {
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .social-links {
        display: flex;
        flex-direction: row;
        margin-left: 0;
        margin-right: auto;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .contact-form button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
        bottom: 2rem;
        right: 2rem;
    }

    .chat-container {
        width: 280px;
        bottom: 105px;
        right: 15px;
    }

    .chat-form {
        padding: 1rem;
    }

    .chat-input {
        padding: 0.8rem;
    }

    /* ===== FOOTER ===== */
    .footer {
        height: 145px;
        display: flex;
        align-items: center;

    }

    .footer-content {
        margin-left: 3rem;
        margin-right: 5rem;
        margin-top: 0.5rem;
    }


    /* ===== GENERAL SECTION PADDING ===== */
    .about,
    .services,
    .projection,
    .photos2,
    .allies,
    .team,
    .contact {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}