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

:root {
    --bg-main: #edf7f4;
    --green-dark: #08705f;
    --green: #0aa382;
    --mint: #c9f2e3;
    --aqua: #e8fffb;
    --text: #20302f;
    --muted: #62706e;
    --white: #ffffff;
    --danger: #d94b4b;
    --shadow: 0 18px 45px rgba(8, 112, 95, 0.15);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top left, #d7fff2 0, transparent 35%), linear-gradient(145deg, #f4fffb 0%, #e7f4ff 45%, #f1fff8 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(8, 112, 95, 0.18);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--green-dark);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 999px;
    transition: 0.25s;
}

.nav-links a:hover {
    background: var(--mint);
    color: var(--green-dark);
}

main {
    min-height: calc(100vh - 145px);
    padding: 34px 20px;
}

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

.hero {
    background: linear-gradient(120deg, rgba(8,112,95,0.92), rgba(10,163,130,0.88)), url('/images/page-01.jpg') center/cover;
    border-radius: 32px;
    padding: 64px 38px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    color: white;
    overflow: hidden;
}

.hero-text {
    max-width: 760px;
}

h1 {
    text-align: center;
    color: var(--green-dark);
    margin-bottom: 12px;
    font-size: 2.45rem;
    font-weight: 800;
}

.hero h1 {
    text-align: left;
    color: white;
    font-size: 3rem;
    line-height: 1.1;
}

.subtitle {
    text-align: center;
    color: var(--muted);
    margin-bottom: 30px;
    font-size: 1.12rem;
}

.hero .subtitle {
    text-align: left;
    color: rgba(255,255,255,0.92);
    margin: 15px 0 0;
    font-size: 1.25rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 10px 0;
}

.two-columns {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.card {
    background: var(--white);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(8,112,95,0.12);
    transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(8, 112, 95, 0.22);
}

.card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 22px;
}

.card-content h3 {
    color: var(--green-dark);
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.card-content p {
    color: var(--muted);
}

.panel-link {
    text-decoration: none;
    color: inherit;
}

.panel-card {
    min-height: 150px;
    border-left: 8px solid var(--green);
}

.contact-info,
.form-card,
.details-card,
table {
    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(8,112,95,0.12);
}

.contact-info {
    padding: 30px;
    margin-bottom: 32px;
    text-align: center;
}

.info-block h3 {
    color: var(--green-dark);
    margin: 14px 0 4px;
}

.info-block p {
    color: var(--muted);
    font-size: 1.08rem;
}

.form-container {
    max-width: 680px;
}

.form-container.small {
    max-width: 430px;
    margin-top: 35px;
}

.form-card {
    padding: 26px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--green-dark);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #b9d8d2;
    border-radius: 14px;
    font-size: 16px;
    background: #fbfffe;
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(10,163,130,0.13);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    transition: 0.25s;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.btn-auto {
    width: auto;
    margin-bottom: 20px;
}

.btn-secondary {
    background: #7b8c89;
}

.table-wrapper {
    overflow-x: auto;
    padding-bottom: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #d9ebe7;
    vertical-align: middle;
}

th {
    background: #d7fff2;
    color: var(--green-dark);
    font-weight: 800;
}

tbody tr:nth-child(even) {
    background: #f7fffc;
}

tbody tr:hover {
    background: #ecfff8;
}

.table-photo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid #d7fff2;
}

.round {
    border-radius: 50%;
}

.actions-cell {
    white-space: nowrap;
    min-width: 130px;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 2px;
    background: var(--green-dark);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    transition: 0.2s;
}

.btn-small:hover {
    background: var(--green);
}

.btn-small.danger {
    background: var(--danger);
}

.details-container {
    max-width: 950px;
}

.details-card {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 24px;
    padding: 26px;
    align-items: start;
}

.details-photo {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 24px;
    border: 6px solid #d7fff2;
}

.details-info table {
    box-shadow: none;
    border-radius: 18px;
}

.preview-photo {
    max-width: 220px;
    display: block;
    border-radius: 18px;
    border: 4px solid var(--mint);
}

.center {
    text-align: center;
}

.link-row {
    margin-top: 15px;
}

.alert {
    background: #f06b6b;
    color: white;
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 15px;
}

.muted {
    color: var(--muted);
}

footer {
    background: rgba(255,255,255,0.9);
    border-top: 1px solid rgba(8,112,95,0.12);
    text-align: center;
    padding: 18px;
    color: var(--muted);
}

@media (max-width: 780px) {
    .nav-container,
    .details-card {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .nav-links {
        justify-content: center;
    }

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

    h1,
    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }

    .hero,
    .hero .subtitle {
        text-align: center;
    }
}
