/* =========================================
   CtaContactNetifly · CTA + Header Styles
   Prefijo: ccn- para evitar conflictos WP
   type="cta"    → sección CTA final compacta
   type="header" → hero centrado de página interior
   ========================================= */

/* ---- BASE COMPARTIDA ---- */
.ccn-section {
    text-align: center;
    box-sizing: border-box;

  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

}

/* ---- TYPE: CTA ---- */
.ccn-section--cta {
    padding: 40px 40px;
    background: var(--bg2);
}

/* ---- TYPE: HEADER ---- */
.ccn-section--header {
    padding: 88px 48px 72px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 160, 210, 0.07) 0%, transparent 70%);
}

/* ---- LABEL ---- */
.ccn-label {
    font-family: var(--mont);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ccn-label::before,
.ccn-label::after {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--blue);
    flex-shrink: 0;
}

/* ---- TITLE ---- */
.ccn-title {
    font-family: var(--mont);
    font-size: clamp(20px, 2.5vw, 36px);
    font-weight: 900;
    text-transform: uppercase;
    max-width: 560px;
    margin: 0 auto 12px;
    line-height: 1.05;
    color: var(--text);
    letter-spacing: -0.3px;
}

.ccn-title span {
    color: var(--blue);
}

/* ---- BODY ---- */
.ccn-body {
    font-family: var(--mont);
    font-size: 14px;
    font-weight: 400;
    color: var(--soft);
    max-width: 400px;
    margin: 0 auto 24px;
    line-height: 1.85;
}

/* ---- BUTTON ---- */
.ccn-btn {
    padding: 12px 28px;
    background: var(--blue);
    color: #fff;
    font-family: var(--mont);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
    box-sizing: border-box;
}

.ccn-btn:hover {
    background: var(--blue-lt);
    color: #fff;
}

/* ---- EYEBROW (type=header) ---- */
.ccn-eyebrow {
    font-family: var(--mont);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ccn-eyebrow::before,
.ccn-eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--blue);
    flex-shrink: 0;
}

/* ---- H1 (type=header) ---- */
.ccn-h1 {
    font-family: var(--mont);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 900;
    line-height: 0.97;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text);
}

.ccn-h1 em {
    font-style: normal;
    color: var(--blue);
}

/* Subtítulo más grande en header */
.ccn-section--header .ccn-body {
    font-size: 16px;
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 40px;
}

/* ---- CTAS WRAPPER (type=header) ---- */
.ccn-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- BTN-BLUE (type=header) ---- */
.ccn-btn-blue {
    padding: 14px 36px;
    background: var(--blue);
    color: #fff;
    font-family: var(--mont);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
    box-sizing: border-box;
}

.ccn-btn-blue:hover {
    background: var(--blue-lt);
    color: #fff;
}

/* ---- BTN-OUTLINE (type=header) ---- */
.ccn-btn-outline {
    padding: 14px 36px;
    background: transparent;
    color: var(--soft);
    font-family: var(--mont);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
    box-sizing: border-box;
}

.ccn-btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .ccn-section--header {
        padding: 56px 24px 48px;
    }
}

@media (max-width: 600px) {
    .ccn-section--cta {
        padding: 40px 24px;
    }

    .ccn-btn {
        display: block;
        text-align: center;
    }

    .ccn-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .ccn-btn-blue,
    .ccn-btn-outline {
        text-align: center;
    }
}
