/* =============================================================
   Fundamental Design Studio — Theme CSS v3
============================================================= */
:root {
    --cyan:   #81d6fe;
    --yellow: #ffff00;
    --black:  #000;
    --white:  #fff;
    --dark:   #2b2b2b;
    --font:   'Roboto', Arial, sans-serif;
    --disp:   Tahoma, sans-serif;
    --max:    1680px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); background: var(--white); }
img  { max-width: 100%; height: auto; display: block; }
a    { transition: color .25s, background .25s; }
.skip-link { position:absolute; left:-9999px; }
.skip-link:focus { left:10px; top:10px; background:var(--cyan); color:#000; padding:8px 16px; z-index:9999; }

/* ============================================================
   HEADER BAR
============================================================ */
#site-header-bar { background: var(--black); }
.hbar-inner {
    max-width: var(--max); margin: 0 auto;
    padding: 9px 60px;
    display: flex; justify-content: space-between; align-items: center;
}
.hbar-left  { font-size:13px; color:var(--cyan);   font-weight:300; letter-spacing:.2px; }
.hbar-right { font-size:13px; color:var(--yellow);  font-weight:400; letter-spacing:.2px; }
.hbar-separator { height:1px; background:rgba(255,255,255,0.12); }

/* ============================================================
   HEADER
============================================================ */
#site-header {
    background: var(--black);
    background-image: url('../images/header-bg-pattern.svg');
    background-size: 22%;
    background-repeat: no-repeat;
    background-position: bottom left;
    padding: 24px 60px 20px;
}
.header-inner {
    max-width: var(--max); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.site-logo img { height: 70px; width: auto; object-fit: contain; }
.header-phone {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--cyan); color: var(--black) !important;
    text-decoration: none; font-family: var(--font);
    font-size: 20px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 1.4px; padding: 17px 40px;
}
.header-phone:hover { background: var(--yellow); }

/* ============================================================
   NAV — pure CSS, always visible on desktop
============================================================ */
#site-nav { background: var(--black); position: sticky; top: 0; z-index: 1020; }

.nav-inner {
    max-width: var(--max); margin: 0 auto;
    padding: 0 60px;
    display: flex; align-items: center;
}

/* Desktop: nav-menu always visible */
.nav-menu {
    list-style: none; display: flex;
    justify-content: space-between;
    width: 100%; margin: 0; padding: 0;
}
.nav-menu li { position: relative; }
.nav-menu li a {
    display: block; color: var(--white); text-decoration: none;
    font-family: var(--font); font-size: 15px; font-weight: 400;
    text-transform: uppercase; letter-spacing: .3px;
    padding: 16px 10px; white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a,
.nav-menu li.current-page-ancestor > a { color: var(--cyan); }
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a { font-weight: 700; }

/* Dropdown */
.nav-menu .sub-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--white); min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    list-style: none; padding: 0; z-index: 100;
}
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu li a {
    color: var(--black); padding: 10px 20px;
    font-size: 13px; font-weight: 400;
}
.nav-menu .sub-menu li a:hover { background: var(--cyan); color: #000; }

/* Mobile toggler — hidden on desktop */
.nav-toggler   { display: none; }
.nav-mobile-phone { display: none; }

/* ============================================================
   FLOATING CONTACT TAB
============================================================ */
#contact-tab {
    position: fixed; right: 0; top: 50%;
    transform: rotate(-90deg) translateX(50%);
    transform-origin: right center;
    background: var(--cyan); color: var(--white);
    text-decoration: none; font-family: var(--font);
    font-size: 13px; text-transform: uppercase; letter-spacing: .5px;
    padding: 10px 20px 6px;
    border-top-left-radius: 10px; border-top-right-radius: 10px;
    z-index: 1025; margin-top: -100px;
}
#contact-tab:hover { background: var(--yellow); color: #000; }

/* ============================================================
   HERO — just the image
============================================================ */
.fds-hero-img {
    width: 100%; display: block;
    max-height: 680px; object-fit: cover; object-position: center;
}

/* ============================================================
   MCP — 2-column: heading+btn LEFT, body text RIGHT
============================================================ */
.fds-mcp {
    background: var(--black);
    background-size: cover; background-position: center;
    padding: 80px 60px;
}
.fds-mcp .sector { max-width: var(--max); margin: 0 auto; }

.mcp-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: start;
}

.mcp-left h2 {
    font-family: var(--font); font-weight: 500;
    font-size: 38px; line-height: 1.3;
    color: var(--white); margin-bottom: 36px;
}

/* Yellow LEARN MORE button — full width of left column */
.btn-mcp-learn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%;
    background: var(--yellow); color: var(--black) !important;
    text-decoration: none; font-family: var(--font);
    font-size: 18px; font-weight: 400;
    text-transform: uppercase; letter-spacing: 1.4px;
    padding: 20px 40px;
}
.btn-mcp-learn:hover { background: var(--cyan); }
.btn-arrow { font-size: 20px; }

.mcp-right p {
    font-family: var(--font); font-weight: 300;
    font-size: 16px; line-height: 1.9;
    color: var(--white); margin-bottom: 18px;
}
.mcp-right p:last-child { margin-bottom: 0; }
.mcp-right a { color: var(--white); text-decoration: none; }
.mcp-right a:hover { color: var(--cyan); }
.mcp-right strong { font-weight: 700; }

/* ============================================================
   SCP — 3 service cards, white bg
============================================================ */
.fds-scp { background: var(--white); padding: 80px 60px; }
.fds-scp .sector { max-width: var(--max); margin: 0 auto; }
.fds-scp-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; align-items: start;
}
.scp-card { display: flex; flex-direction: column; }
.scp-card-image {
    width: 100%; aspect-ratio: 4/3; overflow: hidden;
    margin-bottom: 22px; display: block;
}
.scp-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.scp-card:hover .scp-card-image img { transform: scale(1.03); }
.scp-card h3 {
    font-family: var(--font); font-weight: 500;
    font-size: 17px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--black); margin-bottom: 14px;
}
.scp-card p {
    font-family: var(--font); font-weight: 300;
    font-size: 17px; line-height: 2; color: var(--black);
    margin-bottom: 18px; flex: 1;
}
.scp-more {
    color: var(--black); font-size: 18px; font-weight: 400;
    text-transform: uppercase; letter-spacing: 1.4px;
    text-decoration: none;
}
.scp-more:hover { color: var(--cyan); }

/* ============================================================
   WHY CHOOSE — dark + bg image, 4 cols
============================================================ */
.fds-why {
    background: var(--black);
    background-size: cover; background-position: center;
    padding: 90px 60px;
}
.fds-why .sector { max-width: var(--max); margin: 0 auto; }
.fds-why h2 {
    font-family: var(--disp); font-size: 32px; color: var(--white);
    font-weight: 400; margin-bottom: 50px;
    text-transform: uppercase; letter-spacing: 1px;
}
.why-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
}
.why-item { padding: 0 30px; border-right: 1px solid rgba(255,255,255,.1); }
.why-item:first-child { padding-left: 0; }
.why-item:last-child  { border-right: none; padding-right: 0; }
.why-number {
    font-family: var(--disp); font-size: 60px;
    color: var(--white); font-weight: 400; line-height: 1; margin-bottom: 16px;
}
.why-item h3 {
    font-family: var(--disp); font-size: 24px;
    color: var(--white); font-weight: 400; margin-bottom: 14px; line-height: 1.4;
}
.why-item p {
    font-family: var(--font); font-size: 17px;
    color: var(--white); font-weight: 300; line-height: 2;
}

/* ============================================================
   FORM SECTION — dark + bg image, 2-column
============================================================ */
.fds-form-section {
    background: var(--black);
    background-size: cover; background-position: center;
    padding: 90px 60px;
}
.fds-form-section .sector { max-width: var(--max); margin: 0 auto; }
.fds-form-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start;
}
.form-left { padding-right: 60px; }
.fds-form-section h2 {
    font-family: var(--disp); font-size: 32px;
    color: var(--black); font-weight: 400; margin-bottom: 8px;
}
.fds-form-section p.form-intro {
    font-family: var(--font); font-size: 17px;
    color: var(--black); font-weight: 300; margin-bottom: 28px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-grid .span-full  { grid-column: 1/-1; }
.form-grid .form-submit-wrap { grid-column: 1/-1; margin-top: 4px; }
.form-control {
    width: 100%; background: var(--white); border: none; border-radius: 0;
    padding: 12px 15px; font-family: var(--font); color: var(--black); font-size: 15px;
}
.form-control:focus { outline: 2px solid var(--cyan); }
textarea.form-control { min-height: 120px; resize: vertical; }
.privacy-note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 10px; }
.privacy-note a { color: rgba(255,255,255,.6); text-decoration: none; }
.form-response { padding:12px 16px; margin-top:14px; font-size:14px; display:none; }
.form-response.success { background:rgba(129,214,254,.15); color:var(--cyan); border-left:3px solid var(--cyan); display:block; }
.form-response.error   { background:rgba(255,80,80,.15); color:#ff9090; border-left:3px solid #f55; display:block; }

.btn-fds-primary {
    display: inline-block;
    background: var(--cyan); color: var(--black) !important;
    border: none; border-radius: 0; font-family: var(--font);
    font-size: 18px; font-weight: 400; text-transform: uppercase;
    letter-spacing: 1.4px; padding: 17px 40px; text-decoration: none; cursor: pointer;
}
.btn-fds-primary:hover { background: var(--yellow); }

/* ============================================================
   FOOTER — geometric bg pattern, icon columns
============================================================ */
.fds-footer-main {
    background: var(--black);
    background-image: url('../images/header-bg-pattern.svg');
    background-size: 38%;
    background-repeat: no-repeat;
    background-position: bottom left;
    padding: 70px 60px 0;
}
.fds-footer-main .fds-sector { max-width: var(--max); margin: 0 auto; }
.footer-info-cols {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 20px; padding-bottom: 40px; text-align: center;
}
.footer-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--yellow);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px;
}
.footer-icon i { color: var(--black); font-size: 18px; }
.footer-info-col h4 {
    font-family: var(--font); font-size: 15px;
    color: var(--cyan); text-transform: uppercase;
    letter-spacing: 1px; font-weight: 700; margin-bottom: 8px;
}
.footer-info-col p,
.footer-info-col a {
    font-family: var(--font); font-size: 16px;
    color: var(--white); font-weight: 300;
    line-height: 1.8; text-decoration: none; display: block;
}
.footer-info-col a:hover { color: var(--cyan); }
.footer-service-areas {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0; text-align: center;
}
.footer-service-areas p {
    font-family: var(--font); font-size: 13px;
    color: rgba(255,255,255,.4); font-weight: 300;
}
.footer-copy-block {
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 16px 0 24px; text-align: center;
}
.footer-copy-block p {
    font-family: var(--font); font-size: 13px;
    color: rgba(255,255,255,.4); font-weight: 300;
    margin-bottom: 4px;
}
.footer-copy-block a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-copy-block a:hover { color: var(--cyan); }

/* ============================================================
   INNER PAGE SECTIONS
============================================================ */
/* ============================================================
   INNER PAGE BANNER — background-image on section, ::before overlay
============================================================ */
.fds-page-banner {
    background-size: cover;
    background-position: center;
    background-color: #111;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
}
.fds-page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 0;
}
.fds-page-banner .banner-content {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    padding: 40px 60px 50px;
}
.fds-page-banner h1 {
    font-family: var(--font);
    font-weight: 500;
    font-size: 36px;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 900px;
}
.banner-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.banner-phone {
    color: var(--cyan);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.fds-split { padding: 80px 60px; }
.fds-split.bg-white { background: var(--white); }
.fds-split.bg-grey  { background: #f4f4f4; }
.fds-split.bg-dark  { background: var(--black); }
.fds-split .sector  { max-width: var(--max); margin: 0 auto; }
.split-grid { display: grid; grid-template-columns: 55% 45%; gap: 60px; align-items: center; }
.split-grid.reverse { grid-template-columns: 45% 55%; }
.split-grid.reverse .split-image { order: -1; }
.split-content h2 { font-family:var(--font); font-weight:500; font-size:32px; line-height:1.3; margin-bottom:20px; }
.split-content h3 { font-family:var(--disp); font-weight:400; font-size:26px; line-height:1.4; margin-bottom:14px; }
.split-content p  { font-family:var(--font); font-weight:300; font-size:17px; line-height:2; margin-bottom:14px; }
.split-content blockquote { border-left:3px solid var(--cyan); padding-left:22px; margin:20px 0; font-style:italic; font-size:18px; line-height:1.8; }
.quote-author { font-size:14px; font-weight:500; color:var(--cyan); font-style:normal; margin-top:8px; }
.split-image img { width:100%; max-height:500px; object-fit:cover; }

.fds-services-list { background: var(--white); padding: 70px 60px; }
.fds-services-list .sector { max-width: var(--max); margin: 0 auto; }
.fds-services-list h2 { font-family:var(--font); font-weight:500; font-size:32px; margin-bottom:24px; }
.fds-services-list ul { list-style:none; padding:0; columns:2; gap:20px; }
.fds-services-list ul li { padding:7px 0 7px 28px; position:relative; font-family:var(--font); font-size:17px; line-height:1.7; break-inside:avoid; }
.fds-services-list ul li::before { content:'\2713'; position:absolute; left:0; top:8px; color:var(--yellow); font-size:14px; font-weight:700; }

.fds-bio { background: var(--black); padding: 80px 60px; }
.fds-bio .sector { max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:55% 45%; gap:70px; align-items:center; }
.bio-content h2 { font-family:var(--font); font-weight:500; font-size:38px; color:var(--white); margin-bottom:6px; }
.bio-content .bio-title { font-family:var(--disp); font-size:26px; color:var(--cyan); font-weight:400; margin-bottom:22px; }
.bio-content p { font-family:var(--font); font-weight:300; font-size:17px; color:var(--white); line-height:2; margin-bottom:14px; }
.bio-image img { width:100%; object-fit:cover; }

.fds-gallery-section { background: var(--white); padding: 70px 60px; }
.fds-gallery-section .sector { max-width: var(--max); margin: 0 auto; }
.gallery-intro { font-family:var(--font); font-weight:300; font-size:17px; line-height:2; max-width:800px; margin-bottom:50px; }
.gallery-project { margin-bottom: 60px; }
.gallery-project h2 { font-family:var(--disp); font-size:26px; font-weight:400; border-bottom:2px solid var(--cyan); display:inline-block; padding-bottom:8px; margin-bottom:20px; }
.gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.gallery-grid a { display:block; overflow:hidden; aspect-ratio:4/3; }
.gallery-grid img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.gallery-grid a:hover img { transform: scale(1.05); }

.fds-lightbox { display:none; position:fixed; inset:0; background:rgba(0,0,0,.93); z-index:9999; align-items:center; justify-content:center; }
.fds-lightbox.active { display:flex; }
.fds-lightbox img { max-width:90vw; max-height:90vh; object-fit:contain; }
.lb-close { position:fixed; top:16px; right:24px; color:#fff; font-size:42px; cursor:pointer; background:none; border:none; opacity:.8; }
.lb-close:hover { opacity:1; }
.lb-prev, .lb-next { position:fixed; top:50%; transform:translateY(-50%); background:rgba(0,0,0,.4); color:#fff; font-size:36px; padding:16px 18px; cursor:pointer; border:none; opacity:.8; }
.lb-prev { left:12px; } .lb-next { right:12px; }

.fds-contact-info { background: var(--black); padding: 70px 60px; }
.fds-contact-info .sector { max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.contact-detail h3 { font-family:var(--disp); font-size:18px; color:var(--cyan); text-transform:uppercase; letter-spacing:1px; font-weight:400; margin-bottom:10px; }
.contact-detail p, .contact-detail a { font-family:var(--font); font-size:17px; color:var(--white); font-weight:300; line-height:1.8; text-decoration:none; display:block; }
.contact-detail a:hover { color:var(--cyan); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    .mcp-grid { grid-template-columns: 1fr; gap: 36px; }
    .mcp-left h2 { font-size: 26px; }
}

@media (max-width: 1199px) {
    #site-header, .hbar-inner, .nav-inner,
    .fds-mcp, .fds-scp, .fds-why, .fds-form-section,
    .fds-footer-main, .fds-split, .fds-bio,
    .fds-gallery-section, .fds-services-list, .fds-contact-info { padding-left:24px; padding-right:24px; }
    .fds-scp-grid { grid-template-columns:repeat(2,1fr); gap:30px; }
    .why-grid { grid-template-columns:repeat(2,1fr); gap:40px; }
    .why-item { border-right:none; padding:0; }
    .split-grid, .split-grid.reverse { grid-template-columns:1fr; gap:30px; }
    .split-grid.reverse .split-image { order:0; }
    .fds-bio .sector { grid-template-columns:1fr; gap:30px; }
    .fds-contact-info .sector { grid-template-columns:1fr; gap:40px; }
    .gallery-grid { grid-template-columns:repeat(3,1fr); }
    .fds-form-split { grid-template-columns:1fr; }
    .form-left { padding-right:0; }
    .fds-page-banner .banner-content { padding:30px 24px 40px; }
}

@media (max-width: 767px) {
    /* Mobile nav */
    .nav-menu {
        display: none; flex-direction: column; width: 100%;
        padding: 8px 0; background: var(--black);
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu li a { padding:12px 16px; border-bottom:1px solid rgba(255,255,255,.06); font-size:14px; }
    .nav-toggler {
        display: flex; flex-direction: column; justify-content: center;
        gap: 5px; background: none; border: 1px solid rgba(255,255,255,.3);
        padding: 8px 10px; cursor: pointer; margin-left: auto;
    }
    .nav-toggler span { display:block; width:20px; height:2px; background:#fff; }
    .nav-mobile-phone { display:block; color:var(--white); font-size:14px; padding:10px 0; text-decoration:none; }
    .nav-inner { flex-wrap: wrap; padding: 8px 16px; }

    #site-header { padding:14px 16px; background-size:60%; }
    .site-logo img { height:48px; }
    .header-phone { font-size:15px; padding:12px 20px; }
    .hbar-inner { flex-direction:column; gap:3px; align-items:flex-start; }

    .fds-mcp { padding:50px 20px; }
    .mcp-left h2 { font-size:26px; }
    .fds-scp-grid { grid-template-columns:1fr; }
    .why-grid { grid-template-columns:1fr; }
    .footer-info-cols { grid-template-columns:1fr; gap:30px; }
    .gallery-grid { grid-template-columns:repeat(2,1fr); gap:5px; }
    .fds-services-list ul { columns:1; }
    .fds-page-banner h1 { font-size:24px; }
    #contact-tab { display:none; }
}

body.admin-bar #site-nav { top:32px; }
@media (max-width:782px) { body.admin-bar #site-nav { top:46px; } }
