/* BOMBCRETO - Base Styles */

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

@font-face {
    font-family: 'Glacial Indifference';
    src: url('../fonts/GlacialIndifference-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Glacial Indifference';
    src: url('../fonts/GlacialIndifference-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colores */
    --color-dark-gray: #2F2F2F;
    --color-orange: #F05A28;
    --color-light-gray: #E6E6E6;
    --color-black: #1D1D1B;
    --color-white: #FFFFFF;

    /* Semantic Mappings */
    --bg-body: var(--color-white);
    --bg-dark: var(--color-dark-gray);
    --bg-light: var(--color-light-gray);
    --text-main: var(--color-dark-gray);
    --text-light: var(--color-white);
    --text-accent: var(--color-orange);
    --primary: var(--color-orange);

    /* Typography */
    --font-heading: 'Glacial Indifference', sans-serif;
    --font-body: 'Glacial Indifference', sans-serif;
    --font-brand: 'Lightyear Design', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 60px 0;
    --gutter: 20px;
    --border-radius: 0;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* RESET & BASE */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* TYPOGRAPHY */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark-gray);
    line-height: 1.2;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* HERO TITLES - UTILITY */
.hero-title-glacial {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.1;
    letter-spacing: 2px;
    color: var(--color-white);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
}



/* Brand Font */
.font-brand,
.nav-logo-text.font-brand,
.hero-brand.font-brand,
.footer .font-brand,
div.font-brand,
span.font-brand {
    font-family: 'Lightyear Design', sans-serif !important;
    font-weight: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

p,
a,
span,
li,
div {
    font-family: var(--font-body);
    font-weight: 400;
}

p {
    margin-bottom: 1.5rem;
}

.text-orange {
    color: var(--color-orange);
}

.text-white {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

/* LAYOUT UTILITIES */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: var(--section-padding);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.bg-light {
    background-color: var(--bg-light);
    color: var(--text-main);
}

.bg-white {
    background-color: var(--color-white);
}

.grid {
    display: grid;
    gap: 2rem;
    justify-content: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-items: center;
}

/* Utility Margins */
.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-5 {
    margin-top: 5rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 100%;
}

@media (max-width: 900px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        white-space: nowrap;
    }

    /* Mobile buttons */
    .btn-lg {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-orange);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-dark {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.btn-dark:hover {
    background-color: var(--color-black);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff !important;
}

.btn-whatsapp:hover {
    background-color: #20bf5b;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Cards */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-black);
    z-index: 1000;
    padding: 0.5rem 0;
    border-bottom: 3px solid var(--color-orange);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    max-width: 100%;
}

.navbar .nav-logo {
    margin-left: 5px;
    padding-left: 0;
}

.navbar .nav-menu {
    margin-right: 5px;
    padding-right: 0;
}

/* Navbar logo text */
.navbar .nav-logo-text {
    font-size: 1rem !important;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
    transform: scale(1.05);
}

/* Icon Box */
.icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(240, 90, 40, 0.1);
    color: var(--color-orange);
    font-size: 2rem;
    transition: var(--transition);
}

.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1.5rem 0 1rem;
    border-top: 4px solid var(--color-orange);
    text-align: center;
}

.footer .grid {
    justify-items: center;
    text-align: center;
    justify-content: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .nav-logo-text {
    font-size: 1rem !important;
    margin-bottom: 0.5rem;
}

.footer h4 {
    color: var(--color-orange);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-orange);
    padding-left: 5px;
}

.footer-email {
    font-size: 0.75rem;
    word-break: keep-all;
    white-space: nowrap;
    display: block;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .footer-email {
        font-size: 0.6rem;
    }
}

.footer-bottom {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #888;
    font-size: 0.75rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* Mobile Toggle - Hamburger */
.nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hamburger Animation to X */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 8px;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -8px;
}

/* Mobile Menu */

/* Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    /* Slide-out Menu Panel */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 55%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-black);
        flex-direction: column;
        padding: 80px 0 2rem;
        text-align: center;
        gap: 0;
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
    }

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

    /* Close button (X) */
    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .nav-close::before,
    .nav-close::after {
        content: '';
        position: absolute;
        width: 28px;
        height: 3px;
        background-color: var(--color-white);
        border-radius: 2px;
        transition: background-color 0.3s ease;
    }

    .nav-close::before {
        transform: rotate(45deg);
    }

    .nav-close::after {
        transform: rotate(-45deg);
    }

    .nav-close:hover::before,
    .nav-close:hover::after {
        background-color: var(--color-orange);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        letter-spacing: 2px;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        transform: none;
        color: var(--color-orange);
        background-color: transparent;
    }

    .nav-link.active {
        color: var(--color-orange);
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-brand {
        font-size: 2.5rem !important;
    }

    /* Hero top padding */
    .hero {
        padding-top: 80px;
    }

    .footer .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Footer full width */
    .footer .footer-col:first-child {
        grid-column: 1 / -1;
    }

    .footer {
        padding: 1rem 0 0.5rem;
    }

    .footer h4 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .footer-links li {
        margin-bottom: 0.2rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-column p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .footer .nav-logo.mb-2 {
        margin-bottom: 0.5rem !important;
    }

    .footer-bottom {
        margin-top: 0.8rem;
        padding-top: 0.5rem;
        font-size: 0.7rem;
    }

    .footer .nav-logo img {
        height: 35px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .nav-logo-text {
        font-size: 1.3rem !important;
    }

    .nav-logo img {
        height: 30px !important;
    }

    .nav-logo {
        gap: 8px !important;
    }

    .hero-brand {
        font-size: 2rem !important;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }
}

/* Stats Section */

.stats-section {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 5rem 0;
    border-top: 5px solid var(--color-orange);
    border-bottom: 5px solid var(--color-orange);
    margin: 2rem 0;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    text-align: center;
}

.stat-item {
    flex: 1 1 200px;
    max-width: 300px;
    text-align: center;
}

.stat-number-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.stat-item h3.stat-number {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--color-orange);
    font-weight: 700;
    display: inline;
    margin: 0;
    font-family: var(--font-heading);
}

.stat-item .stat-suffix {
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    color: var(--color-orange);
    display: inline;
    margin-left: 2px;
    font-weight: 700;
}

.stat-item .stat-label {
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .stats-section {
        padding: 2.5rem 0;
        margin: 0;
    }

    .stats-grid {
        gap: 25px;
    }

    .stat-item {
        flex: 1 1 40%;
        max-width: 160px;
    }

    .stat-item h3.stat-number {
        font-size: 2rem;
    }

    .stat-item .stat-label {
        font-size: 0.7rem;
    }
}