/* ========================================
   ViaggioScelato - Main Stylesheet
   L'Art du Transport en Mouvement
   ======================================== */

/* ----------------------------------------
   CSS Variables / Design Tokens
   ---------------------------------------- */
:root {
    /* Color Palette */
    --color-primary: #2D4A3E;
    --color-secondary: #E8DDD4;
    --color-accent: #D4A574;
    --color-background: #FAF8F5;
    --color-text: #3A3A3A;
    --color-highlight: #7B9E89;
    --color-white: #FFFFFF;
    --color-dark: #1a2e25;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --font-accent: 'Caveat', cursive;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
    --space-xxl: 80px;

    /* Container */
    --container-max: 1200px;
    --container-padding: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 74, 62, 0.08);
    --shadow-md: 0 8px 24px rgba(45, 74, 62, 0.1);
    --shadow-lg: 0 20px 40px rgba(45, 74, 62, 0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;
    --radius-artistic: 20px 5px 20px 5px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

.text-accent {
    color: var(--color-accent);
}

.text-highlight {
    color: var(--color-highlight);
}

.text-white {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.artistic-quote {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--color-accent);
    font-style: italic;
}

/* ----------------------------------------
   Layout
   ---------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-xxl) 0;
}

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

.section-beige {
    background-color: var(--color-secondary);
}

.section-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn svg {
    width: 18px;
    height: 18px;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn-secondary-light:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ----------------------------------------
   Header & Navigation
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-normal);
    padding: var(--space-sm) 0;
}

.header.scrolled {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xs) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

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

.logo-accent {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--color-text);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.menu-bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all var(--transition-normal);
}

.menu-toggle.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-background);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-nav-links {
    margin-bottom: var(--space-lg);
}

.mobile-nav-links li {
    margin-bottom: var(--space-md);
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-primary);
}

.mobile-nav-links a.active {
    color: var(--color-accent);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    top: -100px;
    right: -100px;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-highlight);
    opacity: 0.2;
    bottom: 100px;
    left: -50px;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    opacity: 0.15;
    top: 50%;
    right: 20%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-title {
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: #555;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-illustration {
    max-width: 500px;
}

.map-illustration {
    width: 100%;
    height: auto;
}

/* Animation classes for hero SVG */
.draw-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease forwards;
}

.draw-line.delay-1 { animation-delay: 0.3s; }
.draw-line.delay-2 { animation-delay: 0.6s; }
.draw-line.delay-3 { animation-delay: 0.9s; }
.draw-line.delay-4 { animation-delay: 1.2s; }
.draw-line.delay-5 { animation-delay: 1.5s; }

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.pulse-dot {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.moving-truck {
    animation: moveTruck 8s ease-in-out infinite;
}

@keyframes moveTruck {
    0%, 100% { transform: translate(220px, 165px); }
    50% { transform: translate(280px, 185px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.scroll-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ----------------------------------------
   Intro Section
   ---------------------------------------- */
.intro-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.intro-content {
    max-width: 700px;
    text-align: center;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.intro-decoration {
    width: 50px;
    flex-shrink: 0;
}

.intro-decoration svg {
    width: 100%;
    height: auto;
}

/* ----------------------------------------
   Services Section
   ---------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--color-background);
    border: 1px solid var(--color-secondary);
    padding: var(--space-lg);
    border-radius: var(--radius-artistic);
    transition: all var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-highlight);
}

.service-card-large {
    grid-row: span 2;
}

.service-card-full {
    grid-column: span 3;
}

.service-card-full .service-card-inner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.service-description {
    color: #666;
    margin-bottom: var(--space-md);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--color-accent);
}

.service-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ----------------------------------------
   Stats Section
   ---------------------------------------- */
.stats {
    padding: var(--space-xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--space-sm);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-number {
    display: block;
    font-family: var(--font-accent);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ----------------------------------------
   Why Us Section
   ---------------------------------------- */
.why-us-blocks {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.why-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.why-block-reverse {
    direction: rtl;
}

.why-block-reverse > * {
    direction: ltr;
}

.why-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.why-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.why-block:hover .why-image img {
    transform: scale(1.05);
}

.why-content h3 {
    margin-bottom: var(--space-sm);
}

.why-content p {
    color: #666;
}

/* ----------------------------------------
   Testimonials Section
   ---------------------------------------- */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='100' viewBox='0 0 200 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q50 20, 100 50 Q150 80, 200 50' stroke='%232D4A3E' stroke-width='2'/%3E%3C/svg%3E");
}

.testimonials-carousel {
    position: relative;
}

.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--color-background);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-quote {
    margin-bottom: var(--space-sm);
}

.quote-icon {
    width: 40px;
    height: 40px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: var(--space-md);
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--color-primary);
}

.author-info span {
    font-size: 0.875rem;
    color: #888;
}

.author-company {
    color: var(--color-accent) !important;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.testimonial-nav-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.testimonial-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* ----------------------------------------
   Coverage Section
   ---------------------------------------- */
.coverage-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.coverage-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.coverage-map img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.map-overlay svg,
.map-lines {
    width: 100%;
    height: 100%;
}

.zone-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-secondary);
}

.zone-list li:last-child {
    border-bottom: none;
}

.zone-list svg {
    width: 20px;
    height: 20px;
    color: var(--color-highlight);
    flex-shrink: 0;
}

/* ----------------------------------------
   Contact Section
   ---------------------------------------- */
.contact-section {
    background-color: var(--color-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info p {
    margin-bottom: var(--space-lg);
}

.contact-illustration svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ----------------------------------------
   Forms
   ---------------------------------------- */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.form-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--color-primary);
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--color-secondary);
    border-radius: var(--radius-md) var(--radius-sm) var(--radius-md) var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-checkbox input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #666;
}

.form-checkbox a {
    color: var(--color-accent);
    text-decoration: underline;
}

.form-help {
    font-size: 0.875rem;
    color: #888;
    margin-top: var(--space-xs);
}

.form-section {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-secondary);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: var(--space-md);
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

/* ----------------------------------------
   Pre-Footer
   ---------------------------------------- */
.pre-footer {
    background: var(--color-highlight);
    color: var(--color-white);
    padding: var(--space-lg) 0;
}

.pre-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.pre-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pre-footer-item svg {
    width: 32px;
    height: 32px;
    margin-bottom: var(--space-sm);
}

.pre-footer-item h4 {
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.pre-footer-item p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    position: relative;
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    overflow: hidden;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-main {
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
}

.footer-logo {
    margin-bottom: var(--space-md);
    display: inline-block;
}

.footer-logo .logo-text {
    color: var(--color-white);
    font-size: 1.75rem;
}

.footer-description {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent);
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-md) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

.footer-decoration {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    opacity: 0.1;
    pointer-events: none;
}

.route-decoration {
    width: 100%;
    height: 50px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ----------------------------------------
   Page Hero
   ---------------------------------------- */
.page-hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 74, 62, 0.85), rgba(45, 74, 62, 0.7));
}

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

.page-hero-content-centered {
    text-align: center;
    margin: 0 auto;
}

.page-title {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
}

.hero-decoration {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}

.hero-decoration svg {
    width: 100%;
    height: auto;
    display: block;
}

.page-hero-legal {
    background: linear-gradient(135deg, var(--color-primary), var(--color-highlight));
    padding: 150px 0 80px;
}

.page-hero-tracking {
    background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
    padding: 150px 0 80px;
}

/* ----------------------------------------
   Timeline Section
   ---------------------------------------- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-secondary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) > * {
    direction: ltr;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: var(--color-background);
    padding: var(--space-xs) var(--space-sm);
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-pill);
    z-index: 1;
}

.timeline-year {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 600;
}

.timeline-content {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-lg);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-sm);
}

.timeline-icon svg {
    width: 100%;
    height: 100%;
}

.timeline-content h3 {
    margin-bottom: var(--space-sm);
}

.timeline-item-current .timeline-marker {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.timeline-item-current .timeline-year {
    color: var(--color-white);
}

/* ----------------------------------------
   Values Section
   ---------------------------------------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.value-card {
    background: var(--color-background);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-md);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    margin-bottom: var(--space-sm);
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
}

/* ----------------------------------------
   Team Section
   ---------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(45, 74, 62, 0.5), transparent);
}

.team-info {
    padding: var(--space-md);
}

.team-info h3 {
    margin-bottom: var(--space-xs);
}

.team-role {
    display: block;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.team-info p {
    font-size: 0.95rem;
    color: #666;
}

/* ----------------------------------------
   Quality Section
   ---------------------------------------- */
.quality-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.quality-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: var(--space-md);
}

.quality-list li {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-secondary);
}

.quality-list li:last-child {
    border-bottom: none;
}

.quality-list svg {
    width: 20px;
    height: 20px;
    color: var(--color-highlight);
    flex-shrink: 0;
    margin-top: 3px;
}

.quality-certifications {
    background: var(--color-background);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.quality-certifications h3 {
    margin-bottom: var(--space-md);
}

.certifications-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.certification-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.certification-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.certification-icon svg {
    width: 100%;
    height: 100%;
}

.certification-item span {
    font-weight: 500;
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta-section {
    background: var(--color-accent);
    padding: var(--space-xl) 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ----------------------------------------
   Service Detail Pages
   ---------------------------------------- */
.service-detail-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.service-detail-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-md);
}

.service-detail-icon svg {
    width: 100%;
    height: 100%;
}

.service-subsections {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.service-subsection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.service-subsection-reverse {
    direction: rtl;
}

.service-subsection-reverse > * {
    direction: ltr;
}

.subsection-content h3 {
    margin-bottom: var(--space-sm);
}

.subsection-content p {
    margin-bottom: var(--space-md);
    color: #555;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 500;
}

.service-features svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.subsection-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.subsection-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Fret Section */
.fret-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.fret-services li {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
}

.fret-services svg {
    width: 20px;
    height: 20px;
    color: var(--color-highlight);
    flex-shrink: 0;
}

.fret-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.fret-map img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.map-overlay-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.map-overlay-lines svg {
    width: 100%;
    height: 100%;
}

/* Specialized Grid */
.specialized-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.specialized-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.specialized-image {
    height: 200px;
    overflow: hidden;
}

.specialized-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.specialized-card:hover .specialized-image img {
    transform: scale(1.1);
}

.specialized-content {
    padding: var(--space-md);
}

.specialized-content h3 {
    margin-bottom: var(--space-sm);
}

.specialized-content p {
    font-size: 0.95rem;
    color: #666;
}

/* Logistics Grid */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.logistics-card {
    background: var(--color-background);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

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

.logistics-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.logistics-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.logistics-card h3 {
    margin-bottom: var(--space-sm);
}

.logistics-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Summary Table */
.summary-section {
    background: var(--color-secondary);
}

.summary-table-wrapper {
    overflow-x: auto;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.summary-table th,
.summary-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-secondary);
}

.summary-table th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

.summary-table tr:last-child td {
    border-bottom: none;
}

.summary-table tr:hover {
    background: var(--color-background);
}

/* Quote Section */
.quote-section {
    background: var(--color-secondary);
}

.quote-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ----------------------------------------
   Contact Page
   ---------------------------------------- */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

.contact-info-column h2,
.contact-form-column h2 {
    margin-bottom: var(--space-lg);
}

.contact-block {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-block-icon {
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-block-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.contact-block-content h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.contact-block-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.contact-block-content a {
    color: var(--color-accent);
}

/* Access Section */
.access-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.access-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    position: relative;
    height: 400px;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    animation: bounce 2s ease infinite;
}

.map-marker svg {
    width: 40px;
    height: 50px;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, -100%); }
    50% { transform: translate(-50%, -110%); }
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.access-item {
    display: flex;
    gap: var(--space-md);
}

.access-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.access-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.access-text h3 {
    margin-bottom: var(--space-xs);
}

.access-text p {
    font-size: 0.95rem;
    color: #666;
}

/* ----------------------------------------
   FAQ Section
   ---------------------------------------- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-secondary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-answer p {
    padding-bottom: var(--space-md);
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ----------------------------------------
   Tracking Section
   ---------------------------------------- */
.tracking-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.tracking-form-container {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

.tracking-input-group {
    display: flex;
    gap: var(--space-sm);
}

.tracking-input-group .form-input {
    flex: 1;
}

.tracking-results {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tracking-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
}

.tracking-header h2 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.status-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
}

.status-in-transit {
    background: var(--color-accent);
    color: var(--color-white);
}

.status-delivered {
    background: var(--color-highlight);
    color: var(--color-white);
}

.tracking-timeline {
    padding: var(--space-lg);
}

.tracking-timeline .timeline-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: var(--space-lg);
}

.tracking-timeline .timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 30px;
    bottom: -20px;
    width: 2px;
    background: var(--color-secondary);
}

.tracking-timeline .timeline-item:last-child::before {
    display: none;
}

.tracking-timeline .timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracking-timeline .timeline-marker svg {
    width: 14px;
    height: 14px;
    color: #999;
}

.tracking-timeline .timeline-item-completed .timeline-marker {
    background: var(--color-highlight);
}

.tracking-timeline .timeline-item-completed .timeline-marker svg {
    color: var(--color-white);
}

.tracking-timeline .timeline-item-active .timeline-marker {
    background: var(--color-accent);
    animation: pulse 2s ease infinite;
}

.tracking-timeline .timeline-item-active .timeline-marker svg {
    color: var(--color-white);
}

.tracking-timeline .timeline-content {
    flex: 1;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
}

.tracking-timeline .timeline-date {
    font-size: 0.875rem;
    color: #888;
}

.tracking-timeline .timeline-content h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.tracking-timeline .timeline-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: var(--space-xs);
}

.timeline-location {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
}

.tracking-details {
    border-top: 1px solid var(--color-secondary);
    padding: var(--space-lg);
}

.tracking-details h3 {
    margin-bottom: var(--space-md);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

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

.detail-label {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: var(--space-xs);
}

.detail-value {
    font-weight: 600;
    color: var(--color-primary);
}

.tracking-no-results {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.no-results-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-md);
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-results-icon svg {
    width: 30px;
    height: 30px;
    color: #999;
}

.tracking-no-results h3 {
    margin-bottom: var(--space-sm);
}

.tracking-no-results p {
    color: #666;
}

/* Tracking Help */
.tracking-help .help-content {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tracking-help .help-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.tracking-help .help-icon svg {
    width: 100%;
    height: 100%;
}

.tracking-help .help-text h3 {
    margin-bottom: var(--space-sm);
}

.tracking-help .help-text p {
    color: #666;
    margin-bottom: var(--space-md);
}

.help-contact {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.help-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 600;
    color: var(--color-accent);
}

.help-link svg {
    width: 18px;
    height: 18px;
}

/* ----------------------------------------
   Legal Pages
   ---------------------------------------- */
.legal-content {
    background: var(--color-white);
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-secondary);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.25rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-list {
    margin-left: var(--space-md);
}

.legal-list li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-xs);
}

.legal-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
}

.legal-table th,
.legal-table td {
    padding: var(--space-sm);
    border: 1px solid var(--color-secondary);
    text-align: left;
}

.legal-table th {
    background: var(--color-secondary);
    font-weight: 600;
}

.legal-table tr:hover {
    background: var(--color-background);
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-full {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto var(--space-lg);
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-illustration {
        max-width: 350px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-block,
    .why-block-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .testimonials-track {
        grid-template-columns: 1fr;
    }

    .coverage-content {
        grid-template-columns: 1fr;
    }

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

    .pre-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-marker {
        left: 0;
        transform: none;
    }

    .timeline-content {
        margin-left: 50px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-content {
        grid-template-columns: 1fr;
    }

    .service-subsection,
    .service-subsection-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .fret-content {
        grid-template-columns: 1fr;
    }

    .specialized-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .access-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xxl: 60px;
        --space-xl: 40px;
    }

    .section {
        padding: var(--space-xl) 0;
    }

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

    .service-card-large,
    .service-card-full {
        grid-column: span 1;
        grid-row: span 1;
    }

    .service-card-full .service-card-inner {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .service-features {
        grid-template-columns: 1fr;
    }

    .tracking-input-group {
        flex-direction: column;
    }

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

    .tracking-help .help-content {
        flex-direction: column;
        text-align: center;
    }

    .help-contact {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 80px;
    }

    .page-hero {
        padding: 140px 0 80px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    .intro-decoration {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .testimonial-card {
        padding: var(--space-md);
    }

    .summary-table th,
    .summary-table td {
        padding: var(--space-sm);
        font-size: 0.9rem;
    }
}
