/* ========================================
   One Stop Emission & Tires — Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

address {
    font-style: normal;
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #0a1f3f;
    color: #c9a84c;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 200;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* --- Typography --- */
.section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    color: #0a1f3f;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #4a4a5a;
    max-width: 560px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 4px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #0a1f3f;
    color: #ffffff;
    border: 1px solid #0a1f3f;
}

.btn--primary:hover {
    background: #132d54;
    border-color: #132d54;
}

.btn--gold {
    background: #c9a84c;
    color: #0a1f3f;
    border: 1px solid #c9a84c;
    font-weight: 500;
}

.btn--gold:hover {
    background: #b8963e;
    border-color: #b8963e;
}

.btn--ghost {
    background: transparent;
    color: #0a1f3f;
    border: 1px solid rgba(10, 31, 63, 0.25);
}

.btn--ghost:hover {
    border-color: #0a1f3f;
}

.btn--outline {
    background: transparent;
    color: #0a1f3f;
    border: 1px solid rgba(10, 31, 63, 0.3);
}

.btn--outline:hover {
    background: #0a1f3f;
    color: #ffffff;
    border-color: #0a1f3f;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 31, 63, 0.06);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(10, 31, 63, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-brand-mark {
    width: 36px;
    height: 36px;
    background: #0a1f3f;
    color: #c9a84c;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.nav-brand-text {
    font-size: 14px;
    font-weight: 400;
    color: #0a1f3f;
    letter-spacing: 0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    color: #4a4a5a;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a84c;
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: #0a1f3f;
}

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

.nav-link--gold {
    color: #c9a84c;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link--gold:hover {
    color: #b8963e;
}

.nav-link--gold::after {
    display: none;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: #0a1f3f;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: #ffffff;
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 24px;
    padding-left: 32px;
    position: relative;
}

.hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: #c9a84c;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.15;
    color: #0a1f3f;
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.75;
    color: #4a4a5a;
    max-width: 440px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #7a7a8a;
}

.hero-trust-dot {
    width: 6px;
    height: 6px;
    background: #c9a84c;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 820px;
    object-fit: cover;
    border-radius: 4px;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid #c9a84c;
    border-radius: 4px;
    z-index: -1;
}

/* --- Services --- */
.services {
    padding: 120px 0;
    background: #fafafa;
}

.services-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin-bottom: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(10, 31, 63, 0.06);
    border-radius: 4px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 40px rgba(10, 31, 63, 0.06);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: #c9a84c;
    margin-bottom: 24px;
}

.service-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: 20px;
    color: #0a1f3f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a5a;
    margin-bottom: 24px;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #0a1f3f;
    letter-spacing: 0.03em;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 10px;
    color: #c9a84c;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: #ffffff;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100px;
    height: 100px;
    border-top: 1px solid #c9a84c;
    border-left: 1px solid #c9a84c;
    border-radius: 4px 0 0 0;
}

.about-content .section-eyebrow {
    margin-bottom: 16px;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a5a;
    margin-bottom: 20px;
}

.about-values {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-label {
    font-size: 14px;
    color: #1a1a2e;
    font-weight: 400;
}

.value-line {
    flex: 1;
    height: 1px;
    background: rgba(10, 31, 63, 0.1);
}

/* --- Emission Banner --- */
.emission-banner {
    padding: 100px 0;
    background: #0a1f3f;
    color: #ffffff;
}

.emission-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
}

.emission-content .section-eyebrow {
    color: #c9a84c;
    margin-bottom: 16px;
}

.emission-content .section-title {
    color: #ffffff;
    max-width: 640px;
}

.emission-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto;
}

.emission-visual {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.emission-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 32px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 4px;
    color: #c9a84c;
    min-width: 160px;
}

.emission-badge span {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.5;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: #fafafa;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-eyebrow {
    margin-bottom: 16px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 16px;
    line-height: 1.75;
    color: #4a4a5a;
    margin-bottom: 40px;
}

.contact-details {
    list-style: none;
    margin-bottom: 36px;
}

.contact-row {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(10, 31, 63, 0.06);
    flex-wrap: wrap;
}

.contact-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a84c;
    min-width: 72px;
    padding-top: 2px;
}

.contact-value {
    font-size: 15px;
    color: #1a1a2e;
    line-height: 1.7;
}

.contact-value a {
    color: #0a1f3f;
    border-bottom: 1px solid rgba(10, 31, 63, 0.15);
    transition: border-color 0.2s ease;
}

.contact-value a:hover {
    border-color: #c9a84c;
    color: #0a1f3f;
}

/* Form */
.contact-form-wrap {
    background: #ffffff;
    border: 1px solid rgba(10, 31, 63, 0.06);
    border-radius: 4px;
    padding: 40px;
}

.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: 22px;
    color: #0a1f3f;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4a4a5a;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #1a1a2e;
    background: #fafafa;
    border: 1px solid rgba(10, 31, 63, 0.1);
    border-radius: 4px;
    padding: 14px 16px;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #c9a84c;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.form-input::placeholder {
    color: #9a9aaa;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a4a5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 4px;
    color: #0a1f3f;
    font-size: 14px;
}

.form-success svg {
    color: #c9a84c;
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background: #0a1f3f;
    color: rgba(255, 255, 255, 0.5);
    padding: 64px 0 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand-name {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    max-width: 360px;
}

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

.footer-copy {
    font-size: 13px;
}

.footer-address {
    font-size: 13px;
}

.footer-address a {
    color: #c9a84c;
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
    transition: border-color 0.2s ease;
}

.footer-address a:hover {
    border-color: #c9a84c;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }
    
    .hero-image img {
        height: 600px;
    }
    
    .about-layout {
        gap: 48px;
    }
    
    .about-image-wrap img {
        height: 500px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid rgba(10, 31, 63, 0.06);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu .nav-link {
        padding: 14px 0;
        font-size: 15px;
        width: 100%;
        border-bottom: 1px solid rgba(10, 31, 63, 0.04);
    }
    
    .nav-menu .nav-link--gold {
        border-bottom: none;
        padding-bottom: 0;
        margin-top: 8px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 400px;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrap img {
        height: 400px;
    }
    
    .about-image-wrap::before {
        display: none;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .emission-banner {
        padding: 80px 0;
    }
    
    .emission-visual {
        flex-direction: column;
        align-items: center;
    }
    
    .emission-badge {
        width: 100%;
        max-width: 280px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container, .services-inner, .about-inner, .emission-inner, .contact-inner {
        padding: 0 20px;
    }
    
    .nav-inner {
        padding: 0 20px;
    }
    
    .hero-headline {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .service-card {
        padding: 28px 24px;
    }
}
