:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --accent-color: #457b9d;
    --light-bg: #f1faee;
    --text-dark: #2b2d42;
    --text-light: #ffffff;
    --border-color: #e6e6e6;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: #fff;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

p, li { font-size: 1rem; }
p { margin-bottom: 18px; text-align: justify; }
a { color: var(--accent-color); }
a:hover { color: var(--primary-color); }

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

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

.page-header-offset { height: 90px; }

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-wrap {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.04em;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 18px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.hero {
    background:
        linear-gradient(rgba(29, 53, 87, 0.82), rgba(29, 53, 87, 0.82)),
        url('https://images.unsplash.com/photo-1514525253361-bee8718a300c?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    min-height: 86vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    width: min(900px, 92%);
    margin: 0 auto;
    text-align: center;
    padding: 120px 0 60px;
}

.hero h1 {
    color: white;
    font-size: clamp(2.3rem, 5vw, 4rem);
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.15rem;
    max-width: 780px;
    margin: 0 auto 22px;
    text-align: center;
}

.btn-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background: #c12a36;
    border-color: #c12a36;
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.85);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: white;
}

.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-light {
    background: var(--light-bg);
}

.lead {
    font-size: 1.08rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
}

.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }

.highlight-box {
    background: white;
    border-left: 5px solid var(--primary-color);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.list-clean {
    padding-left: 20px;
    margin-bottom: 20px;
}

.list-clean li { margin-bottom: 10px; }

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 14px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 15px 18px;
    text-align: left;
    border-bottom: 1px solid #ececec;
    vertical-align: top;
}

.info-table th {
    width: 32%;
    background: #f8fafc;
    color: var(--secondary-color);
}

.notice {
    font-size: 0.95rem;
    background: #fff6e6;
    border-left: 4px solid #f4a261;
    padding: 16px 18px;
    border-radius: 10px;
    margin-top: 20px;
}

.contact-box p,
.legal-box p { text-align: left; }

.form-placeholder {
    background: white;
    padding: 28px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.form-placeholder label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-placeholder input,
.form-placeholder textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.form-placeholder textarea { min-height: 140px; resize: vertical; }

footer {
    background: var(--secondary-color);
    color: white;
    padding: 45px 0;
}

footer p, footer a {
    color: white;
    text-align: center;
}

footer a { opacity: 0.95; }
footer a:hover { opacity: 1; }

.legal-info {
    font-size: 0.92rem;
    margin-top: 18px;
    opacity: 0.9;
}

.small { font-size: 0.92rem; }
.center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }

@media (max-width: 900px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .info-table th, .info-table td { display: block; width: 100%; }
    .info-table tr { display: block; border-bottom: 1px solid #ececec; }
}

@media (max-width: 768px) {
    nav { padding: 12px 0; }
    .nav-wrap { flex-direction: column; align-items: flex-start; }
    nav ul { gap: 10px 14px; }
    .page-header-offset { height: 120px; }
    .section { padding: 60px 0; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}
