@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap');

:root {
    --bg-base: #f4f8ff;
    --bg-soft: #eef5ff;
    --surface: #ffffff;
    --surface-alt: #f8fbff;
    --text: #11213e;
    --text-muted: #5a6b8a;
    --primary: #0c2f76;
    --primary-strong: #09225b;
    --primary-soft: #1f4ea5;
    --secondary: #12d5e3;
    --secondary-soft: #8deff5;
    --accent: #ff6b3d;
    --accent-strong: #e9552a;
    --danger: #f24c55;
    --success: #19b672;
    --line: rgba(12, 47, 118, 0.14);
    --shadow-md: 0 14px 34px rgba(10, 40, 95, 0.12);
    --shadow-lg: 0 24px 54px rgba(10, 40, 95, 0.2);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, rgba(18, 213, 227, 0.13), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(31, 78, 165, 0.13), transparent 34%),
        var(--bg-base);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
    display: block;
}

section {
    position: relative;
    padding: 6rem 2rem;
}

.container {
    width: min(1160px, 100%);
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(5, 22, 57, 0.84);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(141, 239, 245, 0.2);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.65rem 2rem;
    background: rgba(5, 20, 50, 0.94);
}

nav {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Sora', sans-serif;
    color: #fff;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #e9f2ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.96rem;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -7px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-soft));
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    color: #f8fcff;
    padding-top: 7rem;
    background:
        linear-gradient(130deg, rgba(4, 20, 54, 0.95), rgba(8, 37, 86, 0.9)),
        linear-gradient(0deg, rgba(18, 213, 227, 0.12), rgba(18, 213, 227, 0.12));
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background-image:
        linear-gradient(rgba(141, 239, 245, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(141, 239, 245, 0.12) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 30%, #000 35%, transparent 80%);
}

.hero::after {
    background:
        radial-gradient(circle at 20% 30%, rgba(18, 213, 227, 0.35), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(31, 78, 165, 0.45), transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(255, 107, 61, 0.24), transparent 48%);
    animation: drift 14s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    margin-bottom: 1.2rem;
    text-wrap: balance;
    animation: fadeUp 0.7s ease both;
}

.hero p {
    font-size: clamp(1.05rem, 2.5vw, 1.4rem);
    color: #d6e8ff;
    margin: 0 auto 2.4rem;
    max-width: 720px;
    animation: fadeUp 0.95s ease both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 1.15s ease both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    text-decoration: none;
    font-weight: 600;
    padding: 0.9rem 1.65rem;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--primary-soft), var(--secondary));
    box-shadow: 0 8px 24px rgba(18, 123, 201, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 12px 28px rgba(18, 123, 201, 0.45);
}

.btn-secondary {
    color: #f3fbff;
    border: 1px solid rgba(141, 239, 245, 0.5);
    background: rgba(141, 239, 245, 0.12);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(141, 239, 245, 0.23);
}

.btn-emergency,
.btn-emergedy {
    color: #fff;
    background: linear-gradient(120deg, var(--danger), #ff7f45);
    box-shadow: 0 8px 24px rgba(242, 76, 85, 0.35);
    animation: pulseSoft 2.2s infinite;
}

.btn-emergency:hover,
.btn-emergedy:hover {
    box-shadow: 0 12px 28px rgba(242, 76, 85, 0.48);
}

.btn-legal {
    color: #eaf4ff;
    border: 1px solid rgba(133, 184, 255, 0.55);
    background: rgba(27, 72, 145, 0.26);
    backdrop-filter: blur(8px);
}

.btn-legal:hover {
    background: rgba(45, 95, 176, 0.4);
    box-shadow: 0 12px 26px rgba(19, 63, 130, 0.35);
}

/* Stats */
.stats {
    background: linear-gradient(100deg, #06245f, #0a347d 70%, #0f3c8b);
    padding: 4rem 2rem;
}

.stats-container {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(141, 239, 245, 0.24);
    border-radius: var(--radius-md);
    text-align: center;
    padding: 1.6rem 0.9rem;
    backdrop-filter: blur(6px);
}

.stat-number {
    color: var(--secondary-soft);
    font-size: clamp(2.1rem, 5vw, 2.7rem);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.stat-text {
    color: #e9f4ff;
    font-size: 0.98rem;
}

/* Titles */
.section-title {
    text-align: center;
    margin-bottom: 3.3rem;
}

.section-title h2 {
    font-size: clamp(1.95rem, 4vw, 2.9rem);
    color: var(--primary-strong);
    margin-bottom: 0.75rem;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 84px;
    height: 4px;
    margin: 0.9rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.06rem;
    max-width: 740px;
    margin: 0 auto;
}

/* About */
.about {
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.2rem;
    align-items: center;
}

.about-text p {
    color: #274061;
    margin-bottom: 1rem;
    font-size: 1.06rem;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(18, 213, 227, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

.features {
    margin-top: 2.6rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.feature-item {
    background: linear-gradient(160deg, #ffffff, #f6fbff);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.55rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(8, 37, 86, 0.17);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 0.9rem;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, var(--primary-soft), var(--secondary));
    font-size: 1.4rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-strong);
    font-size: 1.2rem;
}

/* Mission Vision */
.mission-vision {
    background:
        linear-gradient(130deg, rgba(6, 30, 77, 0.96), rgba(9, 44, 104, 0.93)),
        linear-gradient(0deg, rgba(18, 213, 227, 0.12), rgba(18, 213, 227, 0.12));
    color: #eff7ff;
    overflow: hidden;
}

.mission-vision::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(18, 213, 227, 0.2), transparent 35%),
        radial-gradient(circle at 90% 70%, rgba(255, 107, 61, 0.17), transparent 35%);
    pointer-events: none;
}

.mission-vision .section-title h2,
.mission-vision .section-title p,
.mission-vision .mv-card h3,
.mission-vision .mv-card p {
    color: #eff7ff;
}

.mission-vision .section-title h2::after {
    background: linear-gradient(90deg, var(--secondary-soft), #fff);
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    position: relative;
    z-index: 1;
}

.mv-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(141, 239, 245, 0.27);
    border-radius: var(--radius-md);
    padding: 2.1rem;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease;
}

.mv-card:hover {
    transform: translateY(-6px);
}

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    font-size: 1.45rem;
    color: var(--primary-strong);
    background: linear-gradient(145deg, var(--secondary-soft), #fff);
}

.mv-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

/* Services */
.services {
    background: linear-gradient(180deg, #f1f7ff 0%, #eaf2fd 100%);
}

.services-showcase {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.2rem 1.4rem 2.8rem;
    border-radius: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(4px);
    box-shadow: 0 28px 58px -22px rgba(10, 40, 80, 0.35);
}

.services-slider-window {
    overflow: hidden;
    padding: 0.6rem 0.15rem 0.9rem;
}

.services-slider-track {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: transform 0.55s ease;
    will-change: transform;
}

.services-slide {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: calc((100% - 2.5rem) / 3);
}

.services-card {
    display: flex;
    flex-direction: column;
    height: 560px;
    padding: 1.8rem 1.5rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(191, 211, 238, 0.8);
    background: #fff;
    box-shadow: 0 20px 34px -16px rgba(0, 30, 60, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.services-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
}

.services-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 45px -12px rgba(11, 42, 78, 0.55);
}

.services-card-featured {
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 25px 40px -14px rgba(30, 58, 138, 0.35);
}

.services-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    color: #1e4ab0;
    background: #eef4ff;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.services-card-featured .services-card-icon {
    color: #fff;
    background: #2563eb;
}

.services-card h3 {
    font-size: 1.52rem;
    color: #0b1f33;
    margin-bottom: 0.75rem;
}

.services-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #334155;
    line-height: 1.6;
    font-size: 0.98rem;
    margin-bottom: 1rem;
}

.services-features {
    list-style: none;
    margin-bottom: 1rem;
}

.services-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.6rem;
    color: #1e293b;
    font-size: 0.94rem;
}

.services-features li:nth-child(n + 4) {
    display: none;
}

.services-features li i {
    color: #2563eb;
    margin-top: 0.2rem;
}

.service-example {
    margin: 0.4rem 0 1.1rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid #38bdf8;
    border-radius: 0 12px 12px 0;
    background: #f4fbff;
    color: #2d4b70;
    font-size: 0.92rem;
    display: none;
}

.services-card-footer {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.services-badge {
    background: #dbeafe;
    color: #1e3a8a;
    padding: 0.34rem 0.9rem;
    border-radius: 999px;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.services-link {
    text-decoration: none;
    border: 1px solid #2563eb;
    color: #2563eb;
    border-radius: 999px;
    padding: 0.48rem 1rem;
    font-weight: 600;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
    background: #fff;
    cursor: pointer;
}

.services-link:hover {
    color: #1d4ed8;
    background: #eff6ff;
}

.services-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.services-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.services-more {
    border-color: #c1d5f6;
    color: #1e3a8a;
    background: #f4f8ff;
}

.services-more:hover {
    background: #e9f2ff;
    color: #17357a;
}

.services-nav {
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    color: #1e3a5f;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #fff;
    box-shadow: 0 8px 18px rgba(0, 20, 50, 0.12);
    transition: all 0.18s ease;
}

.services-nav:hover {
    background: #fff;
    color: #0b2b50;
    box-shadow: 0 12px 24px rgba(0, 40, 80, 0.2);
}

.services-dots {
    display: flex;
    gap: 0.5rem;
}

.services-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: #b1c9e0;
    opacity: 0.75;
    cursor: pointer;
    transition: all 0.2s ease;
}

.services-dot.active {
    background: #2563eb;
    opacity: 1;
    width: 28px;
    border-radius: 10px;
}

.service-modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 46, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1200;
}

.service-modal.is-open {
    display: flex;
}

.service-modal-dialog {
    width: min(900px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: #fff;
    border-radius: 22px;
    border: 1px solid #d8e4f5;
    box-shadow: 0 30px 60px -20px rgba(10, 30, 70, 0.5);
    padding: 1.2rem;
    position: relative;
}

.service-modal-close {
    position: sticky;
    top: 0.2rem;
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f0f6ff;
    color: #123b82;
    cursor: pointer;
}

.service-modal-body .services-card {
    height: auto;
    max-height: none;
    box-shadow: none;
    border: 0;
    padding: 0.5rem 0.4rem 0.3rem;
}

.service-modal-body .services-card:hover {
    transform: none;
}

.service-modal-body .services-desc {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.service-modal-body .services-features li {
    display: flex;
}

.service-modal-body .service-example {
    display: block;
}

.service-modal-body .services-card-footer {
    padding-top: 1.1rem;
}

/* Plans carousel */
.plans-carousel {
    background:
        linear-gradient(180deg, #f6fbff 0%, #eef6ff 100%);
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(130deg, var(--primary-soft), var(--secondary));
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 20px rgba(16, 110, 175, 0.35);
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(16, 110, 175, 0.48);
}

.carousel-dots {
    display: flex;
    gap: 0.45rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b8c5dc;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.carousel-dot.active {
    background: var(--primary-soft);
    transform: scale(1.22);
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 26px;
    padding: 0.25rem;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    min-width: calc(100% / 3);
    padding: 0.75rem;
}

.plan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(10, 40, 95, 0.2);
}

.plan-card.emergency {
    border-color: rgba(242, 76, 85, 0.42);
    background: linear-gradient(180deg, #fff, #fff8f8);
}

.plan-header {
    border-bottom: 1px solid #e8effa;
    margin-bottom: 1rem;
    padding-bottom: 0.95rem;
}

.plan-name {
    color: var(--primary-strong);
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.plan-card.emergency .plan-name {
    color: #bf2f3a;
}

.plan-type {
    color: #567094;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.plan-price {
    color: #264c73;
    font-weight: 600;
}

.plan-price span {
    color: var(--success);
}

.plan-features {
    flex: 1;
    margin-bottom: 1rem;
}

.plan-features ul {
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0;
    color: #294568;
    border-bottom: 1px solid #f0f5ff;
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: 0;
}

.plan-features i {
    color: var(--success);
    margin-top: 0.2rem;
}

.plan-actions {
    margin-top: auto;
}

.emergency-contact {
    margin-top: 2.6rem;
    padding: 2.2rem;
    border-radius: 24px;
    text-align: center;
    color: #e6f1ff;
    background:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.26), transparent 40%),
        linear-gradient(130deg, #082653, #0e3a7c 70%, #0c4f9e);
    border: 1px solid rgba(123, 184, 255, 0.35);
    box-shadow: 0 18px 36px rgba(12, 43, 92, 0.42);
}

.emergency-contact h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

.emergency-contact p {
    margin-bottom: 0.85rem;
    color: #cce0ff;
}

.hotline {
    display: block;
    margin-bottom: 1.1rem;
    font-size: clamp(1.3rem, 4vw, 2rem);
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #ffd166;
}

.emergency-contact .btn-emergency {
    background: linear-gradient(130deg, #ff9f1c, #ff7a18);
    box-shadow: 0 12px 30px rgba(255, 140, 45, 0.38);
}

.emergency-contact .btn-emergency:hover {
    box-shadow: 0 16px 34px rgba(255, 140, 45, 0.48);
}

/* Contact */
.contact {
    background: var(--bg-base);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1.4rem;
}

.contact-info {
    display: grid;
    gap: 0.85rem;
}

.contact-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--primary-soft), var(--secondary));
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-strong);
    margin-bottom: 0.2rem;
}

.contact-details p {
    color: #355173;
}

.contact-card {
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.contact-card h3 {
    color: var(--primary-strong);
    margin-bottom: 0.7rem;
}

.contact-card p {
    color: #355173;
    margin-bottom: 1.1rem;
}

.contact-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.contact-actions .btn {
    min-width: 180px;
}

.btn-whatsapp {
    color: #fff;
    background: linear-gradient(130deg, #179d53, #22c55e);
    box-shadow: 0 8px 22px rgba(12, 132, 64, 0.35);
}

.btn-whatsapp:hover {
    background: linear-gradient(130deg, #148b4a, #1eaf55);
    box-shadow: 0 12px 26px rgba(12, 132, 64, 0.45);
}

.contact-note {
    margin-top: 1rem;
    font-size: 0.92rem;
    color: #4c6687;
    padding-top: 1rem;
    border-top: 1px solid #e8effa;
}

/* Legal page */
.legal-page {
    padding-top: 8.8rem;
    padding-bottom: 4.5rem;
    background:
        radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.18), transparent 33%),
        radial-gradient(circle at 90% 15%, rgba(37, 99, 235, 0.14), transparent 36%),
        linear-gradient(180deg, #f4f8ff 0%, #eaf2fd 100%);
}

.legal-container {
    max-width: 1180px;
}

.legal-hero {
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0a2c66, #124a99);
    border: 1px solid rgba(121, 180, 255, 0.42);
    border-radius: 24px;
    padding: 2rem 1.2rem;
    color: #e6f0ff;
    box-shadow: 0 24px 48px rgba(10, 44, 102, 0.3);
}

.legal-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    background: rgba(173, 213, 255, 0.24);
    color: #d8ebff;
    margin-bottom: 0.9rem;
}

.legal-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 0.55rem;
}

.legal-hero p {
    color: #cddfff;
    margin-bottom: 1rem;
}

.btn-legal-back {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
}

.btn-legal-back:hover {
    background: rgba(255, 255, 255, 0.24);
}

.legal-shell {
    display: grid;
    grid-template-columns: 0.34fr 0.66fr;
    gap: 1.15rem;
}

.legal-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.legal-sidebar h3 {
    color: var(--primary-strong);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.legal-sidebar a {
    display: block;
    text-decoration: none;
    color: #204675;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.legal-sidebar a:hover {
    color: #143a76;
    background: #eef5ff;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.25rem 1.3rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.legal-card h2 {
    color: #123b82;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.legal-card p {
    color: #284666;
    margin-bottom: 0.62rem;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-bottom {
    margin-top: 1.15rem;
    text-align: center;
}

/* Footer */
.cybix-footer {
    background-color: #0c1a2b;
    color: #e2e8f0;
    border-top: 1px solid #1e3a5f;
    box-shadow: 0 -10px 30px rgba(0, 20, 40, 0.4);
    padding: 3.5rem 2rem 2rem;
    font-size: 0.95rem;
}

.footer-container {
    width: min(1300px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr 1.2fr;
    gap: 2rem 1.5rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.footer-brand .logo i {
    font-size: 2.2rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px;
    border-radius: 12px;
}

.footer-brand .logo span {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #a5c9ff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .description {
    color: #9aa9b9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1e2c3c;
    border-radius: 50%;
    color: #b9c7da;
    font-size: 1.1rem;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background-color: #2563eb;
    color: #fff;
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 18px -8px #1e3a8a;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #1e3a5f;
    padding-bottom: 0.65rem;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-col ul li a i {
    font-size: 0.75rem;
    color: #3b82f6;
    transition: transform 0.2s ease;
}

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

.footer-col ul li a:hover i {
    transform: translateX(4px);
    color: #90caf9;
}

.footer-contact-text {
    color: #9ab3cf;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.emergency-badge {
    margin-top: 1.5rem;
    background: #162b3c;
    border-left: 4px solid #f97316;
    padding: 1rem 1.2rem;
    border-radius: 0 12px 12px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.emergency-badge i {
    font-size: 1.4rem;
    color: #fb923c;
}

.emergency-badge span {
    display: flex;
    flex-direction: column;
}

.emergency-badge .small-text {
    font-size: 0.75rem;
    color: #9ab7d6;
    text-transform: uppercase;
}

.emergency-badge .phone {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.5px;
}

.footer-contact {
    margin-top: 2rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-contact span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
}

.footer-contact i {
    color: #3b82f6;
}

.footer-bottom {
    width: min(1300px, 100%);
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #1e3a5f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #7f95b0;
    font-size: 0.9rem;
}

.footer-bottom .copy i {
    color: #dc2626;
    font-size: 0.8rem;
    margin: 0 2px;
}

.footer-bottom .legal-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom .legal-links a {
    color: #9ab3cf;
    text-decoration: none;
    transition: color 0.1s ease;
}

.footer-bottom .legal-links a:hover {
    color: #3b82f6;
}

/* Shared animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

@keyframes drift {
    from {
        transform: translateY(0) scale(1);
    }
    to {
        transform: translateY(-20px) scale(1.06);
    }
}

@keyframes pulseSoft {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 76, 85, 0.45);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(242, 76, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(242, 76, 85, 0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 50%;
        min-width: 50%;
    }

    .services-slide {
        flex: 0 0 calc((100% - 1.25rem) / 2);
        min-width: calc((100% - 1.25rem) / 2);
    }

    .services-card {
        height: 580px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 5.2rem 1.4rem;
    }

    header {
        padding-inline: 1.4rem;
    }

    .about-content,
    .mv-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
    }

    .legal-shell {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }
}

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

    .nav-links {
        position: fixed;
        left: -100%;
        top: 68px;
        width: 100%;
        height: calc(100vh - 68px);
        background: rgba(4, 18, 48, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 1.35rem;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        min-width: min(320px, 90vw);
    }

    .features {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
    }

    .plan-card {
        padding: 1.1rem;
    }

    .services-card {
        height: 560px;
    }
}

@media (max-width: 576px) {
    .stats-container,
    .footer-container {
        grid-template-columns: 1fr;
    }

    .services-showcase {
        padding: 1.6rem 0.9rem 2rem;
    }

    .services-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .services-card {
        height: 540px;
        padding: 1.4rem 1.1rem;
    }

    .services-card h3 {
        font-size: 1.35rem;
    }

    .services-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-card-actions {
        width: 100%;
    }

    .services-link {
        width: 100%;
        justify-content: center;
    }

    .legal-page {
        padding-top: 7.8rem;
    }

    .legal-hero {
        padding: 1.5rem 1rem;
        border-radius: 18px;
    }

    .legal-card {
        padding: 1rem 0.95rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        min-height: 94vh;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }
}
