/* MyOffice'Al — modern coworking site */

:root {
    --green: #7fb539;
    --green-dark: #659428;
    --green-soft: #f2f8e8;
    --red: #e63329;
    --ink: #1d2530;
    --ink-soft: #55606e;
    --line: #e5e9ef;
    --bg: #ffffff;
    --bg-alt: #f7f9fb;
    --dark: #141a22;
    --radius: 14px;
    --shadow-sm: 0 1px 3px rgba(20, 26, 34, .08);
    --shadow-md: 0 10px 30px rgba(20, 26, 34, .10);
    --shadow-lg: 0 20px 50px rgba(20, 26, 34, .16);
    --container: 1140px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .6em; }
h3 { font-size: 1.15rem; }

section { scroll-margin-top: 112px; }

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

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .8rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: .7rem;
}

.section-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-head p { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-weight: 600;
    font-size: .95rem;
    padding: .8em 1.6em;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    text-decoration: none !important;
}
.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 6px 18px rgba(127, 181, 57, .4);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn-outline { border-color: var(--green); color: var(--green-dark); }
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1em 2em; font-size: 1.02rem; }
.btn-sm { padding: .55em 1.2em; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
}
.brand:hover { text-decoration: none; }
.brand-logo { display: block; height: 72px; width: auto; }
.brand-logo-footer {
    height: 72px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 10px;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
    color: var(--ink);
    font-weight: 500;
    font-size: .95rem;
}
.main-nav a:hover { color: var(--green-dark); text-decoration: none; }
.main-nav .nav-cta { color: #fff; margin-left: 6px; }
.main-nav .nav-cta:hover { color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.05);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(13, 20, 12, .82) 0%, rgba(13, 20, 12, .55) 45%, rgba(13, 20, 12, .25) 100%);
}
.hero-content { position: relative; padding-top: 120px; padding-bottom: 80px; max-width: 720px; }
.hero-eyebrow {
    display: inline-block;
    background: rgba(127, 181, 57, .22);
    border: 1px solid rgba(127, 181, 57, .55);
    color: #cfe9a8;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .06em;
    padding: .45em 1.1em;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.hero h1 { margin-bottom: 1.2rem; }
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .85);
    max-width: 560px;
    margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Highlights ---------- */
.highlights {
    background: var(--dark);
    color: #fff;
    padding: 42px 0;
}
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.highlight { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.highlight-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}
.highlight-number sup { font-size: 1.2rem; }
.highlight-label { font-size: .92rem; color: rgba(255, 255, 255, .78); line-height: 1.45; }

/* ---------- About split ---------- */
.split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}
.split-text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.check-list {
    list-style: none;
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 500;
    font-size: .95rem;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}
.split-media { position: relative; }
.split-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.split-media-second {
    position: absolute;
    width: 52%;
    right: -8%;
    bottom: -14%;
    border: 6px solid #fff;
}

/* ---------- Amenities ---------- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.amenity {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.amenity svg {
    width: 34px; height: 34px;
    color: var(--green-dark);
    margin-bottom: 16px;
}
.amenity h3 { margin-bottom: 8px; font-size: 1.05rem; }
.amenity p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card-featured {
    border: 2px solid var(--green);
    box-shadow: var(--shadow-md);
}
.price-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .4em 1.1em;
    border-radius: 999px;
    white-space: nowrap;
}
.price-card h3 { margin-bottom: 14px; }
.price-tag {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 10px;
}
.price-from, .price-per {
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0;
}
.price-custom { font-size: 1.9rem; color: var(--ink); }
.price-note { color: var(--ink-soft); font-size: .92rem; margin-bottom: 20px; }
.price-card ul {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}
.price-card li {
    position: relative;
    padding: 7px 0 7px 26px;
    font-size: .93rem;
    border-bottom: 1px dashed var(--line);
}
.price-card li:last-child { border-bottom: 0; }
.price-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23659428' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/8px no-repeat;
}
.price-card .btn { text-align: center; }
.pricing-note {
    text-align: center;
    color: var(--ink-soft);
    max-width: 620px;
    margin: 36px auto 0;
    font-size: .95rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 3 / 2;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
}
.gallery-item:focus-visible figcaption { opacity: 1; }
.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px 14px 10px;
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    background: linear-gradient(transparent, rgba(13, 20, 12, .75));
    opacity: 0;
    transition: opacity .25s ease;
}
.gallery-item:hover figcaption { opacity: 1; }

/* ---------- Location banner ---------- */
.location-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 120px 0;
}
.location-banner-overlay {
    position: absolute; inset: 0;
    background: rgba(13, 20, 12, .62);
}
.location-banner-content { position: relative; max-width: 620px; margin: 0 auto; }
.location-banner-content p { color: rgba(255, 255, 255, .85); margin-bottom: 1.8rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 56px 18px 22px;
    font-weight: 600;
    position: relative;
    transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 1.15rem;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item[open] summary { color: var(--green-dark); }
.faq-item[open] summary::after {
    content: '–';
    background: var(--green);
    color: #fff;
}
.faq-item p {
    padding: 0 22px 20px;
    color: var(--ink-soft);
    font-size: .95rem;
}

/* ---------- Contact ---------- */
.section-dark { background: var(--dark); color: #fff; }
.section-dark .section-eyebrow { color: var(--green); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}
.contact-info > p { color: rgba(255, 255, 255, .75); margin-bottom: 2rem; }
.contact-details {
    list-style: none;
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}
.contact-details li { display: grid; gap: 2px; }
.contact-details strong {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green);
}
.contact-details a { color: #fff; }
.contact-details em { color: rgba(255, 255, 255, .55); font-size: .88rem; }
.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.contact-map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

.contact-form-wrap {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    padding: 38px 34px;
    box-shadow: var(--shadow-lg);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { margin-bottom: 16px; display: grid; gap: 6px; }
.form-group label { font-weight: 600; font-size: .88rem; }
.form-group input,
.form-group select,
.form-group textarea {
    font: inherit;
    font-size: .95rem;
    padding: 11px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff;
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(127, 181, 57, .18);
}
.has-error input,
.has-error textarea { border-color: var(--red); }
.field-error { color: var(--red); font-size: .82rem; font-weight: 500; }
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    height: 0; overflow: hidden;
}
.form-privacy {
    margin-top: 12px;
    text-align: center;
    font-size: .82rem;
    color: var(--ink-soft);
}
.form-alert {
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.form-success {
    background: var(--green-soft);
    border: 1px solid #cfe3ad;
}
.form-success h3 { color: var(--green-dark); margin-bottom: 4px; }
.form-error {
    background: #fdecea;
    border: 1px solid #f5b7b1;
    color: #a32a22;
    font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0e1319;
    color: rgba(255, 255, 255, .7);
    padding: 64px 0 0;
    font-size: .93rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-col h3 {
    color: #fff;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
}
.footer-col a { color: rgba(255, 255, 255, .7); display: block; padding: 3px 0; }
.footer-col a:hover { color: var(--green); text-decoration: none; }
.footer-col address { font-style: normal; line-height: 1.9; }
.footer-col address a { display: inline; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 22px;
    padding-bottom: 22px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 14, 10, .92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: min(1000px, 92vw);
    max-height: 86vh;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}
.lightbox button {
    position: absolute;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s ease;
}
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .section { padding: 72px 0; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 48px; }
    .split-media { margin-bottom: 40px; }
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .price-card-featured { order: -1; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 96px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        padding: 8px 24px 16px;
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .main-nav a:last-child { border-bottom: 0; }
    .main-nav .nav-cta { margin: 10px 0 0; text-align: center; }
    .hero { min-height: 78vh; }
    .form-row { grid-template-columns: 1fr; }
    .amenities-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .highlight { gap: 4px; }
    .highlight-number { font-size: 1.9rem; }
    .highlight-label { font-size: .86rem; }
    .contact-form-wrap { padding: 28px 22px; }
}
