/* Base Styles */
:root {
    --primary-teal: #9FD3CF;
    --dark-teal: #008388;
    --cream-bg: #FCF4CD;
    --red-accent: #D4604A;
    --text-dark: #161616;
    --text-light: #FCF4CD;
    --text-gray: #8D8082;
}

/* Base responsive styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}
/* Reducir espaciado entre caracteres y palabras */

/* Títulos de sección */
#quienes-somos .section-title,
#que-hacemos .section-title {
    letter-spacing: -0.01em !important; /* Ligeramente más juntos */
    word-spacing: normal !important;
}

/* Texto de contenido */
#quienes-somos .section-text,
#que-hacemos .section-text {
    letter-spacing: -0.01em !important; /* Acercar ligeramente los caracteres */
    word-spacing: -0.05em !important; /* Reducir espacio entre palabras */
}
/* Títulos de sección con menos interlineado */
#quienes-somos .section-title,
#que-hacemos .section-title {
    line-height: 1.1 !important; /* Reducido de ~1.2-1.3 */
}

/* Texto normal de los párrafos con interlineado menor */
#quienes-somos .section-text,
#que-hacemos .section-text {
    line-height: 1.3 !important; /* Reducido de ~1.5-1.6 */
}

/* Texto destacado */
.highlight-text {
    line-height: 1.2 !important; /* Interlineado más compacto */
}

/* Texto destacado */
.highlight-text {
    letter-spacing: -0.01em !important;
    word-spacing: -0.03em !important;
}

.highlight-text {
    background: #FFFA82;
    padding: 20px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
    transform: rotate(1deg);
    position: relative;
    font-family: "Comic Sans MS", cursive, sans-serif;
    color: #333;
    text-align: center;
    font-size: 1.2em;
    max-width: 80%;
    margin: 30px auto;
}

.highlight-text::before {
    
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 1.8em;
}

/* Fluid container */
.container {
    width: 100%;
    max-width: 1440px;
    margin:  auto;
    padding:  20px;
}

.section-title {
    font-family: 'Hore', sans-serif;
    font-weight: 400;
    color: var(--dark-teal);
    font-size: 60px;
    margin-bottom: 30px;
    margin-top: -15px; /* Added negative margin to move titles up */
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2rem; /* 32px on tablet */
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 1.75rem; /* 28px on mobile */
    }
}

/* Gradient underline for section titles */
.section-title.gradient-title {
    position: relative;
    display: inline-block;
    padding-bottom: 5px; /* Space for the underline */
    text-decoration: none;
}

.section-title.gradient-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px; /* Slightly thicker for headings */
    width: 100%;
    background-image: linear-gradient(90deg, #D4604A, #FCF4CD);
    background-size: 100% 3px;
    background-repeat: no-repeat;
}

/* Increased height navbar */
.navbar {
    background-color: rgba(252, 244, 205, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    height: 90px; /* Increased from 50px to 70px */
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease;
}

/* Wider navbar container */
.navbar-container {
    max-width: 1600px; /* Increased from 1440px */
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 10px 100px; /* Increased side padding from 60px to 100px */
    height: 100%;
}

/* Make logo slightly larger for balance */
.logo-container {
    flex: 0 0 140px; /* Increased from 120px to 140px */
}

.logo {
    width: 100%;
    height: auto;
    margin-top: 0; /* Reset from -5px since navbar is now at normal position */
}

/* Add these styles to your CSS file */
.logo-container a {
    display: block;
    text-decoration: none;
}

.logo-container a:hover {
    opacity: 0.9; /* Subtle hover effect */
    cursor: pointer;
}

/* Adjust spacing between nav items for longer navbar */
.main-nav {
    margin-left: auto;
    margin-top: 0; /* Reset from -3px */
}

.main-nav ul {
    display: flex;
    gap: 50px; /* Increased from 30px to 50px for more spacing */
    list-style: none;
}

/* Slightly larger navigation text */
.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Hore', sans-serif;
    font-size: 22px; /* Increased from 20px */
    font-weight: 400;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--red-accent);
}

/* Taller hero section */
.hero {
    margin-top: 0;
    padding-top: 90px; /* Increased from 50px to account for taller navbar */
    background-color: var(--cream-bg);
    min-height: 750px; /* Increased from 550px to 750px */
    position: relative;
    overflow: hidden;
    padding-left: 115px;
    padding-right: 115px;
    padding-bottom: 50px; /* Increased from 30px */
    display: flex;
    align-items: center; /* Changed from flex-start to center for better vertical alignment */
    justify-content: flex-end;
}

/* Adjusted hero content vertical position */
.hero-content {
    width: 100%;
    max-width: 694px;
    position: relative;
    z-index: 2;
    padding-top: 20px; /* Reduced from 30px */
    margin-right: 60px;
    }
    
/* Hero title adjustments for 4 lines */
.hero-title {
    font-family: 'Hore', sans-serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 1.2; /* Adjusted line height */
    margin-bottom: 15px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
    align-items: flex-start;
    }
    
.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3,
.hero-title .line-4 {
    display: block; /* Makes each span a block element creating line breaks */
}

.hero-title .line-3 {
    margin-top: -5px; /* Adjust spacing between lines as needed */
    margin-bottom: -5px;
}

.hero-title .accent {
    color: var(--red-accent);
    font-size: 72px;
}

.hero-images {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Gallery styles */
.hero-gallery {
    margin-top: 15px; /* Reduced from 25px */
}

/* Update the thumbnail container to ensure proper positioning */
.gallery-thumbnails {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative; /* Add this */
    padding-bottom: 15px; /* Increased from 10px */
    overflow: visible !important; /* Ensure the indicator isn't being clipped */
}

/* Make sure thumbnails have proper positioning context */
.thumbnail {
    width: 120px; /* Reduced from 130px */
    height: 100px; /* Reduced from 110px */
    object-fit: contain; /* Changed from cover to contain */
    cursor: pointer;
    transition: all 0.3s ease;
    /* Removed: box-shadow, border-radius */
    
    /* Instead of border, use a subtle highlight or drop shadow when active */
    padding: 3px; /* Space for the active state indicator */
    position: relative; /* Added for positioning the indicator */
    margin-bottom: 8px !important; /* Reduced from 15px to 8px */
    border: none !important; /* Ensure no borders are interfering */
}

.thumbnail:hover {
    transform: translateY(-3px); /* Reduced from -5px for subtler effect */
}

.thumbnail.active {
    /* Instead of a border, use a drop shadow or glow */
    filter: none; /* Remove the drop shadow filter */
    transform: translateY(-3px); /* Reduced from -5px */
    /* Removed: box-shadow */
}

/* Make the indicator more visible and ensure it appears */
.thumbnail.active::after {
    content: "" !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60% !important;
    height: 4px !important;
    background-color: #D4604A !important;
    border-radius: 2px !important;
    display: block !important;
    z-index: 10 !important;
    opacity: 1 !important; /* Ensure it's fully visible */
}

/* Make featured image more proportional to the taller hero */
.hero-featured-image {
    width: 650px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    margin-top: 30px; /* Adjusted for better positioning */
    overflow: hidden;
   
}

/* Simple slide transition - no shadows */


#featured-image {
    width: 100%;
    height: auto;
    position: relative;
    left: 0;
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* Vertical blinds transition effect */
.blinds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.blind-slat {
    position: absolute;
    top: 0;
    height: 100%;
    transform: translateY(-100%);
    animation: blindReveal 0.7s forwards;
}

@keyframes blindReveal {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-featured-image img {
    width: 100%;
    height: auto; /* Auto height preserves aspect ratio */
    object-fit: contain; /* Changed from cover to contain */
    transition: transform 0.5s ease;
    /* Optional: add drop shadow to the image itself instead of the container */
    
}

/* Remove the old backdrop positioning if not needed */
.hero-backdrop {
    display: none; /* Hide or adjust as needed */
}

/* About Section */
.about-section {
    background-color: var(--primary-teal);
    padding: 90px 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    position: relative;
}

.about-image, .what-we-do-image {
    position: relative;
}

.team-image, .services-image {
    width: 100%;
    height: auto;
    border-radius: 50px;
    object-fit: cover;
}

.image-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.control-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--dark-teal);
    background: transparent;
    cursor: pointer;
}

.control-dot.active {
    position: relative;
}

.control-dot.active::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-content, .what-we-do-content {
    padding: 0 20px;
}

.section-text {
    font-size: 32px;
    color: rgba(0, 0, 0, 0.83);
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1.28px;
    margin-bottom: 20px;
}

/* Updated image container with exact dimensions */
.about-image-container {
    margin: 0 auto;
    width: 673px; /* Exact width as requested */
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 475px; /* Adjust as needed */
    overflow: hidden;
    border-radius: 12px;
}

.about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateX(100%); /* Start off-screen to the right */
    transition: transform 0.6s ease-in-out; /* Increased from 0.4s to 0.8s for slower transition */
    border-radius: 12px;
    cursor: pointer;
}

.about-image.active {
    transform: translateX(0); /* Centered when active */
    z-index: 1;
}

/* Hide all images by default */
.image-wrapper .about-image:not(.active) {
    transform: translateX(-100%); /* Move inactive images off-screen to the left */
}

/* Slide animations */
.slide-in-right {
    transform: translateX(0);
}

.slide-in-left {
    transform: translateX(0);
}

.slide-out-right {
    transform: translateX(100%);
}

.slide-out-left {
    transform: translateX(-100%);
}

/* Starting positions for animations */
.about-image.slide-in-right {
    transform: translateX(100%);
}

.about-image.slide-in-left {
    transform: translateX(-100%);
}

/* Ensure images slide in the correct direction */
.about-image.active.slide-in-right {
    animation: slideInFromRight 0.5s forwards;
}

.about-image.active.slide-in-left {
    animation: slideInFromLeft 0.5s forwards;
}

/* Animations for slide transitions */
@keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Center position */
.about-image.position-center {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 3;
}

/* Right position */
.about-image.position-right {
    opacity: 0.7;
    transform: translateX(50%) scale(0.8);
    z-index: 2;
}

/* Left position */
.about-image.position-left {
    opacity: 0.7;
    transform: translateX(-50%) scale(0.8);
    z-index: 1;
}

/* Only show active image on mobile */
@media (max-width: 768px) {
    .about-image {
        opacity: 0;
        transform: translateX(0) scale(0);
    }
    .about-image.position-center {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* General image container styles */
#hacemos-container {
    width: 673px;
    max-width: 100%;
}

#hacemos-container .image-wrapper {
    height: 433px;
}

/* Who We Are section - slightly smaller */
#quienes-container {
    width: 600px; /* Smaller width */
    max-width: 100%;
}

#quienes-container .image-wrapper {
    height: 475px; /* Smaller height */
}

/* Dot indicators styling */
.image-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.image-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-dot.active {
    background-color: #D4604A;
    transform: scale(1.2);
}

/* Our Brands Section */
.brands-section {
    background-color: var(--cream-bg);
    padding: 25px 0;
    text-align: center;
}

.brands-section .section-title {
    color: var(--red-accent);
    font-size: 64px;
    margin-bottom: 40px;
    margin-top: -30px; /* Move brands title up */
}

.brands-container {
    display: flex;
    justify-content: center;
    gap: 100px;
    align-items: center;
}

/* General brand logo sizing */
.brand-logo {
    max-width: 288px;
    height: auto;
    margin: 0 20px;
}

/* Specific sizing for the LOGO_oficial image */
.brands-container img[src*="LOGO_oficial"] {
    width: 287px;
    height: 186px;
    object-fit: contain;
}

/* Brand logo links styling */
.logo-link {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-link:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 8px rgba(0,0,0,0.1));
}

/* Specific sizing for the LOGO_oficial image */
.oficial-logo {
    width: 287px;
    height: 186px;
    object-fit: contain;
}

/* FAQ Section */
.faq-section {
    background-color: var(--primary-teal);
    padding: 99px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-section .section-title {
    color: var(--dark-teal);
    font-size: 64px;
    text-align: center;
    margin-bottom: 45px;
    margin-top: -25px; /* Move FAQ title up */
}

.faq-container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 43px;
    padding: 20px;
    
}

/* Updated FAQ styles to match your design */
.faq-item {
    width: 100%;
    max-width: 1207.69px;
    min-height: 175px;
    background-color: #D4604A !important;
    border-radius: 40px;
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 10px;
}

/* FAQ question container with forced vertical centering */
.faq-question {
    position: relative; /* Make position relative for absolute positioning inside */
    width: 100%;
    height: 88px; /* Fixed height */
    padding: 0;
    background-color: transparent !important;
    border: none;
    cursor: pointer;
    overflow: visible;
}

/* Question and icon start at bottom (closed state) */
.faq-question span {
    position: absolute;
    left: 30px;
    top: 125% !important; /* Position at bottom when closed */
    transform: translateY(-150%) !important; /* Adjust position up from bottom */
    color: #FCF4CD !important;
    font-size: 25.27px;
    font-family: 'Hore', sans-serif;
    font-weight: 400;
    line-height: 33.68px;
    letter-spacing: -0.72px;
    transition: all 0.3s ease; /* Smooth transition between states */
}

/* Down icon starting position (closed state) */
.down-icon {
    position: absolute;
    right: 30px;
    top: 100% !important; /* Position at bottom when closed */
    transform: translateY(-150%) !important; /* Adjust position up from bottom */
    transition: all 0.3s ease; /* Smooth transition for movement and rotation */
}

/* When open, move both to middle */
.faq-item[data-state="open"] .faq-question span,
.faq-item[data-state="open"] .down-icon {
    top: 50% !important; /* Move to middle when open */
    transform: translateY(-50%) !important; /* Center vertically when open */
}

/* Additional rotation for the icon when open */
.faq-item[data-state="open"] .down-icon {
    transform: translateY(-50%) rotate(180deg) !important; /* Rotate while maintaining centering */
}

/* Updated answer styling for smooth animation */
.faq-answer {
    align-self: stretch;
    max-height: 0; /* Start with zero height */
    overflow: hidden; /* Hide overflow */
    opacity: 0; /* Start transparent */
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, padding 0.3s ease; /* Smooth transitions */
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 30px; /* Horizontal padding only when closed */
    font-size: 18px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 26px;
    font-weight: 500;
}

/* Show answer when open - with smooth animation */
.faq-item[data-state="open"] .faq-answer {
    max-height: 500px; /* Large enough for your content */
    opacity: 1; /* Fade in */
    padding: 30px; /* Full padding when open */
}

/* Make transition for the border smoother too */
.faq-item .faq-question {
    border-bottom: 1px solid rgba(211, 211, 211, 0); /* Transparent border */
    transition: border-color 0.3s ease; /* Smooth border transition */
}

.faq-item[data-state="open"] .faq-question {
    border-bottom: 1px solid rgba(211, 211, 211, 1); /* Visible border */
}

/* Updated shadow when open */
.faq-item[data-state="open"] {
    box-shadow: 0px 20px 50px 5px rgba(0, 0, 0, 0.5);
}

/* Footer Section */
.footer {
    background-color: var(--cream-bg);
    padding: 40px;
    padding-left: 7%;
    padding-right: 7%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 50px;
}

/* Ensure consistent padding in footer columns */
.footer > div {
    padding: 0 15px; /* Add consistent padding to all columns */
    box-sizing: border-box;
}

/* Remove any extra padding that might be causing the issue */
.footer > div:nth-child(3) {
    padding-left: 15px !important; /* Force consistent left padding */
    padding-right: 15px !important; /* Force consistent right padding */
}

.footer h3 {
    color: var(--red-accent);
    font-size: 32px;
    font-family: 'Hore', sans-serif;
    font-weight: 500;
    margin-bottom: 56px;
    white-space: nowrap !important; /* Prevent line breaks */
    overflow: visible !important; /* Allow text to extend beyond container */
    max-width: none !important; /* Don't limit width */
    text-overflow: clip !important; /* Don't add ellipsis */
    display: block !important; /* Ensure proper display */

    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    
}

/* Adjust title alignment while maintaining padding */
.footer > div:nth-child(3) h3 {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    width: auto !important;
}

/* Make sure social links align with the title */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: flex-start;
    padding-left: 0 !important; /* No padding on the left */
    margin-left: 0 !important; /* No margin on the left */
}

/* Ensure brand social sections align properly */
.brand-social {
    align-self: flex-start;
    text-align: left;
    width: 100%;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 30px !important; /* Add space between brand social sections */
}

/* H4 titles should also align */
.brand-social h4 {
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.address {
    font-size: 18px;
    max-width: 337px;
}

.email {
    font-size: 16px;
}

.phone {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    position: relative;
    background-color: #25D366;
    clip-path: circle();
}

/* Contact Form */
.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 467px;
    width: 100%;
    margin: 0 auto; /* Center the form horizontally */
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 17px 16px;
    background: #F7F7F7;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
}

/* Form field focus styling without border */
.form-field input:focus,
.form-field textarea:focus {
    outline: none !important; /* Remove default focus outline */
    border: none !important; /* Remove any borders */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.35); /* Slightly enhanced shadow instead */
}

/* Prevent textarea resizing */
.form-field textarea {
    resize: none !important; /* Prevent user resizing */
    max-height: 150px; /* Keep consistent height */
}

.submit-button {
    width: 161px;
    padding: 17px 30px;
    background-color: var(--red-accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    align-self: flex-end;
}

/* Social Media */
.footer > div:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: flex-start; /* Align links to the left */
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.redes-section .social-links {
    align-items: flex-start; /* Explicit left alignment for redes section */
}

.brand-social {
    align-self: flex-start; /* Align to left edge */
    text-align: left; /* Left align text within */
    width: 100%;
}

.brand-social h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

/* Simple colored social icons */
.social-link .fa-instagram {
    color: #C13584; /* Instagram purple */
    font-size: 24px;
}

.social-link .fa-facebook-f {
    color: #1877F2; /* Facebook blue */
    font-size: 24px;
}

/* Remove underlines from social links */
.social-link {
    text-decoration: none !important; /* Remove underlines */
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark); /* Keep the text color */
    transition: all 0.3s ease;
}

/* Optional: add hover effect without underline */
.social-link:hover {
    color: var(--red-accent);
    transform: translateY(-3px);
}

/* Styling for contact links */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px; /* Increased from 15px to 30px for more vertical space */
    gap: 10px;
    transition: transform 0.3s ease; /* Add smooth transition */
}

/* Add hover effect to entire contact item */
.contact-item:hover {
    transform: translateY(-3px); /* Same effect as social links - moves slightly up */
}

/* Original brand colors for contact icons */
.contact-item .fa-map-marker-alt {
    color: #EA4335; /* Google Maps/location red */
}

.contact-item .fa-envelope {
    color: #4285F4; /* Email blue */
}

.contact-item .fa-whatsapp {
    color: #25D366; /* WhatsApp green */
}

/* Keep the hover effect on the text only */
.contact-link:hover {
    color: var(--red-accent);
}

.contact-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

/* Responsive typography */
html {
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

/* Responsive design would go here */
@media (max-width: 1200px) {
    /* Responsive styles */
}

/* Specific adjustments for section titles */
.about-section .section-title {
    margin-top: -20px; /* Move "Quienes somos" title up a bit more */
}

.brands-section .section-title {
    margin-top: -10px; /* Move brands title up */
}

.faq-section .section-title {
    margin-top: -25px; /* Move FAQ title up */
}

/* Gallery thumbnails container */
.gallery-thumbnails {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 15px;
}

/* Thumbnail styling */
.thumbnail {
    width: 120px;
    height: 100px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px !important; /* Reduced from 15px to 8px */
    position: relative;
    border: none !important;
}

/* Indicator bar */
.thumbnail-indicator {
    position: absolute;
    height: 4px;
    background-color: #D4604A; /* Red color */
    bottom: 0;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1); /* Smoother transition curve */
}

/* Smooth indicator transition */
.thumbnail-indicator {
    position: absolute;
    height: 6px;
    background-color: #D4604A; /* Red color */
    bottom: 10px; /* Position below thumbnails */
    border-radius: 9px;
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.3s ease; /* Smooth motion */
    z-index: 10;
}

/* Move "What We Do" section upward */
#que-hacemos {
    margin-top: -50px; /* Negative margin pulls it upward */
}

/* If you need to adjust spacing within the section */
#que-hacemos .section-title {
    margin-top: 0; /* Reduce top spacing */
    padding-top: 0; /* Remove any padding */
}

@media (max-width: 768px) {
    #que-hacemos {
        margin-top: 0; /* Reset on mobile to prevent overlap */
    }
}

/* Custom text selection colors */
::selection {
    background-color: #D4604A; /* Your brand red color */
    color: #FCF4CD; /* Cream colored text */
}

/* Firefox requires a separate rule */
::-moz-selection {
    background-color: #D4604A;
    color: #FCF4CD;
}

/* Target specific sections with media queries */
@media (max-width: 768px) {
    /* Tablet adjustments for specific sections */
    .about-section {
        /* Your adjustments here */
    }
}

@media (max-width: 480px) {
    /* Mobile adjustments for specific sections */
    .faq-section {
        /* Your adjustments here */
    }
}

/* Make section titles display on a single line */
.establecimiento-section .contact-subtitle,
.redes-section .contact-subtitle {
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: visible; /* Ensure text isn't cut off */
    width: auto; /* Allow width to adjust to content */
    display: block; /* Ensure proper block display */
}

/* Container adjustments to ensure adequate space */
.establecimiento-section,
.redes-section {
    min-width: 300px; /* Ensure minimum width to fit titles */
}

/* More forceful single-line title fix */
.contact-subtitle {
    white-space: nowrap !important;
    display: inline-block !important;
    width: auto !important;
    text-wrap: none !important;
    overflow: visible !important;
}

/* Specifically target the problematic titles */
.establecimiento-section h3,
.redes-section h3 {
    white-space: nowrap !important;
    max-width: none !important;
    width: auto !important;
}

/* Style for titles that must be single line */
.single-line {
    white-space: nowrap !important;
    width: auto !important;
}

/* Ensure the title is centered but form elements take full width */
.dudas-section h3 {
    text-align: center;
    width: 100%;
}

