/*
Theme Name: Coortracker
Theme URI: https://coortracker.com
Author: Coortracker Team
Description: Tema tech profesional de rastreo GPS — inspirado en estructura Solion, marca CoorTracker.
Version: 3.0.0
Text Domain: coortracker
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
    --color-primary:      #1A45B8;
    --color-primary-dark: #0D2A80;
    --color-primary-mid:  #2456d1;
    --color-sky:          #4f8cff;
    --color-soft:         #e8efff;
    --color-heading:      #1d1e4e;
    --color-text:         #666890;
    --color-muted:        #8a8db0;
    --color-bg:           #f7f8fc;
    --color-white:        #ffffff;
    --color-border:       #e6e8f5;
    --color-whatsapp:     #25d366;
    --font-display:       'Poppins', sans-serif;
    --font-main:          'Roboto', sans-serif;
    --shadow-sm:          0 4px 18px rgba(13, 42, 128, 0.08);
    --shadow-md:          0 12px 40px rgba(13, 42, 128, 0.12);
    --shadow-lg:          0 24px 60px rgba(13, 42, 128, 0.16);
    --radius:             8px;
    --transition:         all 0.35s ease;
    --header-h:           90px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.ct-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ——— Buttons ——— */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.ct-btn-white {
    background: var(--color-white);
    color: var(--color-primary-dark);
}
.ct-btn-white:hover {
    background: var(--color-soft);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}
.ct-btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 8px 22px rgba(26, 69, 184, 0.35);
}
.ct-btn-primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
}
.ct-btn-outline-light {
    background: transparent;
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}
.ct-btn-outline-light:hover {
    background: #fff;
    color: var(--color-primary);
}
.ct-btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.ct-btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}
.ct-btn-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    padding: 0;
    box-shadow: var(--shadow-md);
}
.ct-btn-play:hover {
    transform: scale(1.06);
    color: var(--color-primary-dark);
}
.ct-btn-block { width: 100%; }

/* ——— Header ——— */
.ct-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 14px 0;
    background: transparent;
    transition: var(--transition);
}
.ct-header.scrolled,
.ct-header.is-solid {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}
.ct-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.ct-logo img { height: 62px; width: auto; object-fit: contain; }
.ct-header:not(.scrolled):not(.is-solid) .ct-logo img {
    filter: brightness(0) invert(1);
}

.ct-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ct-nav-menu > li { position: relative; }
.ct-nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 4px;
}
.ct-header.scrolled .ct-nav-menu > li > a,
.ct-header.is-solid .ct-nav-menu > li > a {
    color: var(--color-heading);
}
.ct-nav-menu > li > a:hover,
.ct-nav-menu > li > a.current {
    color: var(--color-sky);
}
.ct-header.scrolled .ct-nav-menu > li > a:hover,
.ct-header.scrolled .ct-nav-menu > li > a.current,
.ct-header.is-solid .ct-nav-menu > li > a:hover,
.ct-header.is-solid .ct-nav-menu > li > a.current {
    color: var(--color-primary);
    background: var(--color-soft);
}

.ct-caret { font-size: 0.65rem; opacity: 0.75; }
.ct-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 20;
}
.ct-has-dropdown:hover > .ct-dropdown,
.ct-has-dropdown.open > .ct-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.ct-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 6px;
    color: var(--color-heading);
    font-weight: 600;
    font-size: 0.9rem;
}
.ct-dropdown a:hover {
    background: var(--color-soft);
    color: var(--color-primary);
}

.ct-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.ct-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}
.ct-header.scrolled .ct-menu-toggle span,
.ct-header.is-solid .ct-menu-toggle span {
    background: var(--color-primary);
}

/* ——— Hero (Solion-like) ——— */
.ct-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 120px;
    background: linear-gradient(135deg, #0D2A80 0%, #1A45B8 45%, #2f6be0 100%);
    overflow: hidden;
    color: #fff;
}
.ct-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.ct-hero-shapes .wave {
    position: absolute;
    border-radius: 50%;
    filter: blur(0);
}
.ct-hero-shapes .wave-1 {
    width: 720px;
    height: 720px;
    right: -220px;
    top: -180px;
    background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 65%);
}
.ct-hero-shapes .wave-2 {
    width: 520px;
    height: 520px;
    left: -160px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(79,140,255,0.35), transparent 70%);
}
.ct-hero-shapes .dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.22) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.25;
}
.ct-hero-shapes .zigzag {
    position: absolute;
    left: 48%;
    bottom: 12%;
    width: 2px;
    height: 120px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.55) 0 8px,
        transparent 8px 16px
    );
    transform: skewX(-18deg);
}

.ct-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.ct-hero-content h1 {
    color: #fff;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.ct-hero-content h1 span {
    color: #b8d2ff;
}
.ct-hero-content p {
    color: rgba(255,255,255,0.86);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 30px;
}
.ct-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ct-hero-visual {
    position: relative;
}
.ct-hero-visual img,
.ct-about-media img,
.ct-why-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    object-fit: cover;
}
.ct-hero-visual img {
    box-shadow: 0 24px 50px rgba(0,0,0,0.28);
    border: 0;
    background: transparent;
    border-radius: 20px;
}
.ct-vector-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #f1f5f9;
}
.ct-vector-frame img {
    width: 100%;
    display: block;
}

/* Contact page pro form + map */
.ct-contact-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    margin-top: 48px;
    align-items: start;
}
.ct-contact-form-panel,
.ct-contact-side-panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.ct-contact-side-panel {
    border-left: 5px solid var(--color-primary);
}
.ct-contact-form-panel h3,
.ct-contact-side-panel h3 {
    color: var(--color-primary);
    margin-bottom: 8px;
}
.ct-contact-form-panel > p {
    color: var(--color-muted);
    margin-bottom: 22px;
    font-size: 0.95rem;
}
.ct-contact-form {
    display: grid;
    gap: 14px;
}
.ct-contact-form .ct-field {
    display: grid;
    gap: 6px;
}
.ct-contact-form label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-heading);
}
.ct-contact-form input,
.ct-contact-form textarea {
    width: 100%;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    color: var(--color-heading);
    background: #fbfcff;
    transition: var(--transition);
}
.ct-contact-form input:focus,
.ct-contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26, 69, 184, 0.12);
}
.ct-contact-form textarea { min-height: 140px; resize: vertical; }
.ct-contact-form .ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ct-contact-form .ct-btn {
    margin-top: 4px;
    justify-self: start;
}
.ct-form-status {
    display: none;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}
.ct-form-status.is-success {
    display: block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.ct-form-status.is-error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.ct-map-wrap {
    margin-top: 36px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    background: #eef2ff;
}
.ct-map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}
.ct-hero-float {
    position: absolute;
    left: -18px;
    bottom: 28px;
    background: #fff;
    color: var(--color-heading);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 200px;
}
.ct-hero-float i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--color-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-hero-float strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
}
.ct-hero-float span {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.ct-hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0;
}
.ct-hero-wave svg { width: 100%; display: block; }

/* ——— Sections ——— */
.ct-section { padding: 100px 0; }
.ct-section-alt { background: var(--color-bg); }
.ct-eyebrow {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.ct-section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--color-heading);
    margin-bottom: 14px;
}
.ct-section-desc {
    color: var(--color-text);
    font-size: 1.02rem;
    max-width: 620px;
}
.ct-section-head {
    text-align: center;
    margin: 0 auto 56px;
    max-width: 680px;
}
.ct-section-head .ct-section-desc { margin: 0 auto; }

/* About / scale */
.ct-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.ct-about-media {
    position: relative;
}
.ct-about-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}
.ct-about-badge {
    position: absolute;
    right: -12px;
    top: 24px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    min-width: 110px;
}
.ct-about-badge strong {
    display: block;
    font-size: 1.6rem;
    font-family: var(--font-display);
}
.ct-about-badge span { font-size: 0.8rem; opacity: 0.9; }

.ct-feature-mini {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}
.ct-feature-mini article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
}
.ct-feature-mini .icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--color-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.ct-feature-mini h4 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}
.ct-feature-mini p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-text);
}

/* Services cards */
.ct-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.ct-svc-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 34px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.ct-svc-card::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.ct-svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.ct-svc-card:hover::after { transform: scaleX(1); }
.ct-svc-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-sky));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.ct-svc-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.ct-svc-card p {
    font-size: 0.94rem;
    color: var(--color-text);
    margin: 0;
}
.ct-services-cta {
    margin-top: 40px;
    text-align: center;
    color: var(--color-text);
}
.ct-services-cta a {
    font-weight: 700;
    margin-left: 6px;
}

/* Why choose */
.ct-why-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}
.ct-check-list {
    display: grid;
    gap: 14px;
    margin: 24px 0 28px;
}
.ct-check-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--color-heading);
    font-weight: 500;
}
.ct-check-list i {
    color: var(--color-primary);
    margin-top: 4px;
}
.ct-why-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    color: var(--color-primary-dark);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}
.ct-why-phone i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-why-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

/* Products carousel */
.ct-carousel {
    position: relative;
    padding: 0 48px;
}
.ct-carousel-viewport {
    overflow: hidden;
    border-radius: 16px;
}
.ct-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.ct-carousel-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
}
.ct-carousel-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--color-primary), var(--color-sky));
    color: #fff;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 10px 24px rgba(26, 69, 184, 0.35);
    transition: var(--transition);
}
.ct-carousel-btn:hover { transform: translateY(-50%) scale(1.06); }
.ct-carousel-btn.prev { left: 0; }
.ct-carousel-btn.next { right: 0; }
.ct-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}
.ct-carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #c7d2fe;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}
.ct-carousel-dots button.active {
    width: 28px;
    border-radius: 999px;
    background: var(--color-primary);
}

.ct-product-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
}
.ct-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13,42,128,0.04));
    pointer-events: none;
    z-index: 1;
}
.ct-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.ct-product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}
.ct-product-card-media {
    position: relative;
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border);
    padding: 28px 20px 18px;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-product-card-media img {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    filter: none;
    position: relative;
    z-index: 2;
}
.ct-product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    background: var(--color-soft);
    color: var(--color-primary-dark);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
}
.ct-product-body {
    padding: 18px 18px 22px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    position: relative;
    z-index: 2;
}
.ct-product-body h3 {
    font-size: 1.15rem;
    margin: 0;
    color: var(--color-heading);
}
.ct-product-body p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text);
    flex: 1;
}
.ct-product-body .ct-btn,
.ct-product-body .ct-btn-outline {
    align-self: flex-start;
    padding: 8px 14px;
    font-size: 0.8rem;
    pointer-events: none;
}

/* Product detail */
.ct-product-breadcrumb {
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.ct-product-breadcrumb a { color: #fff; }
.ct-product-breadcrumb span { margin: 0 8px; opacity: 0.6; }
.ct-product-detail {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.ct-product-detail-frame {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 28px;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-product-detail-frame img {
    max-height: 280px;
    width: auto;
    object-fit: contain;
    filter: none;
}
.ct-product-detail-info h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}
.ct-product-lead {
    color: var(--color-text);
    margin-bottom: 20px;
}
.ct-product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    margin-bottom: 28px;
}
.ct-product-features li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--color-heading);
    font-weight: 500;
}
.ct-product-features i { color: var(--color-primary); margin-top: 3px; }
.ct-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* FAQ */
.ct-faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}
.ct-faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.ct-faq-item button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 20px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.ct-faq-item button i { color: var(--color-primary); transition: var(--transition); }
.ct-faq-item.open button i { transform: rotate(45deg); }
.ct-faq-item .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.ct-faq-item.open .answer { max-height: 240px; }
.ct-faq-item .answer p {
    padding: 0 20px 18px;
    margin: 0;
    color: var(--color-text);
    font-size: 0.95rem;
}

/* Contact band */
.ct-contact-band {
    background: linear-gradient(135deg, #0D2A80, #1A45B8);
    color: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.ct-contact-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.25;
}
.ct-contact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}
.ct-contact-band .ct-eyebrow { color: #b8d2ff; }
.ct-contact-band h2 { color: #fff; }
.ct-contact-info {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}
.ct-contact-info div {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ct-contact-info i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-contact-info strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
}
.ct-contact-info span, .ct-contact-info a {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}
.ct-contact-form-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.ct-contact-form-card h3 {
    margin-bottom: 18px;
}
.ct-form {
    display: grid;
    gap: 12px;
}
.ct-form input,
.ct-form textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 12px 14px;
    font: inherit;
    color: var(--color-heading);
}
.ct-form textarea { min-height: 120px; resize: vertical; }
.ct-form input:focus,
.ct-form textarea:focus {
    outline: 2px solid rgba(26,69,184,0.2);
    border-color: var(--color-primary);
}

/* Inner page hero */
.ct-page-hero {
    position: relative;
    padding: calc(var(--header-h) + 56px) 0 72px;
    background: linear-gradient(135deg, #0a1f5c 0%, #0D2A80 40%, #1A45B8 100%);
    color: #fff;
    overflow: hidden;
}
.ct-page-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
        radial-gradient(circle at 85% 20%, rgba(79,140,255,0.35), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(255,255,255,0.08), transparent 35%);
    background-size: 28px 28px, auto, auto;
    opacity: 0.9;
    pointer-events: none;
}
.ct-page-hero .ct-container { position: relative; z-index: 1; max-width: 820px; }
.ct-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}
.ct-breadcrumb a { color: rgba(255,255,255,0.85); }
.ct-breadcrumb a:hover { color: #fff; }
.ct-eyebrow-light {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.ct-page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    margin: 12px 0 14px;
    letter-spacing: -0.4px;
}
.ct-page-hero p {
    color: rgba(255,255,255,0.86);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0;
}

.ct-section-tight { padding-top: 36px; padding-bottom: 20px; }

/* Pillars strip */
.ct-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}
.ct-pillar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: var(--shadow-md);
}
.ct-pillar i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ct-pillar strong {
    display: block;
    color: var(--color-heading);
    font-size: 0.98rem;
    margin-bottom: 2px;
}
.ct-pillar span {
    font-size: 0.86rem;
    color: var(--color-text);
    line-height: 1.4;
}

/* Plans redesign */
.ct-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
    align-items: stretch;
}
.ct-plan {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}
.ct-plan:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.ct-plan.is-featured {
    background: linear-gradient(165deg, #1A45B8, #0D2A80);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 20px 44px rgba(13,42,128,0.28);
    transform: translateY(-8px);
}
.ct-plan.is-featured:hover { transform: translateY(-10px); }
.ct-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f5c518;
    color: #1e293b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.ct-plan header h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: var(--color-heading);
}
.ct-plan.is-featured header h3 { color: #fff; }
.ct-plan header p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text);
    min-height: 42px;
}
.ct-plan.is-featured header p { color: rgba(255,255,255,0.82); }
.ct-plan .ct-plan-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin: 18px 0 8px;
}
.ct-plan.is-featured .ct-plan-price { color: #fff; }
.ct-plan .ct-plan-price span {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.75;
}
.ct-plan ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 28px;
    flex: 1;
}
.ct-plan li {
    display: flex;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--color-text);
}
.ct-plan.is-featured li { color: rgba(255,255,255,0.9); }
.ct-plan li::before {
    content: '✓';
    font-weight: 700;
    color: var(--color-primary);
}
.ct-plan.is-featured li::before { color: #b8d2ff; }
.ct-plan.is-featured .ct-btn-primary {
    background: #fff;
    color: var(--color-primary-dark);
}
.ct-plan.is-featured .ct-btn-primary:hover {
    background: var(--color-soft);
    color: var(--color-primary-dark);
}
.ct-plan .ct-btn-outline {
    border-color: var(--color-border);
}

/* Service cards */
.ct-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.ct-svc-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 26px 22px;
    transition: var(--transition);
}
.ct-svc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.ct-svc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-soft), #fff);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
}
.ct-svc-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.ct-svc-card > p {
    font-size: 0.92rem;
    margin-bottom: 14px;
}
.ct-svc-card ul {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}
.ct-svc-card li {
    display: flex;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--color-text);
}
.ct-svc-card li::before {
    content: '→';
    color: var(--color-primary);
    font-weight: 700;
}

/* Nosotros story */
.ct-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 52px;
    align-items: center;
}
.ct-story-media {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #f1f5f9;
}
.ct-story-media img {
    width: 100%;
    display: block;
}
.ct-story-copy p {
    margin-bottom: 14px;
}

.ct-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.ct-mv-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
}
.ct-mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}
.ct-mv-card h3 { margin-bottom: 10px; }
.ct-mv-card p { margin: 0; }

.ct-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}
.ct-value-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 24px 20px;
    transition: var(--transition);
}
.ct-value-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.ct-value-card i {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.ct-value-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}
.ct-value-card p {
    margin: 0;
    font-size: 0.9rem;
}

.ct-why-pro {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}
.ct-stats-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ct-stat {
    background: linear-gradient(160deg, #1A45B8, #0D2A80);
    color: #fff;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
}
.ct-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 4px;
}
.ct-stat span {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.82);
}

/* Contact pro */
.ct-contact-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}
.ct-quick-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: var(--shadow-md);
    color: inherit;
    transition: var(--transition);
}
a.ct-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(26,69,184,0.12);
    color: inherit;
}
.ct-quick-card i {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--color-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ct-quick-card.is-whatsapp i {
    background: #e8f8ef;
    color: var(--color-whatsapp);
}
.ct-quick-card strong {
    display: block;
    color: var(--color-heading);
    font-size: 0.92rem;
}
.ct-quick-card span {
    font-size: 0.82rem;
    color: var(--color-text);
    line-height: 1.35;
}

.ct-contact-pro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
}
.ct-contact-form-panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
}
.ct-contact-form-panel h2 {
    margin: 8px 0 8px;
    font-size: 1.55rem;
}
.ct-contact-form-panel > p {
    color: var(--color-muted);
    margin-bottom: 22px;
}
.ct-contact-aside {
    display: grid;
    gap: 16px;
}
.ct-aside-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 22px 20px;
}
.ct-aside-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
}
.ct-aside-card p { margin: 0; font-size: 0.92rem; }
.ct-hours {
    display: grid;
    gap: 10px;
}
.ct-hours li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}
.ct-hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.ct-hours span { color: var(--color-text); }
.ct-hours strong { color: var(--color-heading); font-weight: 600; }
.ct-aside-note {
    margin-top: 14px !important;
    font-size: 0.84rem !important;
    color: var(--color-muted) !important;
}
.ct-aside-highlight {
    background: linear-gradient(145deg, #1A45B8, #0D2A80);
    border: 0;
    color: #fff;
}
.ct-aside-highlight i {
    font-size: 1.6rem;
    color: #7dffb2;
    margin-bottom: 10px;
}
.ct-aside-highlight h3 { color: #fff; }
.ct-aside-highlight p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px !important;
}
.ct-map-pro {
    margin-top: 28px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.ct-map-pro iframe { display: block; vertical-align: top; }

/* CTA band */
.ct-cta-band {
    padding: 64px 0;
    background: linear-gradient(135deg, #0D2A80, #1A45B8);
    color: #fff;
}
.ct-cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.ct-cta-band h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin: 0 0 8px;
}
.ct-cta-band p {
    margin: 0;
    color: rgba(255,255,255,0.86);
    max-width: 480px;
}
.ct-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Legacy helpers kept for other pages */
.ct-page-banner {
    margin-top: 0;
    padding: calc(var(--header-h) + 50px) 0 70px;
    background: linear-gradient(135deg, #0D2A80, #1A45B8 55%, #2f6be0);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ct-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.25;
}
.ct-page-banner h1,
.ct-page-banner p {
    position: relative;
    z-index: 1;
    color: #fff;
}
.ct-page-banner p {
    max-width: 560px;
    margin: 10px auto 0;
    color: rgba(255,255,255,0.85);
}
.ct-intro-bar {
    background: #fff;
    border-left: 5px solid var(--color-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 24px 28px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}
.ct-intro-bar h2 { color: var(--color-primary); margin: 0; font-size: 1.4rem; }
.ct-intro-bar p { margin: 0; color: var(--color-text); max-width: 420px; }
.ct-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.ct-feature-list {
    display: grid;
    gap: 14px;
    margin: 22px 0 28px;
}
.ct-feature-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ct-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.ct-contact-list {
    display: grid;
    gap: 16px;
}
.ct-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.ct-contact-list i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--color-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0D2A80, #1A45B8);
    text-align: center;
    color: #fff;
}
.ct-cta-section .ct-section-title { color: #fff; }
.ct-cta-section p {
    max-width: 620px;
    margin: 0 auto 24px;
    color: rgba(255,255,255,0.88);
}

/* Privacy / legal */
.ct-legal-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}
.ct-legal-meta-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: var(--shadow-md);
}
.ct-legal-meta-item i {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--color-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ct-legal-meta-item strong {
    display: block;
    color: var(--color-heading);
    font-size: 0.9rem;
    margin-bottom: 2px;
}
.ct-legal-meta-item span,
.ct-legal-meta-item a {
    font-size: 0.84rem;
    color: var(--color-text);
    line-height: 1.4;
}
.ct-legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}
.ct-legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
}
.ct-legal-toc h2 {
    font-size: 0.95rem;
    margin: 0 0 14px;
    color: var(--color-heading);
}
.ct-legal-toc nav {
    display: grid;
    gap: 6px;
}
.ct-legal-toc a {
    display: block;
    font-size: 0.84rem;
    color: var(--color-text);
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.35;
}
.ct-legal-toc a:hover {
    background: var(--color-soft);
    color: var(--color-primary-dark);
}
.ct-legal-content {
    display: grid;
    gap: 16px;
}
.ct-legal-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 26px 24px;
    scroll-margin-top: calc(var(--header-h) + 20px);
}
.ct-legal-card h2 {
    font-size: 1.2rem;
    margin: 0 0 12px;
    color: var(--color-heading);
}
.ct-legal-card p {
    margin: 0 0 12px;
    font-size: 0.95rem;
}
.ct-legal-card p:last-child { margin-bottom: 0; }
.ct-legal-card ul {
    display: grid;
    gap: 8px;
    margin: 4px 0 12px;
}
.ct-legal-card li {
    position: relative;
    padding-left: 18px;
    font-size: 0.93rem;
    color: var(--color-text);
    line-height: 1.5;
}
.ct-legal-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
}
.ct-legal-contact {
    margin-top: 8px !important;
}
.ct-legal-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0 !important;
}
.ct-legal-contact li::before { display: none; }
.ct-legal-contact i {
    color: var(--color-primary);
    width: 18px;
    margin-top: 3px;
}

/* Footer */
.ct-footer {
    background: #0a1f5c;
    color: rgba(255,255,255,0.78);
    padding: 70px 0 24px;
}
.ct-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr;
    gap: 36px;
    margin-bottom: 40px;
}
.ct-footer .ct-logo img {
    height: 54px;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
}
.ct-footer h5 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}
.ct-footer-links li,
.ct-footer-contact li { margin-bottom: 10px; font-size: 0.92rem; }
.ct-footer-links a { color: rgba(255,255,255,0.75); }
.ct-footer-links a:hover { color: #fff; }
.ct-footer-contact li { display: flex; gap: 10px; }
.ct-footer-contact i { color: #93c5fd; margin-top: 4px; }
.ct-footer-contact a { color: rgba(255,255,255,0.85); }
.ct-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}
.ct-footer-bottom a { color: #93c5fd; }

.ct-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37,211,102,0.45);
    transition: var(--transition);
}
.ct-whatsapp:hover { transform: scale(1.08); }
.ct-whatsapp img { width: 34px; height: 34px; }

/* Responsive */
@media (max-width: 1100px) {
    .ct-services-grid { grid-template-columns: repeat(2, 1fr); }
    .ct-carousel-slide { flex-basis: calc((100% - 20px) / 2); }
    .ct-svc-grid,
    .ct-values-grid { grid-template-columns: repeat(2, 1fr); }
    .ct-contact-quick,
    .ct-legal-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .ct-hero-grid,
    .ct-about-grid,
    .ct-why-grid,
    .ct-faq-grid,
    .ct-contact-grid,
    .ct-contact-layout,
    .ct-contact-pro,
    .ct-plans-grid,
    .ct-grid-3,
    .ct-mv-grid,
    .ct-story-grid,
    .ct-why-pro,
    .ct-pillars,
    .ct-legal-layout,
    .ct-footer-grid,
    .ct-product-detail,
    .ct-product-features,
    .ct-contact-form .ct-form-row {
        grid-template-columns: 1fr;
    }
    .ct-plan.is-featured { transform: none; }
    .ct-plan.is-featured:hover { transform: translateY(-4px); }
    .ct-pillars,
    .ct-contact-quick,
    .ct-legal-meta { margin-top: 0; }
    .ct-legal-toc { position: static; }
    .ct-cta-band-inner { flex-direction: column; align-items: flex-start; }
    .ct-menu-toggle { display: flex; }
    .ct-nav-menu {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        box-shadow: var(--shadow-md);
    }
    .ct-nav-menu.ct-menu-open { display: flex; }
    .ct-nav-menu > li > a { color: var(--color-heading) !important; }
    .ct-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    .ct-has-dropdown.open > .ct-dropdown { display: block; }
    .ct-header:not(.scrolled):not(.is-solid) .ct-logo img { filter: none; }
    .ct-header { background: rgba(255,255,255,0.97); }
    .ct-menu-toggle span { background: var(--color-primary); }
}
@media (max-width: 560px) {
    .ct-services-grid,
    .ct-svc-grid,
    .ct-values-grid,
    .ct-contact-quick,
    .ct-legal-meta,
    .ct-stats-panel { grid-template-columns: 1fr; }
    .ct-carousel { padding: 0 40px; }
    .ct-carousel-slide { flex-basis: 100%; }
    .ct-logo img { height: 50px; }
    .ct-hero-float { left: 8px; right: 8px; min-width: 0; }
}
/* =========================================================
   CARRUSEL DE SERVICIOS COORTRACKER
   ========================================================= */

.ct-services-carousel {
    width: 100%;
    overflow: hidden;
}

.ct-services-viewport {
    width: 100%;
    overflow: hidden;
}

.ct-services-carousel .ct-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    width: calc(125% + 5.5px);
    margin: 0;
    transition: transform 0.7s ease;
}

/* Mantener exactamente el tamaño original de las tarjetas */
.ct-services-carousel .ct-svc-card {
    width: 100%;
    min-width: 0;
}

/* Al pasar el mouse:
   mueve exactamente una tarjeta */
@media (min-width: 1101px) {
    .ct-services-carousel:hover .ct-services-grid {
        transform: translateX(
            calc(-1 * ((100% - 88px) / 5 + 22px))
        );
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .ct-services-carousel .ct-services-grid {
        grid-template-columns: repeat(3, 1fr);
        width: calc(166.666% + 11px);
    }

    .ct-services-carousel:hover .ct-services-grid {
        transform: translateX(
            calc(-1 * ((100% - 44px) / 3 + 22px))
        );
    }
}


/* =========================================================
   TABLET PEQUEÑA
   ========================================================= */

@media (max-width: 800px) {

    .ct-services-carousel .ct-services-grid {
        grid-template-columns: repeat(2, 1fr);
        width: calc(200% + 22px);
    }

    .ct-services-carousel:hover .ct-services-grid {
        transform: translateX(
            calc(-1 * ((100% - 22px) / 2 + 22px))
        );
    }
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 560px) {

    .ct-services-viewport {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ct-services-viewport::-webkit-scrollbar {
        display: none;
    }

    .ct-services-carousel .ct-services-grid {
        display: grid;
        grid-template-columns: repeat(5, calc(100vw - 40px));
        width: max-content;
        gap: 16px;
        transform: none !important;
    }

    .ct-services-carousel .ct-svc-card {
        width: calc(100vw - 40px);
    }
}