/* ==========================================================================
   DL EQUIPAMENTOS - ARCHITECTURAL STUDIO DESIGN SYSTEM
   Faithfully inspired by ideia.mp4 (Editorial Light / Natural / Human)
   Mobile-Optimized for all Smartphones (Samsung, iPhone, Xiaomi, etc.)
   ========================================================================== */

:root {
    /* Editorial Light Palette */
    --bg-page: #fbfaf8;
    --bg-card: #ffffff;
    --bg-muted: #f4f1ea;
    --bg-accent: #ede7dc;
    
    --ink-primary: #121820;
    --ink-secondary: #334155;
    --ink-muted: #64748b;
    --ink-light: #94a3b8;
    
    --terracotta: #b45309;
    --terracotta-dark: #92400e;
    --ochre: #d97706;
    --blueprint-navy: #0f2744;
    --blueprint-slate: #475569;
    
    --border-light: rgba(0, 0, 0, 0.08);
    --border-medium: rgba(0, 0, 0, 0.14);
    --border-blueprint: rgba(15, 39, 68, 0.2);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    
    /* Radii & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-elevated: 0 12px 36px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 24px rgba(18, 24, 32, 0.06);
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body.editorial-light {
    background-color: var(--bg-page);
    color: var(--ink-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Subtle Architectural Grid Paper Background */
.drafting-paper-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.font-italic {
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--terracotta);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.studio-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(251, 250, 248, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.studio-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border-medium);
    box-shadow: var(--shadow-subtle);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.brand-logo {
    height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brand-title-box {
    display: flex;
    flex-direction: column;
}

.brand-main-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--ink-primary);
    line-height: 1.1;
}

.brand-tagline {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.8px;
    color: var(--terracotta);
    font-weight: 600;
    text-transform: uppercase;
}

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

.nav-item {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-secondary);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
    color: var(--ink-primary);
    font-weight: 600;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-studio-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ink-primary);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-studio-whatsapp i {
    color: #25d366;
    font-size: 1rem;
}

.btn-studio-whatsapp:hover {
    background: #000000;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-medium);
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1rem;
    color: var(--ink-primary);
    flex-shrink: 0;
}

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

.hero-studio {
    padding-top: 120px;
    padding-bottom: 70px;
    text-align: center;
}

.hero-top-annotation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    color: var(--ink-muted);
}

.sheet-no {
    padding: 2px 8px;
    background: var(--bg-muted);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 4.4rem;
    font-weight: 600;
    line-height: 1.05;
    color: var(--ink-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-lead {
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 1.1rem;
    color: var(--ink-secondary);
    line-height: 1.7;
}

/* Architectural Drafting Board Showcase */
.drafting-board {
    max-width: 1040px;
    margin: 0 auto 32px;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    overflow: hidden;
    position: relative;
}

.board-toolbar {
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.drawing-ref {
    color: var(--ink-muted);
    font-weight: 600;
}

.view-toggles {
    display: flex;
    gap: 6px;
}

.view-btn {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: var(--ink-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-smooth);
}

.view-btn:hover {
    color: var(--ink-primary);
    border-color: var(--ink-primary);
}

.view-btn.active {
    background: var(--ink-primary);
    color: #ffffff;
    border-color: var(--ink-primary);
}

.board-viewport {
    min-height: 440px;
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

.board-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.99);
}

.board-layer.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.sketch-svg {
    width: 100%;
    height: 100%;
    min-height: 440px;
}

.drafting-stamp {
    position: absolute;
    bottom: 20px;
    right: 20px;
    border: 2px solid var(--terracotta);
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    font-family: var(--font-mono);
    transform: rotate(-2deg);
}

.stamp-verified {
    color: var(--terracotta);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}

.stamp-firm {
    color: var(--ink-primary);
    font-size: 0.62rem;
    font-weight: 700;
}

.stamp-id {
    color: var(--ink-muted);
    font-size: 0.58rem;
}

/* Layer Photo Split */
.layer-photo-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px;
    height: 100%;
}

.photo-pane {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 100%;
    min-height: 380px;
}

.photo-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-pane:hover img {
    transform: scale(1.03);
}

.pane-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(18, 24, 32, 0.92) 0%, rgba(18, 24, 32, 0.4) 70%, transparent 100%);
    text-align: left;
    color: #ffffff;
}

.pane-caption .tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 1px;
    margin-bottom: 2px;
    display: block;
}

.pane-caption h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.pane-caption p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.board-footer {
    background: var(--bg-muted);
    border-top: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px 18px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-secondary);
}

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

.btn-clean-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: var(--ink-primary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-clean-outline:hover {
    border-color: var(--ink-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-subtle);
}

.btn-clean-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--terracotta);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-clean-gold:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.2);
}

.btn-clean-gold.large-btn {
    font-size: 0.98rem;
    padding: 14px 28px;
}

/* ==========================================================================
   SPLIT INTERACTIVE SECTION (ANTES pos001.jpeg vs DEPOIS depois.png)
   ========================================================================== */

.blueprint-split-section {
    padding: 80px 0;
    background: var(--bg-muted);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-title-wrap {
    margin-bottom: 36px;
}

.badge-sub {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: var(--terracotta);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.section-main-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--ink-primary);
    line-height: 1.15;
    margin-bottom: 10px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.98rem;
    color: var(--ink-muted);
}

.interactive-split-box {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-card);
    user-select: none;
    background: #000000;
}

.split-side {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.side-blueprint {
    background: #111;
    z-index: 1;
}

.side-reality {
    z-index: 2;
    width: 50%;
    border-right: 2px solid var(--terracotta);
    background: #111;
}

.split-photo-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.split-img-natural {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.split-info-card {
    position: absolute;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    max-width: 340px;
    z-index: 10;
    box-shadow: var(--shadow-subtle);
}

.card-left {
    left: 20px;
}

.card-right {
    right: 20px;
    background: rgba(18, 24, 32, 0.92);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.card-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ink-secondary);
    background: var(--bg-muted);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}

.card-pill.pill-gold {
    background: var(--terracotta);
    color: #ffffff;
}

.split-info-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.clean-list {
    list-style: none;
}

.clean-list li {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: var(--ink-secondary);
}

.card-right .clean-list li {
    color: rgba(255, 255, 255, 0.88);
}

.clean-list li i {
    color: var(--terracotta);
    font-size: 0.72rem;
}

.split-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    z-index: 20;
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.handle-bar {
    width: 2px;
    height: 100%;
    background: var(--terracotta);
}

.handle-button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--terracotta);
    color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.split-handle:hover .handle-button {
    transform: scale(1.1);
}

/* ==========================================================================
   EDITORIAL SERVICES ACCORDION
   ========================================================================== */

.services-clean-section {
    padding: 90px 0;
}

.services-top-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
    align-items: flex-end;
    margin-bottom: 44px;
}

.services-desc-side p {
    font-size: 1.02rem;
    color: var(--ink-secondary);
    line-height: 1.7;
}

.editorial-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-medium);
}

.acc-row {
    border-bottom: 1px solid var(--border-medium);
    transition: var(--transition-smooth);
}

.acc-row:hover {
    background: #ffffff;
}

.acc-row.active {
    background: #ffffff;
    box-shadow: var(--shadow-subtle);
}

.acc-header {
    padding: 20px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.acc-title-side {
    display: flex;
    align-items: center;
    gap: 18px;
}

.acc-code {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink-light);
}

.acc-row.active .acc-code {
    color: var(--terracotta);
}

.acc-heading {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink-primary);
    margin-bottom: 2px;
}

.acc-subheading {
    font-size: 0.82rem;
    color: var(--ink-muted);
}

.acc-arrow {
    font-size: 1rem;
    color: var(--ink-light);
    transition: var(--transition-smooth);
}

.acc-row.active .acc-arrow {
    transform: rotate(90deg);
    color: var(--terracotta);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.acc-row.active .acc-body {
    max-height: 700px;
    transition: max-height 0.6s ease-in-out;
}

.acc-content-split {
    padding: 8px 14px 26px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: center;
}

.acc-lead {
    font-size: 0.95rem;
    color: var(--ink-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
}

.service-points {
    list-style: none;
    margin-bottom: 18px;
}

.service-points li {
    font-size: 0.85rem;
    color: var(--ink-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.service-points li i {
    color: var(--terracotta);
}

.acc-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
    border-bottom: 1px solid var(--terracotta);
    padding-bottom: 2px;
    transition: var(--transition-smooth);
}

.acc-link-btn:hover {
    color: var(--terracotta-dark);
    border-bottom-color: var(--terracotta-dark);
    transform: translateX(3px);
}

.acc-media-side {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    height: 230px;
}

.acc-media-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--ink-primary);
    font-weight: 600;
    border-radius: 2px;
}

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

.metrics-editorial-section {
    background: var(--bg-muted);
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.metrics-editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-item {
    text-align: center;
    padding: 16px;
}

.m-number {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink-primary);
    margin-bottom: 4px;
}

.m-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.m-detail {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

/* ==========================================================================
   REAL WORKS GALLERY (pos1 to pos5, pos001 and depois.png)
   ========================================================================== */

.gallery-clean-section {
    padding: 90px 0;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 290px;
    gap: 18px;
}

.gallery-card.card-wide {
    grid-column: span 2;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: #ffffff;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 24, 32, 0.92) 0%, rgba(18, 24, 32, 0.3) 60%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    opacity: 0.95;
    transition: var(--transition-smooth);
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.tag-clean {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.card-overlay h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-overlay p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.btn-zoom {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.btn-zoom:hover {
    background: #ffffff;
    color: var(--ink-primary);
}

/* ==========================================================================
   MANIFESTO BANNER
   ========================================================================== */

.manifesto-editorial-section {
    padding: 80px 0;
    background: var(--bg-muted);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.manifesto-card-clean {
    max-width: 780px;
    margin: 0 auto;
}

.manifesto-quote {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 0.4;
    color: var(--terracotta);
    margin-bottom: 14px;
}

.manifesto-text {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink-primary);
    margin-bottom: 18px;
}

.manifesto-subtext {
    font-size: 1.05rem;
    color: var(--ink-secondary);
    line-height: 1.7;
    margin-bottom: 26px;
}

.manifesto-tags {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.manifesto-tags span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-secondary);
    background: #ffffff;
    border: 1px solid var(--border-medium);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
}

.manifesto-tags span i {
    color: var(--terracotta);
}

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

.simulator-section {
    padding: 90px 0;
}

.simulator-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.sim-header {
    margin-bottom: 30px;
}

.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 26px;
}

.sim-group.full-width {
    grid-column: span 2;
}

.sim-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-primary);
    margin-bottom: 8px;
}

.sim-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.sim-option-card {
    cursor: pointer;
}

.sim-option-card input {
    display: none;
}

.option-box {
    background: var(--bg-page);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 16px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
    transition: var(--transition-smooth);
}

.option-box i {
    font-size: 1.3rem;
    color: var(--terracotta);
}

.opt-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-primary);
}

.opt-desc {
    font-size: 0.7rem;
    color: var(--ink-muted);
}

.sim-option-card.active .option-box,
.sim-option-card input:checked + .option-box {
    border-color: var(--terracotta);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(180, 83, 9, 0.12);
}

.sim-select, .sim-input {
    width: 100%;
    background: var(--bg-page);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--ink-primary);
    padding: 11px 14px;
    transition: var(--transition-smooth);
}

.sim-select:focus, .sim-input:focus {
    outline: none;
    border-color: var(--terracotta);
    background: #ffffff;
}

.sim-security-note {
    font-size: 0.75rem;
    color: var(--ink-muted);
    margin-top: 10px;
}

/* ==========================================================================
   SKYLINE CLEAN FOOTER HERO
   ========================================================================== */

.skyline-clean-section {
    padding: 90px 0;
    background: var(--bg-muted);
    border-top: 1px solid var(--border-light);
}

.skyline-headline {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--ink-primary);
    margin-bottom: 14px;
}

.skyline-text {
    max-width: 580px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
    color: var(--ink-secondary);
}

.skyline-btn-wrap {
    display: flex;
    justify-content: center;
}

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

.clean-footer {
    background: #ffffff;
    border-top: 1px solid var(--border-light);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-about {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-top: 14px;
    line-height: 1.6;
}

.footer-col-nav h4, .footer-col-services h4, .footer-col-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink-primary);
    margin-bottom: 14px;
}

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

.footer-col-nav li, .footer-col-services li {
    margin-bottom: 6px;
}

.footer-col-nav a, .footer-col-services a {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 0.82rem;
    transition: var(--transition-smooth);
}

.footer-col-nav a:hover, .footer-col-services a:hover {
    color: var(--terracotta);
    padding-left: 2px;
}

.footer-col-contact p {
    font-size: 0.82rem;
    color: var(--ink-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col-contact i {
    color: var(--terracotta);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--ink-light);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.photo-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 24, 32, 0.88);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    z-index: 10;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #ffffff;
}

.modal-close {
    position: absolute;
    top: -36px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    z-index: 1200;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.08);
    background: #20ba59;
}

.whatsapp-float-tag {
    position: absolute;
    right: 64px;
    background: var(--ink-primary);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover .whatsapp-float-tag {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid var(--border-medium);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    transition: right 0.35s ease;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--ink-primary);
}

.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 26px 0;
}

.drawer-item {
    font-size: 1rem;
    color: var(--ink-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.drawer-item:hover {
    color: var(--terracotta);
    transform: translateX(4px);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Smartphone Fixes from mobile.jpeg)
   ========================================================================== */

@media (max-width: 1024px) {
    .studio-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 3.4rem;
    }
    
    .services-top-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .acc-content-split {
        grid-template-columns: 1fr;
    }
    
    .metrics-editorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-card.card-wide {
        grid-column: span 2;
    }
    
    .sim-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* SMARTPHONE & NARROW SCREENS (< 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header adjustments to prevent wrapping & truncation */
    .header-inner {
        padding: 8px 14px;
    }

    .brand-logo {
        height: 38px;
    }

    .brand-main-title {
        font-size: 0.95rem;
        letter-spacing: 0.8px;
    }

    .brand-tagline {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }

    .btn-studio-whatsapp {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .btn-phone-text {
        display: none; /* Hide phone text in header so toggle fits cleanly on all phones */
    }

    .btn-studio-whatsapp::after {
        content: 'WhatsApp';
    }

    .mobile-toggle {
        padding: 6px 8px;
    }

    /* Hero adjustments */
    .hero-studio {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0;
    }

    .hero-lead {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    /* Drafting Board Toolbar Framing Fix (Solved from mobile.jpeg) */
    .board-toolbar {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        padding: 10px 12px;
        text-align: center;
    }

    .drawing-ref {
        font-size: 0.65rem;
        text-align: center;
    }

    .view-toggles {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        width: 100%;
    }

    .view-btn {
        padding: 8px 4px;
        font-size: 0.7rem;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }

    .view-btn i {
        font-size: 0.75rem;
    }

    .board-viewport {
        min-height: 360px;
    }

    .sketch-svg {
        min-height: 360px;
    }

    .layer-photo-split {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .photo-pane {
        min-height: 260px;
        height: 290px;
    }

    .pane-caption {
        padding: 12px;
    }

    .pane-caption h4 {
        font-size: 1.05rem;
    }

    .board-footer {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 8px 12px;
        font-size: 0.62rem;
    }

    /* Interactive Split Section */
    .blueprint-split-section {
        padding: 60px 0;
    }

    .section-main-title {
        font-size: 2rem;
    }

    .interactive-split-box {
        height: 380px;
    }

    .split-info-card {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px;
        max-width: none;
        padding: 10px 14px;
    }

    .split-info-card h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .clean-list li {
        font-size: 0.74rem;
        margin-bottom: 2px;
    }

    /* Services & Accordion */
    .services-clean-section {
        padding: 60px 0;
    }

    .acc-header {
        padding: 16px 10px;
    }

    .acc-title-side {
        gap: 12px;
    }

    .acc-code {
        font-size: 1rem;
    }

    .acc-heading {
        font-size: 1.15rem;
    }

    .acc-subheading {
        font-size: 0.75rem;
    }

    .acc-content-split {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 6px 10px 20px;
    }

    .acc-media-side {
        height: 200px;
    }

    /* Gallery Masonry */
    .gallery-clean-section {
        padding: 60px 0;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
        gap: 14px;
    }

    .gallery-card.card-wide {
        grid-column: span 1;
    }

    /* Simulator */
    .simulator-section {
        padding: 60px 0;
    }

    .simulator-wrapper {
        padding: 22px 14px;
    }

    .sim-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sim-group.full-width {
        grid-column: span 1;
    }

    .sim-options-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Manifesto & Skyline */
    .manifesto-editorial-section {
        padding: 60px 0;
    }

    .manifesto-text {
        font-size: 2rem;
    }

    .manifesto-subtext {
        font-size: 0.95rem;
    }

    .skyline-clean-section {
        padding: 60px 0;
    }

    .skyline-headline {
        font-size: 2.2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* EXTRA SMALL SCREENS (< 380px, e.g. iPhone SE, Galaxy A series) */
@media (max-width: 380px) {
    .brand-main-title {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .view-btn {
        font-size: 0.64rem;
        padding: 6px 2px;
    }

    .view-btn i {
        display: none;
    }

    .btn-clean-gold.large-btn {
        font-size: 0.88rem;
        padding: 12px 18px;
    }
}
