:root {
    --bg: #ffffff;
    --bg-section: #f6f7f9;
    --bg-card: #ffffff;
    --bg-card-hover: #fafbfc;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;
    --border-subtle: #e8e8ec;
    --border-glass: rgba(0,0,0,0.06);
    --glass-bg: rgba(0,0,0,0.02);
    --max-width: 1200px;
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 4px 24px rgba(0,0,0,0.04);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.06);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Background Wrapper */
.hero-bg {
    background: linear-gradient(135deg, rgba(0,0,0,0.45), rgba(0,0,0,0.2)), url("../images/hero-bg.b897972bff5d.jpg") center / cover no-repeat;
}

/* Header */
.header {
    position: relative;
    background: transparent;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    height: 150px;
}

.logo { margin-left: 5%; }

.logo img { height: 150px; width: auto; }

/* Hero */
.hero {
    padding: 60px 0 140px;
    color: #ffffff;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content { width: 100%; }

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 620px;
    margin: 0 auto 36px;
}

.hero-payg {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin-top: 12px;
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.06);
    display: inline-block;
    padding: 8px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    backdrop-filter: blur(8px);
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #d0d4da, #b0b4ba);
    color: #111111;
    box-shadow: 0 1px 0 rgba(255,255,255,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d8dce2, #b8bcc2);
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.15), inset 0 1px 0 rgba(255,255,255,0.3), 0 12px 32px rgba(176,180,186,0.15);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 40px; font-size: 15px; }

/* Section */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* How We Work */
.how-we-work { padding: 80px 0; background: #ffffff; }

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.how-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.how-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.how-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #e8eaed 0%, #d5d8de 100%);
    transition: var(--transition);
}

.how-card:hover .how-icon {
    background: linear-gradient(135deg, #d0d4da 0%, #b0b4ba 100%);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.how-icon i {
    font-size: 24px;
    color: var(--text-primary);
    opacity: 0.55;
    transition: var(--transition);
}

.how-card:hover .how-icon i {
    opacity: 1;
    transform: scale(1.05);
}

.how-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.how-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services */
.services { background: var(--bg-section); padding: 80px 0; }

.service-group {
    margin-bottom: 48px;
}

.service-group:last-child {
    margin-bottom: 0;
}

.service-group-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-subtle);
}

.service-group-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8eaed 0%, #d5d8de 100%);
    flex-shrink: 0;
}

.service-group-icon i {
    font-size: 22px;
    color: var(--text-primary);
    opacity: 0.6;
}

.service-group-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-group-header > div > p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

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

.service-item {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 18px 20px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(0,0,0,0.1);
}

.service-item.has-img {
    padding: 0;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-item-img {
    height: 220px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f1f3;
    border-radius: 10px 10px 0 0;
    flex-shrink: 0;
}

.service-item-body {
    background: var(--bg-card);
    padding: 16px 20px;
    border: 1px solid var(--border-subtle);
    border-top: none;
    border-radius: 0 0 10px 10px;
    flex: 1;
}

.service-item.has-img .service-item-main h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.service-item.has-img .service-item-main h4 i {
    width: 20px;
    margin-right: 6px;
    opacity: 0.45;
    font-size: 0.85rem;
}

.service-item.has-img .service-item-main p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
}

.service-item-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.service-item.has-img:hover .service-item-details,
.service-item.has-img.tapped .service-item-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.service-item-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border-subtle);
    padding-top: 10px;
}

.service-item-details li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 3px 0 3px 14px;
    position: relative;
    line-height: 1.5;
}

.service-item-details li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-primary);
    opacity: 0.2;
}

.service-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.service-item h4 i {
    width: 20px;
    margin-right: 6px;
    opacity: 0.45;
    font-size: 0.85rem;
}

.service-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 18px;
}

.service-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* Why Us */
.why-us { background: var(--bg-section); }

.why-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.why-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    text-align: center;
    cursor: default;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.why-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
    border-color: var(--text-primary);
    border-color: rgba(0,0,0,0.15);
}

.why-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #e8eaed 0%, #d5d8de 100%);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.why-card:hover .why-card-icon,
.why-card.tapped .why-card-icon {
    transform: scale(1.1) translateY(-2px);
    background: linear-gradient(135deg, #d0d4da 0%, #b0b4ba 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.why-card-icon i {
    font-size: 26px;
    color: var(--text-primary);
    opacity: 0.55;
    transition: var(--transition);
}

.why-card:hover .why-card-icon i,
.why-card.tapped .why-card-icon i {
    opacity: 1;
    transform: scale(1.05);
}

.why-card-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.why-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.3s ease;
}

.why-card:hover .why-card-content ul,
.why-card.tapped .why-card-content ul {
    max-height: 300px;
    opacity: 1;
    margin-top: 10px;
}

.why-card-content ul li {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 4px 0 4px 16px;
    position: relative;
    text-align: left;
}

.why-card-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* CTA */
.cta-section {
    background: var(--bg-section);
    color: var(--text-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Hero */
.page-hero {
    padding: 60px 0 80px;
    color: #ffffff;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
}

/* About */
.about-content { background: var(--bg); }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-text h2 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 24px 0 12px;
    font-weight: 600;
}

.about-text h2:first-child { margin-top: 0; }

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid var(--border-subtle);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Capabilities */
.expertise-detail { background: var(--bg-section); }

.capabilities-grid {
    display: grid;
    gap: 16px;
}

.capability-category {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.capability-category:hover {
    box-shadow: var(--shadow-sm);
}

.capability-category h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.capability-category h3 i {
    color: var(--text-primary);
    opacity: 0.35;
    margin-right: 12px;
}

.capability-category p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact */
.contact-section { background: var(--bg-section); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail i {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    color: var(--text-primary);
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-detail a, .contact-detail p {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
}

.contact-detail a:hover {
    color: var(--text-secondary);
}

/* Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-subtle);
}

.contact-form-wrapper h2 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: #111111;
    color: #ffffff;
}

.btn-submit:hover {
    background: #2a2a2a;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.form-footnote {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Messages */
/* Toasts */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
    width: calc(100% - 40px);
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.88rem;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    animation: toast-in 0.25s ease;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.toast .toast-text {
    flex: 1;
    line-height: 1.5;
}

.toast .toast-text a {
    font-weight: 600;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0.4;
    padding: 0 2px;
    line-height: 1;
    flex-shrink: 0;
    color: inherit;
}

.toast-close:hover { opacity: 0.8; }

.toast.success {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}

.toast.error {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.toast.error a { color: #b91c1c; }

/* Field Errors */
.errorlist {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.78rem;
    color: #b91c1c;
}

.errorlist li {
    padding: 2px 0;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error,
form .has-error input,
form .has-error textarea,
form .has-error select {
    border-color: #fecaca;
    background: #fef2f2;
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185,28,28,0.08);
}

/* Footer */
.footer {
    background: #111111;
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }

.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.4); }

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 0.8rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

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

.footer-links ul li { margin-bottom: 8px; }

.footer-links ul li a,
.footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-contact a:hover { color: #ffffff; }

.footer-contact p { margin-bottom: 10px; font-size: 0.9rem; }

.footer-contact i { width: 20px; margin-right: 8px; opacity: 0.4; }

/* Footer Nav Bar */
.footer-nav-bar {
    padding: 24px 0;
    text-align: center;
}

.footer-nav-link {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.8rem;
    margin: 0 24px;
    transition: var(--transition);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-nav-link:hover { color: #ffffff; }

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-items { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: repeat(2, 1fr); }
    .why-list { grid-template-columns: repeat(2, 1fr); }
    .why-card { padding: 28px 24px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-subtitle {
        white-space: normal;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    .service-items { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr; }
    .why-list { grid-template-columns: 1fr; }
    .why-card { padding: 24px 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .logo { margin-left: 5%; }
    .logo img { height: 80px; }
    .header-inner { height: 100px; }
    .footer-nav-link { margin: 0 12px; font-size: 0.75rem; }
}
