:root {
    --primary: #0A2540; --accent: #FF7A00; --wa-green: #25D366;
    --bg-light: #F8FAFC; --text-main: #334155; --text-light: #64748B;
    --white: #FFFFFF; --shadow: 0 4px 6px -1px rgba(0,0,0,0.1); --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text-main); line-height: 1.6; background: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* Header & Nav */
.site-header { background: var(--white); border-bottom: 1px solid #E2E8F0; padding: 15px 0; position: sticky; top: 0; z-index: 100; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); }
.logo span { color: var(--accent); }
.main-nav { display: flex; gap: 25px; align-items: center; font-weight: 500; }
.btn-call { background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 8px; transition: 0.3s; }
.btn-call:hover { background: var(--accent); }

/* Hero Section */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #1E3A8A 100%); color: white; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 15px; line-height: 1.2; }
.hero-sub { font-size: 20px; opacity: 0.9; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: white; padding: 15px 30px; border-radius: 8px; font-weight: 600; font-size: 18px; border: none; cursor: pointer; transition: transform 0.2s; display: inline-block; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-whatsapp { background: var(--wa-green); color: white; padding: 15px 30px; border-radius: 8px; font-weight: 600; font-size: 18px; transition: transform 0.2s; }

/* Content & Typography */
.content-section { padding: 60px 20px; }
.content-section h2 { font-size: 32px; color: var(--primary); margin: 40px 0 20px; font-weight: 700; }
.content-section h3 { font-size: 24px; color: var(--primary); margin: 30px 0 15px; }
.content-section p, .content-section li { font-size: 17px; margin-bottom: 15px; color: var(--text-main); }
.content-section ul { padding-left: 20px; margin-bottom: 20px; }

/* Forms & Footer */
.inquiry-section { background: var(--bg-light); padding: 60px 20px; text-align: center; }
.inquiry-section h2 { font-size: 36px; color: var(--primary); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; max-width: 900px; margin: 0 auto; }
.form-grid input, .form-grid select { padding: 15px; border: 1px solid #CBD5E1; border-radius: 8px; font-size: 16px; width: 100%; font-family: inherit; }
.form-grid .btn-primary { grid-column: 1 / -1; }
.site-footer { background: var(--primary); color: white; padding: 60px 20px 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.site-footer h3, .site-footer h4 { margin-bottom: 15px; font-size: 20px; }
.site-footer a { display: block; margin-bottom: 8px; opacity: 0.8; transition: 0.3s; }
.copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.6; font-size: 14px; }

/* Popup */
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,37,64,0.85); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.popup-content { background: white; padding: 40px; border-radius: var(--radius); max-width: 450px; width: 90%; text-align: center; position: relative; }
.popup-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 32px; cursor: pointer; color: #94A3B8; }
.popup-content input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #CBD5E1; border-radius: 8px; font-size: 16px; }
.popup-content .btn-primary { width: 100%; }

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 16px; }
    .main-nav a:not(.btn-call) { display: none; }
}/* --- HUB SECTIONS (Homepage Grids) --- */
.hub-section { padding: 60px 20px; text-align: center; }
.hub-section.bg-light { background: var(--bg-light); }
.hub-section h2 { font-size: 32px; color: var(--primary); margin-bottom: 40px; font-weight: 700; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.hub-card { 
    background: white; padding: 30px 20px; border-radius: var(--radius); 
    box-shadow: var(--shadow); text-decoration: none; color: var(--primary); 
    font-weight: 600; font-size: 18px; transition: transform 0.2s, box-shadow 0.2s; 
    border: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: center;
}
.hub-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: var(--accent); color: var(--accent); }

/* --- MEGA FOOTER LINKS --- */
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 40px; text-align: left; }
.footer-links h4 { color: var(--accent); margin-bottom: 15px; font-size: 18px; font-weight: 600; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 15px; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: white; padding-left: 5px; }
/* Mobile optimization for the pop-up */
@media (max-width: 768px) {
  .popup-modal {
    width: 85% !important;
    max-width: 350px !important;
    margin: 20px auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    /* Prevents it from covering the whole screen */
    max-height: 80vh !important; 
    overflow-y: auto !important;
  }

  /* Make the close button large and easy to tap on mobile */
  .popup-close-btn {
    width: 35px !important;
    height: 35px !important;
    background: #d9534f !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    position: absolute !important;
    top: -15px !important;
    right: -15px !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  }
}

@media (max-width: 768px) {
    .hub-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .hub-card { font-size: 15px; padding: 20px 10px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}