/* ==========================================================================
   Homepage Modernization Styles
   ========================================================================== */

/* Hero Section */
.tr-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1a1a1a;
}

.tr-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tr-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.tr-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    padding: 0 20px;
    width: 100%;
}

.tr-hero__title {
    color: #fff;
    font-family: 'alexandria-tin', sans-serif;
    font-size: 54px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 8px;
    text-transform: none;
}

.tr-hero__subtitle {
    color: #fff;
    font-family: 'alexandria-lig', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 35px;
    opacity: 0.9;
}

/* Hero Search Bar */
.tr-hero__search {
    position: relative;
    max-width: 560px;
    margin: 0 auto 30px;
}

.tr-hero__search-form {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    height: 54px;
}

.tr-hero__search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 24px;
    font-family: 'montserrat', sans-serif;
    font-size: 15px;
    color: #222;
    background: transparent;
}

.tr-hero__search-input::placeholder {
    color: #999;
}

.tr-hero__search-btn {
    background: var(--tr-beige, #D9B394);
    border: none;
    padding: 0 28px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
}

.tr-hero__search-btn:hover {
    background: var(--tr-beige-dark, #caa27f);
}

/* Hero Search Results Dropdown */
.tr-hero__search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.tr-hero__search-results.active {
    display: block;
}

/* Hero Quick Links */
.tr-hero__links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.tr-hero__link {
    display: inline-block;
    padding: 10px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    color: #fff;
    font-family: 'montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.08);
}

.tr-hero__link:hover,
.tr-hero__link:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

/* Scroll Indicator */
.tr-hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.tr-hero__scroll .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 60px;
    position: relative;
}

.tr-hero__scroll .mouse::before {
    content: '';
    width: 8px;
    height: 8px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    animation: heroWheel 2s infinite;
}

@keyframes heroWheel {
    to {
        opacity: 0;
        top: 28px;
    }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.tr-section {
    padding: 50px 0;
}

.tr-section--light {
    background: var(--tr-bg-light, #F4F4F4);
}

.tr-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 0 12px;
}

.tr-section__title {
    color: var(--tr-navy, #005279);
    font-family: 'judson', serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.tr-section__title span {
    font-family: 'alexandria-tin', sans-serif;
}

.tr-section__link {
    font-family: 'montserrat', sans-serif;
    font-size: 14px;
    color: var(--tr-beige, #D9B394);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.tr-section__link:hover {
    color: var(--tr-beige-dark, #caa27f);
    text-decoration: none;
}

/* ==========================================================================
   Trust / Social Proof Section
   ========================================================================== */

.tr-trust {
    padding: 40px 0;
    background: #fff;
}

.tr-trust__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.tr-trust__item {
    text-align: center;
    padding: 20px 40px;
    position: relative;
}

.tr-trust__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e0e0e0;
}

.tr-trust__number {
    font-family: 'judson', serif;
    font-size: 42px;
    color: var(--tr-navy, #005279);
    line-height: 1;
    margin-bottom: 6px;
}

.tr-trust__label {
    font-family: 'montserrat', sans-serif;
    font-size: 13px;
    color: var(--tr-text-secondary, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   About Section Polish
   ========================================================================== */

.tr-about {
    padding: 60px 0;
}

.tr-about h2 {
    color: var(--tr-navy, #005279);
    font-family: 'judson', serif;
    font-size: 42px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 20px;
}

.tr-about h2 span {
    font-family: 'alexandria-tin', sans-serif;
}

.tr-about p {
    color: #222;
    font-family: 'montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

/* ==========================================================================
   Services Section Polish
   ========================================================================== */

.tr-services {
    padding: 40px 0 60px;
}

.tr-services__cta {
    display: inline-block;
    background: var(--tr-beige, #D9B394);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'montserratmed', 'Montserrat', sans-serif;
    padding: 12px 32px;
    margin-top: 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.tr-services__cta:hover,
.tr-services__cta:focus {
    background: var(--tr-beige-dark, #caa27f);
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   "Ver Más" Buttons
   ========================================================================== */

.tr-btn-more {
    display: inline-block;
    background: var(--tr-blue-accent, #6BA2C9);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'montserrat', sans-serif;
    padding: 10px 28px;
    margin-top: 25px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.tr-btn-more:hover,
.tr-btn-more:focus {
    background: var(--tr-navy, #005279);
    color: #fff;
    text-decoration: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
    .tr-hero {
        min-height: 75vh;
    }

    .tr-hero__title {
        font-size: 36px;
    }

    .tr-hero__subtitle {
        font-size: 15px;
        letter-spacing: 1px;
        margin-bottom: 25px;
    }

    .tr-hero__search-form {
        height: 48px;
    }

    .tr-hero__search-input {
        padding: 0 18px;
        font-size: 14px;
    }

    .tr-hero__search-btn {
        padding: 0 20px;
    }

    .tr-hero__links {
        gap: 8px;
    }

    .tr-hero__link {
        padding: 8px 20px;
        font-size: 12px;
    }

    .tr-section__title {
        font-size: 28px;
    }

    .tr-trust__item {
        padding: 15px 25px;
    }

    .tr-trust__item:not(:last-child)::after {
        display: none;
    }

    .tr-trust__number {
        font-size: 34px;
    }

    .tr-trust__label {
        font-size: 11px;
    }

    .tr-about h2 {
        font-size: 32px;
        text-align: center;
    }

    .tr-about p {
        text-align: center;
    }
}
