/* Kamrango Landing Page */

:root {
    --color-text: #2d2d3a;
    --color-text-muted: #6b6b7b;
    --color-accent: #e8917a;
    --color-accent-light: #fce8e2;
    --color-accent-orange: #d35400;
    --color-border: #e8e8ec;
    --color-info-bg: #cce5ff;
    --color-info-text: #1a4a7a;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container: 1140px;
    --radius: 12px;
    --radius-sm: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header--hero:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.site-header--hero:not(.scrolled) .logo,
.site-header--hero:not(.scrolled) .main-nav a {
    color: #fff;
}

.site-header--hero:not(.scrolled) .main-nav a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.site-header--hero:not(.scrolled) .nav-cta {
    background: #fff;
    color: var(--color-text) !important;
}

.site-header--hero:not(.scrolled) .menu-toggle span {
    background: #fff;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--color-text);
}

.nav-cta {
    background: var(--color-text);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: #444 !important;
}

.header-phone,
.header-email {
    font-weight: 600;
    white-space: nowrap;
}

.header-phone:hover,
.header-email:hover {
    color: var(--color-accent-orange) !important;
}

.site-header--hero:not(.scrolled) .header-phone:hover,
.site-header--hero:not(.scrolled) .header-email:hover {
    color: var(--color-accent) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 20, 35, 0.82) 0%,
        rgba(45, 45, 58, 0.55) 50%,
        rgba(20, 20, 35, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    color: #fff;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-accent-orange);
    color: #fff;
}

.btn-primary:hover {
    background: #b8470a;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.hero-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.2s;
}

.hero-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.85;
}

.hero-contact-item:hover {
    color: var(--color-accent);
}

/* Image frames */
.image-frame {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(45, 45, 58, 0.15);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: transform 0.5s ease;
}

.image-frame--tall img {
    aspect-ratio: 3 / 4;
}

.image-frame:hover img {
    transform: scale(1.04);
}

/* Gallery strip */
.gallery-strip {
    padding: 0;
    background: #111;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px 260px;
    gap: 4px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: 32px;
}

.section-title--center {
    text-align: center;
    margin-bottom: 56px;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: var(--color-text);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-layout.reverse .split-content {
    order: 1;
}

.split-layout.reverse .split-visual {
    order: 2;
}

.split-visual img {
    border-radius: var(--radius);
    width: 100%;
}

figure.split-visual {
    border-radius: var(--radius);
}

/* Long Haul */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

.feature-item h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* Safety */
.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    margin-top: 16px;
}

.safety-card {
    position: relative;
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius);
    padding: 36px 24px 24px;
    text-align: center;
    background: #fff;
}

.safety-card--wide {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

.safety-icon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--color-accent-light);
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-orange);
}

.safety-icon svg {
    width: 18px;
    height: 18px;
}

.safety-card h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.safety-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Technology */
.technology {
    background: #fafafa;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tech-card--photo {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(45, 45, 58, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-card--photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(45, 45, 58, 0.14);
}

.tech-card-image {
    height: 200px;
    overflow: hidden;
}

.tech-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech-card--photo:hover .tech-card-image img {
    transform: scale(1.06);
}

.tech-card-body {
    padding: 28px 24px 32px;
    text-align: left;
}

.tech-card {
    text-align: left;
}

.tech-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent-orange);
    margin-bottom: 20px;
}

.tech-icon svg {
    width: 100%;
    height: 100%;
}

.tech-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* Benefits */
.benefits {
    position: relative;
    overflow: hidden;
}

.benefits-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.benefits-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.93);
}

.benefits-inner {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.benefit-card {
    text-align: center;
}

.benefit-stat {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.benefit-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    max-width: 280px;
    margin: 0 auto;
}

.info-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-info-bg);
    border-radius: var(--radius-sm);
    padding: 18px 24px;
    max-width: 720px;
    margin: 0 auto;
}

.info-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--color-info-text);
}

.info-banner p {
    font-size: 0.92rem;
    color: var(--color-info-text);
    font-weight: 500;
}

.info-banner a {
    color: var(--color-info-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.info-banner a:hover {
    color: #0d3a66;
}

/* Contact */
.contact-lead {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 480px;
}

.contact-table {
    width: 100%;
    max-width: 520px;
    border-collapse: collapse;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.contact-table tr {
    border-bottom: 1px solid var(--color-border);
}

.contact-table tr:last-child {
    border-bottom: none;
}

.contact-table th,
.contact-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.92rem;
    vertical-align: top;
}

.contact-table th {
    width: 100px;
    font-weight: 600;
    color: var(--color-text);
    border-right: 1px solid var(--color-border);
    background: #fafafa;
}

.contact-table td {
    color: var(--color-text-muted);
}

.contact-table a:hover {
    color: var(--color-accent-orange);
}

/* Footer */
.site-footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 40px;
}

.footer-brand .logo {
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.88rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-copy {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 1200px) and (min-width: 769px) {
    .main-nav .header-phone,
    .main-nav .header-email {
        display: none;
    }
}

@media (max-width: 960px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .split-layout,
    .split-layout.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-layout.reverse .split-content,
    .split-layout.reverse .split-visual {
        order: unset;
    }

    .split-visual {
        max-width: 560px;
        margin: 0 auto;
    }

    .tech-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .tech-card-body {
        text-align: center;
    }

    .benefits-grid {
        margin-bottom: 40px;
    }

    .tech-card,
    .benefit-card {
        text-align: center;
    }

    .tech-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        padding: 100px 0 60px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 220px);
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .section {
        padding: 56px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
    }

    .header-phone,
    .header-email {
        font-size: 1rem;
        padding: 4px 0;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-header--hero:not(.scrolled) .main-nav.open a {
        color: var(--color-text-muted);
    }

    .site-header--hero:not(.scrolled) .main-nav.open .nav-cta {
        background: var(--color-text);
        color: #fff !important;
    }

    .safety-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .safety-card--wide {
        max-width: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-table th {
        width: 80px;
        padding: 12px 14px;
    }

    .contact-table td {
        padding: 12px 14px;
    }

    .feature-item {
        gap: 14px;
    }

    .hero-contacts {
        flex-direction: column;
        gap: 16px;
    }
}
