/* ============================================
   CR CONSULTORES - Elegant Light Design
   ============================================ */

:root {
    --gold: #b8943e;
    --gold-light: #d4b96a;
    --gold-pale: #f5edd6;
    --gold-dark: #8a6d2b;
    --cream: #faf8f4;
    --cream-dark: #f0ebe0;
    --beige: #e8e2d5;
    --dark: #1a1a1a;
    --dark-soft: #2d2d2d;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --text-muted: #999999;
    --white: #ffffff;
    --border: #e5e0d5;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior-y: none;
}

body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

a, button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

img {
    -webkit-user-drag: none;
    user-select: none;
}

/* ============================================
   LOADER
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--beige);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gold);
    border-radius: 2px;
    animation: loaderFill 2s var(--ease) forwards;
}

@keyframes loaderFill {
    to { width: 100%; }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

.custom-cursor-follower {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(184, 148, 62, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s var(--ease), width 0.3s, height 0.3s;
}

@media (max-width: 768px) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    padding-top: calc(18px + env(safe-area-inset-top, 0));
    background: rgba(250, 248, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s var(--ease);
}

.nav-main.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: var(--ease);
}

.nav-main.scrolled .nav-logo img {
    height: 34px;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color 0.3s var(--ease);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 26px;
    min-height: 44px;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: var(--white);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s var(--ease);
    border-radius: 3px;
}

.nav-cta:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-burger span {
    width: 26px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.4s var(--ease);
    transform-origin: center;
}

.nav-burger.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease);
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin-bottom: 28px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s var(--ease);
}

.mobile-menu.active .mobile-nav-links li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.3s; }

.mobile-link {
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    transition: color 0.3s;
    display: inline-block;
    padding: 8px 0;
    min-height: 44px;
    line-height: 1.4;
}

.mobile-link:hover {
    color: var(--gold);
}

/* ============================================
   HERO SECTION - Editorial Split
   ============================================ */
.hero {
    min-height: calc(var(--vh, 1vh) * 100);
    position: relative;
    overflow: hidden;
    background: var(--cream);
    display: flex;
    flex-direction: column;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 60px);
    flex: 1;
}

/* Hero Left */
.hero-left {
    display: flex;
    align-items: center;
    padding: 0 60px 0 80px;
    position: relative;
    gap: 30px;
}

.hero-number {
    font-family: var(--font-serif);
    font-size: clamp(6rem, 10vw, 10rem);
    font-weight: 300;
    color: var(--border);
    line-height: 1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: -5px;
    user-select: none;
    opacity: 0;
    animation: fadeLeft 1s var(--ease-out) 2.3s forwards;
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-divider-v {
    width: 1.5px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    flex-shrink: 0;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 2.4s forwards;
}

.hero-text-block {
    flex: 1;
    max-width: 480px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 2.5s forwards;
}

.eyebrow-line {
    width: 35px;
    height: 1.5px;
    background: var(--gold);
}

.hero-eyebrow span:last-child {
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--dark);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(35px);
}

.title-line:nth-child(1) { animation: fadeUp 0.7s var(--ease-out) 2.6s forwards; }
.title-line:nth-child(2) { animation: fadeUp 0.7s var(--ease-out) 2.75s forwards; }
.title-line:nth-child(3) { animation: fadeUp 0.7s var(--ease-out) 2.9s forwards; }

.title-accent {
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 3s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 3.1s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Right */
.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-left: 1px solid var(--border);
    padding: 60px 40px;
    overflow: hidden;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 50px;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.stat-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
}

.stat-block:nth-child(1) { animation: fadeUp 0.6s var(--ease-out) 2.6s forwards; }
.stat-block:nth-child(2) { animation: fadeUp 0.6s var(--ease-out) 2.75s forwards; }
.stat-block:nth-child(3) { animation: fadeUp 0.6s var(--ease-out) 2.9s forwards; }
.stat-block:nth-child(4) { animation: fadeUp 0.6s var(--ease-out) 3.05s forwards; }

.stat-big {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
}

.hero-right-decoration {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeUp 0.6s var(--ease-out) 3.2s forwards;
}

.deco-line {
    width: 40px;
    height: 1px;
    background: rgba(201, 169, 97, 0.3);
}

.deco-text {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: rgba(201, 169, 97, 0.4);
    letter-spacing: 3px;
}

.side-stat {
    text-align: right;
}

.side-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold-dark);
    line-height: 1;
}

.side-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 18px 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0));
}

.hero-bottom-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bottom-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.bottom-areas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.bottom-areas span:not(.area-dot) {
    font-size: 0.78rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.area-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

.hero-scroll-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 3.4s forwards;
}

.hero-scroll-hint span {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
    transform: rotate(45deg);
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
    50% { transform: rotate(45deg) translate(3px, 3px); opacity: 1; }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 32px;
    min-height: 48px;
    background: var(--dark);
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    border-radius: 3px;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 148, 62, 0.25);
}

.btn-primary svg {
    transition: transform 0.3s var(--ease);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    min-height: 48px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1.5px solid var(--border);
    transition: all 0.4s var(--ease);
    border-radius: 3px;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.btn-large {
    padding: 18px 42px;
    font-size: 0.85rem;
}

/* ============================================
   TRUST BAR / MARQUEE
   ============================================ */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 28px 0;
}

.trust-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    white-space: nowrap;
}

.trust-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.trust-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.trust-divider {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.3;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
    padding: 110px 0;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    padding-left: 50px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 1.5px;
    background: var(--gold);
}

.section-tag-light {
    color: var(--gold-dark);
}

.section-tag-light::before {
    background: var(--gold);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--dark);
}

.section-title em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}

.section-title-light {
    color: var(--dark);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 520px;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
    background: var(--white);
    position: relative;
}

.servicios-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.servicios-header {
    margin-bottom: 70px;
}

.servicios-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.servicios-list {
    display: flex;
    flex-direction: column;
}

.servicio-item {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 0;
    min-height: 60px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
}

.servicio-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform 0.4s var(--ease);
}

.servicio-item.active::before,
.servicio-item:hover::before {
    transform: scaleY(1);
}

.servicio-item:hover,
.servicio-item.active {
    padding-left: 18px;
}

.servicio-num {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    min-width: 28px;
    transition: color 0.3s;
}

.servicio-item.active .servicio-num,
.servicio-item:hover .servicio-num {
    color: var(--gold);
}

.servicio-info h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--dark);
    transition: color 0.3s;
}

.servicio-item.active .servicio-info h3,
.servicio-item:hover .servicio-info h3 {
    color: var(--gold-dark);
}

.servicio-info p {
    font-size: 0.84rem;
    color: var(--text-light);
    line-height: 1.5;
}

.servicio-arrow {
    margin-left: auto;
    font-size: 1.1rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s var(--ease);
}

.servicio-item.active .servicio-arrow,
.servicio-item:hover .servicio-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--gold);
}

/* Servicios Visual */
.servicios-visual {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: absolute;
    width: 190px;
    height: 250px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: all 0.6s var(--ease);
    opacity: 0;
    transform: scale(0.8) rotate(5deg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.visual-card.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.visual-card .visual-icon {
    font-size: 3.2rem;
}

.visual-card h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--gold-dark);
}

/* ============================================
   NOSOTROS
   ============================================ */
.nosotros {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.nosotros::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184,148,62,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.nosotros-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.nosotros-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.nosotros-blob {
    width: 330px;
    height: 330px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(145deg, var(--white), var(--cream-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: blobMorph 8s ease-in-out infinite;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.04);
}

.nosotros-blob img {
    width: 190px;
    height: auto;
}

@keyframes blobMorph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.nosotros-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 26px;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.nosotros-floating-card.card-1 {
    top: 30px;
    right: 10px;
    animation-delay: 0s;
}

.nosotros-floating-card.card-2 {
    bottom: 40px;
    left: 10px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.floating-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold-dark);
    line-height: 1;
}

.floating-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nosotros-content {
    position: relative;
    z-index: 1;
}

.nosotros-text {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 18px;
}

.nosotros-values {
    margin-top: 38px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.value-icon {
    color: var(--gold);
    font-size: 0.7rem;
    margin-top: 5px;
}

.value-item h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--dark);
}

.value-item p {
    font-size: 0.84rem;
    color: var(--text-light);
}

/* ============================================
   EQUIPO
   ============================================ */
.equipo {
    background: var(--white);
    position: relative;
}

.equipo-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.equipo-header {
    text-align: center;
    margin-bottom: 70px;
}

.equipo-header .section-tag {
    padding-left: 0;
}

.equipo-header .section-tag::before {
    display: none;
}

.equipo-header .section-desc {
    margin: 0 auto;
}

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

.equipo-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    cursor: pointer;
}

.equipo-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-light);
    box-shadow: 0 20px 50px rgba(184, 148, 62, 0.1);
}

.equipo-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: linear-gradient(145deg, var(--cream-dark), var(--beige));
}

.equipo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s var(--ease);
}

.equipo-card:hover .equipo-placeholder {
    transform: scale(1.05);
}

.equipo-placeholder img {
    width: 55%;
    height: auto;
    opacity: 0.25;
}

.equipo-info {
    padding: 22px;
}

.equipo-info h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
}

.equipo-role {
    display: block;
    font-size: 0.72rem;
    color: var(--gold-dark);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.equipo-area {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.cta-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cta-content {
    max-width: 580px;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 18px;
    line-height: 1.2;
    color: var(--white);
}

.cta-content h2 em {
    font-style: italic;
    color: var(--gold-light);
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-decoration {
    opacity: 0.06;
}

.cta-decoration img {
    width: 280px;
    height: auto;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
    background: var(--cream);
    position: relative;
}

.contacto-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contacto-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 45px;
}

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.detail-icon {
    font-size: 1.2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 3px;
    color: var(--dark);
    font-weight: 600;
}

.contact-detail p {
    font-size: 0.84rem;
    color: var(--text-light);
}

/* Form */
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--border);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--gold);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

.form-group select option {
    background: var(--white);
    color: var(--text);
}

.form-group textarea {
    resize: vertical;
    min-height: 75px;
    font-size: 16px;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 38px;
    min-height: 52px;
    background: var(--dark);
    color: var(--white);
    border: none;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    border-radius: 3px;
    margin-top: 8px;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(184, 148, 62, 0.25);
}

.btn-submit svg {
    transition: transform 0.3s var(--ease);
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 70px 0 28px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0));
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 260px;
}

.footer-links-group h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 22px;
    color: var(--white);
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group ul li {
    margin-bottom: 10px;
}

.footer-links-group ul li a {
    text-decoration: none;
    color: rgba(255,255,255,0.45);
    font-size: 0.84rem;
    transition: color 0.3s;
}

.footer-links-group ul li a:hover {
    color: var(--gold-light);
}

.footer-social h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 22px;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

.social-icon:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(184, 148, 62, 0.1);
}

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

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

.footer-legal {
    display: flex;
    gap: 22px;
}

.footer-legal a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--gold-light);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 120px 40px 50px;
        min-height: 60vh;
    }

    .hero-number {
        display: none;
    }

    .hero-divider-v {
        display: none;
    }

    .hero-right {
        border-left: none;
        border-top: 1px solid var(--border);
        min-height: 350px;
        padding: 50px 30px;
    }

    .hero-stats-grid {
        max-width: 350px;
    }

    .stat-big {
        font-size: 2.5rem;
    }

    .servicios-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .servicios-visual {
        display: none;
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .nosotros-visual {
        min-height: 340px;
    }

    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contacto-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-decoration {
        display: none;
    }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        -webkit-tap-highlight-color: transparent;
    }

    section {
        padding: 60px 0;
    }

    /* Nav mobile */
    .nav-container {
        padding: 0 16px;
    }

    .nav-main {
        padding: 12px 0;
    }

    .nav-main.scrolled {
        padding: 10px 0;
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-main.scrolled .nav-logo img {
        height: 28px;
    }

    .nav-links-wrapper,
    .nav-cta {
        display: none;
    }

    .nav-burger {
        display: flex;
        padding: 8px;
    }

    .nav-burger span {
        width: 24px;
    }

    /* Mobile menu */
    .mobile-link {
        font-size: 2.2rem;
    }

    .mobile-nav-links li {
        margin-bottom: 22px;
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 90px 20px 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        min-height: auto;
    }

    .hero-number {
        display: none;
    }

    .hero-divider-v {
        width: 50px;
        height: 1.5px;
        background: linear-gradient(to right, transparent, var(--gold), transparent);
    }

    .hero-text-block {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        width: 100%;
    }

    .btn-primary, .btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.78rem;
    }

    .hero-right {
        border-left: none;
        border-top: 1px solid var(--border);
        min-height: auto;
        padding: 35px 20px;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
        max-width: 100%;
    }

    .stat-big {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .hero-right-decoration {
        bottom: 20px;
    }

    .hero-bottom-bar {
        padding: 14px 0;
    }

    .hero-bottom-inner {
        padding: 0 16px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .bottom-areas {
        justify-content: center;
        gap: 10px;
    }

    .bottom-areas span:not(.area-dot) {
        font-size: 0.7rem;
    }

    .hero-scroll-hint {
        display: none;
    }

    /* Trust bar mobile */
    .trust-bar {
        padding: 20px 0;
    }

    .trust-number {
        font-size: 1.4rem;
    }

    .trust-label {
        font-size: 0.65rem;
    }

    .trust-track {
        gap: 30px;
    }

    /* Section headers mobile */
    .section-title {
        font-size: 2rem;
    }

    .section-tag {
        font-size: 0.68rem;
        padding-left: 40px;
    }

    .section-tag::before {
        width: 28px;
    }

    /* Servicios mobile */
    .servicios-container {
        padding: 0 16px;
    }

    .servicios-header {
        margin-bottom: 40px;
    }

    .servicio-item {
        padding: 20px 0;
        gap: 16px;
    }

    .servicio-item:hover,
    .servicio-item.active {
        padding-left: 10px;
    }

    .servicio-num {
        font-size: 0.95rem;
        min-width: 24px;
    }

    .servicio-info h3 {
        font-size: 1.15rem;
    }

    .servicio-info p {
        font-size: 0.8rem;
    }

    /* Nosotros mobile */
    .nosotros-container {
        padding: 0 16px;
        gap: 40px;
    }

    .nosotros-visual {
        min-height: 280px;
    }

    .nosotros-blob {
        width: 200px;
        height: 200px;
    }

    .nosotros-blob img {
        width: 110px;
    }

    .nosotros-floating-card {
        padding: 14px 20px;
    }

    .floating-num {
        font-size: 1.4rem;
    }

    .floating-text {
        font-size: 0.65rem;
    }

    .nosotros-floating-card.card-1 {
        top: 10px;
        right: 0;
    }

    .nosotros-floating-card.card-2 {
        bottom: 10px;
        left: 0;
    }

    .nosotros-text {
        font-size: 0.95rem;
    }

    .value-item h4 {
        font-size: 1.05rem;
    }

    /* Equipo mobile */
    .equipo-container {
        padding: 0 16px;
    }

    .equipo-header {
        margin-bottom: 40px;
    }

    .equipo-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
        gap: 20px;
    }

    /* CTA mobile */
    .cta-banner {
        padding: 60px 0;
    }

    .cta-container {
        padding: 0 16px;
        flex-direction: column;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 16px 36px;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }

    /* Contacto mobile */
    .contacto-container {
        padding: 0 16px;
        gap: 40px;
    }

    .contacto-desc {
        font-size: 0.95rem;
        margin-bottom: 35px;
    }

    .contact-detail {
        gap: 14px;
    }

    .detail-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .contact-detail strong {
        font-size: 0.84rem;
    }

    .contact-detail p {
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        padding: 10px 0;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 14px 32px;
    }

    /* Footer mobile */
    .footer {
        padding: 50px 0 20px;
    }

    .footer-container {
        padding: 0 16px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 35px;
    }

    .footer-logo {
        height: 36px;
    }

    .footer-brand p {
        font-size: 0.84rem;
    }

    .footer-links-group h4,
    .footer-social h4 {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .footer-links-group ul li {
        margin-bottom: 8px;
    }

    .social-icons {
        gap: 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 0.68rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 0.72rem;
    }

    .footer-legal {
        gap: 16px;
    }

    .footer-legal a {
        font-size: 0.72rem;
    }
}

/* ============================================
   RESPONSIVE - Small phones
   ============================================ */
@media (max-width: 380px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .hero-stats-grid {
        gap: 20px 16px;
    }

    .stat-big {
        font-size: 1.7rem;
    }

    .bottom-areas {
        flex-wrap: wrap;
    }
}
