/* ============================================
   MedTech - Styles (Fiel a la imagen)
   Colores: Teal #00C897 → Purple/Blue gradient
   ============================================ */

:root {
    --teal: #00C897;
    --teal-dark: #00A87D;
    --purple: #6B3FA0;
    --purple-dark: #5A3490;
    --blue: #1A75FF;
    --cobalt: #0047AB;
    --dark: #1a1a2e;
    --white: #FFFFFF;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
}

.excellence .btn-primary {
    background: linear-gradient(to right, #9333EA, #4F46E5);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.excellence .btn-primary:hover {
    background: linear-gradient(to right, #7E22CE, #4338CA);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--teal);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 15px 0;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header.scrolled .logo {
    color: var(--cobalt);
}

.header.scrolled .nav-link {
    color: var(--dark);
}

.header.scrolled .nav-link:hover {
    color: var(--cobalt);
}

.header.scrolled .nav-social a {
    background: rgba(0, 71, 171, 0.1);
    color: var(--cobalt);
}

.header.scrolled .nav-toggle {
    color: var(--cobalt);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.logo i {
    font-size: 2rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: rgba(255,255,255,0.8);
}

.nav-social {
    display: flex;
    gap: 12px;
    margin-left: 20px;
}

.nav-social a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
}

.nav-social a:hover {
    background: var(--white);
    color: var(--teal);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1551190822-a9ce113ac100?w=1920&q=80') center/cover no-repeat;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,200,151,0.9) 0%, rgba(107,63,160,0.85) 50%, rgba(26,117,255,0.8) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    transform: translateY(-50%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
}

.hero-circle-1 {
    width: 700px;
    height: 700px;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: none;
}

.hero-circle-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    border: none;
}

.hero-circle-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.03);
    border: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--white);
    max-width: 45%;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.hero-buttons .btn-outline {
    border-color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--teal);
}

.hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    max-width: 800px;
    z-index: 1;
}

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

/* Services + Excellence Wrapper */
.services-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.wrapper-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.ring {
    position: absolute;
    border-radius: 50%;
}

.ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 130px;
    background: linear-gradient(135deg, rgba(0, 200, 151, 0.2), rgba(107, 63, 160, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.ring-1 {
    width: 500px;
    height: 500px;
    top: 20%;
    left: -250px;
}

.ring-2 {
    width: 600px;
    height: 600px;
    bottom: -350px;
    right: -200px;
}

/* Services Section */
.services {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--gray-800);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 40px;
    font-family: 'Open Sans', sans-serif;
}

.section-title, .services h2, .methodology h2, .team h2, .testimonials h2, .blog h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--gray-800);
    margin-bottom: 15px;
}

.section-subtitle, .services > .container > p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Excellence Section */
.excellence {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.excellence-content {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 50px;
    align-items: center;
}

.excellence-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    display: block;
}

.excellence-text h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 2.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.excellence-text ul {
    margin-bottom: 20px;
    position: relative;
    padding-left: 0;
}

.excellence-text li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    padding-left: 30px;
}

.excellence-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    border-radius: 50%;
}

.excellence-text li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 24px;
    width: 2px;
    height: calc(100% + 6px);
    background: linear-gradient(180deg, var(--teal), var(--purple));
    opacity: 0.4;
}

.excellence-text li:last-child::after {
    display: none;
}

.excellence-text li i {
    display: none;
}

.excellence-text p {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
}

.contact h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
}

.contact-subtitle {
    color: rgba(255,255,255,0.9);
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Open Sans', sans-serif;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.input-group i {
    color: #9CA3AF;
    font-size: 1.1rem;
    margin-right: 12px;
}

.input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    padding: 12px 0;
    color: var(--dark);
}

.input-group input::placeholder {
    color: #9CA3AF;
    font-family: 'Open Sans', sans-serif;
}

.btn-contact {
    background: linear-gradient(to right, #9333EA, #4F46E5);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0 50px 50px 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.btn-contact:hover {
    background: linear-gradient(to right, #7E22CE, #4338CA);
    color: var(--white);
}

.contact-layout {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.form-field {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 10px;
    padding: 0 16px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-field i {
    color: #9CA3AF;
    font-size: 1rem;
    margin-right: 12px;
}

.form-field input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    padding: 14px 0;
    color: var(--dark);
}

.form-field input::placeholder {
    color: #9CA3AF;
}

.contact-form .btn-contact {
    width: 100%;
    border-radius: 10px;
    padding: 14px;
    margin-top: 5px;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    font-size: 0.95rem;
}

.benefit-item i {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.input-group {
    background: var(--white);
    border-radius: 50px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Methodology Section */
.methodology {
    padding: 80px 0 100px;
    background: var(--white);
    overflow: hidden;
}

.methodology h2 {
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
}

.methodology-subtitle {
    text-align: center;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.05rem;
    font-style: italic;
}

/* =========================================================
   WAVE-SHAPED PROCESS TIMELINE (DESKTOP)
   ========================================================= */

.wavy-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    height: 520px;
}

.wavy-timeline__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 160px);
    gap: 60px;
    justify-content: center;
    height: 520px;
}

/* Línea horizontal con gradiente detrás de los círculos */
.wavy-timeline__grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 80px;
    right: 80px;
    height: 14px;
    background: linear-gradient(90deg, #00C897, #1A75FF, #6B3FA0, #0047AB);
    border-radius: 7px;
    transform: translateY(-50%);
    z-index: 0;
}

/* ─── STEP ─── */

.wavy-timeline__step {
    position: relative;
    height: 520px;
}

/* ─── CIRCLE (centrado en el medio) ─── */

.wavy-timeline__circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: transform 0.3s ease;
}

.wavy-timeline__circle::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.wavy-timeline__step:nth-child(1) .wavy-timeline__circle {
    background: linear-gradient(135deg, #00C897, #00A67D);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 200, 151, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.1);
}
.wavy-timeline__step:nth-child(2) .wavy-timeline__circle {
    background: linear-gradient(135deg, #1A75FF, #0047AB);
    color: white;
    box-shadow: 0 10px 30px rgba(26, 117, 255, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.1);
}
.wavy-timeline__step:nth-child(3) .wavy-timeline__circle {
    background: linear-gradient(135deg, #6B3FA0, #4A2C72);
    color: white;
    box-shadow: 0 10px 30px rgba(107, 63, 160, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.1);
}
.wavy-timeline__step:nth-child(4) .wavy-timeline__circle {
    background: linear-gradient(135deg, #0047AB, #003080);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.1);
}

.wavy-timeline__circle i {
    font-size: 1em;
    color: white;
}

.wavy-timeline__circle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ─── CONNECTOR ─── */

.wavy-timeline__connector {
    width: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.wavy-timeline__connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    border-radius: 2px;
}

/* Texto abajo: connector va del centro del círculo hacia abajo */
.wavy-timeline__step:not(.wavy-timeline__step--up) .wavy-timeline__connector {
    top: calc(50% + 80px);
    height: 60px;
}

/* Texto arriba: connector va del centro del círculo hacia arriba */
.wavy-timeline__step--up .wavy-timeline__connector {
    top: calc(50% - 80px - 60px);
    height: 60px;
}

.wavy-timeline__step:nth-child(1) .wavy-timeline__connector::before { background: #00C897; }
.wavy-timeline__step:nth-child(2) .wavy-timeline__connector::before { background: #1A75FF; }
.wavy-timeline__step:nth-child(3) .wavy-timeline__connector::before { background: #6B3FA0; }
.wavy-timeline__step:nth-child(4) .wavy-timeline__connector::before { background: #0047AB; }

.wavy-timeline__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    border: 3px solid white;
}

/* Texto abajo: dot en la parte superior del connector */
.wavy-timeline__step:not(.wavy-timeline__step--up) .wavy-timeline__dot {
    top: -7px;
}

/* Texto arriba: dot en la parte inferior del connector */
.wavy-timeline__step--up .wavy-timeline__dot {
    bottom: -7px;
}

.wavy-timeline__step:nth-child(1) .wavy-timeline__dot { background: #00C897; }
.wavy-timeline__step:nth-child(2) .wavy-timeline__dot { background: #1A75FF; }
.wavy-timeline__step:nth-child(3) .wavy-timeline__dot { background: #6B3FA0; }
.wavy-timeline__step:nth-child(4) .wavy-timeline__dot { background: #0047AB; }

/* ─── TEXT BOX (160px, mismo ancho que círculo) ─── */

.wavy-timeline__text-box {
    width: 160px;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Texto arriba */
.wavy-timeline__step--up .wavy-timeline__text-box {
    top: 10px;
}

/* Texto abajo */
.wavy-timeline__step:not(.wavy-timeline__step--up) .wavy-timeline__text-box {
    bottom: 10px;
}

.wavy-timeline__label {
    display: block;
    margin-bottom: 6px;
    color: #00C897;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.wavy-timeline__text-box h3 {
    margin: 0 0 12px;
    color: #17233D;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.wavy-timeline__text-box p {
    margin: 0;
    color: #64748B;
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Mobile Timeline */
.timeline-mobile {
    display: none;
    position: relative;
    padding: 20px 0;
    max-width: 450px;
    margin: 0 auto;
}

.mobile-line {
    position: absolute;
    left: 28px;
    top: 30px;
    bottom: 30px;
    width: 4px;
    background: linear-gradient(to bottom, #00C897, #1A75FF, #6B3FA0, #0047AB);
    border-radius: 2px;
}

.mobile-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.mobile-item:last-child {
    margin-bottom: 0;
}

.mobile-circle {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
    z-index: 2;
}

.mobile-circle i {
    font-size: 1.3rem;
}

.mobile-circle.teal { box-shadow: 0 4px 15px rgba(0, 200, 151, 0.3); }
.mobile-circle.teal i { color: #00C897; }
.mobile-circle.blue { box-shadow: 0 4px 15px rgba(26, 117, 255, 0.3); }
.mobile-circle.blue i { color: #1A75FF; }
.mobile-circle.purple { box-shadow: 0 4px 15px rgba(107, 63, 160, 0.3); }
.mobile-circle.purple i { color: #6B3FA0; }
.mobile-circle.cobalt { box-shadow: 0 4px 15px rgba(0, 71, 171, 0.3); }
.mobile-circle.cobalt i { color: #0047AB; }

.mobile-content {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    border: 1px solid #e2e8f0;
}

.mobile-content .node-label {
    font-size: 0.7rem;
}

.mobile-content h3 {
    font-size: 0.95rem;
    color: #1e293b;
    margin: 4px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.mobile-content p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .timeline-desktop {
        display: none;
    }
    
    .timeline-mobile {
        display: block;
    }
}

/* Team Section */
.team {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--teal) 0%, var(--purple) 100%);
}

.team h2 {
    color: var(--white);
}

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

.team-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.team-avatar i {
    font-size: 2.5rem;
    color: var(--white);
}

.team-card h3 {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.team-role {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 5%;
    position: relative;
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1920&q=80') center/cover no-repeat;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,200,151,0.85) 0%, rgba(107,63,160,0.85) 100%);
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.testimonials-subtitle {
    color: rgba(255,255,255,0.85);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    padding-top: 50px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.quote-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--teal), #3B82F6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,200,151,0.3);
}

.quote-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--teal);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #E5E7EB;
}

.author-info h5 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 3px;
    font-weight: 600;
}

.author-info span {
    font-size: 0.85rem;
    color: #6B7280;
}

.testimonial-title {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.testimonial-text {
    color: #6B7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 -20px;
}

.testimonials-nav button {
    pointer-events: all;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.testimonials-nav button:hover {
    opacity: 1;
}

.testimonial-author p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
    font-style: normal;
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: var(--gray-100);
}

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

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    height: 150px;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 2.5rem;
    color: var(--white);
}

.blog-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-link {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-link:hover {
    gap: 10px;
}

/* Footer */
.footer {
    background: #001c44;
    color: var(--white);
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.footer-social a:hover {
    background: var(--teal);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 120px;
}

.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    align-self: flex-start;
}

.footer-contact ul {
    width: 100%;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--teal);
}

.footer-chile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.chile-img {
    width: 50px;
    max-height: 80px;
    object-fit: contain;
}

.chile-text {
    text-align: left;
}

.chile-text h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 5px;
}

.chile-text .subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3px;
}

.chile-text .sub-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

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

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

    .wavy-timeline {
        display: none !important;
    }

    .timeline-mobile {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .wavy-timeline {
        display: none !important;
    }

    .timeline-mobile {
        display: block !important;
    }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .header .container {
        justify-content: center;
        position: relative;
    }

    .header .nav-toggle {
        position: absolute;
        right: 15px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-benefits {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .benefit-item {
        font-size: 0.85rem;
    }

    .hero-content {
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .testimonials .container {
        padding: 0;
        overflow: visible;
    }

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding: 25px 0 20px;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        min-width: calc(100vw - 30px);
        width: calc(100vw - 30px);
        scroll-snap-align: center;
        flex-shrink: 0;
        padding: 45px 25px 25px;
        position: relative;
        box-sizing: border-box;
        margin: 0 15px;
        border-radius: 12px;
        background: var(--white);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .testimonial-card .quote-icon {
        position: absolute;
        top: -22px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, var(--teal), #3B82F6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,200,151,0.3);
        z-index: 1;
    }

    .testimonials-nav {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
        position: relative;
        z-index: 2;
        padding: 0 15px;
    }

    .testimonials-nav button {
        width: 40px;
        height: 40px;
    }

    .excellence-content {
        grid-template-columns: 40% 1fr;
        gap: 15px;
        align-items: center;
    }

    .excellence-img {
        max-width: 100%;
        height: auto;
    }

    .excellence {
        padding: 30px 0;
    }

    .excellence-text h2 {
        font-size: 1.3rem;
    }

    .excellence-text p {
        font-size: 0.8rem;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .hero-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .input-group {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
    }

    .input-group i {
        display: none;
    }

    .input-group input {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .btn-contact {
        width: 100%;
        border-radius: 15px;
        padding: 14px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p,
    .footer-social,
    .footer-contact {
        display: none;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-chile {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 10px 0;
    }

    .chile-img {
        width: 50px;
        height: 70px;
        object-fit: contain;
    }

    .chile-text {
        text-align: left;
    }

    .chile-text h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .chile-text .subtitle,
    .chile-text .sub-subtitle {
        font-size: 0.75rem;
    }

    .section-title, .services h2, .methodology h2, .team h2, .testimonials h2, .blog h2 {
        font-size: 1.8rem;
    }

    .wavy-timeline {
        display: none !important;
    }

    .timeline-mobile {
        display: block !important;
    }
}