/* Variables */
:root {
    --color-dark: #222222;
    --color-orange: #FF6900;
    --color-light-bg: #f2ece4;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-white: #ffffff;
    --color-white-muted: #f5f0eb;
    --color-muted-light: #bbbbbb;
    --color-off-white: #eeeeee;
    
    --font-heading: 'Rajdhani', sans-serif;
    --font-text: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 3px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%; /* 16px base */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    font-size: 1rem;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 5rem); }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem); margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    max-width: 70ch; /* Max šířka textu */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Layout Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1440px) {
    .container {
        width: 85%;
        max-width: 1600px;
    }
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

.text-orange { color: var(--color-orange); }
.text-white { color: var(--color-off-white); }
.text-light { color: var(--color-muted-light); }
.text-smaller { font-size: 0.875rem; }

.mt-s { margin-top: 0.5rem; }
.mt-m { margin-top: 1.5rem; }
.mt-l { margin-top: 2.5rem; }
.mt-xl { margin-top: 4rem; }

.bg-white { background-color: var(--color-white); }
.bg-light { background-color: var(--color-light-bg); }
.bg-dark { background-color: var(--color-dark); color: var(--color-white); }
.bg-orange { background-color: var(--color-orange); color: var(--color-white); }

/* Section Dividers - Notch (Zub) pointing DOWN */
.section-slant-top {
    position: relative;
    clip-path: polygon(0 0, calc(50% - 30px) 0, 50% 20px, calc(50% + 30px) 0, 100% 0, 100% 100%, 0 100%);
    margin-top: -21px;
    padding-top: 4rem;
    z-index: 2;
}

.section-slant-bottom {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(50% + 30px) calc(100% - 20px), 50% 100%, calc(50% - 30px) calc(100% - 20px), 0 calc(100% - 20px));
    margin-bottom: -21px;
    padding-bottom: 4rem;
    z-index: 2;
}

section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    section { padding: 8rem 0; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #e55e00;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 105, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn-outline-orange {
    background-color: transparent;
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.btn-outline-orange:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-svg {
    width: 32px;
    height: 32px;
}

.logo-white { stroke: var(--color-white); transition: var(--transition); }
.logo-orange { stroke: var(--color-orange); transition: var(--transition); }

.header.scrolled .logo-white { stroke: var(--color-white); }

.logo-link:hover .logo-white { stroke: var(--color-orange); }
.logo-link:hover .logo-orange { stroke: var(--color-white); }

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-off-white);
}

.logo-highlight {
    color: var(--color-orange);
}

.main-nav {
    display: none;
}

@media (min-width: 992px) {
    .main-nav {
        display: block;
    }
    
    .nav-list {
        display: flex;
        gap: 2rem;
        list-style: none;
    }
    
    .nav-list a {
        color: var(--color-muted-light); /* Tlumenější šedá pro neaktivní položky */
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 1.125rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        position: relative;
    }
    
    .nav-list a:hover, .nav-list a.active {
        color: var(--color-off-white); /* Jemná off-white pro aktivní/hover stav */
    }
    
    .nav-list a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--color-orange);
        transition: var(--transition);
    }
    
    .nav-list a:hover::after, .nav-list a.active::after {
        width: 100%;
    }
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
    border-radius: 2px;
}

@media (min-width: 992px) {
    .hamburger {
        display: none;
    }
}

.header-btn {
    display: none;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}

@media (min-width: 992px) {
    .header-btn {
        display: inline-flex;
    }
}

/* Mobile Menu Active State */
body.menu-open {
    overflow: hidden;
}

.main-nav.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    background-color: var(--color-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 2.5rem;
}

body.menu-open .header {
    background-color: var(--color-dark);
}

body.menu-open .logo-link {
    position: relative;
    z-index: 1000;
}

.main-nav.active .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    list-style: none;
    padding: 0;
    width: 100%;
}

.main-nav.active .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav.active .nav-list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav.active .nav-list a {
    display: block;
    padding: 1rem 0;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mobile-nav-btn {
    display: none;
}

.main-nav.active .mobile-nav-btn {
    display: inline-flex;
    margin-top: 2rem;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 180px; /* Zvětšeno pro odsunutí textu od menu */
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomInOut 25s infinite alternate linear;
}

@keyframes zoomInOut {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Silnější černý gradient zleva a shora pro lepší čitelnost */
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.2) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 30%);
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-orange); /* Změněno na oranžovou */
    margin-bottom: 1.5rem;
}

.hero-subtitle .line {
    width: 40px;
    height: 2px;
    background-color: var(--color-orange);
}

.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-description {
    margin-bottom: 2.5rem;
}

.hero-lead {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    color: var(--color-off-white);
    margin-bottom: 1rem;
}

.hero-subtext {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--color-muted-light);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--color-orange);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-left: 3px solid var(--color-orange);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-orange);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    color: var(--color-dark);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Services Preview */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-orange);
}

.service-icon {
    font-size: 1.75rem;
    color: var(--color-orange);
    background: rgba(255, 105, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    flex-shrink: 0;
}

.service-content h3 {
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.service-content p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    opacity: 0.9;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    margin-top: -1px; /* Přesah pro odstranění subpixelové mezery */
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1.5fr 1fr;
    }
}

.footer-title {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-orange);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-list li {
    display: flex;
    align-items: center;
    color: var(--color-muted-light);
}

.footer-list i {
    width: 24px;
    text-align: center;
}

.footer-list a {
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--color-orange);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: var(--color-muted-light);
    font-size: 0.875rem;
}

.footer-bottom a {
    transition: var(--transition);
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: var(--color-orange);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Page Headers */
.page-header {
    padding: 8rem 0 5rem;
    text-align: left;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.page-desc {
    max-width: 800px;
    font-size: 1.125rem;
    color: var(--color-muted-light);
    line-height: 1.6;
}

/* Product Cards (Alternating) */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.product-image {
    width: 100%;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.product-icon {
    font-size: 1.5rem;
    color: var(--color-orange);
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.product-features li i {
    color: var(--color-orange);
    font-size: 0.875rem;
}

.product-desc {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-top: auto;
}

@media (min-width: 992px) {
    .product-card {
        flex-direction: row;
        height: 450px;
        margin-bottom: 3rem;
    }
    
    .product-card:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .product-image {
        width: 50%;
        height: 100%;
    }
    
    .product-content {
        width: 50%;
        padding: 4rem;
    }
}

/* Material Section */
.material-box {
    background: linear-gradient(to right, rgba(255, 105, 0, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--color-orange);
    padding: 2.5rem;
    border-radius: 3px;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .material-box {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 3rem 4rem;
    }
}

.material-box p {
    font-size: 1.125rem;
    color: var(--color-off-white);
    margin-bottom: 0;
    max-width: 600px;
}

.material-box .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.portfolio-card {
    background: var(--color-white);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-title {
    font-family: var(--font-text);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    text-transform: none;
    line-height: 1.3;
}

.portfolio-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* About Hero */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
}

.about-hero img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 0;
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(34,34,34,0.85) 0%, rgba(34,34,34,0.3) 30%, rgba(34,34,34,0.5) 70%, rgba(34,34,34,1) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 150px;
    padding-bottom: 3rem;
}

.about-hero-titles {
    margin-bottom: 2rem;
}

.about-hero-text {
    color: var(--color-white);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 500;
    max-width: 700px;
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding-bottom: 2rem;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-orange);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 0;
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 2rem;
    z-index: 1;
}

/* Posunutí sudých položek nahoru pro kompaktnější vzhled */
.timeline-item.right {
    margin-top: -3rem;
}

.timeline-item.left {
    left: 0;
    padding-right: 60px;
}

.timeline-item.right {
    left: 50%;
    padding-left: 60px;
}

.timeline-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    background-color: var(--color-dark);
    border: 2px solid var(--color-muted-light);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    top: 20px;
    font-size: 1.125rem;
    box-shadow: 0 0 0 4px var(--color-dark);
}

.timeline-item.left .timeline-icon {
    right: -22px;
}

.timeline-item.right .timeline-icon {
    left: -22px;
}

.timeline-icon.filled {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: var(--color-white);
}

.timeline-year {
    position: absolute;
    top: 28px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-muted-light);
    white-space: nowrap;
    z-index: 2;
}

/* Zarovnání roku hned vedle osy */
.timeline-item.left .timeline-year {
    left: 100%;
    margin-left: 40px;
}

.timeline-item.right .timeline-year {
    right: 100%;
    margin-right: 40px;
    text-align: right;
}

.timeline-item.left .timeline-year.orange,
.timeline-item.right .timeline-year.orange {
    color: var(--color-orange);
}

.timeline-content {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    text-align: left;
    transition: var(--transition);
}

.timeline-content:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.timeline-content.highlight {
    border-color: var(--color-orange);
    background-color: rgba(255, 105, 0, 0.08);
}

/* Connecting line */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 41px;
    width: 60px;
    height: 2px;
    background-color: var(--color-orange);
    z-index: -1;
}

.timeline-item.left .timeline-content::after {
    right: -60px;
}

.timeline-item.right .timeline-content::after {
    left: -60px;
}

.timeline-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
    text-transform: none;
    font-family: var(--font-text);
    font-weight: 600;
}

.timeline-content.highlight h3 {
    color: var(--color-orange);
}

.timeline-content p {
    color: var(--color-muted-light);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 22px;
    }
    
    .timeline-item {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .timeline-item.right {
        margin-top: 0;
    }
    
    .timeline-item.left, 
    .timeline-item.right {
        left: 0;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item.left .timeline-icon,
    .timeline-item.right .timeline-icon {
        left: 0;
        right: auto;
    }
    
    .timeline-item.left .timeline-year,
    .timeline-item.right .timeline-year {
        position: relative;
        top: 0;
        left: 0;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        text-align: left;
        margin-bottom: 0.5rem;
        display: block;
    }

    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        display: none;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: var(--transition);
    background-color: transparent;
}

.faq-item.active {
    background-color: var(--color-white);
    border-left: 4px solid var(--color-orange);
    border-bottom-color: transparent;
    box-shadow: var(--shadow-sm);
    margin: 1rem 0;
    border-radius: 0 4px 4px 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--color-dark);
    font-family: var(--font-text);
    font-size: 1.125rem;
    font-weight: 600;
}

.faq-number {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-muted-light);
    margin-right: 1.5rem;
    font-size: 1.125rem;
    width: 25px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.faq-item.active .faq-number {
    color: var(--color-orange);
}

.faq-text {
    flex-grow: 1;
    padding-right: 1rem;
    line-height: 1.4;
}

.faq-icon {
    color: var(--color-muted-light);
    font-size: 0.875rem;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 4.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1rem;
    }
    .faq-number {
        margin-right: 1rem;
    }
    .faq-answer-inner {
        padding: 0 1rem 1.25rem 3.5rem;
    }
}

/* Contact Section & Form */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.contact-methods {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.contact-methods li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-methods .icon-box {
    width: 44px;
    height: 44px;
    background-color: var(--color-orange);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.1rem;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

.contact-methods .label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-methods .value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-company-info {
    background-color: rgba(0,0,0,0.04);
    border-left: 3px solid var(--color-orange);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-company-info p {
    margin: 0 0 0.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.contact-company-info p:last-child {
    margin-bottom: 0;
}

.map-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-text);
}

.map-container {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 250px;
    background-color: #eee;
}

.form-desc {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 3px;
    font-family: var(--font-text);
    font-size: 1rem;
    background-color: var(--color-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a0a0;
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

@media screen and (max-width: 576px) {
    .form-submit {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.submit-note {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.form-spam-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

