/*
Theme Name:  PanAmerican Express
Theme URI:   https://panamericanlatino.com
Author:      Pan American Latino Express
Author URI:  https://panamericanlatino.com
Description: PanAmerican Express — Tema de mudanzas PR ↔ Florida. Diseño moderno con Elementor, 7 páginas preconstruidas e instalador de demo en un clic. Versión 2.0.
Version:     3.3.5
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: panamerican-express
Tags:        elementor, one-column, full-width-template, custom-colors, custom-menu, featured-images, translation-ready
*/

/* Colores de marca -------------------------------------------------------- */
/* --pal-navy:      #082b72                                                   */
/* --pal-green:     #73a42c                                                   */
/* --pal-green-lt:  #b8d34d                                                   */
/* ------------------------------------------------------------------------ */

/* =========================================================================
   RESET & BASE
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    margin-top: 0 !important; /* remove WP admin bar offset */
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a2340;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

#wpadminbar { position: fixed !important; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* =========================================================================
   TOP BAR
   ====================================================================== */
/* ── Google Translate: hide default banner & widget ── */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip-opened { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { display: none !important; }
/* Only hide GT's own injected toolbar (direct child of body), not page content wrapped with skiptranslate */
body > .skiptranslate { display: none !important; }
#pal-gt-container { display: none !important; }
/* Keep translated content visible */
font[color] { color: inherit !important; }

/* ── Topbar ── */
.pal-topbar {
    background: #051d50;
    padding: .45rem 0;
    font-size: .8rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
    z-index: 1100;
}

.pal-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pal-topbar-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.pal-topbar-sep {
    color: rgba(255,255,255,.2);
}

.pal-topbar a,
.pal-topbar-left a {
    color: rgba(255,255,255,.7);
    transition: color .2s;
}

.pal-topbar a:hover,
.pal-topbar-left a:hover { color: #b8d34d; }

.pal-topbar-right {
    display: flex !important;
    align-items: center;
    gap: .85rem;
    flex-shrink: 0;
}

/* ── Social icons in topbar ── */
.pal-tb-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,.1);
    border-radius: 6px;
    color: rgba(255,255,255,.75) !important;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}

.pal-tb-social:hover {
    background: #73a42c;
    color: #fff !important;
}

/* ── Language toggle ── */
.pal-lang-toggle {
    display: flex;
    align-items: center;
    gap: .15rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    padding: .18rem .4rem;
}

.pal-lang-divider {
    color: rgba(255,255,255,.2);
    font-size: .65rem;
    line-height: 1;
    padding: 0 .1rem;
}

.pal-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
    font-size: .68rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    padding: .22rem .45rem;
    border-radius: 14px;
    transition: background .2s, color .2s;
    letter-spacing: .04em;
    white-space: nowrap;
}

.pal-lang-flag {
    font-size: .85rem;
    line-height: 1;
}

.pal-lang-btn:hover {
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.1);
}

.pal-lang-btn.active {
    background: #73a42c;
    color: #fff;
    padding: .22rem .5rem;
}

.pal-lang-btn.active:hover {
    background: #5e8a1f;
}

/* =========================================================================
   HEADER
   ====================================================================== */
.pal-header {
    background: #082b72;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,.18);
}

.pal-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: .75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pal-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.pal-logo img {
    height: 80px;
    width: auto;
    display: block;
}

/* ── Navigation ── */
.pal-nav { margin-left: auto; }

.pal-nav ul {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pal-nav ul li a {
    display: block;
    padding: .55rem .85rem;
    color: rgba(255,255,255,.88);
    font-size: .9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: background .2s, color .2s;
}

.pal-nav ul li a:hover,
.pal-nav ul li.current-menu-item > a {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* ── CTA button ── */
.pal-header-cta {
    flex-shrink: 0;
    background: #73a42c;
    color: #fff !important;
    font-size: .88rem;
    font-weight: 700;
    padding: .6rem 1.25rem;
    border-radius: 8px;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}

.pal-header-cta:hover {
    background: #5e8a1f;
    transform: translateY(-1px);
}

/* ── Hamburger toggle ── */
.pal-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: .25rem .5rem;
    margin-left: auto;
    line-height: 1;
}

/* =========================================================================
   FOOTER
   ====================================================================== */
.pal-footer {
    background: #082b72;
    color: rgba(255,255,255,.85);
    padding: 3.5rem 1.5rem 0;
}

.pal-ft-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

/* Brand column */
.pal-ft-brand {}

.pal-ft-brand img { margin-bottom: 1rem; }

.pal-ft-brand p {
    font-size: .88rem;
    line-height: 1.7;
    color: rgba(255,255,255,.6);
    margin: 0 0 1.25rem;
}

.pal-ft-social {
    display: flex;
    gap: .75rem;
}

.pal-ft-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    font-weight: 700;
    transition: background .2s, color .2s;
}

.pal-ft-social a:hover {
    background: #73a42c;
    color: #fff;
}

/* Footer columns */
.pal-ft-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin: 0 0 1rem;
}

.pal-ft-col ul { list-style: none; margin: 0; padding: 0; }

.pal-ft-col ul li { margin-bottom: .5rem; }

.pal-ft-col ul li a {
    color: rgba(255,255,255,.7);
    font-size: .88rem;
    transition: color .2s;
}

.pal-ft-col ul li a:hover { color: #fff; }

/* Contact column */
.pal-ft-ci {
    font-size: .88rem;
    color: rgba(255,255,255,.75);
    margin-bottom: .65rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.pal-ft-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #b8d34d;
    border-radius: 7px;
    font-size: .95rem;
    color: #082b72;
    line-height: 1;
    flex-shrink: 0;
}

.pal-ft-ci a {
    color: rgba(255,255,255,.85);
    transition: color .2s;
}

.pal-ft-ci a:hover { color: #73a42c; }

.pal-ft-offices {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
    margin-top: .85rem;
    line-height: 1.6;
}

/* Bottom bar */
.pal-ft-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}

.pal-ft-bottom a {
    color: rgba(255,255,255,.45);
    transition: color .2s;
}

.pal-ft-bottom a:hover { color: rgba(255,255,255,.8); }

/* =========================================================================
   REMOVE SECTION GAPS (white borders between sections)
   ====================================================================== */
.elementor-section,
.elementor-top-section,
.e-con,
.elementor-section-wrap > .elementor-section { margin-top: 0 !important; margin-bottom: 0 !important; }

.elementor-widget-wrap,
.elementor-widget { margin-bottom: 0 !important; }

.elementor-column > .elementor-widget-wrap { padding: 0 !important; }

/* Ensure HTML widgets fill their container with no gap */
.elementor-widget-html { display: block; line-height: 0; width: 100%; }
.elementor-widget-html > .elementor-widget-container { line-height: normal; width: 100%; }
/* Ensure the root div of each HTML widget fills its container */
.elementor-widget-html > .elementor-widget-container > div { width: 100%; box-sizing: border-box; }
/* Prevent line-height:0 from propagating into widget content */
.elementor-widget-html strong,
.elementor-widget-html span,
.elementor-widget-html p,
.elementor-widget-html div { line-height: inherit; }

/* =========================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1024px) {
    .pal-ft-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .pal-menu-toggle { display: block; }

    .pal-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #082b72;
        padding: 1rem 1.5rem;
        box-shadow: 0 8px 24px rgba(0,0,0,.25);
        z-index: 999;
    }

    .pal-nav.open { display: block; }

    .pal-nav ul { flex-direction: column; gap: .25rem; }

    .pal-nav ul li a {
        padding: .75rem 1rem;
        border-radius: 8px;
    }

    .pal-header-cta { display: none; }

    .pal-header { position: relative; }

    .pal-ft-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pal-ft-bottom {
        flex-direction: column;
        text-align: center;
        gap: .5rem;
    }

    .pal-topbar-inner {
        flex-wrap: wrap;
        gap: .35rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Hide topbar email on very small phones — keep phones + social visible */
    .pal-topbar-left a[href^="mailto"] { display: none; }
    .pal-topbar-left .pal-topbar-sep:first-of-type { display: none; }

    /* Reduce header padding on small phones */
    .pal-header-inner { padding: .5rem 1rem; }
    .pal-logo img { height: 60px; }

    /* Footer padding on small phones */
    .pal-footer { padding: 2.5rem 1rem 0; }
    .pal-ft-grid { gap: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION FIXES — line-height, icon visibility, spacing
   ═══════════════════════════════════════════════════════════════ */

/* ── Line-height fixes (badge / label text too tight) ── */
.pct-info-lbl, .pct-info-txt, .pct-stat-lbl,
.pcf-ofc-badge,
.pq2-ptxt h4,
.palh-badge2 span, .palh-badge2 strong,
.palh-badge span, .palh-badge strong,
.pah-badge-txt span, .pah-badge-txt .pah-badge-sub {
    line-height: 130% !important;
}

/* ── Contact hero: info icon background ── */
.pct-info-ico {
    background: #b8d34d !important;
    color: #082b72 !important;
}

/* ── Contact form: office badge spacing ── */
.pcf-ofc-badge {
    margin-bottom: 20px !important;
}

/* ── Why choose us: float badge position ── */
.pw2-float {
    bottom: 6px !important;
}

/* ── Why choose us icons: force white so text chars (✓) are visible on dark bg ── */
.pw2-ico,
.pw2-ico.g,
.pw2-ico.b {
    color: #fff !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
}

/* ── FAQ accordion toggle icon ── */
.pfq2-icon {
    color: #082b72 !important;
    font-size: .8rem !important;
    font-weight: 800 !important;
}
.pfq2-item.open .pfq2-icon {
    color: #fff !important;
}

/* ── Quote perks icons: ensure visible on light bg ── */
.pq2-ico {
    color: #3d4560 !important;
    font-size: 1.1rem !important;
    line-height: 1 !important;
}

/* ── About hero badge ── */
.pah-badge-ico {
    font-size: 1.1rem !important;
    line-height: 1 !important;
}

/* ── Services sidebar & vehicles sidebar contact icons ── */
.psv3s-ci-ico,
.pvh2s-ci-ico,
.pfq2-ci-ico {
    font-size: .95rem !important;
    color: #082b72 !important;
    line-height: 1 !important;
}

/* ── Trust bar icons: ensure emoji visible ── */
.pt-ico {
    font-size: 1.15rem !important;
    line-height: 1 !important;
}

/* ── Moving tips box icons ── */
.pmtb-spec-ico {
    display: block !important;
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
}

/* ── Vehicles hero float icon ── */
.pvh-float-ico {
    font-size: 1.4rem !important;
    line-height: 1 !important;
}

/* ── About main value cards ── */
.pam-val-icon {
    font-size: 1.3rem !important;
    line-height: 1 !important;
}

/* ── About main skills icons ── */
.pam-skill-ico {
    font-size: .95rem !important;
    line-height: 1 !important;
    color: #3d4560 !important;
}

/* ── Contact map section location icons ── */
.plc-ico {
    font-size: .9rem !important;
    line-height: 1.4 !important;
}

/* ── Hero badges: ensure no clip ── */
.palh-hw {
    overflow: visible !important;
}
.palh-rgt {
    overflow: visible !important;
}

/* ── Header: font family on CTA button ── */
.pal-header-cta {
    font-family: Montserrat, sans-serif;
    font-size: .85rem;
    letter-spacing: .01em;
}
