:root {
    --bg-dark: #0b0b0b;
    --card-dark: #1a1614;
    --border-color: #2a2420;
    --accent-orange: #c86d44;
    --text-main: #f9f8cf;
    --text-muted: #a39c94;
    --bg-light-section: #fbf9f5;
    --text-dark: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    background: var(--accent-orange);
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.logo-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.logo-text small {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after, .navbar nav ul li a.active::after {
    width: 100%;
}

.navbar nav ul li a:hover, .navbar nav ul li a.active {
    color: var(--text-main);
}

/* Efecto de Botones Avanzados */
.btn-talk, .btn-primary, .btn-cta {
    background-color: var(--accent-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(200, 109, 68, 0.2);
}

.btn-talk:hover, .btn-primary:hover, .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(200, 109, 68, 0.4);
    background-color: #d7794f;
}

.btn-talk:active, .btn-primary:active, .btn-cta:active {
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 8%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 30%, rgba(200, 109, 68, 0.25) 0%, transparent 60%);
}

.hero-content {
    max-width: 550px;
}

.subtitle {
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 15px 0 20px;
    color: var(--text-main);
}

.hero h1 .highlight {
    color: var(--accent-orange);
}

.hero p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    align-items: center;
}

.btn-secondary {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.btn-secondary i {
    border: 1px solid var(--text-muted);
    padding: 8px;
    border-radius: 50%;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover i {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.1);
}

.available-freelance {
    display: flex;
    align-items: center;
    gap: 20px;
}

.available-freelance span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: var(--text-main);
    background: var(--border-color);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

.hero-image {
    width: 400px;
    height: 450px;
    background: url('imagenes/img1.1.enc') center/cover;
    border-radius: 200px 200px 20px 20px;
    position: relative;
    border: 3px solid var(--accent-orange);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -30px;
    background: var(--card-dark);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.experience-badge:hover {
    transform: translateY(-5px);
}

.experience-badge i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    background: rgba(200, 109, 68, 0.1);
    padding: 10px;
    border-radius: 8px;
}

.experience-badge strong {
    font-size: 1.1rem;
    display: block;
}

.experience-badge p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-main);
}

.experience-badge small {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    background-color: var(--bg-light-section);
    color: var(--text-dark);
    padding: 80px 8%;
}

.about-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-img-container {
    flex: 1;
    position: relative;
}

.profile-pic-box {
    width: 100%;
    height: 380px;
    background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=600&q=80') center/cover;
    border-radius: 16px;
}

.floating-quote {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--card-dark);
    color: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.floating-quote i {
    color: var(--accent-orange);
    margin-bottom: 8px;
}

.floating-quote p {
    font-size: 0.8rem;
    line-height: 1.4;
}

.about-text {
    flex: 1;
}

.section-tag {
    color: var(--accent-orange);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.about-text h2, .services-section h2, .skills-section h2, .projects-section h2, .testimonials-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.stats-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-box i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.stat-box h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
}

.stat-box p {
    font-size: 0.75rem;
    margin: 0;
    color: #777;
}

.signature {
    font-family: cursive;
    font-size: 1.5rem;
    color: var(--accent-orange);
}

/* Services Section */
.services-section {
    background-color: var(--bg-light-section);
    color: var(--text-dark);
    padding: 0 8% 80px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--accent-orange);
}

.service-icon {
    background: rgba(200, 109, 68, 0.1);
    color: var(--accent-orange);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent-orange);
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-dark);
    padding: 0 8% 80px;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.testimonials-header h2 {
    color: var(--text-main);
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrows i {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.slider-arrows i:hover {
    border-color: var(--accent-orange);
    background: var(--accent-orange);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--card-dark);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.quote-icon {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.avatar.a1 { background-image: url('https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?auto=format&fit=crop&w=150&q=80'); }
.avatar.a2 { background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=150&q=80'); }
.avatar.a3 { background-image: url('https://images.unsplash.com/photo-1570295999919-56ceb5ecca61?auto=format&fit=crop&w=150&q=80'); }

.client-info strong {
    font-size: 0.85rem;
    display: block;
    color: var(--text-main);
}

.client-info small {
    font-size: 0.7rem;
    color: var(--text-muted);
}


/* Footer */
footer {
    background-color: var(--card-dark);
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 60px 8% 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 15px;
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

