/* ===== RESET Y ESTILOS BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
}

body {
    background: linear-gradient(135deg, #167c91, #2d597c);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.tarjeta-harbi {
    max-width: 430px;
    width: 100%;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

/* ===== HEADER ===== */
.header-harbi {
    background: white;
    padding: 20px 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.harbi-brand {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== LOGO ===== */
.logo-circle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle img {
    width: clamp(100px, 20vw, 160px);
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===== FRANJA ===== */
.franja-asimetrica {
    position: relative;
    width: 110%;
    height: 190px;
    background: linear-gradient(90deg, #167c91, #2d597c);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 5px;
}

/* Curva superior */
.franja-asimetrica::before {
    content: "";
    position: absolute;
    top: -107px;
    left: -15%;
    width: 130%;
    height: 129px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0 0 90% 90%;
}

/* Curva inferior */
.franja-asimetrica::after {
    content: "";
    position: absolute;
    bottom: -87px;
    left: -10%;
    width: 120%;
    height: 120px;
    background: #f4f4f6;
    border-radius: 90% 90% 0 0;
}

/* Texto de la franja */
.texto-franja {
    position: relative;
    z-index: 10;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.texto-franja span {
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin-top: 4px;
}

/* ===== BODY ===== */
.body-harbi {
    background: #f4f4f6;
    padding: 8px 24px 32px;
}

/* ===== TITULOS ===== */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8ecf0;
}

.section-title i {
    color: #06749c;
    font-size: 18px;
}

/* ===== REDES SOCIALES ===== */
.social-grid-harbi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 25px;
}

.social-link {
    background: white;
    border-radius: 16px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: all .3s ease;
    gap: 4px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.social-link span {
    font-size: 10px;
    font-weight: 600;
    color: #333;
}

.social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ===== SERVICIOS ===== */
.servicios-harbi {
    display: flex;
    gap: 10px;
    margin: 20px 0 25px;
}

.servicio-item-h {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 16px 10px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.servicio-item-h:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.servicio-item-h i {
    font-size: 24px;
    color: #06749c;
}

.servicio-item-h span {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* ===== BOTON ===== */
.btn-llamar-harbi {
    display: block;
    width: 100%;
    background: #06749c;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 16px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all .25s ease;
    box-shadow: 0 4px 16px rgba(6,116,156,.3);
    text-transform: uppercase;
    margin-top: 8px;
}

.btn-llamar-harbi:hover {
    transform: scale(1.02);
    background:#167c91;
}

.btn-llamar-harbi i {
    margin-right: 10px;
}

/* ===== FOOTER ===== */
.footer-harbi {
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid #e8ecf0;
}

.footer-harbi i {
    color: #06749c;
    margin: 0 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {

    .tarjeta-harbi {
        border-radius: 30px;
    }

    .logo-circle img {
        width: 100px;
    }

    .franja-asimetrica {
        height: 110px;
    }

    .texto-franja {
        font-size: 16px;
    }

    .texto-franja span {
        font-size: 13px;
    }

    .social-grid-harbi {
        gap: 8px;
    }

    .social-link {
        height: 70px;
    }

    .social-icon {
        width: 22px;
        height: 22px;
    }

    .social-link span {
        font-size: 9px;
    }

    .servicios-harbi {
        gap: 6px;
    }

    .servicio-item-h {
        padding: 12px 6px;
    }

    .servicio-item-h i {
        font-size: 18px;
    }

    .servicio-item-h span {
        font-size: 9px;
    }

    .btn-llamar-harbi {
        font-size: 14px;
        padding: 14px 10px;
    }
}