/* ============================================================
   iTeraCare Dispositivos – Premium CSS v2.0.0
   Palette: #041E3D · #486588 · #AC1627 · #ffffff
   Font: Roboto (min 20px body)
   ============================================================ */

/* ── RESET & CUSTOM PROPERTIES ─────────────────────────────── */
.itc-wrap *,
.itc-wrap *::before,
.itc-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.itc-wrap {
    --itc-navy:       #041E3D;
    --itc-blue:       #486588;
    --itc-red:        #AC1627;
    --itc-red-dark:   #8a1020;
    --itc-white:      #ffffff;
    --itc-off-white:  #f4f7fb;
    --itc-grey:       #e8edf4;
    --itc-text:       #1a2a3a;
    --itc-text-light: #4a6080;
    --itc-gold:       #c8951a;

    --itc-r: 72px;
    --itc-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --itc-shadow-sm: 0 4px 16px rgba(4,30,61,0.10);
    --itc-shadow-md: 0 8px 32px rgba(4,30,61,0.16);
    --itc-shadow-lg: 0 16px 56px rgba(4,30,61,0.22);

    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: var(--itc-text);
    background: var(--itc-white);
    overflow-x: hidden;
}

/* ── UTILITY ────────────────────────────────────────────────── */
.itc-eyebrow {
    display: inline-block;
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--itc-blue);
    background: rgba(72,101,136,0.10);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    border-left: 3px solid var(--itc-red);
}
.itc-eyebrow--accent  { color: var(--itc-red); background: rgba(172,22,39,0.08); border-left-color: var(--itc-navy); }
.itc-eyebrow--center  { display: block; text-align: center; margin: 0 auto 12px; max-width: max-content; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.itc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--itc-transition);
    white-space: nowrap;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.itc-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity var(--itc-transition);
}
.itc-btn:hover::after { opacity: 1; }

/* Primary – navy */
.itc-btn--primary {
    background: var(--itc-navy);
    color: var(--itc-white) !important;
    box-shadow: 0 4px 18px rgba(4,30,61,0.30);
}
.itc-btn--primary:hover {
    background: var(--itc-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(4,30,61,0.38);
}

/* Accent – red */
.itc-btn--accent {
    background: var(--itc-red);
    color: var(--itc-white) !important;
    box-shadow: 0 4px 18px rgba(172,22,39,0.35);
}
.itc-btn--accent:hover {
    background: var(--itc-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(172,22,39,0.45);
}

/* Secondary – blue */
.itc-btn--secondary {
    background: var(--itc-blue);
    color: var(--itc-white) !important;
    box-shadow: 0 4px 18px rgba(72,101,136,0.28);
}
.itc-btn--secondary:hover {
    background: var(--itc-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(72,101,136,0.38);
}

/* Outline */
.itc-btn--outline {
    background: transparent;
    color: var(--itc-white) !important;
    border-color: rgba(255,255,255,0.7);
}
.itc-btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--itc-white);
    transform: translateY(-2px);
}

/* Full-width */
.itc-btn--full { width: 100%; }

/* CTA bar button */
.itc-btn--cta-bar {
    background: linear-gradient(135deg, var(--itc-red) 0%, #c82035 100%);
    color: var(--itc-white) !important;
    font-size: 18px;
    padding: 18px 56px;
    box-shadow: 0 6px 28px rgba(172,22,39,0.40);
}
.itc-btn--cta-bar:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(172,22,39,0.50);
}

/* ── HERO ────────────────────────────────────────────────────── */
.itc-hero {
    position: relative;
    background: linear-gradient(135deg, var(--itc-navy) 0%, #0d3460 45%, var(--itc-blue) 100%);
    padding: 80px 24px 120px;
    overflow: hidden;
}

/* Geometric decorative rings */
.itc-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(172,22,39,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.itc-hero::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.itc-hero__bg-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(172,22,39,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(72,101,136,0.20) 0%, transparent 50%);
    pointer-events: none;
}

.itc-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.itc-hero__text {
    animation: itcFadeUp 0.8s ease both;
}

.itc-hero__h1 {
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    color: var(--itc-white);
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    letter-spacing: -0.01em;
}

/* Red accent on "iTeraCare" */
.itc-hero__h1 .itc-red { color: #ff3b52; }

.itc-hero__h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    margin-bottom: 24px;
    line-height: 1.4;
}

.itc-hero__desc {
    margin-bottom: 36px;
}
.itc-hero__desc p {
    font-size: 20px;
    color: rgba(255,255,255,0.78);
    margin-bottom: 10px;
    padding-left: 16px;
    border-left: 2px solid rgba(172,22,39,0.6);
    line-height: 1.55;
}

.itc-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.itc-hero__image {
    display: flex;
    justify-content: center;
    animation: itcFadeLeft 0.9s ease 0.15s both;
}

.itc-hero__img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.40);
}
.itc-hero__img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(172,22,39,0.12) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}
.itc-hero__img-wrapper img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}
.itc-hero__img-wrapper:hover img { transform: scale(1.03); }

.itc-hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}
.itc-hero__wave svg {
    width: 100%;
    height: 80px;
}

/* ── NEW DEVICE ─────────────────────────────────────────────── */
.itc-new-device {
    background: var(--itc-off-white);
    padding: 72px 24px;
    position: relative;
    overflow: hidden;
}
.itc-new-device::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--itc-navy), var(--itc-red), var(--itc-blue));
}

.itc-new-device__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.itc-new-device__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.itc-new-pulse {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(172,22,39,0.08) 0%, transparent 70%);
    animation: itcPulse 3s ease-in-out infinite;
}

.itc-new-device__image img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 16px 40px rgba(4,30,61,0.22));
    transition: transform 0.5s ease;
}
.itc-new-device__image:hover img { transform: translateY(-8px) rotate(-1deg); }

.itc-new-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    background: linear-gradient(135deg, var(--itc-red), #e02040);
    color: var(--itc-white);
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(172,22,39,0.45);
    animation: itcBounce 2s ease-in-out infinite;
}

.itc-new-device__content .itc-eyebrow { margin-bottom: 12px; }

.itc-new-device__name {
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    color: var(--itc-navy);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.itc-new-device__desc {
    font-size: 20px;
    color: var(--itc-text-light);
    line-height: 1.65;
    margin-bottom: 32px;
}

/* ── PRODUCTS SECTION ───────────────────────────────────────── */
.itc-products {
    background: var(--itc-white);
    padding: 80px 24px 56px;
}

.itc-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}

.itc-section-title {
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    color: var(--itc-navy);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}

.itc-section-desc {
    font-size: 20px;
    color: var(--itc-text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.itc-section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.itc-section-divider span {
    display: block;
    height: 4px;
    border-radius: 4px;
    background: var(--itc-red);
}
.itc-section-divider span:nth-child(1) { width: 48px; }
.itc-section-divider span:nth-child(2) { width: 12px; background: var(--itc-navy); }
.itc-section-divider span:nth-child(3) { width: 8px; background: var(--itc-blue); }

/* ── GRID ───────────────────────────────────────────────────── */
.itc-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── CARD ───────────────────────────────────────────────────── */
.itc-card {
    background: var(--itc-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--itc-shadow-sm);
    border: 1px solid rgba(72,101,136,0.12);
    display: flex;
    flex-direction: column;
    transition: transform var(--itc-transition), box-shadow var(--itc-transition);
    position: relative;
}
.itc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--itc-shadow-lg);
    border-color: rgba(72,101,136,0.22);
}

.itc-card--has-badge .itc-card__img-wrap { overflow: visible; }

.itc-card__img-wrap {
    position: relative;
    background: linear-gradient(160deg, var(--itc-off-white) 0%, var(--itc-grey) 100%);
    padding: 32px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
}
.itc-card__img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(244,247,251,0.6), transparent);
}

.itc-card__img-wrap img {
    width: 100%;
    max-width: 220px;
    height: 180px;
    object-fit: contain;
    transition: transform 0.45s ease;
    position: relative;
    z-index: 1;
}
.itc-card:hover .itc-card__img-wrap img { transform: scale(1.06) translateY(-4px); }

.itc-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    color: var(--itc-white);
}
.itc-card__badge--popular { background: linear-gradient(135deg, var(--itc-navy), #0e3b6e); box-shadow: 0 4px 12px rgba(4,30,61,0.35); }
.itc-card__badge--pro     { background: linear-gradient(135deg, var(--itc-red), #c82035);  box-shadow: 0 4px 12px rgba(172,22,39,0.40); }
.itc-card__badge--new     { background: linear-gradient(135deg, #1a7a4a, #2a9e64);        box-shadow: 0 4px 12px rgba(26,122,74,0.38); }

.itc-card__body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}

.itc-card__name {
    font-family: 'Roboto Condensed', 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--itc-navy);
    line-height: 1.2;
}

.itc-card__desc {
    font-size: 20px;
    color: var(--itc-text-light);
    line-height: 1.55;
    flex: 1;
}

/* ── CTA BAR ────────────────────────────────────────────────── */
.itc-cta-bar {
    max-width: 1240px;
    margin: 56px auto 0;
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--itc-navy) 0%, #0d3460 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.itc-cta-bar::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(172,22,39,0.15);
}
.itc-cta-bar::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(72,101,136,0.18);
}
.itc-cta-bar .itc-btn { position: relative; z-index: 2; }

/* ── FOOTER BAR ─────────────────────────────────────────────── */
.itc-footer-bar {
    background: var(--itc-navy);
    text-align: center;
    padding: 20px 24px;
}
.itc-footer-bar p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes itcFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes itcFadeLeft {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes itcPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%       { transform: scale(1.25); opacity: 0.2; }
}
@keyframes itcBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* Scroll-in animation class (triggered by JS) */
.itc-card,
.itc-new-device__content,
.itc-new-device__image {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.itc-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .itc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .itc-wrap { font-size: 20px; }

    .itc-hero { padding: 56px 20px 100px; }
    .itc-hero__content { grid-template-columns: 1fr; gap: 36px; }
    .itc-hero__image { order: -1; }
    .itc-hero__img-wrapper img { max-width: 340px; margin: 0 auto; }
    .itc-hero__ctas { flex-direction: column; }
    .itc-hero__ctas .itc-btn { width: 100%; text-align: center; }

    .itc-new-device__inner { grid-template-columns: 1fr; gap: 36px; }
    .itc-new-device__image { order: -1; }

    .itc-grid { grid-template-columns: 1fr; max-width: 480px; }

    .itc-cta-bar { border-radius: 16px; padding: 36px 20px; }
}

@media (max-width: 480px) {
    .itc-hero__h1 { font-size: 34px; }
    .itc-section-title { font-size: 30px; }
    .itc-new-device__name { font-size: 34px; }
    .itc-btn { font-size: 15px; padding: 13px 24px; }
    .itc-btn--cta-bar { font-size: 16px; padding: 16px 32px; }
}

/* ── PRINT ──────────────────────────────────────────────────── */
@media print {
    .itc-hero { background: var(--itc-navy) !important; }
    .itc-btn { border: 2px solid var(--itc-navy) !important; color: var(--itc-navy) !important; background: transparent !important; }
}
