/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-dark: #54595f;
    --primary-light: #6f6f6e;
    --bg-white: #f2f2f2;
    --bg-light: #fff;
    --accent-beige: #EFEEE8;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-norm: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    background-color: var(--bg-white);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Editorial */
h1,
h2,
h3,
h4,
.hero-title,
.section-title,
.method-card-title,
.repeater-section-title,
.product-title {
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
    margin-bottom: 2rem;
    font-weight: 700;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--primary-light);
    max-width: 600px;
}

/* Colors Utilities */
.bg-white {
    background-color: var(--bg-white) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-beige {
    background-color: var(--accent-beige) !important;
}

/* Custom Utilities */
.fs-7 {
    font-size: 0.85rem;
}

.filter-white {
    filter: brightness(0) invert(1);
}

.hover-text-white:hover {
    color: #fff !important;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition-all {
    transition: all var(--transition-fast);
}

.bg-dark {
    background-color: var(--primary-dark) !important;
}

.text-dark {
    color: var(--primary-dark) !important;
}

.text-muted {
    color: var(--primary-light) !important;
}

/* Borders */
.border-dark {
    border-color: var(--primary-dark) !important;
    border-width: 1px !important;
}

.border-light {
    border-color: rgba(47, 47, 47, 0.15) !important;
    border-width: 1px !important;
}

/* Section padding */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    border-radius: 30px;
    padding: 1rem 2.5rem;
    font-weight: 500;
    transition: var(--transition-norm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.btn-primary-dark {
    background: var(--primary-dark);
    color: var(--bg-white);
    border: 1px solid var(--primary-dark);
}

.btn-primary-dark:hover {
    background: var(--primary-light);
    color: var(--bg-light);
}

.btn-outline-light {
    border: 1px solid var(--bg-white);
    color: var(--bg-white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--primary-dark);
}

.link-dark {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.link-dark:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.solid-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--primary-dark);
    padding: 1.25rem 0;
    transition: var(--transition-fast);
}

.solid-nav.scrolled {
    padding: 0.75rem 0;
}

.nav-link {
    color: var(--primary-dark);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 85vh;
    padding-top: 180px;
    background-color: var(--primary-dark);
    border-bottom: 1px solid var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(47, 47, 47, 0.4), rgba(47, 47, 47, 0.7));
    z-index: 1;
}

.hero-subtitle {
    display: block;
    color: var(--primary-light);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--primary-light);
    max-width: 650px;
    margin-bottom: 0;
}

/* ==========================================================================
   Swiper Products Section
   ========================================================================== */
.swiper-nav-wrapper {
    display: flex;
    gap: 1rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--primary-light);
}

.swiper-button-disabled {
    opacity: 0.2;
}

.product-item {
    text-decoration: none;
    color: var(--primary-dark);
    display: block;
}

.product-item:hover {
    color: inherit;
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid rgba(84, 89, 95, 0.15);
    border-radius: 1rem;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-norm);
}

.product-item:hover .product-img-wrapper img {
    transform: scale(1.03);
}

.product-title {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.product-subtitle {
    color: var(--primary-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    min-height: 40px;
    /* Keep heights consistent */
}

.cta-link {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 2px;
}

.cta-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-dark);
    transition: var(--transition-norm);
}

.cta-link:hover {
    color: var(--primary-light);
}

.cta-link:hover::after {
    width: 0;
}

/* ==========================================================================
   Metodo Editorial Section
   ========================================================================== */
.method-grid-editorial {
    background-color: var(--bg-light);
}

.column-editorial {
    border-right: 1px solid rgba(84, 89, 95, 0.15);
    border-bottom: 1px solid rgba(84, 89, 95, 0.15);
}

@media (max-width: 991px) {
    .column-editorial:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 767px) {
    .column-editorial:nth-child(2n) {
        border-right: none;
    }
}

.method-card {
    padding: 3rem 2rem;
    height: 100%;
}

.method-index {
    font-size: 2rem;
    font-weight: 200;
    line-height: 1;
    color: var(--primary-dark);
    opacity: 0.3;
}

.method-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.method-card-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.method-card-text {
    color: var(--primary-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ==========================================================================
   Repeater Editorial Section
   ========================================================================== */
.repeater-section-card {
    height: 60vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.repeater-section-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.border-none-mobile {
    border: none;
}

.repeater-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    background: rgba(47, 47, 47, 0.4);
}

.editorial-overlay {
    max-width: 500px;
    color: var(--bg-white);
}

.repeater-section-text {
    color: rgba(242, 242, 242, 0.8);
}

/* ==========================================================================
   Contact Area
   ========================================================================== */
.contact-section {
    border-bottom: 1px solid var(--primary-dark);
}

.editorial-form-wrapper {
    background-color: var(--bg-white);
    border-radius: 1rem;
    padding: 3rem !important;
}

.form-group {
    position: relative;
}

.form-control-editorial {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--primary-dark);
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    border-radius: 0;
    outline: none;
    transition: var(--transition-fast);
}

.form-control-editorial::placeholder {
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control-editorial:focus {
    color: var(--primary-dark);
    background-color: transparent;
    padding-left: 10px;
}

/* Custom Checkbox */
.custom-check .form-check-input {
    border-radius: 0;
    border-color: var(--primary-dark);
    background-color: var(--bg-white);
}

.custom-check .form-check-input:checked {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.custom-check .form-check-input:focus {
    box-shadow: none;
    border-color: var(--primary-dark);
}