/* ====== GLOBAL ====== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8f8f8;
    color: #1a1a1a;
    line-height: 1.7;
    font-size: 16px;
}

/* Generic containers */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ====== HEADER ====== */

.header {
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #e8e8e8;
}

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

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

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

.nav a {
    text-decoration: none;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
    color: #000;
}

.btn-nav {
    border: 1px solid #1a1a1a;
    padding: 8px 18px;
    border-radius: 6px;
    background: transparent;
    transition: all 0.2s;
}

.btn-nav:hover,
.btn-nav.active {
    background: #1a1a1a;
    color: #fff !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: 0.3s;
}

/* ====== HERO ====== */

.hero {
    padding: 100px 0 90px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.hero-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 700;
    color: #0a0a0a;
}

.hero-left p {
    max-width: 450px;
    color: #444;
    margin-bottom: 30px;
    font-size: 17px;
}

.hero-right {
    flex: 1;
    max-width: 480px;
}

.hero-right img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* ===== BUTTONS ===== */

.btn-primary {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    padding: 15px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #1a1a1a;
    padding: 15px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid #1a1a1a;
    transition: all 0.25s;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #fff;
}

.btn-white {
    background: #fff;
    color: #1a1a1a;
}

.btn-white:hover {
    background: #f0f0f0;
    color: #1a1a1a;
}

/* ====== SECTION ====== */

.section {
    padding: 90px 0;
}

.section-light {
    padding: 90px 0;
    background: #fff;
}

.section-dark {
    padding: 90px 0;
    background: #111;
    color: #fff;
}

.section h2,
.section-light h2 {
    font-size: 36px;
    margin-bottom: 14px;
    font-weight: 700;
    color: #0a0a0a;
}

.section .sub,
.section-light .sub {
    color: #666;
    margin-bottom: 40px;
    max-width: 520px;
    font-size: 17px;
}

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

.text-center.sub,
.sub.text-center {
    margin-left: auto;
    margin-right: auto;
}

/* ====== GRID SYSTEM ====== */

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

/* ====== CARDS ====== */

.card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 32px 28px;
    border-radius: 12px;
    transition: all 0.25s;
}

.card:hover {
    border-color: #ccc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.card p {
    color: #555;
    font-size: 15px;
}

/* Service Cards */
.service-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s;
}

.service-card:hover {
    border-color: #ccc;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px 24px 0;
    font-size: 20px;
    font-weight: 600;
}

.service-card p {
    padding: 10px 24px;
    color: #555;
    font-size: 15px;
}

.service-price {
    display: block;
    padding: 10px 24px 24px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 17px;
}

.services-cta {
    margin-top: 50px;
    text-align: center;
}

/* Testimonial Cards */
.testimonial {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 32px 28px;
    border-radius: 12px;
}

.testimonial p {
    font-size: 17px;
    font-style: italic;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.6;
}

.testimonial span {
    color: #666;
    font-size: 14px;
}

/* ====== ACHIEVEMENTS ====== */

.achievements {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.achievements h3 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.achievements p {
    color: #666;
    font-size: 15px;
}

/* ====== PORTFOLIO ====== */

.portfolio-grid img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: all 0.3s;
}

.portfolio-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* ====== TIMELINE ====== */

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.timeline .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 28px 20px;
    border-radius: 12px;
    font-size: 15px;
    color: #444;
}

.timeline .step span {
    font-size: 18px;
    font-weight: 700;
    background: #1a1a1a;
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 14px;
}

/* ====== FAQ ====== */

.faq-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 24px 28px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.faq-item p {
    color: #555;
    font-size: 15px;
}

/* ====== CTA SECTION ====== */

.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-wrap h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 14px;
}

.cta-wrap p {
    color: #bbb;
    margin-bottom: 30px;
    font-size: 17px;
}

/* ====== CONTACT FORM (Index Page) ====== */

.contact-section {
    background: #0e0e0e;
    padding: 90px 20px;
    color: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-intro h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #fff;
}

.contact-intro p {
    color: #aaa;
    font-size: 17px;
}

.contact-form {
    background: rgba(255,255,255,0.03);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

.form-row {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #ddd;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #333;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.25s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #555;
    background: #161616;
}

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

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0 28px;
    font-size: 14px;
    color: #aaa;
    cursor: pointer;
}

.checkbox-line input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-line a {
    color: #fff;
    text-decoration: underline;
}

.btn-submit {
    padding: 15px 32px;
    background: #fff;
    border: none;
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
}

.btn-submit:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.1);
}

/* ====== FOOTER ====== */

.footer {
    background: #111;
    color: #fff;
    padding: 70px 0 0;
}

.footer-wrap {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid #2a2a2a;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #999;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom p {
    color: #666;
    font-size: 13px;
    text-align: center;
}

/* ====== PAGE HEADER ====== */

.page-header {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0a0a0a;
}

.page-header p {
    color: #555;
    font-size: 18px;
}

/* ====== LEGAL PAGES ====== */

.legal-section {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a0a0a;
}

.legal-updated {
    color: #777;
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    color: #333;
}

.legal-content p {
    color: #444;
    margin-bottom: 16px;
    font-size: 15px;
}

.legal-content ul {
    margin: 16px 0 16px 24px;
    color: #444;
}

.legal-content ul li {
    margin-bottom: 8px;
    font-size: 15px;
}

.legal-content a {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid #e5e5e5;
    font-size: 14px;
}

.cookie-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.cookie-table td {
    color: #555;
}

/* ====== ABOUT PAGE ====== */

.about-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-intro-text p {
    color: #555;
    margin-bottom: 16px;
    font-size: 16px;
}

.about-intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Value Cards */
.value-card {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    padding: 36px 28px;
    border-radius: 12px;
    text-align: center;
}

.value-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.value-card p {
    color: #555;
    font-size: 15px;
}

/* Approach Grid */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.approach-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 32px 28px;
    border-radius: 12px;
}

.approach-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.approach-item p {
    color: #555;
    font-size: 15px;
}

/* ====== CONTACT PAGE ====== */

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: #555;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-item h3 {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.6;
}

.contact-note {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.contact-cta {
    background: #f5f5f5;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #1a1a1a;
}

.contact-cta h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-cta p {
    color: #555;
    font-size: 15px;
}

/* Contact Form Page */
.contact-form-wrap {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 40px;
    border-radius: 16px;
}

.contact-form-page .form-input,
.contact-form-page .form-textarea {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    color: #1a1a1a;
}

.contact-form-page .form-input:focus,
.contact-form-page .form-textarea:focus {
    background: #fff;
    border-color: #1a1a1a;
}

.contact-form-page .form-label {
    color: #333;
}

.contact-form-page .checkbox-line {
    color: #555;
}

.contact-form-page .checkbox-line a {
    color: #1a1a1a;
}

.contact-form-page .btn-submit {
    background: #1a1a1a;
    color: #fff;
    width: 100%;
}

.contact-form-page .btn-submit:hover {
    background: #333;
}

/* Location Cards */
.location-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.location-card {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    padding: 28px 24px;
    border-radius: 12px;
}

.location-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.location-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* ====== THANKS PAGE ====== */

.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.thanks-wrap {
    text-align: center;
    max-width: 500px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: #1a1a1a;
    color: #fff;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 30px;
}

.thanks-wrap h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.thanks-wrap p {
    color: #555;
    font-size: 17px;
    margin-bottom: 8px;
}

.thanks-actions {
    margin-top: 36px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== MOBILE RESPONSIVE ====== */

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    /* Header */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .nav a:last-child {
        border-bottom: none;
        margin-top: 10px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero */
    .hero {
        padding: 60px 0;
    }
    
    .hero-wrap {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-left h1 {
        font-size: 32px;
    }
    
    .hero-right {
        max-width: 100%;
    }
    
    /* Sections */
    .section,
    .section-light {
        padding: 60px 0;
    }
    
    .section h2,
    .section-light h2 {
        font-size: 28px;
    }
    
    /* Grids */
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .achievements {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .achievements h3 {
        font-size: 32px;
    }
    
    /* Contact Layout */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 28px 20px;
    }
    
    /* Footer */
    .footer-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Page Header */
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    /* About Page */
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-intro-image {
        order: -1;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Page */
    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrap {
        padding: 28px 20px;
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
    
    /* Legal */
    .legal-content h1 {
        font-size: 30px;
    }
    
    /* Thanks */
    .thanks-wrap h1 {
        font-size: 32px;
    }
    
    .thanks-actions {
        flex-direction: column;
    }
    
    /* CTA */
    .cta-wrap h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-left h1 {
        font-size: 28px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        width: 100%;
        text-align: center;
    }
    
    .achievements {
        grid-template-columns: 1fr;
    }
    
    .cookie-table {
        font-size: 13px;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
    }
}
