/* ============================================================
   1STEP — LUXURY CREATIVE AGENCY
   Premium CSS — Dark Gold Luxury Aesthetic
   Medellín, Colombia
   Fuente: Outfit + Cormorant Garamond
   ============================================================ */

/* ============================================================
   0. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --black:        #080808;
    --dark:         #111111;
    --dark-alt:     #161616;
    --dark-card:    #1a1a1a;
    --dark-section: #0e0e0e;
    --gold:         #C9A84C;
    --gold-light:   #E8C97E;
    --gold-dark:    #A0832F;
    --gold-glow:    rgba(201, 168, 76, 0.25);
    --white:        #FFFFFF;
    --off-white:    #F8F6F0;
    --gray-100:     #EEEEEE;
    --gray-300:     #CCCCCC;
    --gray-500:     #888888;
    --gray-700:     #444444;
    --font-display: 'Outfit', sans-serif;
    --font-body:    'Outfit', sans-serif;
    --font-italic:  'Cormorant Garamond', Georgia, serif;
    --radius:       0px;
    --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-gold:  0 20px 60px rgba(201, 168, 76, 0.18);
    --shadow-dark:  0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--gray-500);
    background: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

p { line-height: 1.8; }

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover, a:focus {
    color: var(--gold-light);
    text-decoration: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; padding: 0; margin: 0; }

.container-fluid { max-width: 1366px; margin: 0 auto; }
.container       { max-width: 1200px; }

/* ============================================================
   2. PRELOADER
   ============================================================ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 10px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.loader-logo span {
    color: var(--gold);
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--dark-card);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    animation: loaderAnim 1.2s ease forwards;
}

@keyframes loaderAnim {
    0%   { width: 0%; }
    100% { width: 100%; }
}

/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

/* Italic gold accents use Cormorant Garamond for elegance */
.section-title em,
.hero-title em,
.cta-title em,
.why-quote em,
.footer-tagline em {
    font-family: var(--font-italic);
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
}

.section-title.dark-title {
    color: var(--dark);
}

.section-title.dark-title em {
    font-family: var(--font-italic);
    color: var(--gold-dark);
    font-style: italic;
}

.section-subtitle {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

.gold-divider {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 20px 0 30px;
}

.gold-divider.centered {
    margin: 20px auto 30px;
}

.section-header {
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn-gold:hover, .btn-gold:focus {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 30px var(--gold-glow);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold:hover, .btn-outline-gold:focus {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 30px var(--gold-glow);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 12px;
}

.btn:focus, .form-control:focus {
    box-shadow: none;
    outline: none;
}

/* ============================================================
   4. BACK TO TOP & WHATSAPP FLOAT
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: var(--gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    border: 2px solid transparent;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.whatsapp-float {
    position: fixed;
    bottom: 85px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 50%;
    z-index: 991;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseWhatsapp 2.5s infinite;
}

.whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulseWhatsapp {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   5. NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 28px 40px;
    background: transparent;
    border-bottom: 1px solid rgba(201, 168, 76, 0.0);
    transition: all 0.4s ease;
}

.navbar.nav-sticky {
    padding: 16px 40px;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-size: 0;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.brand-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0;
}

.brand-word {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 6px;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 8px 14px !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    border: 1px solid rgba(201, 168, 76, 0.5) !important;
    padding: 8px 20px !important;
    color: var(--gold) !important;
    margin-left: 12px;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    border-color: var(--gold) !important;
}

.navbar-toggler {
    border: 1px solid rgba(201, 168, 76, 0.5);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(201, 168, 76, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 16px 20px;
        background: rgba(8, 8, 8, 0.97) !important;
        border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    }

    .navbar-collapse {
        background: rgba(8, 8, 8, 0.98);
        padding: 20px;
        border-top: 1px solid rgba(201, 168, 76, 0.15);
        margin-top: 12px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
        display: inline-block;
    }
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1492633423870-43d1cd2775eb?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.93) 0%,
        rgba(5, 3, 0, 0.85) 60%,
        rgba(20, 14, 0, 0.80) 100%
    );
    z-index: 1;
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.eyebrow-text {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

.eyebrow-line {
    display: block;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow-line:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 76px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}

.hero-title em {
    font-family: var(--font-italic);
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
    display: block;
    font-size: 0.95em;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    margin-bottom: 44px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.2px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-scroll {
    position: relative;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(201, 168, 76, 0.25);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    animation: scrollDrop 1.8s ease infinite;
}

@keyframes scrollDrop {
    0%   { top: -8px; opacity: 1; }
    100% { top: 52px; opacity: 0; }
}

.hero-corner-deco {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 3;
}

.hero-corner-deco.top-left {
    top: 30px;
    left: 30px;
    border-top: 1px solid rgba(201, 168, 76, 0.35);
    border-left: 1px solid rgba(201, 168, 76, 0.35);
}

.hero-corner-deco.bottom-right {
    bottom: 30px;
    right: 30px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.35);
    border-right: 1px solid rgba(201, 168, 76, 0.35);
}

@media (max-width: 767.98px) {
    .hero-content { padding: 100px 16px 60px; }
    .hero-title   { font-size: 34px; letter-spacing: 0; }
    .hero-subtitle { font-size: 14px; }
    .eyebrow-text  { font-size: 9px; letter-spacing: 3px; white-space: normal; text-align: center; }
    .eyebrow-line  { width: 24px; }
    .hero-corner-deco { width: 50px; height: 50px; }
}

/* ============================================================
   7. ABOUT  —  IMAGE STACK
   ============================================================ */
.about {
    background: var(--off-white);
    overflow: hidden;
}

/* ---- Image Stack ---- */
.about-stack {
    position: relative;
    height: 100%;
    min-height: 640px;
    overflow: hidden;
}

/* Back layer — secondary image, offset top-left, darkened */
.stack-layer-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 62%;
    height: 60%;
    overflow: hidden;
    z-index: 1;
}

.stack-layer-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.40) grayscale(0.25);
    transition: transform 0.9s ease;
}

/* Gold decorative offset frame (aligned to back image) */
.stack-gold-frame {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 62%;
    height: 60%;
    border: 2px solid rgba(160, 131, 47, 0.55);
    z-index: 0;
    pointer-events: none;
}

/* Front layer — main image, larger, anchored bottom-right */
.stack-layer-front {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 72%;
    height: 78%;
    overflow: hidden;
    z-index: 2;
    box-shadow: -24px -24px 70px rgba(0, 0, 0, 0.22);
}

.stack-layer-front::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    z-index: 3;
}

.stack-layer-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.8s ease;
}

/* Hover — subtle zoom on both layers */
.about-stack:hover .stack-layer-front img,
.about-stack:hover .stack-layer-back img {
    transform: scale(1.04);
}

/* Badge +20 años */
.about-badge {
    position: absolute;
    bottom: 30px;
    left: 20%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--black);
    padding: 22px 28px;
    text-align: center;
    z-index: 4;
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: 800;
    line-height: 1;
    color: var(--black);
    letter-spacing: -1px;
}

.badge-text {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.7);
    margin-top: 8px;
    line-height: 1.6;
}

/* ---- About Content ---- */
.about-content {
    padding: 80px 70px 80px 70px;
}

.about-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--dark);
    font-weight: 600;
}

.about-stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 36px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px 0;
}

.mini-stat {
    flex: 1;
    text-align: center;
}

.mini-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.12);
}

.mini-num {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--gold-dark);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.mini-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-700);
}

@media (max-width: 991.98px) {
    .about-stack { min-height: 420px; }
    .about-content { padding: 60px 40px; }
}

@media (max-width: 767.98px) {
    .about-stack { min-height: 360px; }
    .about-content { padding: 48px 24px; }
    .about-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: 14px;
        padding: 14px 20px;
    }
    .badge-number { font-size: 36px; }
    .about-stats-row { flex-direction: column; gap: 20px; }
    .mini-stat-divider { width: 40px; height: 1px; }
    .stack-layer-front { width: 78%; height: 72%; }
}

/* ============================================================
   8. SERVICES
   ============================================================ */
.services {
    background: var(--dark-section);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.service-card {
    background: var(--dark-card);
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: var(--dark-alt);
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-icon-wrap i {
    font-size: 22px;
    color: var(--gold);
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    background: var(--gold);
    border-color: var(--gold);
}

.service-card:hover .service-icon-wrap i {
    color: var(--black);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: 0;
}

.service-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.service-arrow {
    color: var(--gold);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition);
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   9. PORTFOLIO
   ============================================================ */
.portfolio {
    background: var(--dark);
    padding: 110px 0;
}

.portfolio-filters {
    margin-bottom: 50px;
}

#portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

#portfolio-filter li {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    padding: 9px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

#portfolio-filter li:hover,
#portfolio-filter li.filter-active {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.06);
}

.portfolio-container {
    overflow: hidden;
}

.portfolio-item {
    width: 33.3333%;
    padding: 8px;
    float: left;
}

.portfolio-wrap {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-wrap img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-wrap:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 28px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-wrap:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    transform: translateY(12px);
    transition: transform 0.4s ease;
}

.portfolio-wrap:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.portfolio-info h4 {
    font-family: var(--font-display);
    font-size: 17px;
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .portfolio-item { width: 50%; }
}

@media (max-width: 575.98px) {
    .portfolio-item { width: 100%; }
    .portfolio-wrap img { height: 260px; }
    .portfolio-overlay { opacity: 1; }
    .portfolio-info { transform: translateY(0); }
}

/* ============================================================
   10. STATS SECTION
   ============================================================ */
.stats-section {
    position: relative;
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.stats-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.94) 0%,
        rgba(10, 7, 0, 0.90) 100%
    );
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stat-box {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(201, 168, 76, 0.12);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-box::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-box:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.04);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.stat-value {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-counter {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -1px;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    padding-top: 4px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin: 0;
}

@media (max-width: 575.98px) {
    .stats-section { background-attachment: scroll; }
    .stat-box { padding: 24px 12px; }
}

/* ============================================================
   11. WHY US
   ============================================================ */
.why-us {
    background: var(--off-white);
    padding: 110px 0;
    position: relative;
}

.why-header { padding-right: 60px; }

.why-intro {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
    margin-bottom: 28px;
}

.why-quote {
    font-family: var(--font-italic);
    font-size: 20px;
    font-style: italic;
    color: var(--dark);
    border-left: 3px solid var(--gold-dark);
    padding-left: 20px;
    margin: 24px 0 0;
    line-height: 1.6;
}

.why-quote em {
    font-family: var(--font-italic);
    color: var(--gold-dark);
    font-style: italic;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.why-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 28px;
    background: var(--white);
    border-left: 3px solid transparent;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.why-item:hover {
    border-left-color: var(--gold);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.why-icon {
    width: 46px;
    height: 46px;
    background: rgba(160, 131, 47, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.why-item:hover .why-icon {
    background: var(--gold);
    color: var(--black);
}

.why-text h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: 0;
}

.why-text p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-700);
    margin: 0;
}

@media (max-width: 991.98px) {
    .why-header { padding-right: 0; margin-bottom: 48px; }
    .why-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .why-grid { grid-template-columns: 1fr; gap: 16px; }
    .why-item { padding: 20px; }
}

/* ============================================================
   12. TESTIMONIALS
   ============================================================ */
.testimonials {
    background: var(--dark-section);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.testimonial-item {
    padding: 0 14px;
}

.testimonial-card {
    background: var(--dark-card);
    border: 1px solid rgba(201, 168, 76, 0.12);
    padding: 44px 40px 40px;
    position: relative;
    transition: var(--transition);
    margin: 10px 0 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: var(--shadow-gold);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.quote-mark {
    color: var(--gold);
    font-size: 32px;
    opacity: 0.45;
    margin-bottom: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--gray-300);
    font-style: italic;
    margin-bottom: 28px;
    font-family: var(--font-italic);
    flex: 1;
}

/* Footer de la card */
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex-shrink: 0;
}

/* Foto circular — sin deformacion */
.testimonial-footer img {
    display: block;
    width: 56px;
    height: 56px;
    min-width: 56px;
    max-width: 56px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

/* Texto de autor */
.testimonial-info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.testimonial-info h5 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-info span {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Estrellas en linea */
.stars {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.stars i {
    color: var(--gold);
    font-size: 11px;
    flex-shrink: 0;
}

/* Owl Carousel */
.owl-dots {
    margin-top: 10px;
    text-align: center;
}

.owl-dot span {
    background: rgba(201, 168, 76, 0.25) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    transition: var(--transition) !important;
}

.owl-dot.active span,
.owl-dot:hover span {
    background: var(--gold) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

@media (max-width: 767.98px) {
    .testimonial-card { padding: 32px 28px; }
}

/* ============================================================
   13. CTA SECTION
   ============================================================ */
.cta-section {
    position: relative;
    padding: 130px 0;
    background: url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.cta-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(8, 5, 0, 0.92) 100%
    );
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 760px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.5vw, 56px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin: 12px 0 24px;
    letter-spacing: -0.5px;
}

.cta-title em {
    font-family: var(--font-italic);
    color: var(--gold);
    font-style: italic;
    font-weight: 600;
}

.cta-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    margin-bottom: 44px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cta-info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.cta-info-item i {
    color: var(--gold);
    font-size: 14px;
}

.cta-info-item a {
    color: rgba(255, 255, 255, 0.55);
}

.cta-info-item a:hover {
    color: var(--gold);
}

.cta-info-sep {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 767.98px) {
    .cta-section { padding: 80px 0; background-attachment: scroll; }
    .cta-info-row { flex-direction: column; gap: 16px; }
    .cta-info-sep { display: none; }
    .cta-info-item { padding: 0; }
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo .brand-num {
    font-size: 30px;
}

.footer-logo .brand-word {
    font-size: 22px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-links h5,
.footer-contact h5 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 14px;
    color: var(--gray-500);
    transition: color 0.3s ease, padding-left 0.3s ease;
    padding-left: 0;
}

.footer-links ul li a:hover {
    color: var(--gold-light);
    padding-left: 8px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--gray-500);
}

.footer-contact ul li i {
    color: var(--gold);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact ul li a {
    color: var(--gray-500);
}

.footer-contact ul li a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-700);
    margin: 0;
}

.footer-tagline {
    font-family: var(--font-italic);
    font-size: 15px !important;
    font-style: italic;
    color: var(--gray-700) !important;
}

.footer-tagline em {
    font-family: var(--font-italic);
    color: var(--gold);
    font-style: italic;
}

/* ============================================================
   15. ANIMATIONS & KEYFRAMES
   ============================================================ */
.wow { visibility: hidden; }

.animated {
    -webkit-animation-duration: 0.9s;
    animation-duration: 0.9s;
}

/* ============================================================
   16. RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 991.98px) {
    .services     { padding: 80px 0; }
    .portfolio    { padding: 80px 0; }
    .stats-section { padding: 80px 0; }
    .why-us       { padding: 80px 0; }
    .testimonials { padding: 80px 0; }
    .cta-section  { padding: 80px 0; }
    .footer-main  { padding: 60px 0 40px; }
    .section-header { margin-bottom: 48px; }
}

@media (max-width: 767.98px) {
    .services     { padding: 60px 0; }
    .portfolio    { padding: 60px 0; }
    .stats-section { padding: 60px 0; }
    .why-us       { padding: 60px 0; }
    .testimonials { padding: 60px 0; }
    .cta-section  { padding: 60px 0; }
    .btn          { padding: 13px 26px; font-size: 11px; }
    .btn-lg       { padding: 14px 28px; }
    .section-header { margin-bottom: 36px; }
    .section-title  { font-size: 27px; }
    .gold-divider   { width: 44px; }
}

/* ============================================================
   END OF STYLESHEET
   ============================================================ */
