/* ================================================================
   PARAMOUNT RISK — Faded Red Theme with Extreme Graphics
   ================================================================ */

/* ===== Keyframe Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

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

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

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes borderGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(180, 60, 60, 0.2); }
    50% { box-shadow: 0 0 30px rgba(180, 60, 60, 0.45); }
}

/* ===== Base ===== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #1a0a0a;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

/* ===== Navbar ===== */
.navbar {
    background: linear-gradient(180deg, rgba(40, 10, 10, 0.97) 0%, rgba(30, 8, 8, 0.95) 100%);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(200, 80, 80, 0.15);
    position: relative;
    z-index: 100;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 80, 80, 0.5), transparent);
}

.navbar-brand {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    text-transform: uppercase;
}

.navbar-logo {
    height: 50px;
    width: auto;
    margin-right: 0.6rem;
    mix-blend-mode: screen;
    filter: drop-shadow(0 2px 6px rgba(200, 60, 60, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(200, 60, 60, 0.6));
}

.navbar-brand-text {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #fff, #ffcccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: rgba(255, 200, 200, 0.8) !important;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.nav-link:hover {
    color: #ff9e9e !important;
    text-shadow: 0 0 12px rgba(255, 120, 120, 0.4);
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, #0d0505 0%, #1a0808 15%, #3a1212 40%, #5a1e1e 65%, #6b2525 85%, #4a1616 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    padding: 7rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Layered radial glow effects */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(200, 50, 50, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 60%, rgba(180, 40, 40, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 25%, rgba(150, 30, 30, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(255, 80, 80, 0.06) 0%, transparent 35%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: repeating-conic-gradient(
        rgba(255, 100, 100, 0.01) 0deg 10deg,
        transparent 10deg 20deg
    );
    animation: rotateSlow 120s linear infinite;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Floating decorative shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-shape-1 {
    width: 300px; height: 300px;
    top: -80px; left: -60px;
    background: radial-gradient(circle, rgba(200, 60, 60, 0.12) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px; height: 200px;
    top: 40%; right: -40px;
    background: radial-gradient(circle, rgba(255, 120, 80, 0.1) 0%, transparent 70%);
    animation: floatReverse 10s ease-in-out infinite;
}

.hero-shape-3 {
    width: 150px; height: 150px;
    bottom: -30px; left: 30%;
    background: radial-gradient(circle, rgba(200, 80, 80, 0.1) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite 2s;
}

.hero-shape-4 {
    width: 100px; height: 100px;
    top: 20%; left: 15%;
    border: 1px solid rgba(200, 80, 80, 0.15);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: rotateSlow 30s linear infinite, pulse 6s ease-in-out infinite;
}

.hero-shape-5 {
    width: 80px; height: 80px;
    bottom: 20%; right: 15%;
    border: 1px solid rgba(200, 80, 80, 0.12);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: rotateSlow 25s linear infinite reverse, pulse 8s ease-in-out infinite 1s;
}

.hero-grid-lines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(200, 80, 80, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 80, 80, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Hero text */
.hero-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    mix-blend-mode: screen;
    filter: drop-shadow(0 10px 40px rgba(255, 50, 50, 0.5)) drop-shadow(0 0 60px rgba(200, 40, 40, 0.3));
    animation: fadeInScale 1s ease-out both, float 6s ease-in-out 1s infinite;
}

/* Hide broken image gracefully */
.hero-logo:not([src$=".png"]),
.hero-logo[src=""] {
    display: none;
}

@media (min-width: 768px) {
    .hero-logo {
        width: 300px;
    }
}

@media (min-width: 1200px) {
    .hero-logo {
        width: 360px;
    }
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: slideUp 0.8s ease-out both;
}

.hero-domain {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 40%, #d4a0a0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(200, 50, 50, 0.3));
    animation: slideUp 0.8s ease-out 0.15s both;
    position: relative;
}

@media (min-width: 768px) {
    .hero-domain { font-size: 5rem; }
}

@media (min-width: 1200px) {
    .hero-domain { font-size: 5.5rem; }
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e04040, #ff5555, #e04040, transparent);
    margin: 0 auto 2.5rem;
    border: none;
    box-shadow: 0 0 12px rgba(220, 50, 50, 0.5), 0 0 30px rgba(200, 40, 40, 0.2);
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    animation: slideUp 0.8s ease-out 0.5s both;
}

.hero-cta {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out 0.6s both;
}

.hero-privacy {
    font-size: 0.9rem;
    color: rgba(255, 180, 180, 0.55);
    animation: slideUp 0.8s ease-out 0.7s both;
}

.hero-privacy a {
    color: #ff9e9e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-privacy a:hover {
    color: #ffcaca;
}

/* ===== Stats / Feature Badges ===== */
.stats-bar {
    padding: 3rem 0;
    background: linear-gradient(180deg, #1a0a0a 0%, #210e0e 100%);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 80, 80, 0.3), transparent);
}

.stats-bar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 80, 80, 0.3), transparent);
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: rgba(200, 60, 60, 0.06);
    border: 1px solid rgba(200, 80, 80, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.8s ease-out both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.25s; }
.stat-card:nth-child(3) { animation-delay: 0.4s; }
.stat-card:nth-child(4) { animation-delay: 0.55s; }

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 120, 120, 0.06), transparent);
    animation: shimmer 6s ease-in-out infinite;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 80, 80, 0.35);
    box-shadow: 0 15px 40px rgba(180, 40, 40, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(200, 60, 60, 0.4));
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffb3b3;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 180, 180, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== Two-Column Content ===== */
.content-section {
    background: #1a0a0a;
    padding: 0;
    position: relative;
}

.split-row { min-height: 0; }

.left-col {
    background: linear-gradient(135deg, #1a0a0a 0%, #3a1515 50%, #4a1a1a 100%);
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.left-col::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(200, 60, 60, 0.08) 0%, transparent 60%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.left-col-content {
    position: relative;
    z-index: 1;
    animation: slideInLeft 0.8s ease-out both;
}

.right-col {
    background: linear-gradient(135deg, #fdf2f2, #fef8f8, #fff);
    padding: 3.5rem 2.5rem;
    color: #333;
    display: flex;
    align-items: center;
    position: relative;
}

.right-col::before {
    content: '';
    position: absolute;
    top: 10%; left: -30px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(200, 60, 60, 0.06);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .left-col,
    .right-col { padding: 2.5rem 1.5rem; }
}

/* ===== Contact Form ===== */
.contact-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    animation: slideInRight 0.8s ease-out both;
}

.contact-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3d1111;
    margin-bottom: 0.5rem;
}

.contact-card .lead {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.contact-card .whatsapp-link {
    color: #25d366;
    font-weight: 600;
    text-decoration: none;
}

.contact-card .whatsapp-link:hover {
    text-decoration: underline;
}

.contact-card .privacy-note {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.contact-card .privacy-note .lock-icon {
    color: #c84040;
}

.form-control {
    border: 1px solid #e0c4c4;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    background: #fff;
    color: #333;
}

.form-control:focus {
    border-color: #c84040;
    box-shadow: 0 0 0 0.2rem rgba(200, 64, 64, 0.15);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #b09090;
}

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

.btn-submit {
    background: linear-gradient(135deg, #b83030, #8b2020, #6b1515);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.95rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(180, 40, 40, 0.45);
}

.btn-submit:hover::before {
    left: 200%;
}

.btn-submit:active {
    transform: translateY(0);
}

/* ===== Services Grid ===== */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #210e0e 0%, #1a0a0a 50%, #180909 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(200, 60, 60, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(200, 60, 60, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #ffb3b3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 180, 180, 0.5);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(200, 60, 60, 0.05);
    border: 1px solid rgba(200, 80, 80, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(200, 60, 60, 0.3), transparent, rgba(200, 60, 60, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(180, 40, 40, 0.2);
    border-color: rgba(200, 80, 80, 0.3);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 3px 10px rgba(200, 60, 60, 0.3));
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffcccc;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255, 200, 200, 0.6);
    line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, #4a1a1a 0%, #6b2525 50%, #8b3a3a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 1.1rem;
    color: rgba(255, 220, 220, 0.75);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: #fff;
    color: #6b2525;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    animation: borderGlow 3s ease-in-out infinite;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #6b2525;
}

/* ===== Success Alert ===== */
.alert-success-custom {
    background: linear-gradient(135deg, #f0d4d4, #f8e0e0);
    border: 1px solid #e0b3b3;
    color: #5a1a1a;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    animation: fadeInScale 0.5s ease-out both;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(180deg, #120808, #0a0404);
    color: rgba(255, 180, 180, 0.4);
    padding: 3rem 0 2rem;
    font-size: 0.9rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 80, 80, 0.25), transparent);
}

.site-footer a {
    color: #ff9e9e;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #ffcaca;
    text-decoration: underline;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 200, 200, 0.7);
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff, #ffb3b3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo {
    width: 90px;
    height: auto;
    margin-bottom: 0.75rem;
    mix-blend-mode: screen;
    filter: drop-shadow(0 2px 10px rgba(200, 60, 60, 0.3));
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.5rem;
    line-height: 1.8;
}

.footer-links a {
    white-space: nowrap;
}

.footer-sep {
    color: rgba(255, 180, 180, 0.25);
}

/* ===== Privacy Page ===== */
.privacy-page {
    background: linear-gradient(180deg, #1a0a0a, #210e0e);
    padding: 4rem 0;
}

.privacy-page h1 {
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, #ffb3b3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-page h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #ff9e9e;
}

.privacy-page p,
.privacy-page li {
    color: rgba(255, 200, 200, 0.75);
    line-height: 1.9;
}

.privacy-page a {
    color: #ff9e9e;
}

/* ===== Validation ===== */
.field-validation-error {
    color: #ff5252;
    font-size: 0.85rem;
}

.input-validation-error {
    border-color: #ff5252 !important;
}

/* ===== Focus styles ===== */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(200, 64, 64, 0.5);
}

/* ===== Utility ===== */
.text-red-accent { color: #ff9e9e; }
.text-red-muted { color: rgba(255, 180, 180, 0.5); }
.glow-text { filter: drop-shadow(0 0 12px rgba(200, 60, 60, 0.4)); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Construction / Coming Soon Page ===== */
.construction-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0505 0%, #1a0808 15%, #3a1212 40%, #5a1e1e 65%, #6b2525 85%, #4a1616 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

.construction-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 50% 35%, rgba(200, 50, 50, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 15% 60%, rgba(180, 40, 40, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 25%, rgba(150, 30, 30, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.construction-page::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: repeating-conic-gradient(
        rgba(255, 100, 100, 0.01) 0deg 10deg,
        transparent 10deg 20deg
    );
    animation: rotateSlow 120s linear infinite;
    pointer-events: none;
}

.construction-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 520px;
    width: 100%;
    animation: fadeInScale 1s ease-out both;
}

.construction-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    mix-blend-mode: screen;
    filter: drop-shadow(0 10px 40px rgba(255, 50, 50, 0.5)) drop-shadow(0 0 60px rgba(200, 40, 40, 0.3));
    animation: float 6s ease-in-out infinite;
}

@media (min-width: 768px) {
    .construction-logo { width: 240px; }
}

.construction-brand {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 40%, #d4a0a0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.construction-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: rgba(200, 60, 60, 0.15);
    border: 1px solid rgba(200, 80, 80, 0.3);
    color: #ffb3b3;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: pulse 3s ease-in-out infinite, slideUp 0.8s ease-out both;
}

.construction-badge-icon {
    font-size: 1.1rem;
}

.construction-headline {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff, #ffcccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 0.8s ease-out 0.15s both;
}

@media (min-width: 768px) {
    .construction-headline { font-size: 2.2rem; }
}

.construction-description {
    font-size: 0.95rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.construction-description strong {
    color: rgba(255, 255, 255, 0.85);
}

.construction-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e04040, #ff5555, #e04040, transparent);
    margin: 2rem auto;
    border: none;
    box-shadow: 0 0 12px rgba(220, 50, 50, 0.5), 0 0 30px rgba(200, 40, 40, 0.2);
    animation: slideUp 0.8s ease-out 0.4s both;
}

.construction-login {
    animation: slideUp 0.8s ease-out 0.5s both;
}

.construction-login-label {
    font-size: 0.75rem;
    color: rgba(255, 180, 180, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}

.construction-input {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(200, 80, 80, 0.25) !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.construction-input::placeholder {
    color: rgba(255, 180, 180, 0.35) !important;
}

.construction-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(200, 80, 80, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(200, 64, 64, 0.2);
    transform: translateY(-1px);
}

.construction-error {
    background: rgba(255, 60, 60, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.3);
    color: #ff9e9e;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    animation: fadeInScale 0.3s ease-out both;
}

.btn-enter-site {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #b83030, #8b2020, #6b1515);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn-enter-site::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-enter-site:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(180, 40, 40, 0.5);
}

.btn-enter-site:hover::before {
    left: 200%;
}

.btn-enter-site:active {
    transform: translateY(0);
}

.construction-footer {
    margin-top: 2.5rem;
    font-size: 0.8rem;
    color: rgba(255, 180, 180, 0.25);
    animation: slideUp 0.8s ease-out 0.7s both;
}

/* ===== Mobile Responsive ===== */

/* Prevent iOS zoom on input focus (requires >= 16px font) */
@media (max-width: 767.98px) {
    input.form-control,
    textarea.form-control,
    select.form-control,
    .construction-input {
        font-size: 16px !important;
    }
}

/* Collapsed navbar dropdown styling */
.navbar-collapse {
    transition: none;
}

@media (max-width: 767.98px) {
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: rgba(30, 8, 8, 0.98);
        border-radius: 12px;
        padding: 0.75rem 1rem;
        margin-top: 0.75rem;
        border: 1px solid rgba(200, 80, 80, 0.15);
    }

    .navbar-collapse .navbar-nav {
        gap: 0.25rem;
    }

    .navbar-collapse .nav-link {
        padding: 0.6rem 0.75rem !important;
        border-radius: 8px;
        transition: background 0.2s;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link:active {
        background: rgba(200, 60, 60, 0.12);
    }
}

/* Small phones (up to 575px) */
@media (max-width: 575.98px) {
    /* Navbar */
    .navbar { padding: 0.75rem 0; }
    .navbar-logo { height: 38px; }
    .navbar-brand-text { font-size: 0.9rem; }

    /* Hero */
    .hero-section { padding: 4rem 0 3rem; }
    .hero-tagline { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-divider { margin-bottom: 1.5rem; }
    .hero-description { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; padding: 0 0.5rem; }
    .hero-cta { font-size: 0.95rem; margin-bottom: 1.25rem; padding: 0 0.5rem; }
    .hero-privacy { font-size: 0.8rem; }

    /* Hide floating shapes on small screens — saves GPU/battery */
    .hero-shape { display: none; }
    .hero-section::after { display: none; }

    /* Stats */
    .stats-bar { padding: 2rem 0; }
    .stat-card { padding: 1.25rem 0.75rem; border-radius: 12px; }
    .stat-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
    .stat-value { font-size: 0.95rem; }
    .stat-label { font-size: 0.7rem; }

    /* Services */
    .services-section { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.85rem; margin-bottom: 2rem; }
    .service-card { padding: 1.5rem 1.25rem; }
    .service-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
    .service-card h3 { font-size: 1.05rem; }
    .service-card p { font-size: 0.85rem; }

    /* CTA Banner */
    .cta-banner { padding: 2.5rem 0; }
    .cta-banner h2 { font-size: 1.5rem; }
    .cta-banner p { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .btn-cta { padding: 0.85rem 2rem; font-size: 0.95rem; }

    /* Contact */
    .right-col { padding: 2rem 1.25rem; }
    .contact-card h2 { font-size: 1.35rem; }
    .contact-card .lead { font-size: 0.85rem; }

    /* Footer */
    .site-footer { padding: 2rem 0 1.5rem; font-size: 0.8rem; }
    .footer-logo { width: 70px; }
    .footer-brand { font-size: 1rem; }
    .footer-sep { display: none; }
    .footer-links { flex-direction: column; gap: 0.4rem; }
    .footer-links a { padding: 0.3rem 0; }

    /* Privacy */
    .privacy-page { padding: 2.5rem 0; }
    .privacy-page h1 { font-size: 1.6rem; }
    .privacy-page h2 { font-size: 1.15rem; }

    /* Construction */
    .construction-page { padding: 1.5rem 1rem; }
    .construction-logo { width: 140px; margin-bottom: 1.5rem; }
    .construction-brand { font-size: 1.8rem; }
    .construction-badge { font-size: 0.7rem; padding: 0.4rem 1rem; margin-bottom: 1.5rem; }
    .construction-headline { font-size: 1.4rem; }
    .construction-description { font-size: 0.85rem; }
    .construction-divider { margin: 1.5rem auto; }
    .construction-footer { margin-top: 1.5rem; }
}

/* Medium phones / small tablets (576px – 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section { padding: 5rem 0 3.5rem; }
    .hero-shape-1, .hero-shape-2, .hero-shape-3 { opacity: 0.5; }
    .hero-shape-4, .hero-shape-5 { display: none; }

    .stats-bar { padding: 2.5rem 0; }
    .stat-card { padding: 1.5rem 1rem; }

    .services-section { padding: 3.5rem 0; }
    .section-title { font-size: 1.7rem; }

    .cta-banner { padding: 3rem 0; }
    .cta-banner h2 { font-size: 1.7rem; }

    /* Page header */
    .page-header { padding: 4rem 0 2.5rem; }
    .page-title { font-size: 2.1rem; }

    /* About */
    .about-section { padding: 3.5rem 0; }
    .about-heading { font-size: 1.45rem; }

    /* Recruitment */
    .recruitment-section { padding: 3.5rem 0; }
    .recruitment-card { padding: 2rem 1.75rem; }

    /* Contact — full-width form on tablets */
    .right-col { padding: 2.5rem 2rem; }
}

/* Touch-friendly: bigger tap targets */
@media (max-width: 767.98px) {
    .btn-submit,
    .btn-enter-site {
        padding: 1rem 2rem;
        min-height: 48px;
    }

    .nav-link {
        padding: 0.5rem 0.75rem !important;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .form-control,
    .construction-input {
        padding: 0.9rem 1rem;
        min-height: 48px;
    }
}

/* Reduce animations on mobile for performance */
@media (max-width: 767.98px) {
    .hero-section,
    .construction-page {
        background-size: 100% 100%;
        animation: none;
    }

    .stat-card::before { animation: none; }
    .hero-grid-lines { display: none; }

    .hero-section::after,
    .construction-page::after {
        display: none;
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================== PAGE HEADER (shared) ===================== */
.page-header {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, #0d0505 0%, #1a0808 15%, #3a1212 40%, #5a1e1e 65%, #4a1616 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(200, 50, 50, 0.2) 0%, transparent 55%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 80, 80, 0.4), transparent);
}

.page-title {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #ffb3b3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out both;
}

.page-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 200, 200, 0.55);
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s ease-out 0.15s both;
}

@media (max-width: 575.98px) {
    .page-header { padding: 3.5rem 0 2rem; }
    .page-title { font-size: 1.8rem; }
    .page-subtitle { font-size: 0.9rem; }
}

/* ===================== ABOUT PAGE ===================== */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #1a0a0a 0%, #210e0e 100%);
}

.about-heading {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff, #ffcccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content p {
    font-size: 1rem;
    color: rgba(255, 200, 200, 0.75);
    line-height: 1.9;
}

.about-value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: rgba(200, 60, 60, 0.06);
    border: 1px solid rgba(200, 80, 80, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    height: 100%;
}

.about-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 80, 80, 0.35);
    box-shadow: 0 15px 40px rgba(180, 40, 40, 0.2);
}

.about-value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.about-value-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffcccc;
    margin-bottom: 0.5rem;
}

.about-value-card p {
    font-size: 0.9rem;
    color: rgba(255, 200, 200, 0.6);
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .about-section { padding: 3rem 0; }
    .about-heading { font-size: 1.35rem; }
    .about-value-card { padding: 1.5rem 1.25rem; }
}

/* ===================== RECRUITMENT PAGE ===================== */
.recruitment-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #1a0a0a 0%, #210e0e 100%);
}

.recruitment-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: rgba(200, 60, 60, 0.05);
    border: 1px solid rgba(200, 80, 80, 0.1);
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.recruitment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(180, 40, 40, 0.15);
}

.recruitment-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffcccc;
    margin-bottom: 1.25rem;
}

.recruitment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recruitment-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255, 200, 200, 0.7);
    line-height: 1.6;
}

.recruitment-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.45em;
    width: 0.55em;
    height: 0.3em;
    border-left: 2px solid #ff9e9e;
    border-bottom: 2px solid #ff9e9e;
    transform: rotate(-45deg);
}

.recruitment-note {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 180, 180, 0.45);
    font-style: italic;
    line-height: 1.7;
}

@media (max-width: 575.98px) {
    .recruitment-section { padding: 3rem 0; }
    .recruitment-card { padding: 1.75rem 1.5rem; }
    .recruitment-list li { font-size: 0.88rem; }
}

/* ===================== ERROR PAGE ===================== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

.error-page .error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.error-page h1 {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #ffb3b3);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.error-page .error-description {
    font-size: 1.1rem;
    color: rgba(255, 200, 200, 0.8);
    line-height: 1.8;
    max-width: 500px;
    margin: 0 auto;
}

.error-page .error-request-id {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 180, 180, 0.5);
}

.error-page .error-request-id code {
    background: rgba(200, 60, 60, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    color: rgba(255, 200, 200, 0.7);
}