/* ================================================================
   TRADEPRINT THEME — PAGES/CONTACT.CSS
   ================================================================ */

/* ----------------------------------------------------------------
   PAGE HERO
   ---------------------------------------------------------------- */
.page-hero {
    background:
        linear-gradient(160deg, rgba(3,7,18,.75) 0%, rgba(14,42,95,.65) 50%, rgba(21,101,192,.55) 100%),
        url('../../images/hero/2.webp') center/cover no-repeat;
    color: #fff;
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(66,165,245,.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-hero__content {
    flex: 1;
    min-width: 0;
}

.page-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.page-hero__label i {
    font-size: 12px;
    color: var(--tp-green);
}

.page-hero__title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-hero__sub {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.75);
    max-width: 480px;
    margin-bottom: 24px;
}

.page-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.page-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}

.page-hero__btn--primary {
    background: var(--tp-green);
    color: #fff;
    border: 2px solid var(--tp-green);
}

.page-hero__btn--primary:hover {
    background: var(--tp-green-dark);
    border-color: var(--tp-green-dark);
    color: #fff;
    transform: translateY(-1px);
}

.page-hero__btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.35);
}

.page-hero__btn--outline:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
    color: #fff;
}

/* Stats block */
.page-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    padding: 24px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-width: 220px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-stat__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(21,101,192,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--tp-green-light);
    flex-shrink: 0;
}

.hero-stat__value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.hero-stat__label {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    margin-top: 2px;
}

/* ----------------------------------------------------------------
   CONTACT SECTION (form)
   ---------------------------------------------------------------- */
.contact-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.contact-title {
    color: var(--tp-dark-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-sub-text {
    color: var(--tp-dark-blue);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.form-label {
    color: var(--tp-dark-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.form-control,
.form-select {
    border: 1px solid #ced4da;
    padding: 10px 12px;
    font-size: 0.9rem;
    border-radius: 4px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tp-green);
    box-shadow: 0 0 0 0.25rem rgba(147, 192, 125, 0.25);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.privacy-disclaimer {
    font-size: 0.8rem;
    color: var(--tp-dark-blue);
    opacity: 0.8;
    margin-top: 14px;
    margin-bottom: 14px;
}

.btn-submit {
    background-color: var(--tp-green);
    color: white;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 4px;
    border: none;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #81ab6d;
    color: white;
    transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   CONTACT METHODS SECTION
   ---------------------------------------------------------------- */
.contact-methods-section {
    padding: 56px 0;
    background: #f4f7f9;
}

.cms__header {
    text-align: center;
    margin-bottom: 36px;
}

.cms__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--tp-green);
    background: #E3F2FD;
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 12px;
}

.cms__title {
    font-size: 26px;
    font-weight: 800;
    color: var(--tp-dark);
    margin-bottom: 8px;
}

.cms__sub {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

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

/* Card base */
.cms-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e9ee;
    transition: box-shadow .2s, transform .2s;
    position: relative;
    overflow: hidden;
}

.cms-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 12px 12px 0 0;
}

.cms-card--chat::before  { background: linear-gradient(90deg, var(--tp-green), var(--tp-green-light)); }
.cms-card--phone::before { background: linear-gradient(90deg, #1565c0, #1976d2); }
.cms-card--address::before { background: linear-gradient(90deg, #e65100, #f57c00); }

.cms-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.09);
    transform: translateY(-3px);
}

.cms-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cms-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.cms-card--chat  .cms-card__icon { background: #E3F2FD; color: var(--tp-green); }
.cms-card--phone .cms-card__icon { background: #e3f2fd; color: #1565c0; }
.cms-card--address .cms-card__icon { background: #fff3e0; color: #e65100; }

.cms-card__badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.cms-card__badge--live {
    background: #dcfce7;
    color: #16a34a;
}

.cms-card__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--tp-dark);
    margin-bottom: 8px;
}

.cms-card__text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.cms-card__number {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--tp-dark);
    text-decoration: none;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

.cms-card__number:hover { color: #1565c0; }

.cms-card__address {
    font-size: 13px;
    font-weight: 600;
    color: var(--tp-dark);
    line-height: 1.8;
    font-style: normal;
    margin-bottom: 20px;
}

.cms-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* Buttons inside cards */
.cms-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.cms-btn--green {
    background: var(--tp-green);
    color: #fff;
}

.cms-btn--green:hover {
    background: var(--tp-green-dark);
    color: #fff;
}

.cms-btn--whatsapp {
    background: #25d366;
    color: #fff;
}

.cms-btn--whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
}

.cms-btn--outline {
    background: transparent;
    color: var(--tp-dark);
    border: 1.5px solid #d1d5db;
}

.cms-btn--outline:hover {
    border-color: var(--tp-green);
    color: var(--tp-green);
}

/* ----------------------------------------------------------------
   SOCIAL SECTION
   ---------------------------------------------------------------- */
.social-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #1a3a6b 100%);
    padding: 40px 0;
}

.social-section__inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.social-section__left {
    flex-shrink: 0;
    max-width: 300px;
}

.social-section__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--tp-green-light);
    background: rgba(139,195,74,.15);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 10px;
}

.social-section__title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.social-section__sub {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin: 0;
    line-height: 1.6;
}

.social-section__links {
    display: flex;
    gap: 14px;
    flex: 1;
    flex-wrap: wrap;
}

.soc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    flex: 1;
    min-width: 140px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    transition: all .2s;
}

.soc-link:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.25);
    transform: translateY(-2px);
}

.soc-link__icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.soc-link--facebook .soc-link__icon  { background: #1877f2; color: #fff; }
.soc-link--twitter  .soc-link__icon  { background: #000;    color: #fff; }
.soc-link--linkedin .soc-link__icon  { background: #0a66c2; color: #fff; }
.soc-link--instagram .soc-link__icon {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: #fff;
}

.soc-link__name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1.2;
}

.soc-link__handle {
    font-size: 11px;
    color: rgba(255,255,255,.5);
    display: block;
    margin-top: 2px;
}

/* ----------------------------------------------------------------
   RESPONSIVE — TABLET (max 991px)
   ---------------------------------------------------------------- */
@media (max-width: 991px) {
    /* Hero */
    .page-hero { padding: 36px 0; }
    .page-hero__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
    .page-hero__stats {
        flex-direction: row;
        min-width: 0; width: 100%;
        padding: 16px 20px; gap: 0;
        justify-content: space-around;
    }
    .hero-stat { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

    /* Form */
    .contact-section { padding: 32px 0; }

    /* Contact methods */
    .contact-methods-section { padding: 40px 0; }
    .cms__grid { grid-template-columns: 1fr 1fr; }

    /* Social */
    .social-section { padding: 32px 0; }
    .social-section__inner { flex-direction: column; gap: 24px; }
    .social-section__left { max-width: 100%; }
    .social-section__links { width: 100%; }
    .soc-link { min-width: calc(50% - 7px); flex: none; }
}

/* ----------------------------------------------------------------
   RESPONSIVE — MOBILE (max 767px)
   ---------------------------------------------------------------- */
@media (max-width: 767px) {
    /* Hero */
    .page-hero { padding: 28px 0; }
    .page-hero__title { font-size: 26px; }
    .page-hero__sub { font-size: 13px; margin-bottom: 18px; }
    .page-hero__stats { padding: 14px 16px; }
    .hero-stat__value { font-size: 13px; }

    /* Form */
    .contact-section { padding: 24px 0; }
    .contact-title { font-size: 1.25rem; }
    .contact-sub-text { font-size: 0.85rem; margin-bottom: 16px; }
    .btn-submit { width: 100%; text-align: center; }
    textarea.form-control { height: 100px; }

    /* Contact methods */
    .contact-methods-section { padding: 32px 0; }
    .cms__grid { grid-template-columns: 1fr; }
    .cms__title { font-size: 22px; }

    /* Social */
    .social-section { padding: 28px 0; }
    .social-section__title { font-size: 19px; }
    .soc-link { min-width: calc(50% - 7px); flex: none; }
}

/* ----------------------------------------------------------------
   RESPONSIVE — SMALL MOBILE (max 575px)
   ---------------------------------------------------------------- */
@media (max-width: 575px) {
    /* Hero */
    .page-hero { padding: 24px 0; }
    .page-hero__title { font-size: 22px; letter-spacing: 0; }
    .page-hero__label { font-size: 10px; padding: 4px 10px; margin-bottom: 12px; }
    .page-hero__sub { font-size: 13px; }
    .page-hero__btn { padding: 10px 16px; font-size: 12px; flex: 1; justify-content: center; }
    .page-hero__stats { padding: 12px 8px; }
    .hero-stat__icon { width: 32px; height: 32px; font-size: 13px; }
    .hero-stat__value { font-size: 12px; }
    .hero-stat__label { font-size: 10px; }

    /* Form */
    .contact-section { padding: 20px 0; }
    .contact-title { font-size: 1.1rem; }
    .form-control, .form-select { padding: 10px; font-size: 0.85rem; }
    .privacy-disclaimer { font-size: 0.75rem; }

    /* Contact methods */
    .contact-methods-section { padding: 24px 0; }
    .cms__title { font-size: 19px; }
    .cms-card { padding: 22px 18px; }
    .cms-card__number { font-size: 18px; }
    .cms-btn { padding: 8px 14px; font-size: 12px; }

    /* Social */
    .social-section { padding: 24px 0; }
    .social-section__title { font-size: 17px; }
    .soc-link { min-width: 100%; }
    .soc-link__icon { width: 34px; height: 34px; font-size: 0.9rem; }
    .soc-link__name { font-size: 12px; }
}
