:root {
    /* Color Palette */
    --primary: #1a1a1a;
    --text: #4a4a4a;
    --text-light: #767676;
    
    /* Branding Accent (Pink from logo, used subtly) */
    --accent: #c21875;
    --accent-hover: #a61061;
    --accent-soft: rgba(194, 24, 117, 0.04);
    --accent-soft-hover: rgba(194, 24, 117, 0.08);
    
    /* Neutrals */
    --white: #ffffff;
    --bg-light: #fbfbfa; /* Warm off-white/beige for high-end feel */
    --bg-gray: #f4f4f3;
    --border: #e6e6e4;
    
    /* Transitions & Shadows */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-logo: 0 10px 25px rgba(194, 24, 117, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    width: min(1300px, 90%);
    margin: 0 auto;
    position: relative;
}

.narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary);
}

p {
    color: var(--text);
    font-size: 0.95rem;
}

/* Header & Floating Logo */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Fixed height for the white bar */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: min(1400px, 95%); /* Wider container to nudge elements outward */
}

/* Logo container & image */
.logo {
    display: inline-block;
    position: relative;
    height: 60px; /* Container height fits the header */
    width: 150px;
    z-index: 1010;
    margin-left: -20px; /* Shifts the logo slightly into the outer left margins */
}

.logo img {
    height: 88px; /* Slightly smaller to fit better inside the bar */
    width: auto;
    position: absolute;
    top: -4px; /* Raised to keep it centered inside the header bar */
    left: 0;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.08));
}

.logo:hover img {
    transform: scale(1.03) translateY(2px);
    filter: drop-shadow(0 8px 20px rgba(194, 24, 117, 0.15));
}

/* Desktop Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--accent);
    transition: var(--transition);
}

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

nav a:hover::after,
nav li.active a::after {
    width: 100%;
}

nav li.active a {
    color: var(--accent);
}

/* Header Buttons */
.btn-header {
    border: 1px solid var(--primary);
    padding: 12px 24px;
    text-decoration: none;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    background: transparent;
}

.btn-header:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    transform-origin: center;
}

.btn-mobile-menu {
    display: none;
}

/* Buttons System */
.btn-primary, .btn-secondary {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 18px 36px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Specific button dark styling for light backgrounds */
.btn-secondary-dark {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 650px;
    background: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), 
                url('../img/Tienda.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset fixed header */
}

.hero-content {
    max-width: 750px;
    margin-left: 5%;
    color: var(--white);
}

.hero-content span {
    color: var(--white);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    padding-left: 40px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-content span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 25px;
    height: 1px;
    background-color: var(--accent); /* Subtle pink line */
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Services / Features Grid */
.services {
    padding: 120px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 3.5rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service {
    padding: 50px 40px;
    background-color: var(--bg-light);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 24, 117, 0.2);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 30px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service:hover h3 {
    color: var(--accent);
}

.service p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link::after {
    content: '→';
    transition: var(--transition);
}

.service:hover .service-link {
    color: var(--accent);
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* Feature Showcase Split Section */
.feature-showcase {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.showcase-img {
    position: relative;
    box-shadow: var(--shadow-medium);
}

.showcase-img::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    top: 20px;
    left: -20px;
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition);
}

.showcase-img:hover::after {
    top: 15px;
    left: -15px;
}

.showcase-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.showcase-text span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.showcase-text h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
}

.showcase-text p {
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Feature Showcase - Layout Vertical (texto arriba, imagen abajo) */
.showcase-vertical {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.showcase-text-top {
    text-align: left;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
}

.showcase-text-top span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.showcase-text-top h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
}

.showcase-text-top p {
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.showcase-img-full {
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.showcase-img-full img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-img-full:hover img {
    transform: scale(1.02);
}

/* Projects - Grid Vertical (una tarjeta por fila, imagen horizontal) */
.project-grid-vertical {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.project-card-horiz {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 480px;
    box-shadow: var(--shadow-soft);
}

.project-card-horiz img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-card-horiz .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}

.project-card-horiz:hover img {
    transform: scale(1.05);
}

.project-card-horiz:hover .project-overlay {
    opacity: 1;
}

.project-card-horiz:hover .project-overlay h3,
.project-card-horiz:hover .project-overlay p {
    transform: translateY(0);
}

/* Projects Showcase */
.projects {
    padding: 120px 0;
    background-color: var(--white);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    position: relative;
    overflow: hidden;
    height: 450px;
    box-shadow: var(--shadow-soft);
}

.project-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.05s;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p {
    transform: translateY(0);
}

.center {
    text-align: center;
}

.link-projects {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

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

.link-projects:hover {
    color: var(--accent);
}

.link-projects:hover::after {
    background-color: var(--accent-hover);
}

/* About Intro Section */
.about {
    padding: 140px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.about span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.about h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.about p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Call to Action (CTA) */
.cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(rgba(194, 24, 117, 0.04), rgba(194, 24, 117, 0.04)), var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text);
}

/* Footer Section */
footer {
    background: #121212;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
    font-size: 0.9rem;
    border-top: 3px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    height: 45px;
    width: auto;
}

.footer-socials {
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-socials a svg {
    display: block;
    flex-shrink: 0;
}

.footer-socials a:hover {
    color: var(--white);
    border-color: var(--accent);
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* ---------------------------------------------------- */
/* Inner Page Styles */
/* ---------------------------------------------------- */

/* Page Header (Subpage Hero banner) */
.page-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.page-banner-content {
    width: 100%;
}

.page-banner span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.page-banner h1 {
    font-size: 4rem;
    color: var(--white);
}

/* Inner Page Sections */
.inner-section {
    padding: 100px 0;
}

.inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.inner-image img {
    box-shadow: var(--shadow-medium);
    border-radius: 4px;
}

.inner-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.inner-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
}

/* Process Section */
.process-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(194, 24, 117, 0.15);
}

.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    color: var(--accent);
    opacity: 0.25;
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 20px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Specific Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item-icon {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: bold;
}

.contact-item-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item-text p {
    color: var(--text-light);
}

.contact-map-mock {
    background: #eaeae7;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 500;
    border: 1px solid var(--border);
}

.contact-form-container {
    background: var(--bg-light);
    padding: 50px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.contact-form-container h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194, 24, 117, 0.08);
}

/* ---------------------------------------------------- */
/* Responsive Layout Adjustments */
/* ---------------------------------------------------- */

@media (max-width: 1100px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-grid,
    .inner-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 900px) {
    /* Header layout for mobile */
    .header {
        height: 70px;
    }
    
    .logo {
        height: 50px;
        width: 110px;
        margin-left: 0; /* Reset shift on mobile screens */
    }
    
    .logo img {
        height: 72px; /* Adjusted to fit the mobile header height */
        top: -3px; /* Centered in the bar */
    }
    
    /* Toggle Button */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Active State for Toggle */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Mobile Navigation Drawer */
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 0;
        z-index: 999;
        transition: var(--transition);
        overflow-y: auto;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
        margin-bottom: 40px;
    }
    
    nav a {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .btn-header {
        display: none; /* Hide header budget button */
    }
    
    .btn-mobile-menu {
        display: block;
        background: var(--primary);
        color: var(--white);
        text-decoration: none;
        text-transform: uppercase;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 1.5px;
        padding: 15px 30px;
        transition: var(--transition);
        border: 1px solid var(--primary);
        text-align: center;
        width: 80%;
        max-width: 300px;
    }
    
    .btn-mobile-menu:hover {
        background: var(--accent);
        border-color: var(--accent);
    }
    
    /* Hero adjustments */
    .hero {
        background-attachment: scroll; /* Fix parallax bug on iOS/Android */
        height: 65vh;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    /* Section font sizes */
    .section-title h2,
    .about h2,
    .cta h2,
    .showcase-text h2,
    .inner-text h2,
    .page-banner h1 {
        font-size: 2.5rem;
    }

    .page-banner {
        height: 250px;
    }

    .showcase-img-full img {
        height: auto;
    }

    .project-card-horiz {
        height: 350px;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 55vh;
        min-height: 350px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .project-card-horiz {
        height: 240px;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ---------------------------------------------------- */
/* Quiénes Somos & Team Section Styles */
/* ---------------------------------------------------- */

.team-container {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.team-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.team-card {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 24, 117, 0.2);
}

.team-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: var(--bg-gray);
}

.team-img-wrapper.horizontal-wrapper {
    aspect-ratio: 16 / 9;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
}

/* ---------------------------------------------------- */
/* Timeline Section Styles */
/* ---------------------------------------------------- */

.timeline-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    right: -6px;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
    z-index: 10;
    transition: var(--transition);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -6px;
    right: auto;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.5);
    box-shadow: 0 0 0 5px var(--accent-soft);
}

.timeline-date {
    position: absolute;
    top: 22px;
    left: calc(100% + 30px);
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: calc(100% + 30px);
}

.timeline-content {
    background-color: var(--white);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    width: 100%;
}

.timeline-content:hover {
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 24, 117, 0.15);
}

.timeline-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* ---------------------------------------------------- */
/* Quiénes Somos Responsive Layouts */
/* ---------------------------------------------------- */

@media (max-width: 900px) {
    .team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid-2 {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 20px;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 24px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 24px;
    }
    
    .timeline-date {
        position: static;
        margin-bottom: 10px;
        display: block;
    }
    
    .timeline-item:nth-child(even) .timeline-date {
        position: static;
        margin-bottom: 10px;
        display: block;
    }
}

@media (max-width: 600px) {
    .team-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------- */
/* Google Reviews Section Styles */
/* ---------------------------------------------------- */

.reviews-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.review-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.review-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: rgba(194, 24, 117, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    background-color: var(--bg-gray);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.review-meta h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.review-stars {
    color: #ffc107; /* Google Gold */
    display: inline-flex;
    gap: 2px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.review-text-container {
    position: relative;
    max-height: 3.2em; /* Muestra exactamente 2 líneas de texto a 1.6 de line-height */
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text);
}

.review-text-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.review-text-container.expanded {
    max-height: 1000px; /* Suficientemente grande para todo el texto */
}

.review-text-container.expanded::after {
    opacity: 0;
}

.btn-read-more {
    background: transparent;
    border: none;
    color: var(--text-light); /* Gris neutral por defecto */
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    transition: var(--transition);
}

.btn-read-more:hover {
    color: var(--accent); /* Rosa corporativo (#c21875) en hover */
    text-decoration: underline;
}

.reviews-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ---------------------------------------------------- */
/* Google Reviews Responsive Styles */
/* ---------------------------------------------------- */

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .review-card {
        padding: 30px 20px;
    }
}


