html, body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f5f5f5;
    color: #1f2933;
    -webkit-font-smoothing: antialiased;

    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

nav {
    position: relative;
    z-index: 100;
    min-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 0 40px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

nav .logo {
    font-weight: 500;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #2b2b2b;
    font-size: 14px;
    transition: 0.2s;
    position: relative;
    white-space: nowrap;
}

nav a:hover {
    color: #147a73;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #147a73;
    transition: 0.25s;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #147a73;
    font-weight: 600;
}

nav a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.dropdown-menu {
    position: absolute;
    z-index: 110;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 8px 0 0;

    background: white;
    padding: 12px 0;
    border-radius: 12px;

    min-width: 220px;
    width: max-content;
    max-width: calc(100vw - 24px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;

    transition: all 0.25s ease;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #2b2b2b;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(20,122,115,0.08);
    color: #147a73;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: center;
    min-height: calc(70vh - 80px);
    padding: 24px 20px;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-title {
    font-size: clamp(18px, 2.65vw, 27px);
    line-height: 1.6;
    max-width: 520px;
}

.btn {
    display: inline-block;
    margin-top: 35px;
    padding: 14px 26px;
    background: #147a73;
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(20,122,115,0.2);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(20,122,115,0.3);
}

.hero-image img {
    max-width: 420px;
    filter: grayscale(100%);
    animation: float 6s ease-in-out infinite, fadeImage 1.5s ease forwards;
    opacity: 0;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-tags span {
    display: inline-block;
    background: #147a73;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
}

.hero-tags span:hover {
    transform: translateX(6px);
}

.hero-tags .tag-wide {
    line-height: 1.35;
    white-space: normal;
}

.seal {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 10px;
}

.about-hero {
    max-width: 900px;
    margin: 60px auto 20px;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.about-hero p {
    color: #6b7280;
}

.about-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-text {
    font-size: 17px;
    line-height: 1.9;
    color: #374151;

    border-left: 3px solid rgba(20,122,115,0.6);
    padding-left: 18px;
}

.about-text p {
    margin-bottom: 28px;
}

.about-text strong {
    color: #111827;
}

.profile-section {
    max-width: 900px;
    margin: 100px auto;
    padding: 0 20px;
}

.profile-inner {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 40px;
}

.profile-text {
    border-right: 3px solid rgba(20,122,115,0.6);
    padding-right: 32px;
}

.profile-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.profile-text h3 {
    margin-bottom: 20px;
    color: #374151;
}

.profile-text ul {
    line-height: 1.9;
}

.profile-badge img {
    width: 140px;
    opacity: 0.7;
}

.modal {
    position: fixed;
    z-index: 200;
    inset: 0;
    background: rgba(0,0,0,0.25);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;

    backdrop-filter: blur(6px);
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;

    width: 900px;
    height: 80vh;

    overflow: hidden;

    box-shadow: 0 20px 60px rgba(0,0,0,0.2);

    transform: translateY(20px);
    transition: 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(31,41,51,0.82);
    color: white;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0);} }
@keyframes float {
    0% { transform: translateY(0);}
    50% { transform: translateY(-10px);}
    100% { transform: translateY(0);}
}
@keyframes fadeImage { to { opacity: 1;} }

@media (max-width: 900px) {
    nav {
        justify-content: center;
        padding: 16px 20px;
    }

    .nav-links {
        justify-content: center;
        gap: 14px 22px;
    }

    .dropdown-menu {
        left: 50%;
        transform: translate(-50%, 10px);
    }

    .dropdown:hover .dropdown-menu,
    .dropdown-menu:hover {
        transform: translate(-50%, 0);
    }

    .hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
        gap: 22px;
        padding: 24px 16px;
    }

    .hero-title {
        font-size: clamp(16px, 2.85vw, 23px);
        line-height: 1.55;
    }

    .hero-image img {
        max-width: 340px;
        width: 100%;
    }

    .hero-tags span {
        padding: 9px 14px;
        font-size: 13px;
    }

    .seal {
        width: 150px;
    }

    .profile-inner {
        grid-template-columns: 1fr;
    }

    .profile-text {
        border-right: none;
        border-left: 3px solid rgba(20,122,115,0.6);
        padding-left: 20px;
    }

    .modal-content {
        width: 95%;
        height: 85vh;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .info-item {
        font-size: 20px;
        min-width: 260px;
        padding: 12px 20px;
    }
}

@media (max-width: 520px) {
    nav {
        padding: 14px 12px;
    }

    nav .logo {
        white-space: normal;
        text-align: center;
    }

    .nav-links {
        gap: 12px 16px;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr) minmax(0, 0.95fr);
        gap: 8px;
        padding: 18px 10px;
    }

    .hero-title {
        font-size: clamp(14px, 3.6vw, 18px);
        line-height: 1.5;
    }

    .btn {
        padding: 12px 18px;
        font-size: 13px;
    }

    .hero-image img {
        max-width: 160px;
    }

    .hero-tags span {
        max-width: 100%;
        padding: 8px 9px;
        font-size: 11px;
        white-space: normal;
    }

    .seal {
        width: 100px;
    }
}

@media (max-width: 420px) {
    .hero {
        grid-template-columns: 1fr;
        height: auto;
        text-align: center;
    }

    .hero-tags,
    .hero-right {
        align-items: center;
    }

    .hero-image img {
        max-width: 320px;
    }
}

@media (max-width: 320px) {
    .dropdown-menu {
        min-width: 0;
    }

    nav a,
    .dropdown-menu a {
        white-space: normal;
    }
}

.contact-hero {
    max-width: 1100px;
    margin: 20px auto 60px;
    padding: 28px 20px 40px;
    text-align: center;
    box-sizing: border-box;
    padding-top: 100px;
}

.contact-hero h1 {
    font-size: 56px;
    line-height: 1.02;
    margin: 0 0 12px;
    font-weight: 700;
    color: #0f1720;
}

.contact-hero .lead {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 30px;
    font-style: italic;
}

.contact-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 80px;
}

.info-item {
    background: #147a73;
    color: white;
    text-decoration: none;
    padding: 16px 28px;
    font-size: 28px;
    border-radius: 4px;
    display: inline-block;
    min-width: 320px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(20,122,115,0.18);
}

