@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bg-color: #0a0a0a;
    --surface-color: #141414;
    --accent-color: #ff2d2d;
    --accent-hover: #e62626;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #333;
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 52px;
    /* mix-blend-mode: screen makes the black background of the logo disappear
       against the dark navbar, integrating it seamlessly */
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 8px rgba(255, 45, 45, 0.35)) brightness(1.05);
    transition: var(--transition);
}

.logo:hover .nav-logo {
    transform: scale(1.06);
    filter: drop-shadow(0 0 16px rgba(255, 45, 45, 0.6)) brightness(1.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    position: relative;
    z-index: 1001;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-main);
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4.5rem 0;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 45, 45, 0.3);
}

/* Hero Section */
.hero {
    height: 75vh;
    min-height: 520px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/images/hero/hero_motorcycle_1778263625657.png');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Accounts for fixed navbar */
}

.hero-content {
    max-width: 800px;
}

.badge {
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Partners – Elegant Static Banner */
.partners {
    background: #050505;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partners-grid span {
    font-size: 1.25rem;
    font-weight: 900;
    font-style: italic;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: var(--transition);
    cursor: default;
    letter-spacing: 0.05em;
}

.partners-grid span:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: scale(1.08);
    text-shadow: 0 0 10px rgba(255, 45, 45, 0.4);
}

/* Recent Work */
.section-header {
    margin-bottom: 4rem;
}

.section-header span {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Recent Work Marquee & Expanding Cards */
.work {
    padding-bottom: 6rem;
    /* No overflow:hidden here - it would clip the marquee */
}

.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.marquee-fade-left, .marquee-fade-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 20%, transparent);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 20%, transparent);
}

.work-marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    gap: 1.5rem;
    animation: marqueeScroll 28s linear infinite;
    padding: 0 1rem;
}

/* Pause marquee scroll on hover */
.marquee-container:hover .work-marquee-track {
    animation-play-state: paused;
}

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

/* Expanding Card Design - Premium Blend */
.work-card {
    position: relative;
    width: 280px;
    height: 420px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    transition: width 0.6s cubic-bezier(0.25, 1, 0.25, 1), 
                transform 0.4s ease, 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
}

/* Hover expansion */
.work-card:hover {
    width: 480px; /* Se expande horizontalmente */
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 45, 45, 0.25);
    border-color: rgba(255, 45, 45, 0.5);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.65) contrast(1.05);
}

.work-card:hover img {
    transform: scale(1.03);
    filter: brightness(0.4) contrast(1.1);
}

/* Text info layout */
.work-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 65%;
    z-index: 2;
    pointer-events: none;
}

.work-card-category {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.5rem;
}

.work-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: margin-bottom 0.4s ease;
}

/* Description is hidden on default, fades in and slides up on hover */
.work-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.25, 1) 0.1s, 
                max-height 0.5s cubic-bezier(0.25, 1, 0.25, 1),
                margin-top 0.4s ease;
}

.work-card:hover .work-card-title {
    white-space: normal;
    overflow: visible;
    margin-bottom: 0.75rem;
}

.work-card:hover .work-card-desc {
    opacity: 1;
    max-height: 120px;
    margin-top: 0.5rem;
}

.work-actions {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

#load-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

#load-more-btn:hover {
    background: rgba(255, 45, 45, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 45, 45, 0.15);
}

#load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent;
    border-color: var(--border-color);
    transform: none;
    box-shadow: none;
}

/* Responsividad en Móviles */
@media (max-width: 768px) {
    .marquee-container {
        padding: 1rem 0;
    }
    .marquee-fade-left, .marquee-fade-right {
        width: 60px;
    }
    .work-card {
        width: 220px;
        height: 330px;
    }
    .work-card:hover {
        width: 310px; /* Safe width expansion on small viewports */
    }
    .work-card-info {
        padding: 1.5rem;
    }
    .work-card-title {
        font-size: 1.15rem;
    }
    .work-card-desc {
        font-size: 0.8rem;
    }
}

/* Mission Section */
.mission {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('assets/images/recent/workshop_interior_bw_1778264250030.png');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.stat-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--surface-color);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--accent-color);
    transform: scale(1.05);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
}

.pricing-card h3 {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.price-disclaimer {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-style: italic;
}

.features {
    margin-bottom: 2rem;
}

.pricing-card .note {
    margin-top: auto;
    margin-bottom: 1.5rem;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    /* El botón seguirá a la nota que tiene el margin-top: auto */
}

.features li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.features li i {
    color: var(--accent-color);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: var(--transition);
}

.team-card:hover img {
    filter: grayscale(0);
}

.team-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
}

/* ==========================================================================
   NEW MINIMALIST PREMIUM FOOTER - DOBLE TORQUE DARK EDITION
   ========================================================================== */

footer.flex.flex-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 5rem 1.5rem 4rem;
    font-size: 0.875rem;
    background-color: #050505;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

footer.flex.flex-col .flex.items-center.gap-8 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

footer.flex.flex-col .font-medium {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    transition: var(--transition);
}

footer.flex.flex-col .font-medium:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(255, 45, 45, 0.45);
}

/* Custom Social Media Tooltip Buttons (adapted to Doble Torque Dark Theme) */
.wrapper {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin-top: 2.5rem;
  justify-content: center;
  align-items: center;
}

.wrapper .icon {
  position: relative;
  background: #141414;
  border-radius: 50%;
  margin: 0 1.25rem; /* Generous spacing between them! */
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon a {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: all 0.2s ease;
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: #fff;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -50px;
  opacity: 1;
  visibility: visible;
}

.wrapper .icon:hover a {
  color: #ffffff;
}

/* Hover effects for each platform - vibrant brand color flares */
.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
}

.wrapper .facebook:hover {
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.6);
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
  color: #fff;
}

.wrapper .instagram:hover {
  box-shadow: 0 0 20px rgba(220, 39, 67, 0.6);
}

.wrapper .whatsapp:hover,
.wrapper .whatsapp:hover .tooltip,
.wrapper .whatsapp:hover .tooltip::before {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.wrapper .whatsapp:hover {
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.wrapper .tiktok:hover,
.wrapper .tiktok:hover .tooltip,
.wrapper .tiktok:hover .tooltip::before {
  background: #010101;
  border-color: #ff2d55;
  color: #fff;
}

.wrapper .tiktok:hover {
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.7);
}

.wrapper .email:hover,
.wrapper .email:hover .tooltip,
.wrapper .email:hover .tooltip::before {
  background: #ea4335;
  border-color: #ea4335;
  color: #fff;
}

.wrapper .email:hover {
  box-shadow: 0 0 20px rgba(234, 67, 53, 0.6);
}

footer.flex.flex-col p.mt-8 {
    margin-top: 2.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

footer.flex.flex-col p.mt-8 a {
    color: var(--text-primary);
    transition: var(--transition);
}

footer.flex.flex-col p.mt-8 a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(255, 45, 45, 0.45);
}

@media (max-width: 600px) {
    footer.flex.flex-col .flex.items-center.gap-8 {
        gap: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wrapper .icon {
        margin: 0 0.5rem;
        width: 42px;
        height: 42px;
    }
    .wrapper .icon svg {
        width: 18px;
        height: 18px;
    }
    .wrapper .icon:hover .tooltip {
        top: -45px;
    }
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--surface-color);
    padding: 4rem;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

input, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1rem;
    color: white;
    border-radius: 4px;
    font-family: inherit;
}

input:focus, textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

.map-container {
    background: #050505;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #222 0%, #050505 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-pin {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin-bottom: 1rem;
    box-shadow: 0 0 20px var(--accent-color);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

@media (max-width: 992px) {
    .work-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .hero h1 { font-size: 3rem; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
    .stats { justify-content: space-between; }
}

@media (max-width: 768px) {
    section { padding: 2rem 0; }
    
    .container { padding: 0 1.5rem; }
    
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 85px;
        right: 1.5rem;
        width: 240px;
        height: auto;
        background: #111111;
        border: 1px solid #222;
        border-radius: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 999;
        box-shadow: 0 20px 50px rgba(0,0,0,0.7);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px) scale(0.95);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    
    .nav-links a {
        font-size: 1.1rem;
        font-weight: 800;
        width: auto;
        padding: 5px 0;
        border: none !important;
        letter-spacing: 0.15em;
        color: var(--text-secondary);
        text-align: center;
    }
    
    .nav-links a.active, .nav-links a:hover {
        color: var(--accent-color);
    }
    
    .nav-actions { display: none; }


    
    .hero { 
        height: auto; 
        min-height: 100vh; 
        padding-top: 100px; 
        padding-bottom: 60px;
        display: flex;
        align-items: center;
    }
    .hero-content {
        padding: 0 1rem;
    }
    .hero h1 { 
        font-size: 2.1rem; 
        line-height: 1.2;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .hero p { 
        font-size: 1.1rem; 
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    .hero-btns { 
        flex-direction: column; 
        width: 100%; 
        gap: 1rem;
    }
    .hero-btns .btn-primary, .hero-btns .btn-outline { 
        width: 100%; 
        text-align: center; 
        padding: 1.2rem;
    }
    
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    
    .contact-grid { padding: 1.5rem; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    .team-grid { grid-template-columns: 1fr; }
    .team-card { height: 350px; }
    
    .stats { flex-direction: column; gap: 2rem; text-align: center; }
}

/* Estilos adicionales para notas y formulario */
.note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
    padding: 0.5rem 0.75rem;
    border-left: 2px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

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

@media (max-width: 768px) {
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}



/* Typeform Section */
.typeform-section {
    padding: 4rem 0;
    background: #0a0a0a;
}

@media (max-width: 768px) {
    .typeform-section {
        padding: 2rem 0;
    }
    
    .typeform-section .container {
        padding: 0 1.5rem; /* Margen lateral para que no toque los bordes */
    }

    .typeform-frame {
        height: 500px !important;
        overflow: hidden;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    /* Forzar altura al embed y a su iframe interno */
    [data-tf-live], 
    [data-tf-live] iframe {
        height: 500px !important;
        max-height: 500px !important;
    }
}

/* ==========================================================================
   SPOTLIGHT TEAM CARDS
   ========================================================================== */

.about-team {
    padding: 8rem 0;
    background: var(--bg-color);
}

.team-spotlight-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.spotlight-card {
    position: relative;
    width: 320px;
    height: 400px;
    border-radius: 14px;
    padding: 1px;
    background: rgba(255, 255, 255, 0.08); /* Default border in dark theme */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 45, 45, 0.15);
}

.spotlight-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    /* Beautiful red-orange brand spotlight gradient following the mouse */
    background: radial-gradient(circle, rgba(255, 45, 45, 0.4) 0%, rgba(255, 115, 0, 0.15) 50%, transparent 100%);
    border-radius: 50%;
    filter: blur(35px);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
}

.spotlight-card:hover .spotlight-glow {
    opacity: 1;
}

.spotlight-inner {
    position: relative;
    z-index: 1;
    background: #0b0c10; /* Semi-transparent black inside to overlay on spotlight border */
    padding: 2.25rem 1.5rem;
    height: 100%;
    width: 100%;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.spotlight-inner img.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 45, 45, 0.3);
    margin-bottom: 1.25rem;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.spotlight-card:hover img.avatar {
    border-color: var(--accent-color);
    transform: scale(1.06);
    box-shadow: 0 0 15px rgba(255, 45, 45, 0.4);
}

.spotlight-inner h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.spotlight-inner .role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.spotlight-inner .bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
}

.spotlight-inner .social-links {
    display: flex;
    gap: 1.25rem;
}

.spotlight-inner .social-links a {
    color: var(--text-secondary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spotlight-inner .social-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    filter: drop-shadow(0 0 6px var(--accent-color));
}

@media (max-width: 768px) {
    .about-team {
        padding: 5rem 0;
    }
    .team-spotlight-grid {
        gap: 2rem;
    }
}

/* ==========================================================================
   SISTEMA DE RESERVAS / CUSTOM BOOKING FORM
   ========================================================================== */

.booking-section {
    padding: 8rem 0;
    background: #050505;
}

.booking-wrapper {
    background: #0f1015;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    margin: 0 auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.booking-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.booking-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.booking-form {
    display: flex;
    flex-direction: column;
}

.booking-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
}

.booking-form .form-group.full-width {
    grid-column: span 2;
}

.booking-form label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-form label i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    background: #050507;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.1rem 1.25rem;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.booking-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ff2d2d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

.booking-form select option {
    background: #0f1015;
    color: #fff;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #0b0c10;
    box-shadow: 0 0 12px rgba(255, 45, 45, 0.15);
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.booking-form textarea {
    resize: none;
}

.booking-submit-btn {
    margin-top: 3rem;
    padding: 1.4rem 2rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-submit-btn i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.booking-submit-btn:hover i {
    transform: scale(1.15) rotate(5deg);
}

@media (max-width: 768px) {
    .booking-wrapper {
        padding: 3rem 1.5rem;
    }
    .booking-form .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .booking-form .form-group.full-width {
        grid-column: span 1;
    }
    .booking-header h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   ELEMENTOS DE FORMULARIO ULTRA-ESTÉTICOS Y PREMIUM
   ========================================================================== */

/* Custom Select Premium styles */
.premium-select-wrapper {
    position: relative;
    width: 100%;
}

.premium-select {
    background: #050507;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.1rem 1.25rem;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.premium-select:hover {
    border-color: rgba(255, 45, 45, 0.4);
    background: #09090d;
}

.premium-select.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 12px rgba(255, 45, 45, 0.2);
    background: #09090d;
}

.premium-select .arrow-icon {
    color: var(--accent-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.premium-select.active .arrow-icon {
    transform: rotate(180deg);
}

.premium-options-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(15, 16, 21, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 45, 45, 0.15);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 280px;
    overflow-y: auto;
}

.premium-options-list.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.premium-option {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.premium-option:last-child {
    border-bottom: none;
}

.premium-option .option-title {
    font-weight: 800;
    font-size: 0.92rem;
    color: #fff;
    letter-spacing: 0.03em;
}

.premium-option .option-price {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.premium-option .option-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: 2px;
}

.premium-option:hover {
    background: rgba(255, 45, 45, 0.08);
}

.premium-option.selected {
    background: rgba(255, 45, 45, 0.15);
    border-left: 3px solid var(--accent-color);
    padding-left: calc(1.25rem - 3px);
}

/* ==========================================================================
   UNIFIED APPOINTMENT BOOKING WIDGET (Shadcn UI style)
   ========================================================================== */

.appt-widget {
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    overflow: hidden;
    grid-column: 1 / -1; /* span full width inside the form grid */
}

.appt-widget.full-width {
    grid-column: 1 / -1;
}

.appt-widget-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #27272a;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a1a1aa;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.appt-widget-header i {
    color: var(--accent-color);
    font-size: 0.85rem;
}

/* Body: calendar + time slots side by side */
.appt-widget-body {
    display: flex;
}

/* Left: calendar */
.appt-calendar-side {
    padding: 0.75rem 1rem;
    flex-shrink: 0;
    border-right: 1px solid #27272a;
}

/* Right: time slot scroll area */
.appt-time-side {
    flex: 1;
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #27272a transparent;
}

.appt-time-side::-webkit-scrollbar {
    width: 4px;
}

.appt-time-side::-webkit-scrollbar-track {
    background: transparent;
}

.appt-time-side::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 2px;
}

.appt-time-scroll {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
}

/* Individual time slot button */
.appt-time-btn {
    width: 100%;
    padding: 0.45rem 0.65rem;
    background: transparent;
    border: 1px solid #27272a;
    border-radius: 0.375rem;
    color: #fafafa;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.appt-time-btn:hover {
    background: #27272a;
}

.appt-time-btn.selected {
    background: #fafafa;
    color: #18181b;
    border-color: #fafafa;
    font-weight: 700;
}

/* Footer: summary row */
.appt-widget-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-top: 1px solid #27272a;
    font-size: 0.78rem;
    color: #a1a1aa;
    min-height: 2.5rem;
}

.appt-widget-footer.confirmed {
    color: #fafafa;
}

.appt-widget-footer .confirmed-icon {
    color: #22c55e; /* green-500 */
    font-size: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.375rem; /* pt-1.5 */
    position: relative;
    margin-bottom: 0.5rem;
}

.calendar-header button {
    background: transparent;
    border: 1px solid #27272a; /* zinc-800 */
    color: #fafafa;
    opacity: 0.5;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0;
    border-radius: 0.375rem; /* rounded-md */
    width: 1.5rem; /* h-6 */
    height: 1.5rem; /* w-6 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.calendar-header button:hover {
    opacity: 1;
    background: #27272a;
    color: #fafafa;
}

#calendar-month-year {
    font-weight: 500; /* font-medium */
    font-size: 0.8rem; /* text-sm */
    color: #fafafa;
    text-transform: capitalize;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 2rem); /* w-8 */
    text-align: center;
    font-size: 0.75rem; /* text-[0.8rem] */
    font-weight: 400; /* font-normal */
    color: #a1a1aa; /* text-muted-foreground */
    margin-bottom: 0.2rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 2rem); /* w-8 */
    gap: 0;
}

.calendar-day {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem; /* text-sm */
    font-weight: 400;
    color: #fafafa;
    cursor: pointer;
    border-radius: 0.375rem; /* rounded-md */
    border: none;
    transition: all 0.2s ease;
    user-select: none;
    margin: 0;
}

.calendar-day:not(.empty):not(.disabled):hover {
    background: #27272a; /* bg-accent */
    color: #fafafa; /* text-accent-foreground */
}

.calendar-day.selected {
    background: #fafafa !important; /* bg-primary */
    color: #18181b !important; /* text-primary-foreground */
    font-weight: 500;
    box-shadow: none;
    border: none !important;
}

.calendar-day.selected:hover {
    background: #fafafa !important;
    color: #18181b !important;
}

.calendar-day.today {
    background: #27272a; /* bg-accent */
    color: #fafafa; /* text-accent-foreground */
}

.calendar-day.disabled {
    color: #a1a1aa; /* text-muted-foreground */
    opacity: 0.5;
    cursor: not-allowed;
    background: none !important;
}

.calendar-day.empty {
    cursor: default;
    background: none !important;
}

/* .premium-option-time kept for backward compat but no longer shown in UI */
.premium-option-time { display: none; }

/* ==========================================================================
   SECTION SUBTITLE
   ========================================================================== */

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 1rem auto 0;
    line-height: 1.7;
    font-weight: 400;
}

/* ==========================================================================
   LABOR COST BADGE (reemplaza precios fijos en fichas de planes)
   ========================================================================== */

.labor-cost-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    background: rgba(255, 45, 45, 0.07);
    border: 1px solid rgba(255, 45, 45, 0.25);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-bottom: 2rem;
}

.labor-cost-badge i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.labor-cost-badge span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.labor-cost-badge strong {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   OTROS SERVICIOS — SECCIÓN
   ========================================================================== */

.otros-servicios {
    background: #080808;
    border-top: 1px solid var(--border-color);
}

.otros-servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

/* Tarjeta de servicio (Premium Grid Aesthetic) */
.servicio-card {
    background: linear-gradient(145deg, var(--surface-color), #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    z-index: 1;
}

/* Glow radial en hover */
.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 45, 45, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    pointer-events: none;
}

/* Detalle de línea superior elegante */
.servicio-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.servicio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 45, 45, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 45, 45, 0.05);
}

.servicio-card:hover::before {
    opacity: 1;
}

.servicio-card:hover::after {
    width: 100%;
}

/* Icono */
.servicio-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 45, 45, 0.05);
    border: 1px solid rgba(255, 45, 45, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.servicio-icon i {
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.servicio-card:hover .servicio-icon {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(255, 45, 45, 0.3);
}

.servicio-card:hover .servicio-icon i {
    color: #fff;
}

/* Contenido */
.servicio-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.servicio-content h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: 0.04em;
}

.servicio-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* Lista de incluidos */
.servicio-includes {
    list-style: none;
    padding: 0;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.servicio-includes li {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.servicio-includes li i {
    color: var(--accent-color);
    font-size: 0.6rem;
    flex-shrink: 0;
}

/* Botón de agendar dentro de la card */
.btn-servicio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 45, 45, 0.4);
    color: var(--accent-color);
    padding: 0.55rem 1rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
}

.btn-servicio:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 45, 45, 0.3);
    transform: translateY(-1px);
}

/* ==========================================================================
   NOTA DE COTIZACIÓN
   ========================================================================== */

.cotizacion-nota {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 45, 45, 0.05);
    border: 1px solid rgba(255, 45, 45, 0.2);
    border-radius: 10px;
    padding: 1.8rem 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.cotizacion-nota > i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.cotizacion-nota > div {
    flex: 1;
    min-width: 200px;
}

.cotizacion-nota strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cotizacion-nota p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE — OTROS SERVICIOS
   ========================================================================== */

@media (max-width: 640px) {
    .servicio-card {
        padding: 2rem 1.5rem;
    }

    .cotizacion-nota {
        flex-direction: column;
        text-align: center;
    }

    .cotizacion-nota > i {
        margin: 0 auto;
    }

    .cotizacion-nota .btn-primary {
        width: 100%;
        text-align: center;
    }

    /* Stack calendar + time slots vertically on mobile */
    .appt-widget-body {
        flex-direction: column;
    }

    .appt-calendar-side {
        border-right: none;
        border-bottom: 1px solid #27272a;
        overflow-x: auto;
    }

    .appt-time-side {
        max-height: 200px;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}
