:root {
    --primary: #1f2a37;
    --accent: #d57b2f;
    --bg: #f5f4f0;
    --surface: #ffffff;
    --muted: #edf0f4;
    --text: #1f1f1f;
    --header-height: 96px;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: var(--header-height);
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
    color: var(--primary);
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem clamp(1.5rem, 5vw, 4rem);
    min-height: var(--header-height);
    background: var(--surface);
    border-bottom: 1px solid #dde1e7;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.logo img {
    height: 68px;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-nav {
    display: flex;
    gap: 1rem;
}

.site-nav a {
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.site-nav a:hover,
.site-nav a:focus {
    background: rgba(57, 72, 103, 0.12);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--primary);
}

.section {
    padding: 4rem 5vw;
    background: var(--surface);
}

.section.muted {
    background: var(--muted);
}

.section-inner {
    max-width: 960px;
    margin: 0 auto;
}

.section + .section {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-intro {
    max-width: 720px;
    margin-top: 1rem;
}

.contact-content {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details .label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.contact-details a {
    color: inherit;
    word-break: break-word;
}

.contact-form {
    background: var(--surface);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    margin-top: 0.35rem;
    padding: 0.75rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #d4d9e3;
    font: inherit;
    background: #fdfdfd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(57, 72, 103, 0.15);
    outline: none;
}

.submit-btn {
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.message-section {
    background: linear-gradient(135deg, rgba(31, 42, 55, 0.06), rgba(213, 123, 47, 0.05));
}

.message-layout {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.message-photo img {
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    display: block;
}

.message-text h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.message-text p {
    margin: 0 0 0.9rem;
}

.service-card {
    background: var(--surface);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.service-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.service-card li {
    margin-bottom: 0.35rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.video-hint {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.video-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 70%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    background-size: cover;
    background-position: center;
    background-color: #eaeaea;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.gallery-item:hover,
.gallery-item:focus {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.gallery-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 100;
    padding: 1rem;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 999px;
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.details-block {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--accent);
    background: rgba(242, 161, 84, 0.1);
}

.details-block p {
    margin: 0.2rem 0;
}

.tiles-benefits {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.tiles-benefits li {
    margin-bottom: 0.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.2rem;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(213, 123, 47, 0.3);
    background: #bf6c28;
    outline: none;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .message-layout {
        grid-template-columns: 1fr 1.1fr;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(57, 72, 103, 0.9), rgba(242, 161, 84, 0.5)), url("/public/banner.jpg") center/cover;
    color: #fff;
}

.hero-brand {
    margin-bottom: 1.25rem;
    width: min(70vw, 320px);
}

.hero-brand img {
    width: 100%;
    height: auto;
    display: block;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.company-title {
  color: #fff;
}

.hero-lead {
    font-size: 1.25rem;
    max-width: 640px;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 600px;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
    display: inline-block;
    margin-top: 1.2rem;
    background: var(--accent);
    color: #222;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
}

.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    background: #111;
    color: #eee;
}

@media (max-width: 768px) {
    .site-nav {
        position: absolute;
        top: 100%;
        right: 5vw;
        flex-direction: column;
        background: #fff;
        padding: 1rem;
        border: 1px solid #dde1e7;
        border-radius: 8px;
        min-width: 200px;
        display: none;
    }

    .site-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }
}
