/* --- RESET & VARIABLES --- */
/* load Merriweather from Google Fonts for serif headings */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');

:root {
    --bg-color: #ffffff; /* White background */
    --text-color: #0E2066; /* Deep Blue text */
    --secondary-text: #4a578a; /* Lighter blue-grey for secondary text */
    --accent-color: #0E2066;
    --border-color: #e0e4f0; /* Light blue-grey border */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-unit: 2rem;
    --transition-speed: 0.6s;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* utility helpers for Merriweather weights */
.merriweather-300 { font-family: 'Merriweather', serif; font-weight: 300; }
.merriweather-400 { font-family: 'Merriweather', serif; font-weight: 400; }
.merriweather-700 { font-family: 'Merriweather', serif; font-weight: 700; }

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

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

/* --- ANIMATION UTILITIES --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

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

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.section {
    padding: 8rem 0;
}

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

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

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* --- HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--spacing-unit);
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9); /* White semi-transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    font-family: 'Bebas Neue', sans-serif;
}

.logo-img {
    height: 3.5rem;
    width: auto;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.clock {
    font-variant-numeric: tabular-nums;
    font-size: 0.8rem;
    color: var(--secondary-text);
}

/* --- HERO --- */
.hero {
    padding-top: 25vh;
    padding-bottom: 15vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    max-width: 40%;
    height: auto;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.6s forwards;
}

/* --- WHATSAPP BUTTON --- */
.whatsapp-container {
    padding: 1rem 0;
}

.whatsapp-button {
    display: inline-block;
    background-color: var(--accent-color); /* Match website blue */
    color: white;
    padding: 0.72rem 1.35rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.whatsapp-button:hover {
    background-color: #0a1a4a; /* Darker blue on hover */
    transform: translateY(-2px);
}

.whatsapp-icon {
    height: 3rem;
    width: auto;
    vertical-align: middle;
    margin-right: 0.45rem;
    display: inline-block;
}

.hero h1 {
    /* use Merriweather bold for hero title */
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2.5rem;
    max-width: 95%;
    color: var(--accent-color);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.2s forwards;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--secondary-text);
    max-width: 600px;
    font-weight: 600;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 0.4s forwards;
}

/* --- CLIENT MARQUEE --- */
.marquee-section {
    padding: 3.2rem 0;
    /* Deep Blue background for marquee */
    background: var(--accent-color); 
    overflow: hidden;
}

.marquee-section h2 {
    font-size: 1.65em;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    cursor: grab;
    padding: 0 1.6rem;
}

.client-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff; /* White text on blue background */
    margin-right: 3.2rem;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    opacity: 0.9;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 8rem;
}

.client-item img {
    height: 16.8rem !important;
    width: 16.8rem !important;
    flex-shrink: 0;
    object-fit: contain;
}

.client-item:hover {
    opacity: 1;
}

/* --- CARDS --- */
.section-title {
    /* enlarged to improve visibility */
    font-family: 'Merriweather', serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
    color: var(--secondary-text);
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    cursor: pointer;
}

.card-image-wrapper {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f0f2f7; /* Slightly tinted placeholder */
    position: relative;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    transition: transform 0.7s var(--ease-out);
}

.product-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.4;
}

/* --- EDITORIAL SECTIONS --- */
.editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 900px) {
    .editorial {
        grid-template-columns: 1fr 1fr;
    }
}

.editorial-content h2 {
    /* match the larger section titles for consistency */
    font-family: 'Merriweather', serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    color: var(--secondary-text);
}

.editorial-content p {
    /* slightly smaller than before */
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--accent-color);
}

.editorial-image img {
    width: 100%;
    border-radius: 2px;
}

/* --- FOOTER --- */
footer {
    padding: 6rem var(--spacing-unit);
    margin-top: 6rem;
    /* Deep Blue background for footer */
    background: var(--accent-color); 
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-address h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.footer-address p {
    color: #a0a8c0; /* Light blue-grey text for footer */
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: #ffffff;
    opacity: 0.7;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; font-size: 1rem; color: #a0a8c0; }
.footer-links li a:hover { color: #ffffff; }

.copyright {
    margin-top: 6rem;
    font-size: 0.75rem;
    color: #a0a8c0;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-transform: uppercase;
}