:root {
    --bg-color: #f5f5ee;
    --text-color: #312f2e;
    --accent-color: #cc7a6f;
    --white: #ffffff;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype-variations'); 
    src: url('../assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; touch-action: manipulation; }
section[id], div[id] { scroll-margin-top: 70px; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 54px;
    -webkit-text-size-adjust: 100%; 
    text-size-adjust: 100%;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.section-padding { padding-top: 40px; padding-bottom: 40px; padding-left: 20px; padding-right: 20px; }
.container { max-width: 1000px; margin: 0 auto; }
.mobile-break { display: none; }

.navbar {
    height: 70px;
    width: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; 
    top: 0; left: 0;
    background-color: var(--bg-color); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000; 
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
}

.nav-links { display: flex; align-items: center; gap: 25px; list-style: none; }
.nav-links li { position: relative; }

.nav-links a:not(.btn-nav-contact) {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a:not(.btn-nav-contact):hover { color: var(--accent-color); }

.nav-links .btn-nav-contact {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    background-color: var(--accent-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
}

.nav-links .btn-nav-contact:hover {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: var(--white);
    transform: none; 
    box-shadow: none;
}

.logo img { height: 30px; width: auto; display: block; }

.dropdown-menu {
    position: absolute;
    top: 160%;
    left: 50%;
    margin-top: 20px;
    transform: translateX(-50%) translateY(10px); 
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: var(--bg-color);
    min-width: 160px;
    width: max-content;
    padding: 8px 0;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    z-index: 1000;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -30px;
    height: 30px;
    left: 0;
    width: 100%;
    background-color: transparent;
}

.dropdown:hover .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateX(-50%) translateY(0); 
}

.nav-links .dropdown-menu a {
    display: block;
    padding: 8px 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    text-align: center;
}

.nav-links .dropdown-menu a:hover { background-color: rgba(0,0,0,0.03); color: var(--accent-color); }
.dropdown-menu li { display: block; margin: 0; }

.dropdown-trigger::after {
    content: ' ▾';
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s;
    display: inline-block;
}

.dropdown:hover .dropdown-trigger { color: var(--accent-color); }
.dropdown:hover .dropdown-trigger::after { transform: rotate(180deg); }

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }

.image-bg,
.video-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(49, 47, 46, 0.4), rgba(49, 47, 46, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    letter-spacing: 2px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-text h2,
.gallery h2,
.testimonials h2,
.contact-section h2 { text-align: center; }

.btn-primary {
    display: inline-block;
    padding: 12px 20px;
    background-color: var(--accent-color);
    color: var(--white);
    margin-top: 20px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero .btn-primary {
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    display: inline-block; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero .btn-primary:hover {
    background-color: var(--text-color);
    color: var(--white);
    border-color: var(--text-color);
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.gallery-cta-text {
    font-size: 1.1rem;
    color: #312f2e;
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 0px;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 26px;
    background-color: var(--accent-color); 
    color: var(--white);
    border: 2px solid var(--accent-color);
    font-size: 0.9rem;
    font-weight: 450;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: var(--white);
    transform: translateY(-2px);
}

.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.about h2, .gallery h2, .testimonials h2, .footer h2 {
    font-size: 2.5rem;
    margin-bottom: 17px;
    color: var(--accent-color);
}

.about-text p { 
    text-align: justify; 
    line-height: 1.8; 
    position: relative; 
    padding-bottom: 20px; 
    margin-bottom: 0; 
}

.about-text p:last-child::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0px;
    left: -10px;
}

.about-image img { border-radius: 16px; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 70px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.testimonial-card:hover { transform: translateY(-5px); }

.quote-icon {
    font-family: 'Times New Roman', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: -20px;
}

.testimonial-card p { 
    font-style: italic; 
    color: #555; 
    margin-bottom: 20px; 
    position: relative; 
    z-index: 1; 
}

.testimonial-card .author {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.gallery-item { position: relative; cursor: pointer; overflow: hidden; }

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }
.portfolio-cta { text-align: center; margin-top: 40px; }

.lightbox {
    display: none;
    position: fixed; 
    z-index: 10000;
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(30, 30, 30, 0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 85%; 
    max-height: 85vh;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    border-radius: 2px;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
    line-height: 1;
}

.close-btn:hover { color: var(--accent-color); transform: rotate(90deg); }

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    padding: 0;
    line-height: 0;
}

.nav-arrow:hover { 
    opacity: 1; 
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 15px rgba(204, 122, 111, 0.6);
}

.nav-arrow svg { width: 30px; height: 30px; stroke: var(--white); transition: stroke 0.3s; }
.prev { left: 30px; }
.next { right: 30px; }
.fade-out { animation: fadeOut 0.3s ease forwards; }

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.slide-anim { animation: slideChange 0.4s ease; }

@keyframes slideChange {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.icon-svg {
    width: 30px; 
    height: 30px;
    margin-bottom: 10px;
    fill: var(--text-color);
    transition: fill 0.3s ease;
}

.contact-link:hover { color: var(--accent-color); }
.contact-link:hover .icon-svg { fill: var(--accent-color); }

.cta-module {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 80px 20px 60px;
}

.cta-module h2 { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px; }
.cta-module p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 40px; line-height: 1.6; }
.social-links { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    transition: 0.3s;
}

.social-btn svg { width: 20px; height: 20px; fill: var(--accent-color); }

.social-btn:hover { 
    background-color: var(--white); 
    color: var(--text-color); 
    border-color: var(--white); 
}

.main-footer {
    background-color: #272524;
    color: var(--white);
    padding-top: 40px; 
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.main-footer .container {
    max-width: 1100px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 40px;
    padding-bottom: 20px; 
    justify-content: center;
}

.footer-logo { height: 22px; margin-bottom: 10px; filter: brightness(0) invert(1); }

.brand-tagline {
    font-style: italic;
    opacity: 0.6;
    font-size: 0.85rem;
    max-width: none; 
    white-space: nowrap; 
}

.footer-nav h4, .footer-services h4 {
    color: var(--accent-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul, .footer-services ul { list-style: none; padding: 0; }
.footer-nav li, .footer-services li { margin-bottom: 8px; }

.footer-nav a, .footer-services a {
    opacity: 0.7;
    transition: 0.3s;
    text-decoration: none;
    color: var(--white);
    font-size: 0.85rem;
}

.footer-nav a:hover, .footer-services a:hover { opacity: 1; color: var(--accent-color); }

.footer-bottom {
    border-top: none;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 30px;
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.4;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.footer-logo {
    display: block;      
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 10px; 
    height: 22px;
    width: auto;
}

.brand-tagline {
    margin: 0;
    padding: 0;
    text-align: left;
    line-height: 1.5; 
    font-style: italic;
    opacity: 0.6;
    font-size: 0.85rem;
    white-space: nowrap; 
}

.payment-methods {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 5px;
    border-top: 1px solid rgba(255,255,255,0.05); 
    width: 100%;
}

.payment-methods p { font-size: 0.8rem; margin-bottom: 5px; opacity: 0.6; letter-spacing: 0.5px; }
.payment-methods img { height: 45px; width: auto; display: inline-block; opacity: 0.7; }
.page-header { background-color: var(--bg-color); padding: 60px 20px 20px; text-align: center; }

.page-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--accent-color);
    letter-spacing: 1px;
    font-weight: 700;
}

.page-header p { color: var(--text-color); font-size: 1.1rem; margin-top: 10px; opacity: 0.8; }
.portfolio-filter { text-align: center; margin-bottom: 40px; }

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.portfolio-grid { column-count: 3; column-gap: 20px; column-fill: balance; margin: 0; padding: 0; }

@keyframes zoomFadeIn {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    transition: none; 
}

.animate-in { animation: zoomFadeIn 0.5s ease-out forwards; }
.hide { display: none !important; }

.portfolio-item img {
    width: 100%;
    display: block;
    border-radius: 2px;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.03); }

.overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background-color: var(--accent-color); 
    color: var(--white);
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.portfolio-item:hover .overlay { height: 50px; }

.portfolio-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.btn-filled, 
.btn-outline {
    display: inline-block;
    padding: 11px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    min-width: 220px;
    border: 2px solid var(--accent-color);
}

.btn-filled { background-color: var(--accent-color); color: var(--white); }

.btn-filled:hover {
    background-color: var(--text-color); 
    border-color: var(--text-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline { background-color: transparent; color: var(--accent-color); }

.btn-outline:hover { 
    background-color: var(--accent-color); 
    color: var(--white); 
    transform: translateY(-3px); 
}

.services-intro-header { 
    text-align: center; 
    padding-top: 60px; 
    padding-bottom: 20px; 
    max-width: 800px; 
    margin: 0 auto; 
}

.services-intro-header h2 { font-size: 2.2rem; color: var(--accent-color); margin-bottom: 10px; }
.services-intro-header p { font-size: 1.1rem; color: var(--text-color); }

.service-hero-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 40px;
}

.service-hero-block.reverse { flex-direction: row-reverse; }
.service-img-col { flex: 1; width: 100%; }

.service-img-col img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 4/3; 
    object-fit: cover;
}

.service-txt-col { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.service-txt-col h3 {font-size: 2rem; color: var(--accent-color); margin-bottom: 20px; line-height: 1.2; }

.service-txt-col p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: justify;
}

.block-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,0.05);
    margin: 60px 0;
}

.btn-primary:hover {
    background-color: var(--text-color); 
    border-color: var(--text-color);
    color: var(--white);
    transform: none; 
    box-shadow: none; 
}

.section-title { text-align: center; margin-bottom: 50px; }

.section-title h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-top: 10px;
    font-weight: 700;
}

.faq-section { padding: 80px 0; background-color: var(--bg-color); }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); margin-bottom: 10px; }

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.plus {
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 1.5rem;
    font-weight: 400; 
    line-height: 1;
    display: flex;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding: 0; 
}

.faq-answer p {
    padding-top: 15px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 30px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.6;
    text-align: justify;
}

.faq-item.active .faq-answer { max-height: 500px; }
.faq-item.active .plus { transform: rotate(45deg); color: var(--accent-color); }
.faq-item.active .faq-question { color: var(--accent-color); transition: color 0.3s ease; }

.section-separator {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 0 auto 20px auto;
    display: block;
}

.legal-section { padding-top: 120px; padding-bottom: 80px; background-color: var(--bg-color); }

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.legal-header h1 { font-size: 2.2rem; color: var(--accent-color); margin-bottom: 10px; }
.legal-header p { font-size: 0.95rem; color: var(--text-color); opacity: 0.7; }

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
    opacity: 0.9;
}

.legal-content ul { margin-bottom: 20px; padding-left: 20px; }

.legal-content li {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 8px;
    text-align: justify;
    line-height: 1.6;
    opacity: 0.9;
}

.legal-content ol { margin-bottom: 20px; padding-left: 20px; }

.legal-content ol li {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 8px;
    text-align: justify;
    line-height: 1.6;
    opacity: 0.9;
}

.legal-content a { color: var(--accent-color); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.page-main-container { margin-top: 20px; min-height: 60vh; }
.page-intro-title { text-align: center; margin-bottom: 50px; }

.page-intro-title h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-top: 10px;
    margin-bottom: 6px;
    font-weight: 700;
}

.page-intro-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    opacity: 0.8;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 0 auto;
}

.tally-wrapper { 
    max-width: 800px; 
    margin: 0 auto; 
    width: 100%; 
    height: 670px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--white);
    border-radius: 8px;
}

.tracker-search-container { max-width: 320px; margin: 0 auto 50px auto; text-align: center; }
.tracker-error-msg { color: #d9534f; margin-top: 15px; font-size: 0.9em; display: none; }

.tracker-input {
    width: 100%;
    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    border: 1px solid rgba(49, 47, 46, 0.2);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-color);
    transition: all 0.3s ease;
    outline: none;
}

.tracker-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(204, 122, 111, 0.15);
}

.btn-tracker {
    width: 100%;
    margin-top: 15px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.btn-tracker:hover {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 35px;
    padding-right: 20px;
    box-sizing: border-box;
    width: 100%;
}

.timeline { position: relative; padding-left: 35px; margin-top: 40px; }
.timeline-step:last-child::before { display: none; }

.timeline-step {
    position: relative;
    margin-bottom: 35px;
    opacity: 0.35;
    transition: all 0.4s ease;
}

.timeline-icon {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 3px solid rgba(49, 47, 46, 0.2);
    box-shadow: 0 0 0 4px transparent; 
    z-index: 2;
    transition: all 0.4s ease;
}

.timeline-step::before,
.timeline-step.completado::before {
    content: '';
    position: absolute;
    left: -28px; 
    top: 25px; 
    height: calc(100% + 11px); 
    width: 2px;
    z-index: 1;
}

.timeline-step::before { background-color: rgba(49, 47, 46, 0.1); }
.timeline-step.completado::before { background-color: var(--accent-color); }
.timeline-step.completado { opacity: 1; }

.timeline-step.completado .timeline-icon {
    background-color: var(--accent-color); 
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(204, 122, 111, 0.15);
}

.timeline-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.6;
    margin-top: 3px;
    font-style: italic;
    min-height: 18px; 
}

.timeline-content p {
    margin-top: 5px;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
}

.contacto-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    margin-top: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.contacto-seccion { margin-bottom: 40px; }

.contacto-subtitulo {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.contacto-texto {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
    text-align: center;
}

.contacto-txt-linea1 { display: block; }
.contacto-txt-linea2 { display: inline; }
.contacto-enlaces-grid { display: flex; flex-direction: column; gap: 20px; }
.contacto-enlace-item { text-align: center; }

.contacto-enlace-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 10px;
    font-weight: 500;
}

.contacto-btn {
    width: 100%;
    max-width: 270px;
    margin: 0 auto;
    padding: 12px;
    text-align: center;
    border-width: 1.5px;
    display: block;
}

.contacto-sociales { display: flex; gap: 15px; justify-content: center; }

.contacto-social-btn {
    width: 160px;
    justify-content: center;
    background-color: var(--text-color);
    color: var(--white);
    border-color: var(--text-color);
    transition: all 0.3s ease;
}

.contacto-social-btn svg { fill: var(--white); transition: fill 0.3s ease; }

@media (hover: hover) {
    .contacto-social-btn:hover {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
        color: var(--white); }

    .contacto-social-btn:hover svg { fill: var(--white); }
}

.contacto-tally {
    width: 95%;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 10px;
    height: 510px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}





@media (hover: hover) { .menu-toggle:hover svg { stroke: var(--accent-color); } }

@media (max-width: 992px) {
    .service-hero-block, 
    .service-hero-block.reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding-top: 40px;
    }
    
    .service-txt-col p { text-align: justify;}
    .service-txt-col h3 { font-size: 1.8rem; }
    .service-hero-block.reverse .service-img-col { order: -1; }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 200;
        height: 40px; 
        width: 40px;
    }

    .menu-toggle svg {
        width: 32px;
        height: 32px;
        transition: stroke 0.3s ease;
        stroke: var(--text-color);
    }

    .menu-toggle svg line { transition: all 0.3s ease; }
    .menu-toggle svg line:nth-child(1) { transform-origin: 12px 12px; }
    .menu-toggle svg line:nth-child(2) { transform-origin: 12px 6px; }
    .menu-toggle svg line:nth-child(3) { transform-origin: 12px 18px; }

    .menu-toggle.is-active svg line:nth-child(1) { opacity: 0; }
    .menu-toggle.is-active svg line:nth-child(2) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle.is-active svg line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 90px;
        right: 5%;
        width: 220px;
        background-color: var(--bg-color);
        padding: 25px 15px 10px 15px; 
        padding-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(49, 47, 46, 0.15);
        opacity: 0;
        visibility: hidden; 
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
        z-index: 150;
        pointer-events: none; 
    }

    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
    .nav-links li { margin: 0; width: 100%; display: block; }

    .nav-links a:not(.btn-nav-contact) {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 32px; 
        padding: 0px 0px;        
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-color);
        border-bottom: none; 
    }

    .nav-links > li > a:not(.dropdown-trigger):not(.btn-nav-contact) { height: 20px; }
    .nav-links li:last-child a:not(.btn-nav-contact) { border-bottom: none; }

    .nav-links a:not(.btn-nav-contact):hover { 
        background-color: #fafafa; 
        color: var(--accent-color); 
    }

    .nav-links .btn-nav-contact {
        display: block;
        margin: 2px auto 15px auto;
        width: fit-content;
        min-width: 170px;
        max-width: 80%;
        border-radius: 6px;
        padding: 12px 20px;
        text-align: center;
        font-size: 0.9rem;
        text-transform: uppercase;
    }

    .nav-links a.dropdown-trigger {
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--text-color);
        opacity: 0.6;        
        margin-top: 5px;
        margin-bottom: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: 100%;
        height: auto;
        background-color: transparent;
        pointer-events: none; 
    }

    .dropdown-trigger::after { content: none; }

    .nav-links a.dropdown-trigger::before,
    .nav-links a.dropdown-trigger::after {
        content: '';
        display: block;
        height: 1px;
        width: 30px;
        background-color: var(--accent-color);
        opacity: 0.5;
        margin: 0;
    }
    
    .nav-links a.dropdown-trigger:hover {
        background-color: transparent;
        color: var(--text-color);
    }

    .dropdown-menu {
        position: static; 
        background-color: transparent;
        box-shadow: none;
        opacity: 1; visibility: visible;
        transform: none;
        padding: 0;
        min-width: auto;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dropdown-menu::before { display: none; }

    .nav-links .dropdown-menu a {
        padding: 10px 0;
        font-size: 1rem;
        color: var(--accent-color); 
        text-align: center; 
        width: 100%;
        display: block;
    }
    
    .about .container { grid-template-columns: 1fr; }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        margin-bottom: 30px;
    }

    .contact-item { width: auto; }
    .mobile-break { display: inline; }
    .hero h1 { font-size: 2rem; padding: 0 10px 10px 10px; }
    .hero p { font-size: 1.2rem; padding: 0 15px 100px 15px; line-height: 1.4; }
    .hero-content { padding-bottom: 90px; }

    .hero .btn-primary,
    .hero .btn-primary:hover,
    .hero .btn-primary:active {
        transform: none; 
        transition: none;
        box-shadow: none;
    }

    .image-bg, .video-bg { object-position: center center; }
    .portfolio-grid { column-count: 2; }
    .container { padding-left: 12px; padding-right: 12px; width: 100%; }

    .about-text h2,
    .gallery h2,
    .testimonials h2,
    .contact-section h2 { font-size: 1.8rem; line-height: 1.2; margin-bottom: 30px; }

    .about .container { margin-bottom: -20px; }
    .gallery-grid { margin-top: 50px; }

    .gallery h2,
    .testimonials h2 { position: relative; margin-top: 30px; }

    .gallery h2::before,
    .testimonials h2::before {
        content: '';
        display: block;
        width: 100px;
        height: 1px;
        background-color: var(--accent-color);
        margin: 0 auto 20px auto;
    }

    .testimonial-card:hover {
        transform: none;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    }

    .lightbox img, 
    .lightbox-content { max-width: 80vw; max-height: 70vh; }

    .nav-arrow { width: 40px; height: 50px; opacity: 1; }
    .nav-arrow svg { width: 24px; height: 24px; }

    .prev { left: 10px; }
    .next { right: 10px; }

    .portfolio-item:hover img, .gallery-item:hover img { transform: none; }
    .portfolio-item:hover .overlay, .gallery-item:hover .overlay { height: 0; opacity: 0; }
    .portfolio-actions { flex-direction: row; gap: 20px; padding: 0; width: 100%; }

    .btn-filled, 
    .btn-outline {
        width: auto;
        min-width: 0;
        flex: 1;
        padding: 12px 4px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        white-space: normal;
        line-height: 1.1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
        min-height: 45px;
        transition: none; 
    }

    .btn-secondary { transition: none; }

    .btn-filled:hover, 
    .btn-outline:hover,
    .btn-filled:active, 
    .btn-outline:active,
    .btn-secondary:hover { transform: none; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; justify-items: center; }
    .brand-tagline { text-align: center; white-space: normal; }
    .cta-module h2 {font-size: 1.7rem; line-height: 1.2; margin-bottom: 15px; }
    .cta-module p { font-size: 1rem; padding: 0 10px; }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        display: flex;
        width: 100%;
        margin-bottom: 30px;
    }

    .services-intro-header,
    .service-hero-block,
    .gallery-grid,
    .portfolio-cta {
        padding-left: 25px;
        padding-right: 25px;
        width: 100%;
        box-sizing: border-box;
    }

    .faq-section .container {
        padding-left: 32px;
        padding-right: 32px;
    }

    .service-img-col img { width: 100%; max-width: 100%; margin: 0 auto; }
    .faq-section { padding-bottom: 80px; }

    .faq-grid { 
        padding-left: 10px; 
        padding-right: 10px; 
        width: 100%; 
        box-sizing: border-box; 
    }

    .faq-question { padding-left: 0; padding-right: 0; }
    
    .faq-answer p { 
        padding-left: 15px; 
        padding-right: 15px; 
        font-size: 0.95rem; 
        text-align: justify; 
    }

    .services-intro-header h2 {
        font-size: 2rem; 
        line-height: 1.2;
        margin-bottom: 15px;
        font-weight: 700; 
    }

    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
        font-weight: 700; 
    }

    .services-intro-header p { font-size: 1rem; padding: 0 10px; }
    .service-txt-col { align-items: center; text-align: center; }
    .service-txt-col p { font-size: 1rem; }
    .service-txt-col .btn-primary { margin: 0 auto; }
    .service-hero-block { padding-bottom: 30px; }
    .gallery-grid { gap: 15px; }
    .page-main-container { margin-top: 30px; min-height: 50vh; }
    .page-intro-title { margin-bottom: 30px; }
    .page-intro-title h2 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 25px; font-weight: 700; }
    .page-intro-text { font-size: 1rem; padding: 0 20px; }
    .tracker-input { padding: 12px 15px; font-size: 16px; margin-bottom: 5px; }
    .tracker-search-container { max-width: 80%; padding: 0 15px; }
    .error-break { display: none; }
    .timeline { padding-left: 25px; margin-top: 30px; }
    .timeline-icon { left: -18px; transform: translateX(-50%); width: 14px; height: 14px; top: 6px; }
    .timeline-content h3 { font-size: 1.05rem; }
    .timeline-date { font-size: 0.8rem; }
    .timeline-content p { font-size: 0.9rem; margin-bottom: 10px; }

    .timeline-step::before,
    .timeline-step.completado::before { left: -19px; top: 24px; height: calc(100% + 13px); }

    .legal-section { padding-top: 14px; padding-bottom: 0;}
    .legal-container { padding: 25px; border-radius: 8px; }
    .legal-header h1 { font-size: 1.6rem; }
    .legal-content { padding: 0 25px 0 25px; }
    .legal-content p, .legal-content li { font-size: 0.9rem; }
    .legal-header { margin-top: 30px;}

    .legal-content h3 {
        font-size: 1.2rem; 
        line-height: 1.5; 
        text-align: justify; 
        text-align-last: left;
    }

    .contacto-layout { grid-template-columns: 1fr; gap: 40px; }
    .contacto-subtitulo { font-size: 1.2rem; margin-bottom: 20px; }

    .contacto-txt-linea2 { display: block; }
    .contacto-btn { max-width: 230px; }
    .contacto-sociales { flex-direction: row; justify-content: center; gap: 10px; }
        
    .contacto-social-btn {
        flex: 1;
        max-width: 150px;
        width: auto;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .contacto-social-btn svg { width: 18px; height: 18px; }
    .tally-wrapper { width: 85%; margin: 0 auto; height: 65vh; }  
}

@media (max-width: 480px) {
    .portfolio-grid { column-count: 1; }
    
    .filter-btn {
    display: inline-block;
    margin: 5px 2px;
    font-size: 0.9rem;
    padding: 8px 15px;
    width: auto;
    }

    .portfolio-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
}

@media (max-width: 992px) and (orientation: landscape) {

    .mobile-break { display: none; }
    
    .nav-links.active { max-height: 80vh; overflow-y: auto; }

    .hero { 
        min-height: auto; 
        height: 100vh; 
        padding-top: 0;
        padding-bottom: 40px;
    }

    .hero-content { padding-bottom: 0; }
    .hero h1 { font-size: 2rem; margin-bottom: 5px; }
    .hero p { font-size: 1rem; margin-bottom: 25px; padding-bottom: 0; }
    .hero .btn-primary { margin-top: 0; }
    .about .container { grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
    .about-text h2 { font-size: 1.6rem; margin-bottom: 10px; }
    .about-text p { font-size: 0.8rem; line-height: 1.65; margin-bottom: 8px; padding-bottom: 10px; }
    .about-image img { max-height: 220px; width: 100%; object-fit: cover; border-radius: 8px; }
    .service-hero-block { flex-direction: row; align-items: center; gap: 30px; }
    .service-hero-block.reverse { flex-direction: row-reverse; }
    .service-txt-col { align-items: flex-start; text-align: justify; }
    .service-txt-col h3 { text-align: left; font-size: 1.4rem; margin-bottom: 10px; }
    .service-txt-col p { text-align: justify;  font-size: 0.85rem;  line-height: 1.5; margin-bottom: 15px; }
    .service-img-col img { max-height: 220px; width: 100%; object-fit: cover; margin: 0; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    .gallery-item img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .testimonial-card { padding: 15px 10px; }
    .testimonial-card .quote-icon { font-size: 2.5rem; margin-bottom: -10px; }
    .testimonial-card p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 10px; }
    .testimonial-card .author { font-size: 0.85rem; }

    .faq-grid,
    .comparison-container { max-width: 550px; margin-left: auto; margin-right: auto; }

    .cta-module h2 { font-size: 1.8rem; }
    .cta-module p { padding: 0 40px; }
    
    .footer-grid {
        grid-template-columns: auto auto auto; 
        justify-content: center; 
        justify-items: start;
        text-align: left; 
        gap: 50px; 
    }
    
    .footer-brand { align-items: flex-start; text-align: left; }
    .brand-tagline { text-align: left; }
    #web-block + div { display: none; }
    .testimonials.section-padding { padding-top: 30px; padding-bottom: 10px; }

    .services-intro-header p {
        max-width: 390px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .page-main-container { margin-top: 10px; min-height: auto; padding-bottom: 50px; }
    .page-intro-title { margin-bottom: 20px; }
    .page-intro-title h2 { font-size: 1.8rem; line-height: 1.2; margin-bottom: 20px; }
    .page-intro-text { max-width: 80%; margin-top: 10px; font-size: 1rem; }
    .tracker-search-container { max-width: 380px; margin: 0 auto 30px auto; }
    .error-break { display: inline; }
    .timeline-wrapper { max-width: 530px; margin: 0 auto; }
    .timeline-step { margin-bottom: 20px; }
    .timeline-content p { margin-bottom: 5px; font-size: 0.85rem; }

    .timeline-step::before,
    .timeline-step.completado::before {
        left: -19px; 
        top: 24px; 
        height: calc(100% - 2px);
    }

    .contacto-txt-linea1 { display: block; }
    .contacto-txt-linea2 { display: inline; }
    .contacto-layout { grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 15px; }
    .contacto-seccion { margin-bottom: 25px; }
    .contacto-sociales { flex-direction: row; }
    .contacto-tally { padding: 5px; height: 120vh; }
    .legal-content { padding: 0 45px 0 45px; }
    .legal-section { padding: 70px 0 70px 0;}
}