/* ============================================================
   SELYA — Premium Light Tech Design
   ============================================================ */

/* Outline focusowalny dla klawiatury (WCAG 2.4.7) */
:focus-visible {
    outline: 2.5px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --accent: #0F766E;
    --accent-dark: #0A5E58;
    --accent-dim: rgba(15, 118, 110, 0.09);
    --accent-glow: rgba(15, 118, 110, 0.22);
    --bg: #F8FAF9;
    --bg-2: #EFF4F2;
    --bg-3: #E6EDEA;
    --surface: rgba(255,255,255,0.80);
    --surface-hover: rgba(255,255,255,0.95);
    --border: rgba(0,0,0,0.08);
    --border-accent: rgba(15, 118, 110, 0.32);
    --text: #1A2622;
    --text-muted: rgba(26, 38, 34, 0.65);
    --white: #FFFFFF;
    --heading-font: 'Cormorant Garamond', Georgia, serif;
    --body-font: 'Inter', system-ui, sans-serif;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Architectural diagonal line overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: repeating-linear-gradient(
        -60deg,
        transparent,
        transparent 80px,
        rgba(15, 118, 110, 0.028) 80px,
        rgba(15, 118, 110, 0.028) 81px
    );
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: #FDFCFC;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 24px rgba(15,118,110,0.08);
}

.header.scrolled {
    border-bottom-color: var(--border-accent);
    background: rgba(253,252,252,0.98);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
    transform-origin: left;
}

.nav-link:hover {
    color: var(--accent);
    background: var(--accent-dim);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 2px 16px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 4px 28px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--border-accent);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent-dark);
}

.btn-large {
    padding: 14px 40px;
    font-size: 15px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 68px;
    position: relative;
    overflow: hidden;
}

/* Radial glow behind hero content */
.hero::after {
    content: '';
    position: absolute;
    top: 30%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(15,118,110,0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: -6%;
    transform: translateY(-50%);
    width: 58%;
    max-width: 780px;
    pointer-events: none;
    z-index: 1;
}

.hero-logo,
.hero-image {
    width: 100%;
    height: auto;
    opacity: 0.06;
    filter: invert(1) sepia(1) saturate(3) hue-rotate(90deg);
}

.hero-svg {
    width: 100%;
    height: auto;
    animation: svgFadeIn 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes svgFadeIn {
    from { opacity: 0; transform: scale(0.94) rotate(-3deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Spinning arc on SVG */
.svg-arc-spin {
    transform-origin: 300px 300px;
    animation: arcSpin 24s linear infinite;
}

@keyframes arcSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Pulsing constellation nodes */
.svg-node-pulse {
    animation: nodePulse 3.2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.7; r: 3.5; }
    50%       { opacity: 1;   r: 5;   }
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 80px 0;
}

.hero-content {
    flex: 1;
    max-width: 780px;
}

/* Overline label */
.hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    opacity: 0;
    animation: overlineEnter 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
}

@keyframes overlineEnter {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-overline::before {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    animation: lineGrow 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s forwards;
}

@keyframes lineGrow {
    from { width: 0;    }
    to   { width: 32px; }
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 28px;
}

.text-accent {
    color: var(--accent);
    font-family: var(--heading-font);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

.hero-description {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.75;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
    background: var(--bg-2);
    padding: 56px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 32px;
    border-right: 1px solid var(--border);
    position: relative;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--heading-font);
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--accent);
    margin-bottom: 6px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.06);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-title {
    font-family: var(--heading-font);
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    color: var(--text);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

/* Section tag label above title */
.section-tag {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
    background: var(--bg);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    counter-reset: service-counter;
}

.service-card {
    background: var(--surface);
    padding: 36px 32px;
    position: relative;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    counter-increment: service-counter;
}

.service-card::before {
    content: '0' counter(service-counter);
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--accent);
    opacity: 0.35;
    z-index: 2;
    transition: opacity 0.25s ease;
}

.service-card:hover {
    background: var(--surface-hover);
    box-shadow: 0 8px 40px rgba(15,118,110,0.10);
    transform: translateY(-2px);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.85;
}

/* Accent corner line on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.service-card:hover::after {
    width: 100%;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.service-card h3 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================================
   TECHNOLOGIES
   ============================================================ */
.technologies-section {
    background: var(--bg-2);
    padding: 100px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.tech-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tech-item:hover {
    border-color: var(--border-accent);
    background: var(--white);
    box-shadow: 0 6px 24px rgba(15,118,110,0.11);
    transform: translateY(-4px);
}

.tech-icon {
    width: 72px;
    height: 72px;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.tech-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.tech-item h4 {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.tech-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
    background: var(--accent);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -60deg,
        transparent,
        transparent 80px,
        rgba(255,255,255,0.04) 80px,
        rgba(255,255,255,0.04) 81px
    );
    pointer-events: none;
}

.why-section .section-tag {
    color: rgba(255,255,255,0.7);
}

.why-section .section-title {
    color: #FFFFFF;
}

.why-section .section-subtitle {
    color: rgba(255,255,255,0.75);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 52px;
}

.why-item {
    background: rgba(255,255,255,0.06);
    padding: 36px 40px;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: background 0.2s ease;
}

.why-item:hover {
    background: rgba(255,255,255,0.11);
}

.why-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.why-item-icon svg {
    width: 20px;
    height: 20px;
    color: #FFFFFF;
}

.why-item h4 {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.why-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}

.why-cta {
    margin-top: 0;
}

.why-section .btn-primary {
    background: #FFFFFF;
    color: var(--accent);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.why-section .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
    background: var(--bg-2);
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.contact-form {
    max-width: 680px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 48px;
    border-radius: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--body-font);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(232,237,245,0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea {
    resize: vertical;
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 15px;
    text-align: center;
}

.form-message-success {
    background-color: rgba(0, 255, 135, 0.08);
    border: 1px solid var(--border-accent);
    color: var(--accent);
}

.form-message-error {
    background-color: rgba(255, 59, 59, 0.08);
    border: 1px solid rgba(255, 59, 59, 0.35);
    color: #ff6b6b;
}

/* Contact info box */
.contact-info-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 56px 48px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 4px 32px rgba(15,118,110,0.07);
}

.contact-info-box .contact-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-dim);
    border: 1px solid var(--border-accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-info-box .contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-info-box p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.7;
}

.contact-info-box p:last-of-type {
    margin-bottom: 0;
}

.contact-info-box a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    margin-top: 8px;
    transition: opacity 0.2s ease;
}

.contact-info-box a:hover {
    opacity: 0.75;
}

/* Captcha */
.captcha-group {
    max-width: 300px;
}

.captcha-group input {
    -moz-appearance: textfield;
}

.captcha-group input::-webkit-outer-spin-button,
.captcha-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #FDFCFC;
    padding: 56px 0 28px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    height: 40px;
    opacity: 0.9;
}

.footer-contact a {
    color: var(--accent);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer-contact a:hover {
    opacity: 0.75;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-stagger {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.fade-in-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero entrance */
.hero-content {
    animation: heroFadeIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(36px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stat counter shimmer on load */
@keyframes shimmer {
    from { background-position: -200% center; }
    to   { background-position:  200% center; }
}

.stat-number.counting {
    background: linear-gradient(90deg, var(--accent) 0%, #25C5B0 40%, var(--accent) 60%, var(--accent-dark) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 1.4s linear;
}

/* Pulsing accent dot */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 0 10px transparent; }
}

/* Section slide-in from left for section-tag */
.section-tag {
    transition-delay: 0s;
}

.section-tag.fade-in {
    transform: translateX(-16px) translateY(0);
    transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.section-tag.fade-in.visible {
    transform: translateX(0);
}

/* Growing underline beneath section-tag */
.section-tag::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent);
    margin: 7px auto 0;
    border-radius: 2px;
    transition: width 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) 0.35s;
    opacity: 0.6;
}

.section-tag.visible::after {
    width: 28px;
}

/* Why item slide from right */
.why-item.fade-in-stagger {
    transform: translateX(20px) translateY(0);
}

.why-item.fade-in-stagger.visible {
    transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .hero-visual {
        width: 90%;
        right: -25%;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(248,250,249,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 6px;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        margin-top: 8px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-wrapper {
        padding: 40px 0;
    }

    .hero {
        min-height: auto;
        align-items: flex-start;
        padding-top: 68px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
