:root {
    --bg: #f2eee7;
    --bg-strong: #e6ddcf;
    --surface: #ffffff;
    --surface-alt: #fbf8f3;
    --surface-border: rgba(24, 24, 24, 0.09);
    --text-main: #1e1b16;
    --text-muted: #5f5a52;
    --text-soft: #7f7a73;
    --accent: #c98b2f;
    --accent-dark: #8a5820;
    --accent-soft: rgba(201, 139, 47, 0.14);
    --shadow-lg: 0 24px 64px rgba(32, 22, 10, 0.12);
    --shadow-md: 0 12px 32px rgba(32, 22, 10, 0.08);
    --radius-lg: 30px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --font-sans: "Lato", sans-serif;
    --font-display: "Cormorant Garamond", serif;
    --transition: 220ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background:
        radial-gradient(circle at top left, rgba(201, 139, 47, 0.16), transparent 28%),
        linear-gradient(180deg, #f8f4ee 0%, #f2eee7 100%);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.65;
}

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

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

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 5.75rem 0;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 2.2rem;
}

.section-kicker,
.eyebrow,
.service-label,
.card-label,
.panel-kicker,
.project-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading h2,
.hero-copy h1,
.contact-copy h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
}

.section-heading h2,
.contact-copy h2 {
    margin-top: 1rem;
    font-size: clamp(2.8rem, 5vw, 4.25rem);
}

.section-heading p,
.hero-text,
.contact-copy p,
.about-card p,
.faq-item p,
.footer-brand p {
    color: var(--text-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    transition:
        transform var(--transition),
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #e4b15f 100%);
    color: #1f1408;
    box-shadow: 0 14px 28px rgba(201, 139, 47, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.66);
    border-color: rgba(24, 24, 24, 0.14);
    color: var(--text-main);
}

.btn-dark {
    background: linear-gradient(135deg, #1f252d 0%, #171b21 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(18, 22, 28, 0.2);
}

.topbar {
    background: #1b1813;
    color: rgba(255, 255, 255, 0.78);
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 1.1rem;
    padding: 0.72rem 0;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.topbar-contact-link,
.topbar-email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.topbar-contact-link svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.topbar-inner a:hover,
.footer-links a:hover,
.social-links a:hover {
    color: var(--accent);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    transition:
        background-color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.site-header.is-scrolled {
    background: rgba(248, 244, 238, 0.94);
    border-bottom: 1px solid rgba(24, 24, 24, 0.08);
    box-shadow: 0 10px 22px rgba(28, 19, 8, 0.08);
    backdrop-filter: blur(14px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
}

.brand-mark img {
    width: auto;
    height: 42px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text-main);
}

.nav-cta {
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    background: #1b1813;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.mobile-menu-btn {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(24, 24, 24, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    z-index: 42;
    transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.mobile-menu-btn span {
    position: absolute;
    left: 10px;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.mobile-menu-btn span:nth-child(1) {
    top: 14px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 21px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 28px;
}

.mobile-menu-btn.is-open span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

.mobile-menu-btn.is-open {
    border-color: #1b1813;
    background: #1b1813;
    box-shadow: 0 10px 26px rgba(24, 24, 24, 0.18);
}

.mobile-menu-btn.is-open span {
    background: #fff;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 36;
    padding: 0.8rem 1rem 1rem;
}

.mobile-nav.is-open {
    display: grid;
    gap: 0.65rem;
}

.mobile-nav-link {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.global-social-bar {
    position: fixed;
    top: 44%;
    right: 24px;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-50%);
}

.global-social-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(24, 24, 24, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(24, 24, 24, 0.08);
    color: var(--text-main);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.global-social-bar a svg {
    width: 22px;
    height: 22px;
}

.global-social-bar a:hover {
    transform: translateY(-2px);
    background: #d8d2c9;
}

.floating-contact-stack {
    position: fixed;
    right: 24px;
    bottom: 108px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.floating-whatsapp {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1fc05a 0%, #0b8f3f 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(8, 92, 38, 0.28);
    transition: transform var(--transition), box-shadow var(--transition);
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px rgba(8, 92, 38, 0.34);
}

.floating-whatsapp svg {
    width: 34px;
    height: 34px;
}

.hero-section {
    padding: 3rem 0 5rem;
}

.page-hero {
    padding: 4rem 0 2.5rem;
}

.page-hero-inner {
    padding: 2.3rem;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top right, rgba(201, 139, 47, 0.18), transparent 30%),
        radial-gradient(circle at bottom left, rgba(70, 51, 21, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(251, 248, 243, 0.92) 100%),
        url("/assets/img/slider4.jpg") center / cover no-repeat;
    box-shadow: var(--shadow-lg);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1.25rem;
    align-items: start;
}

.page-hero .section-kicker {
    margin-bottom: 1rem;
}

.page-title {
    max-width: 12ch;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.92;
}

.page-description {
    max-width: 62ch;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.06rem;
}

.page-highlight-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0;
    list-style: none;
}

.page-highlight-list li {
    position: relative;
    padding-left: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.page-highlight-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.page-inline-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.page-inline-stats article,
.page-hero-card {
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
}

.page-inline-stats article {
    padding: 1rem;
}

.page-inline-stats strong {
    display: block;
    color: var(--accent-dark);
    font-size: 1.65rem;
}

.page-inline-stats span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.page-hero-aside {
    display: grid;
    gap: 0.9rem;
}

.page-hero-card {
    padding: 1.2rem 1.25rem;
}

.page-hero-card p {
    margin-top: 0.75rem;
    color: var(--text-muted);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.2rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.breadcrumbs span::after {
    content: "/";
    margin-left: 0.55rem;
}

.breadcrumbs span:last-child::after {
    display: none;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 1.6rem;
    align-items: center;
}

.hero-copy h1 {
    margin-top: 1rem;
    font-size: clamp(3.8rem, 8vw, 6.6rem);
    max-width: 10ch;
}

.hero-text {
    margin-top: 1.3rem;
    max-width: 62ch;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 2rem;
}

.hero-metrics article {
    padding: 1rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-md);
}

.hero-metrics strong {
    display: block;
    color: var(--accent-dark);
    font-size: 1.8rem;
}

.hero-metrics span {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.hero-media {
    display: grid;
    gap: 1rem;
}

.hero-slider {
    position: relative;
    min-height: 580px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #1c1a17;
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 12, 9, 0.05), rgba(15, 12, 9, 0.28));
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 450ms ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider-nav {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 999px;
    background: rgba(27, 24, 19, 0.22);
    cursor: pointer;
    transition: transform var(--transition), background-color var(--transition), width var(--transition);
}

.slider-dot.is-active {
    width: 34px;
    background: var(--accent);
}

.hero-panel,
.about-card,
.service-card,
.project-card,
.faq-item,
.contact-card {
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
}

.hero-panel {
    padding: 1.25rem 1.3rem;
}

.hero-panel p {
    margin-top: 0.8rem;
    color: var(--text-muted);
}

.about-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.4rem;
    align-items: start;
}

.about-cards {
    display: grid;
    gap: 1rem;
}

.about-card {
    padding: 1.35rem;
}

.about-card p {
    margin-top: 0.8rem;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.9rem;
    list-style: none;
}

.pill-list li {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(24, 24, 24, 0.06);
    color: var(--text-main);
    font-weight: 700;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-card {
    padding: 1.3rem;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
}

.stat-card strong {
    display: block;
    color: var(--accent-dark);
    font-size: 2rem;
}

.stat-card span {
    color: var(--text-soft);
}

.stack-grid {
    display: grid;
    gap: 1rem;
}

.cta-band {
    padding: 1.8rem;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(201, 139, 47, 0.12), rgba(255, 255, 255, 0.86));
    box-shadow: var(--shadow-md);
}

.cta-band h3 {
    font-size: 1.5rem;
    margin-bottom: 0.55rem;
}

.cta-band p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.service-intro-card {
    margin: 0;
    padding: 1.5rem;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

.service-intro-card h2 {
    max-width: 10ch;
}

.service-intro-card p {
    margin-top: 1rem;
    color: var(--text-muted);
}

.service-card {
    padding: 1.5rem;
}

.service-list {
    display: grid;
    gap: 0.7rem;
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    position: relative;
    padding-left: 1rem;
    color: var(--text-muted);
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

body[data-page="about"] .section-heading {
    max-width: 700px;
}

body[data-page="about"] .section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
}

body[data-page="about"] .section-heading p {
    max-width: 62ch;
    font-size: 1rem;
}

body[data-page="about"] .page-description,
body[data-page="about"] .page-hero-card p,
body[data-page="about"] .about-card p,
body[data-page="about"] .service-list li,
body[data-page="about"] .stat-card span,
body[data-page="about"] .cta-band p {
    font-size: 0.98rem;
    line-height: 1.72;
}

body[data-page="about"] .card-label,
body[data-page="about"] .section-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.07em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.project-card {
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(32, 22, 10, 0.14);
    border-color: rgba(201, 139, 47, 0.32);
}

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #ded8d0;
}

.project-content {
    padding: 1.15rem;
}

.project-content h3 {
    margin: 0.8rem 0 0.65rem;
    font-size: 1.2rem;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

body[data-page="projects"] .page-hero,
body[data-page="services"] .page-hero,
body[data-page="faq"] .page-hero,
body[data-page="contact"] .page-hero {
    padding: 0.95rem 0 0.35rem;
}

body[data-page="projects"] .page-hero-inner,
body[data-page="services"] .page-hero-inner,
body[data-page="faq"] .page-hero-inner,
body[data-page="contact"] .page-hero-inner {
    padding: 1.15rem 1.35rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

body[data-page="projects"] .page-hero-inner {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 248, 243, 0.9)),
        url("/assets/projects/menemen-serbest-bolge.webp") center / cover no-repeat;
}

body[data-page="services"] .page-hero-inner,
body[data-page="faq"] .page-hero-inner,
body[data-page="contact"] .page-hero-inner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 246, 239, 0.94));
}

body[data-page="projects"] .page-title,
body[data-page="services"] .page-title,
body[data-page="faq"] .page-title,
body[data-page="contact"] .page-title {
    max-width: none;
    font-size: clamp(2.2rem, 4.1vw, 3.35rem);
    line-height: 1;
}

body[data-page="projects"] .page-description,
body[data-page="services"] .page-description,
body[data-page="faq"] .page-description,
body[data-page="contact"] .page-description {
    max-width: 58ch;
    margin-top: 0.45rem;
    font-size: 0.98rem;
    line-height: 1.62;
}

body[data-page="projects"] .breadcrumbs,
body[data-page="services"] .breadcrumbs,
body[data-page="faq"] .breadcrumbs,
body[data-page="contact"] .breadcrumbs {
    margin-top: 0.55rem;
    font-size: 0.86rem;
}

body[data-page="projects"] .page-hero + .section,
body[data-page="services"] .page-hero + .section,
body[data-page="faq"] .page-hero + .section,
body[data-page="contact"] .page-hero + .section {
    padding-top: 0.25rem;
    padding-bottom: 4.5rem;
}

body[data-page="projects"] .projects-grid {
    gap: 1.1rem;
}

body[data-page="services"] .services-grid,
body[data-page="faq"] .faq-layout,
body[data-page="contact"] .contact-layout {
    margin-top: 0.2rem;
}

body[data-page="services"] .service-card,
body[data-page="faq"] .faq-item,
body[data-page="contact"] .contact-card,
body[data-page="contact"] .contact-form-card {
    box-shadow: 0 10px 24px rgba(32, 22, 10, 0.06);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.2rem;
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 0.9rem;
}

.faq-item {
    padding: 1.1rem 1.25rem;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 0.75rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.contact-copy {
    display: grid;
    gap: 1.25rem;
}

.contact-card {
    padding: 1.5rem;
}

.contact-row + .contact-row {
    margin-top: 1.2rem;
}

.contact-row span {
    display: inline-flex;
    margin-bottom: 0.4rem;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-row strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-links a {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(24, 24, 24, 0.06);
    font-weight: 700;
}

.contact-form-card {
    padding: 1.9rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: block;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(24, 24, 24, 0.14);
    border-radius: 18px;
    background: #fff;
    color: var(--text-main);
    padding: 1.4rem 1.3rem;
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

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

.form-field input::placeholder,
.form-field textarea::placeholder,
.form-field select {
    color: #5a6272;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(30, 27, 22, 0.3);
    box-shadow: 0 0 0 4px rgba(201, 139, 47, 0.12);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.2rem;
    color: var(--text-main);
}

.checkbox-row input {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    accent-color: #1b1813;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
}

.contact-submit {
    min-width: 164px;
}

.form-note {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.map-frame {
    margin-top: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid rgba(24, 24, 24, 0.08);
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    max-width: 560px;
}

.footer-logo {
    height: 52px;
    width: auto;
}

.footer-brand p {
    margin-top: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    color: var(--text-soft);
    font-weight: 700;
}

.reveal,
.reveal-on-load {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible,
.reveal-on-load.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .projects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .topbar {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn--always {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .hero-layout,
    .page-hero-grid,
    .about-layout,
    .faq-layout,
    .contact-layout,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider {
        min-height: 420px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .global-social-bar {
        right: 12px;
        gap: 0.8rem;
    }

    .global-social-bar a {
        width: 40px;
        height: 40px;
    }

    .floating-contact-stack {
        right: 16px;
        bottom: 96px;
        gap: 12px;
    }

    .floating-whatsapp {
        width: 58px;
        height: 58px;
    }

    .floating-whatsapp svg {
        width: 31px;
        height: 31px;
    }

    .ai-floating-trigger {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 4.5rem 0;
    }

    .hero-metrics,
    .page-inline-stats,
    .stat-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-submit {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 1.2rem, 1180px);
    }

    .nav-shell {
        min-height: 78px;
    }

    .brand-mark img {
        height: 42px;
    }

    .hero-copy h1 {
        font-size: 3.2rem;
    }

    .page-title {
        font-size: 2.9rem;
    }

    .section-heading h2,
    .contact-copy h2 {
        font-size: 2.6rem;
    }

    .btn,
    .mobile-nav-link {
        width: 100%;
    }

    .global-social-bar {
        display: none;
    }
}

body[data-page="home"] {
    background: #f4f4f2;
}

.site-header--home {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(24, 24, 24, 0.08);
    box-shadow: 0 8px 18px rgba(20, 20, 20, 0.04);
}

.nav-shell--wide {
    width: min(1920px, calc(100% - 2rem));
    margin: 0 auto;
}

.home-desktop-nav {
    gap: 2.15rem;
}

.home-desktop-nav .nav-link {
    color: #2b2b2b;
    font-size: 0.98rem;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.header-phone-cluster {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 700;
    white-space: nowrap;
}

.header-support-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: rgba(24, 24, 24, 0.05);
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.header-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.header-phone-link svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.header-phone-link:hover {
    color: var(--accent-dark);
}

.header-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #8a877f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.header-lang-switch .is-active {
    color: var(--text-main);
}

.mobile-menu-btn--always {
    display: none !important;
}

.mobile-nav--panel {
    width: min(720px, calc(100% - 2rem));
    margin: 0 auto 1rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.home-hero {
    padding: 0 0 2rem;
}

.home-hero-shell {
    width: min(1920px, calc(100% - 5rem));
    margin: 0 auto;
}

.hero-slider--home {
    min-height: 620px;
    border-radius: 0;
    box-shadow: none;
}

.hero-slider--home::after {
    background:
        linear-gradient(90deg, rgba(9, 16, 29, 0.48) 0%, rgba(9, 16, 29, 0.14) 32%, rgba(9, 16, 29, 0.06) 58%, rgba(9, 16, 29, 0.24) 100%),
        linear-gradient(180deg, rgba(9, 16, 29, 0.02) 0%, rgba(9, 16, 29, 0.38) 100%);
}

.home-hero-copy {
    position: absolute;
    left: 4.5rem;
    bottom: 4.2rem;
    z-index: 2;
    max-width: 560px;
    color: #fff;
}

.home-hero-copy h1 {
    margin-top: 1rem;
    max-width: 9ch;
    font-family: var(--font-sans);
    font-size: clamp(3.2rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.home-hero-copy p {
    margin-top: 1rem;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
}

.home-hero-copy .eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.home-hero .hero-actions {
    margin-top: 1.5rem;
}

.home-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.94);
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color var(--transition), transform var(--transition);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-50%) scale(1.03);
}

.slider-arrow--prev {
    left: 5rem;
}

.slider-arrow--next {
    right: 5rem;
}

.hero-slider-nav--overlay {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    z-index: 3;
    transform: translateX(-50%);
}

.hero-slider-nav--overlay .slider-dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.46);
}

.hero-slider-nav--overlay .slider-dot.is-active {
    width: 14px;
    background: #fff;
    transform: scale(1.12);
}

.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.home-section-head h2,
.home-summary-copy h2,
.home-contact-card h2 {
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.98;
    text-transform: uppercase;
}

.projects-grid--home {
    gap: 1.25rem;
}

.projects-grid--home .project-card {
    border-radius: 28px;
    background: #fff;
}

.projects-grid--home .project-image {
    aspect-ratio: 1 / 1.04;
}

.projects-grid--home .project-content {
    padding: 1.25rem 1.25rem 1.35rem;
}

.projects-grid--home .project-content h3 {
    font-size: 1.12rem;
}

.projects-grid--home .project-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-summary {
    padding-top: 1rem;
}

.home-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 1.4rem;
}

.home-summary-copy,
.home-summary-panel,
.home-contact-card {
    border: 1px solid var(--surface-border);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-md);
}

.home-summary-copy {
    padding: 2.2rem;
}

.home-summary-copy p + p {
    margin-top: 1rem;
}

.home-summary-panel {
    display: grid;
    gap: 1rem;
    padding: 1.35rem;
}

.home-mini-card {
    padding: 1.35rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 24px;
    background: #fff;
}

.home-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.home-stat-row article {
    padding: 1.25rem 1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(201, 139, 47, 0.12), rgba(255, 255, 255, 0.98));
    text-align: center;
}

.home-stat-row strong {
    display: block;
    color: var(--accent-dark);
    font-size: 1.8rem;
}

.home-stat-row span {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.home-contact-band {
    padding-top: 0;
}

.venture-band-section {
    padding-top: 0;
}

.venture-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1.3rem;
    padding: 1.4rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(201, 139, 47, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 243, 238, 0.98) 100%);
    box-shadow: var(--shadow-md);
}

.venture-copy,
.venture-panel {
    border-radius: 26px;
}

.venture-copy {
    padding: 1.8rem 1.9rem;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(24, 24, 24, 0.08);
}

.venture-copy h2 {
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: clamp(2rem, 3.3vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.98;
    text-transform: uppercase;
}

.venture-copy p {
    margin-top: 1rem;
    max-width: 60ch;
    color: var(--text-muted);
}

.venture-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.venture-panel {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    background: linear-gradient(160deg, rgba(31, 37, 45, 0.96), rgba(18, 22, 28, 0.98));
    color: #fff;
}

.venture-site-pill,
.venture-points article {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.venture-site-pill {
    display: grid;
    gap: 0.35rem;
    padding: 1.3rem 1.35rem;
}

.venture-site-pill strong {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.venture-site-pill span,
.venture-points article span {
    color: rgba(255, 255, 255, 0.72);
}

.venture-points {
    display: grid;
    gap: 0.85rem;
}

.venture-points article {
    display: grid;
    gap: 0.2rem;
    padding: 1.05rem 1.2rem;
}

.venture-points article strong {
    color: #f2c67d;
    font-size: 1.35rem;
    font-weight: 900;
}

.home-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2.2rem;
}

.home-contact-card p {
    margin-top: 1rem;
    color: var(--text-muted);
}

.home-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-end;
}

.project-detail-page .page-hero {
    padding: 0.95rem 0 0.5rem;
}

.project-detail-page .page-hero-inner {
    padding: 1.35rem 1.45rem;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(251, 248, 243, 0.9)),
        var(--project-detail-image, url("/assets/img/slider4.jpg")) center / cover no-repeat;
    box-shadow: var(--shadow-md);
}

.project-detail-page .page-title {
    max-width: 14ch;
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    line-height: 0.98;
}

.project-detail-page .page-description {
    max-width: 60ch;
    margin-top: 0.55rem;
    font-size: 0.98rem;
    line-height: 1.62;
}

.project-detail-page .breadcrumbs {
    margin-top: 0.65rem;
    font-size: 0.86rem;
}

.project-detail-page .page-hero + .section {
    padding-top: 0.35rem;
}

.project-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 1rem;
    align-items: start;
}

.project-detail-main,
.project-detail-stat,
.project-detail-note,
.project-detail-feature,
.project-detail-cta,
.project-detail-gallery-shell {
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.project-detail-main {
    overflow: hidden;
}

.project-detail-media {
    display: grid;
    gap: 0.85rem;
}

.project-detail-primary-image {
    display: block;
}

.project-detail-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #ddd4ca;
}

.project-detail-gallery-shell {
    grid-column: 1 / -1;
    padding: 1.15rem;
}

.project-detail-gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
    color: var(--text-main);
}

.project-detail-gallery-head strong {
    font-size: 0.96rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-detail-gallery-head span {
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.project-detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.85rem;
}

.project-detail-gallery-item {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--surface-border);
    background: #ddd4ca;
}

.project-detail-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    transition: transform var(--transition);
}

.project-detail-gallery-item:hover img {
    transform: scale(1.04);
}

.project-detail-copy {
    display: grid;
    gap: 0.95rem;
    padding: 1.35rem;
}

.project-detail-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    letter-spacing: -0.03em;
    line-height: 0.98;
}

.project-detail-lead {
    color: var(--text-main);
    font-size: 1.03rem;
    font-weight: 700;
    line-height: 1.7;
}

.project-detail-copy p {
    color: var(--text-muted);
}

.project-detail-sidebar {
    display: grid;
    gap: 0.9rem;
}

.project-detail-meta {
    display: grid;
    gap: 0.85rem;
}

.project-detail-stat {
    padding: 1rem 1.05rem;
}

.project-detail-stat span {
    display: block;
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-detail-stat strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.05rem;
    line-height: 1.4;
}

.project-detail-note {
    padding: 1.15rem 1.2rem;
}

.project-detail-note h3 {
    margin-top: 0.6rem;
    font-size: 1.4rem;
    line-height: 1.08;
}

.project-detail-note p {
    margin-top: 0.7rem;
    color: var(--text-muted);
}

.project-detail-actions,
.project-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-detail-actions {
    margin-top: 1rem;
}

.project-detail-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project-detail-feature {
    padding: 1.2rem;
}

.project-detail-feature h3 {
    font-size: 1.18rem;
    line-height: 1.2;
}

.project-detail-list {
    display: grid;
    gap: 0.68rem;
    margin-top: 0.85rem;
    padding: 0;
    list-style: none;
}

.project-detail-list li {
    position: relative;
    padding-left: 1rem;
    color: var(--text-muted);
}

.project-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.project-detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
}

.project-detail-cta h2 {
    margin-top: 0.55rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    line-height: 1;
}

@media (max-width: 1380px) {
    .home-desktop-nav {
        gap: 1.25rem;
    }

    .header-phone-cluster {
        gap: 0.75rem;
    }

    .header-phone-link {
        font-size: 0.88rem;
    }
}

@media (max-width: 1180px) {
    .nav-shell--wide {
        width: calc(100% - 2rem);
    }

    .header-meta {
        gap: 0.75rem;
    }

    .header-phone-cluster {
        display: none;
    }

    .home-hero-shell {
        width: calc(100% - 2rem);
    }

    .home-hero-copy {
        left: 3rem;
        bottom: 3rem;
        max-width: 500px;
    }

    .slider-arrow--prev {
        left: 1.6rem;
    }

    .slider-arrow--next {
        right: 1.6rem;
    }
}

@media (max-width: 980px) {
    .site-header--home .desktop-nav,
    .site-header--home .nav-cta {
        display: none;
    }

    .nav-shell--wide {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 0.85rem;
    }

    .header-meta {
        margin-left: auto;
        gap: 0.6rem;
    }

    .header-support-label {
        display: none;
    }

    .mobile-menu-btn,
    .mobile-menu-btn--always,
    #mobileMenuBtn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .home-hero-copy {
        left: 2rem;
        right: 2rem;
        bottom: 2.25rem;
        max-width: none;
    }

    .hero-slider--home {
        min-height: 500px;
    }

    .projects-grid--home,
    .home-summary-grid,
    .venture-band {
        grid-template-columns: 1fr;
    }

    .home-contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-contact-actions {
        justify-content: flex-start;
    }

    .project-detail-layout,
    .project-detail-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-shell--wide {
        width: calc(100% - 1rem);
        grid-template-columns: auto 1fr auto;
        min-height: 62px;
    }

    .header-lang-switch {
        display: none;
    }

    .brand-mark img {
        height: 34px;
    }

    .header-meta {
        gap: 0.4rem;
    }

    .header-phone-cluster,
    .header-support-label {
        display: none;
    }

    .mobile-menu-btn,
    .mobile-menu-btn--always,
    #mobileMenuBtn {
        width: 46px;
        height: 46px;
        display: inline-flex !important;
    }

    .mobile-nav--panel {
        width: calc(100% - 1rem);
        margin-top: 0.65rem;
        padding: 0.8rem;
    }

    .home-hero-shell {
        width: 100%;
    }

    .hero-slider--home {
        min-height: 400px;
    }

    .home-hero-copy {
        left: 1.2rem;
        right: 1.2rem;
        bottom: 1.15rem;
    }

    .home-hero-copy h1 {
        max-width: 11ch;
        font-size: clamp(2.1rem, 10vw, 3rem);
        line-height: 0.92;
    }

    .home-hero-copy p {
        max-width: 34ch;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .slider-arrow {
        width: 42px;
        height: 42px;
        font-size: 2rem;
    }

    .slider-arrow--prev {
        left: 0.55rem;
    }

    .slider-arrow--next {
        right: 0.55rem;
    }

    .home-hero .hero-actions {
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .home-hero .btn {
        min-height: 48px;
        padding: 0.85rem 1.1rem;
        font-size: 0.95rem;
    }

    .hero-slider-nav--overlay {
        bottom: 1rem;
    }

    .home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-summary-copy,
    .home-summary-panel,
    .home-contact-card {
        border-radius: 22px;
    }

    .home-stat-row {
        grid-template-columns: 1fr;
    }

    .project-detail-copy,
    .project-detail-note,
    .project-detail-feature,
    .project-detail-cta {
        padding: 1.05rem;
    }

    .project-detail-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-detail-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .site-header--home {
        position: sticky;
    }

    .hero-slider--home {
        min-height: 360px;
    }

    .home-hero-copy h1 {
        font-size: 1.95rem;
        max-width: 12ch;
        margin-top: 0.75rem;
    }

    .home-hero-copy p {
        margin-top: 0.7rem;
        font-size: 0.82rem;
        max-width: 31ch;
    }

    .home-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero .btn {
        width: 100%;
    }
}

.assessment-page-app {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.assessment-page-shell {
    padding-top: 4rem;
}

.assessment-page-intro {
    max-width: 760px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.assessment-page-intro h1 {
    margin-top: 0.85rem;
    font-size: clamp(2.9rem, 6vw, 4.6rem);
    line-height: 0.96;
    font-family: var(--font-display);
}

.assessment-page-intro p {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.02rem;
}

.assessment-page-app {
    width: min(920px, 100%);
    margin: 0 auto;
}

.assessment-chat {
    display: grid;
    gap: 1rem;
    min-height: 320px;
    max-height: min(52vh, 520px);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.assessment-bubble {
    max-width: 88%;
    padding: 1rem 1.1rem;
    border-radius: 22px;
}

.assessment-bubble--bot {
    background: rgba(246, 240, 229, 0.94);
    border-top-left-radius: 10px;
}

.assessment-bubble--user {
    justify-self: end;
    background: rgba(24, 24, 24, 0.95);
    color: #fff;
    border-top-right-radius: 10px;
}

.assessment-bubble-head {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.assessment-bubble strong {
    color: inherit;
}

.assessment-controls {
    margin-top: 0.25rem;
}

.assessment-control-panel {
    padding: 0;
    background: transparent;
}

.assessment-option-grid {
    display: grid;
    gap: 0.75rem;
}

.assessment-option {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 18px;
    background: #fff;
    text-align: left;
    font-weight: 700;
    color: var(--text-main);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.assessment-option:hover,
.assessment-file-drop:hover {
    transform: translateY(-2px);
    border-color: rgba(170, 112, 29, 0.26);
    box-shadow: 0 18px 38px rgba(24, 24, 24, 0.08);
}

.assessment-inline-form {
    display: grid;
    gap: 0.8rem;
}

.assessment-text-input,
.assessment-textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(24, 24, 24, 0.12);
    border-radius: 18px;
    background: #fff;
    color: var(--text-main);
}

.assessment-textarea {
    min-height: 118px;
    resize: vertical;
}

.assessment-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.assessment-file-drop {
    display: grid;
    gap: 0.15rem;
    padding: 1rem;
    border: 1px dashed rgba(24, 24, 24, 0.18);
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
}

.assessment-file-drop span {
    font-weight: 800;
}

.assessment-file-drop small,
.assessment-file-list {
    color: var(--text-soft);
}

.assessment-inline-form input[type="file"] {
    display: none;
}

.assessment-result-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.8rem;
    padding-left: 1rem;
}

.assessment-result-list li {
    color: inherit;
}

.page-hero-card--compact {
    min-height: auto;
}

.page-breadcrumb {
    margin-top: 1.1rem;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.home-ai-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 1.4rem;
    padding: 1.5rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(207, 154, 78, 0.18), transparent 36%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(247, 242, 233, 0.92));
    box-shadow: var(--shadow-md);
}

.home-ai-band h2 {
    margin-top: 0.8rem;
}

.home-ai-band p {
    margin-top: 0.95rem;
    max-width: 60ch;
}

.home-ai-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.home-ai-panel {
    display: grid;
    gap: 0.9rem;
}

.home-ai-panel article {
    padding: 1.05rem 1.15rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
}

.home-ai-panel strong {
    display: block;
    color: var(--accent-dark);
    margin-bottom: 0.35rem;
}

.home-ai-panel span {
    color: var(--text-muted);
}

.assessment-layout {
    display: grid;
    grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.2fr);
    gap: 1.35rem;
    align-items: start;
}

.assessment-sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 1rem;
}

.assessment-sidebar-card,
.assessment-app,
.assessment-lead-card {
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-md);
}

.assessment-sidebar-card {
    padding: 1.2rem 1.25rem;
}

.assessment-principles {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
}

.assessment-principles li {
    position: relative;
    padding-left: 1rem;
    color: var(--text-muted);
}

.assessment-principles li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.assessment-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-soft);
}

.assessment-progress-bar {
    position: relative;
    height: 10px;
    margin-top: 0.9rem;
    border-radius: 999px;
    background: rgba(24, 24, 24, 0.08);
    overflow: hidden;
}

.assessment-progress-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: var(--assessment-progress, 0%);
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: inherit;
}

.assessment-summary-header h2 {
    margin-top: 0.65rem;
    font-size: clamp(2rem, 3.8vw, 3rem);
}

.assessment-summary-header p {
    margin-top: 0.8rem;
}

.assessment-summary-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
}

.assessment-summary-list li {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: rgba(244, 238, 226, 0.72);
}

.assessment-summary-list span {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.assessment-summary-list strong {
    color: var(--text-main);
    font-size: 1rem;
}

.assessment-summary-empty p {
    margin-top: 0.75rem;
    color: var(--text-muted);
}

.assessment-app {
    padding: 1.2rem;
}

.assessment-chat {
    display: grid;
    gap: 1rem;
    min-height: 400px;
    max-height: 760px;
    padding-right: 0.3rem;
    overflow-y: auto;
}

.assessment-bubble {
    max-width: 88%;
    padding: 1rem 1.1rem;
    border-radius: 22px;
}

.assessment-bubble--bot {
    background: rgba(246, 240, 229, 0.94);
    border-top-left-radius: 10px;
}

.assessment-bubble--user {
    justify-self: end;
    background: rgba(24, 24, 24, 0.95);
    color: #fff;
    border-top-right-radius: 10px;
}

.assessment-bubble-head {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.assessment-bubble h3 {
    margin-top: 0.55rem;
    font-size: 1.28rem;
}

.assessment-bubble p + p {
    margin-top: 0.65rem;
}

.assessment-controls {
    margin-top: 1rem;
}

.assessment-control-panel {
    padding: 1.1rem;
    border-radius: 24px;
    background: rgba(247, 242, 233, 0.7);
}

.assessment-control-head h3 {
    margin-top: 0.55rem;
}

.assessment-module-grid,
.assessment-option-grid {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.95rem;
}

.assessment-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assessment-module-card,
.assessment-option {
    width: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 20px;
    background: #fff;
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.assessment-module-card:hover,
.assessment-option:hover,
.assessment-file-drop:hover {
    transform: translateY(-2px);
    border-color: rgba(170, 112, 29, 0.26);
    box-shadow: 0 18px 38px rgba(24, 24, 24, 0.08);
}

.assessment-module-card span {
    display: block;
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.assessment-module-card strong {
    display: block;
    margin-top: 0.55rem;
    font-size: 1.05rem;
    color: var(--text-main);
}

.assessment-module-card small {
    display: block;
    margin-top: 0.55rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.assessment-option {
    font-weight: 700;
    color: var(--text-main);
}

.assessment-inline-form {
    display: grid;
    gap: 0.85rem;
}

.assessment-text-input,
.assessment-textarea,
.assessment-lead-form input,
.assessment-lead-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(24, 24, 24, 0.12);
    border-radius: 18px;
    background: #fff;
    color: var(--text-main);
}

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

.assessment-inline-actions,
.assessment-lead-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.assessment-secondary-link {
    margin-top: 0.85rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--text-soft);
    font-weight: 700;
}

.assessment-file-drop {
    display: grid;
    gap: 0.15rem;
    padding: 1rem;
    border: 1px dashed rgba(24, 24, 24, 0.18);
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
}

.assessment-file-drop span {
    font-weight: 800;
    color: var(--text-main);
}

.assessment-file-drop small,
.assessment-file-list {
    color: var(--text-soft);
}

.assessment-inline-form input[type="file"] {
    display: none;
}

.assessment-report-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(24, 24, 24, 0.08);
}

.assessment-report-top span {
    color: var(--text-soft);
}

.assessment-report-top strong {
    color: var(--accent-dark);
    font-size: 1.2rem;
}

.assessment-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.assessment-report-grid article {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
}

.assessment-report-grid span {
    display: block;
    color: var(--text-soft);
    font-size: 0.86rem;
}

.assessment-report-grid strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-main);
}

.assessment-report-block {
    margin-top: 1rem;
}

.assessment-report-block h4 {
    font-size: 1rem;
    color: var(--text-main);
}

.assessment-report-block p {
    margin-top: 0.45rem;
}

.assessment-disclaimer {
    margin-top: 1rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(24, 24, 24, 0.08);
    color: var(--text-main);
    font-size: 0.92rem;
}

.assessment-lead-card {
    margin-top: 1rem;
    padding: 1.2rem;
}

.assessment-lead-copy p {
    margin-top: 0.65rem;
}

.assessment-lead-form {
    margin-top: 1rem;
}

.assessment-lead-grid input {
    flex: 1 1 180px;
}

@media (max-width: 1100px) {
    .assessment-layout,
    .home-ai-band {
        grid-template-columns: 1fr;
    }

    .assessment-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .assessment-module-grid,
    .assessment-report-grid {
        grid-template-columns: 1fr;
    }

    .assessment-bubble {
        max-width: 100%;
    }

    .assessment-inline-actions .btn,
    .assessment-lead-form .btn {
        width: 100%;
    }
}

.assessment-page-shell {
    padding-top: 4rem;
}

.assessment-page-intro {
    max-width: 760px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.assessment-page-intro h1 {
    margin-top: 0.85rem;
    font-size: clamp(2.9rem, 6vw, 4.6rem);
    line-height: 0.96;
    font-family: var(--font-display);
}

.assessment-page-intro p {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.02rem;
}

.assessment-page-app {
    width: min(920px, 100%);
    margin: 0 auto;
}

.assessment-chat {
    display: grid;
    gap: 1rem;
    min-height: 320px;
    max-height: min(52vh, 520px);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.assessment-bubble {
    max-width: 88%;
    padding: 1rem 1.1rem;
    border-radius: 22px;
}

.assessment-bubble--bot {
    background: rgba(246, 240, 229, 0.94);
    border-top-left-radius: 10px;
}

.assessment-bubble--user {
    justify-self: end;
    background: rgba(24, 24, 24, 0.95);
    color: #fff;
    border-top-right-radius: 10px;
}

.assessment-control-panel {
    padding: 0;
    background: transparent;
}

.assessment-option-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 0;
}

.assessment-option {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(24, 24, 24, 0.08);
    border-radius: 18px;
    background: #fff;
    text-align: left;
    font-weight: 700;
    color: var(--text-main);
}

.assessment-inline-form {
    display: grid;
    gap: 0.8rem;
}

.assessment-text-input,
.assessment-textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(24, 24, 24, 0.12);
    border-radius: 18px;
    background: #fff;
    color: var(--text-main);
}

.assessment-result-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.8rem;
    padding-left: 1rem;
}

.assessment-helper {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .assessment-inline-actions .btn {
        width: 100%;
    }

    .assessment-text-input,
    .assessment-textarea {
        font-size: 16px;
    }
}

/* AI Chatbot system */
.ai-chatbot-open {
    overflow: hidden;
}

.ai-announcement-wrap {
    position: relative;
    z-index: 6;
}

.ai-announcement-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border: 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.ai-announcement-bar__icon,
.ai-nav-trigger__icon,
.ai-floating-trigger__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ai-announcement-bar__icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.ai-nav-trigger__icon svg,
.ai-floating-trigger__icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.ai-announcement-bar__text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ai-announcement-bar__hint {
    opacity: 0.7;
    font-size: 0.72rem;
    font-weight: 600;
}

.ai-floating-trigger {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.24);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    pointer-events: auto;
}

.ai-floating-trigger::before,
.ai-floating-trigger::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(37, 99, 235, 0.5);
    animation: aiPulseRing 2.4s ease-out infinite;
    pointer-events: none;
}

.ai-floating-trigger::after {
    animation-delay: 0.8s;
}

@keyframes aiPulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.9); opacity: 0; }
}

.ai-floating-trigger__icon svg {
    overflow: visible;
    width: 24px;
    height: 24px;
}

.ai-floating-trigger__icon svg path:first-child {
    animation: aiStarSpin 4s linear infinite;
    transform-origin: 12px 9.5px;
}

.ai-floating-trigger__icon svg path:last-child {
    animation: aiStarPulse 2s ease-in-out infinite;
    transform-origin: 18.5px 16px;
}

@keyframes aiStarSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes aiStarPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.4); opacity: 1; }
}

.ai-floating-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.32);
}

.ai-floating-trigger__pulse {
    display: none;
}

.ai-floating-trigger__label {
    display: none;
}

.ai-floating-trigger__pulse::after {
    display: none;
}

.ai-floating-trigger__tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    white-space: nowrap;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
}

.ai-floating-trigger:hover .ai-floating-trigger__tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.ai-chatbot-layer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 24px 0 0;
    pointer-events: none;
}

.ai-chatbot-layer[hidden] {
    display: none !important;
}

.ai-chatbot-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.18);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: auto;
}

.ai-chatbot-modal {
    position: relative;
    z-index: 1;
    width: 370px;
    max-width: calc(100vw - 2rem);
    height: min(520px, calc(var(--ai-chatbot-vh, 100vh) - 200px));
    max-height: 520px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 20px 20px 0 0;
    background: #fafbfd;
    box-shadow: 0 -4px 48px rgba(15, 23, 42, 0.18);
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    overflow: hidden;
    pointer-events: auto;
}

.ai-chatbot-layer.is-open .ai-chatbot-backdrop,
.ai-chatbot-layer.is-open .ai-chatbot-modal {
    opacity: 1;
}

.ai-chatbot-layer.is-open .ai-chatbot-modal {
    transform: translateY(0) scale(1);
}

/* Minimized state – LinkedIn-style collapsed bar */
.ai-chatbot-layer.is-minimized {
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 24px 12px 0;
    pointer-events: none;
}

.ai-chatbot-layer.is-minimized .ai-chatbot-backdrop {
    display: none;
}

.ai-chatbot-layer.is-minimized .ai-chatbot-modal {
    width: 300px;
    height: auto;
    max-height: none;
    grid-template-rows: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.28);
}

.ai-chatbot-layer.is-minimized .ai-chatbot-modal__body {
    display: none;
}

.ai-chatbot-layer.is-minimized .ai-chatbot-modal__header {
    border-radius: 14px;
}

.ai-chatbot-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #fff;
}

.ai-chatbot-modal__kicker {
    color: rgba(255, 255, 255, 0.8);
}

.ai-chatbot-modal__header-copy h2 {
    margin-top: 0.15rem;
    font-size: 1rem;
    line-height: 1.15;
    color: #fff;
}

.ai-chatbot-modal__header-copy p {
    display: none;
}

.ai-chatbot-modal__actions {
    display: inline-flex;
    gap: 0.3rem;
}

.ai-chatbot-modal__action {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background var(--transition);
}

.ai-chatbot-modal__action:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ai-chatbot-modal__body {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.6rem;
    background: #fafbfd;
}

.ai-chatbot-modal__body .assessment-chat {
    flex: 1;
}

.ai-chatbot-modal .assessment-chat {
    min-height: 0;
    max-height: none;
    display: grid;
    gap: 0.75rem;
    align-content: start;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.ai-chatbot-modal .assessment-bubble {
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    font-size: 0.88rem;
}

.ai-chatbot-modal .assessment-bubble--bot {
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.ai-chatbot-modal .assessment-bubble--user {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
}

.ai-chatbot-modal .assessment-controls {
    position: sticky;
    bottom: 0;
    padding-top: 0.2rem;
}

.ai-chatbot-modal .assessment-control-panel {
    padding: 0;
    background: transparent;
}

.ai-chatbot-modal .assessment-option {
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    border-color: rgba(15, 23, 42, 0.08);
    font-size: 0.86rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.ai-chatbot-modal .assessment-option:hover,
.ai-chatbot-modal .assessment-file-drop:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.1);
}

.ai-chatbot-modal .assessment-option-grid {
    gap: 0.5rem;
}

.ai-chatbot-modal .assessment-inline-actions .btn,
.ai-chatbot-modal .assessment-inline-form .btn {
    flex: 1 1 140px;
    font-size: 0.86rem;
    padding: 0.7rem 1rem;
}

/* Chat input bar */
.ai-chat-input-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    background: #fff;
}

.ai-chat-text {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    padding: 0.4rem 0.5rem;
    color: var(--text-main);
}

.ai-chat-text::placeholder {
    color: #9ca3af;
}

.ai-chat-attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #6b7280;
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--transition), background var(--transition);
}

.ai-chat-attach:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
}

.ai-chat-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.ai-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ai-chat-file-preview {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.08);
    font-size: 0.75rem;
    color: #2563eb;
    max-width: 120px;
}

.ai-chat-file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-chat-file-remove {
    border: 0;
    background: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}

.ai-chat-img-thumb {
    margin-top: 0.5rem;
}

.ai-chat-img-thumb img {
    max-width: 180px;
    max-height: 120px;
    border-radius: 10px;
    object-fit: cover;
}

/* Typing dots */
.ai-typing {
    display: flex;
    gap: 4px;
    padding: 0.3rem 0;
}

.ai-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #94a3b8;
    animation: aiTypingDot 1.2s ease-in-out infinite;
}

.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes aiTypingDot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes aiPing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

@keyframes aiPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.78;
    }
}

@media (max-width: 960px) {
    .ai-announcement-bar__hint {
        display: none;
    }
}

@media (max-width: 720px) {
    .floating-contact-stack {
        right: 16px;
        bottom: 88px;
        gap: 12px;
    }

    .ai-floating-trigger {
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp svg,
    .ai-floating-trigger__icon svg {
        width: 28px;
        height: 28px;
    }

    .ai-floating-trigger__tooltip {
        display: none;
    }

    .ai-chatbot-layer {
        padding: 0;
    }

    .ai-chatbot-layer.is-minimized {
        padding: 0 16px 16px 0;
    }

    .ai-chatbot-layer.is-minimized .ai-chatbot-modal {
        width: 260px;
    }

    .ai-chatbot-modal {
        width: 100vw;
        max-width: none;
        height: calc(var(--ai-chatbot-vh, 100vh) - 60px);
        max-height: calc(var(--ai-chatbot-vh, 100vh) - 60px);
        border-radius: 20px 20px 0 0;
    }

    .ai-chatbot-modal__header {
        padding: 0.7rem 0.9rem;
    }

    .ai-chatbot-modal__body {
        padding: 0.75rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    }

    .ai-chatbot-modal .assessment-inline-actions .btn,
    .ai-chatbot-modal .assessment-inline-form .btn {
        width: 100%;
        flex-basis: 100%;
    }
}
