/* ==========================================
   Eurosap Service - Single Page Website
   ========================================== */

/* CSS Variables */
:root {
    --color-bg: #F5F7FA;
    --color-bg-white: #FFFFFF;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-accent: #2563EB;
    --color-accent-hover: #1D4ED8;
    --color-border: #E5E7EB;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1100px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 18px;
    margin-bottom: var(--spacing-xs);
}

h4 {
    font-size: 16px;
    margin-bottom: var(--spacing-sm);
}

p {
    color: var(--color-text-light);
}

/* Section Label */
.section-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

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

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

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
}

/* ==========================================
   1) Top Strip
   ========================================== */
.top-strip {
    background-color: var(--color-bg-white);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-block {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
}

.logo-tagline {
    font-size: 12px;
    color: var(--color-text-light);
}

/* ==========================================
   2) Hero Block
   ========================================== */
.hero {
    background-color: var(--color-bg-white);
    padding: var(--spacing-xxl) 0;
}

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

.hero-subheadline {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.hero-caption {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ==========================================
   3) Services Section
   ========================================== */
.services {
    padding: var(--spacing-xxl) 0;
}

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

.service-card {
    background-color: var(--color-bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    color: var(--color-text);
}

.service-card p {
    font-size: 14px;
    margin: 0;
}

/* ==========================================
   4) Experience Section
   ========================================== */
.experience {
    background-color: var(--color-bg-white);
    padding: var(--spacing-xxl) 0;
}

.experience-text {
    font-size: 16px;
    max-width: 720px;
    margin-bottom: var(--spacing-lg);
}

.experience-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
}

.experience-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 15px;
    color: var(--color-text);
}

.check-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ==========================================
   5) Process / Timeline Section
   ========================================== */
.process {
    padding: var(--spacing-xxl) 0;
}

.timeline {
    max-width: 600px;
    position: relative;
    padding-left: var(--spacing-lg);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background-color: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-lg);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--spacing-lg) + 2px);
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    border-radius: 50%;
    border: 2px solid var(--color-bg);
}

.timeline-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    margin: 0;
}

/* ==========================================
   6) Consulting Section
   ========================================== */
.consulting {
    background-color: var(--color-bg-white);
    padding: var(--spacing-xxl) 0;
}

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

.consulting-text p {
    font-size: 16px;
    line-height: 1.7;
}

.consulting-info {
    background-color: var(--color-bg);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.consulting-info h4 {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.consulting-info ul {
    list-style: none;
}

.consulting-info li {
    font-size: 14px;
    color: var(--color-text-light);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--color-border);
}

.consulting-info li:last-child {
    border-bottom: none;
}

/* ==========================================
   7) Testimonial Section
   ========================================== */
.testimonial {
    background-color: var(--color-bg);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.testimonial blockquote {
    font-size: clamp(18px, 3vw, 22px);
    font-style: italic;
    color: var(--color-text);
    max-width: 720px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.6;
}

.testimonial cite {
    font-size: 14px;
    color: var(--color-text-light);
    font-style: normal;
}

/* ==========================================
   8) Contact Section
   ========================================== */
.contact {
    background-color: var(--color-bg-white);
    padding: var(--spacing-xxl) 0;
}

.contact-intro {
    font-size: 16px;
    margin-bottom: var(--spacing-lg);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    font-family: var(--font-family);
    font-size: 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-bg);
    color: var(--color-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info-item strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item span {
    font-size: 15px;
    color: var(--color-text-light);
}

/* ==========================================
   9) Footer
   ========================================== */
.footer {
    padding: var(--spacing-lg) 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.footer-links {
    font-size: 12px;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

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

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

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }

    .hero {
        padding: var(--spacing-xl) 0;
    }

    .services,
    .experience,
    .process,
    .consulting,
    .testimonial,
    .contact {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-info {
        flex-direction: column;
    }

    .top-strip-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .logo-block {
        align-items: center;
    }
}
