:root {
    /* Colors - Sophisticated palette */
    --primary: #FF6B35;
    --primary-dark: #E85A28;
    --primary-light: #FF8A5C;
    --secondary: #1A2238;
    --secondary-light: #2D3550;
    --accent: #F7931E;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #757575;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-cream: #FFF8F3;
    --border: #E8E8E8;
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

/* Logo Image Only */
.logo {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(255, 107, 53, 0.30));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    margin-top: 16px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-cta {
    display: inline-block;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--secondary);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: 100px;
    border: 2px solid var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: 100px;
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.05); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 107, 53, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 8px;
}

.hero-visual {
    position: relative;
    height: 600px;
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-card {
    position: absolute;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.card-1 {
    width: 280px;
    height: 380px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A5C 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    animation: cardFloat1 6s ease-in-out infinite;
}

.card-2 {
    width: 240px;
    height: 320px;
    background: linear-gradient(135deg, #1A2238 0%, #2D3550 100%);
    top: 40%;
    left: 60%;
    transform: translate(-50%, -50%) rotate(8deg);
    animation: cardFloat2 7s ease-in-out infinite;
}

.card-3 {
    width: 200px;
    height: 280px;
    background: linear-gradient(135deg, #F7931E 0%, #FFB347 100%);
    top: 60%;
    left: 35%;
    transform: translate(-50%, -50%) rotate(-12deg);
    animation: cardFloat3 8s ease-in-out infinite;
}

@keyframes cardFloat1 {
    0%, 100% { transform: translate(-50%, -50%) rotate(-6deg) translateY(0); }
    50% { transform: translate(-50%, -50%) rotate(-6deg) translateY(-20px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translate(-50%, -50%) rotate(8deg) translateY(0); }
    50% { transform: translate(-50%, -50%) rotate(8deg) translateY(-15px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translate(-50%, -50%) rotate(-12deg) translateY(0); }
    50% { transform: translate(-50%, -50%) rotate(-12deg) translateY(-25px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
    font-size: 13px;
    font-weight: 500;
    animation: fadeIn 1s ease-out 1s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scroll-arrow {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-medium);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-medium);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translate(-50%, 0); opacity: 0; }
    50% { transform: translate(-50%, 12px); opacity: 1; }
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-cream);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* Services Section */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--primary);
    transform: scale(1.1);
}

.service-icon svg {
    stroke: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-desc {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-link {
    gap: 8px;
}

/* Features Section */
.features {
    background: var(--secondary);
    color: white;
}

.features .section-tag {
    background: rgba(255, 107, 53, 0.15);
}

.features .section-title {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.feature-item {
    position: relative;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -300px;
    right: -200px;
}

.cta::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -200px;
    left: -100px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: var(--bg-light);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
}

.footer-phone:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-address {
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    line-height: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .logo {
        height: 58px;
    }

    .nav-menu {
        position: fixed;
        top: 88px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        padding: 32px;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 40px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 80px;
    }

    .logo {
        height: 52px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

/* ── Nav Phone + WhatsApp Buttons ── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-call-btn,
.nav-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 20px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-call-btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.nav-call-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

.nav-whatsapp-btn {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.nav-whatsapp-btn:hover {
    background: #1ebe5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ── Footer Address with Icons ── */
.footer-addr-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.addr-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.footer-addr-item span,
.footer-addr-item a {
    font-style: normal;
    line-height: 1.6;
}

/* ── Floating Right-Side Call & WhatsApp ── */
.floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 9999;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    /* Collapsed — show only icon */
    max-width: 52px;
    border-radius: 12px 0 0 12px;
    margin-bottom: 6px;
    box-shadow: -3px 3px 16px rgba(0,0,0,0.18);
}

.float-btn span {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.float-btn:hover {
    max-width: 180px;
    padding-right: 20px;
}

.float-btn:hover span {
    opacity: 1;
    max-width: 120px;
}

.float-call {
    background: var(--primary);
}

.float-call:hover {
    background: var(--primary-dark);
    box-shadow: -4px 4px 20px rgba(255, 107, 53, 0.5);
}

.float-whatsapp {
    background: #25D366;
}

.float-whatsapp:hover {
    background: #1ebe5c;
    box-shadow: -4px 4px 20px rgba(37, 211, 102, 0.5);
}

/* ── Responsive: Nav buttons on mobile ── */
@media (max-width: 968px) {
    .nav-actions {
        display: none;
    }

    .float-btn {
        padding: 12px 14px;
        max-width: 48px;
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .float-btn {
        padding: 10px 12px;
        max-width: 44px;
        margin-bottom: 4px;
    }
}


/* ═══════════════════════════════════════════════════
   AUTO POPUP ENQUIRY FORM
   Works perfectly on: PC · iPhone · Android · Tablet
═══════════════════════════════════════════════════ */

/* ── OVERLAY ── */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;
    display: flex;
    align-items: center;       /* PC: centered */
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ── BOX ── */
.popup-box {
    background: #fff;
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.popup-overlay.active .popup-box {
    transform: translateY(0) scale(1);
}

/* ── HEADER ── */
.popup-header {
    background: linear-gradient(135deg, #FF6B35 0%, #E85A28 100%);
    padding: 20px 52px 18px 20px;   /* right padding leaves space for close btn */
    text-align: center;
    position: relative;
}
.popup-badge {
    display: inline-block;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 50px;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}
.popup-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 5px;
    line-height: 1.2;
}
.popup-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.92);
    margin: 0;
    line-height: 1.4;
}

/* ── CLOSE BUTTON — inside header, top-right ── */
.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.22);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.popup-close:hover,
.popup-close:active {
    background: rgba(255,255,255,0.38);
}

/* ── FORM AREA ── */
.popup-form {
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Single field */
.popup-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.popup-field label {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.2px;
}
/* CRITICAL: font-size 16px stops auto-zoom on iPhone + Android */
.popup-field input,
.popup-field select {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #ddd;
    border-radius: 9px;
    font-size: 16px;
    font-family: var(--font-body);
    color: #1a1a1a;
    background: #f7f7f7;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.18s ease, background 0.18s ease;
}
/* Custom arrow for select */
.popup-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 36px;
}
.popup-field input:focus,
.popup-field select:focus {
    border-color: #FF6B35;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}
.popup-field input.error,
.popup-field select.error {
    border-color: #e53e3e;
    background: #fff5f5;
}

/* Two-column row (Moving From / To) */
.popup-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* ── SUBMIT BUTTON ── */
.popup-submit {
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, #FF6B35 0%, #E85A28 100%);
    color: #fff;
    border: none;
    border-radius: 11px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    box-shadow: 0 5px 16px rgba(255,107,53,0.35);
    transition: opacity 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    margin-top: 2px;
}
.popup-submit:hover { opacity: 0.92; transform: translateY(-1px); }
.popup-submit:active { transform: scale(0.98); opacity: 0.88; }
.popup-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.popup-privacy {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin: 0;
}

/* ── SUCCESS STATE ── */
.popup-success {
    padding: 30px 20px;
    text-align: center;
}
.popup-success-icon {
    font-size: 50px;
    margin-bottom: 12px;
    animation: popBounce 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popBounce {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.popup-success h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: #1A2238;
    margin: 0 0 8px;
}
.popup-success p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
}
.popup-success-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.popup-call-btn,
.popup-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    min-height: 46px;
    transition: opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.popup-call-btn { background: #FF6B35; color: #fff; }
.popup-wa-btn   { background: #25D366; color: #fff; }
.popup-call-btn:active, .popup-wa-btn:active { opacity: 0.82; }

/* ════════════════════════════════════════
   MOBILE — bottom sheet (≤ 640px)
   iPhone + Android phones
═════════════════════════════════════════ */
@media (max-width: 640px) {

    /* Overlay anchors to bottom */
    .popup-overlay {
        align-items: flex-end;
        padding: 0;
    }

    /* Box slides up from bottom */
    .popup-box {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        /* % not vh — avoids Android address bar bug */
        max-height: 93%;
        transform: translateY(100%);
        transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
        /* iPhone safe area (home bar) */
        padding-bottom: env(safe-area-inset-bottom, 8px);
    }
    .popup-overlay.active .popup-box {
        transform: translateY(0);
    }

    /* Drag handle visual cue */
    .popup-box::before {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        background: rgba(255,255,255,0.45);
        border-radius: 4px;
        margin: 0 auto;
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Header compact */
    .popup-header {
        padding: 20px 52px 14px 16px;
        padding-top: 18px;
    }
    .popup-title  { font-size: 17px; }
    .popup-subtitle { font-size: 12px; }
    .popup-badge { font-size: 10px; margin-bottom: 6px; }

    /* Form tight */
    .popup-form { padding: 12px 14px 12px; gap: 8px; }
    .popup-field input,
    .popup-field select {
        padding: 11px 12px;
        font-size: 16px !important; /* must stay 16px — stops zoom */
        border-radius: 8px;
    }
    .popup-field label { font-size: 11px; }

    /* From/To side by side on mobile too */
    .popup-row-2 { grid-template-columns: 1fr 1fr; gap: 8px; }

    /* Submit */
    .popup-submit { font-size: 14px; padding: 13px 14px; min-height: 48px; }

    /* Success */
    .popup-success { padding: 24px 16px 28px; }
    .popup-success h3 { font-size: 18px; }
    .popup-success-btns { flex-direction: column; gap: 8px; }
    .popup-call-btn, .popup-wa-btn {
        width: 100%;
        justify-content: center;
        border-radius: 11px;
        min-height: 48px;
    }
}

/* Very small phones — iPhone SE (375px), Galaxy A series */
@media (max-width: 380px) {
    .popup-form { padding: 10px 12px 10px; gap: 7px; }
    .popup-title { font-size: 16px; }
    .popup-field input,
    .popup-field select { padding: 10px 11px; }
    .popup-row-2 { grid-template-columns: 1fr; } /* stack on tiny screens */
}
