/*
Theme Name: Onecompany
Theme URI: https://1company.au
Author: Onecompany PTY LTD
Author URI: https://1company.au
Description: Official Onecompany PTY LTD website theme — project management and advisory, any project, any sector, Australia wide.
Version: 1.0
License: Private
Text Domain: onecompany
*/

  /* ─── Reset & Base ─────────────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --red:   #CC2929;
    --black: #111111;
    --white: #FFFFFF;
    --gray:  #F5F5F5;
    --dgray: #333333;
    --mgray: #666666;
    --font:  'Montserrat', 'Arial Black', sans-serif;
  }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font); font-size: 16px; color: var(--dgray); line-height: 1.7; background: var(--white); }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }

  /* ─── Utilities ────────────────────────────────────────────── */
  .container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, transform 0.1s;
  }
  .btn:hover { opacity: 0.88; }
  .btn:active { transform: scale(0.98); }
  .btn-red   { background: var(--red);   color: var(--white); }
  .btn-white { background: var(--white); color: var(--black); }
  .btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
  .section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.75rem;
  }
  .section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--black);
    line-height: 1.15;
    margin-bottom: 1.25rem;
  }
  .section-title span { color: var(--red); }
  .section-body { font-size: 1rem; color: var(--mgray); max-width: 640px; line-height: 1.8; }

  /* ─── NAV ──────────────────────────────────────────────────── */
  #nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--black);
    transition: box-shadow 0.2s;
  }
  #nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }
  .nav-logo {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
  }
  .nav-logo .one {
    background: var(--red);
    padding: 0.35rem 0.75rem;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
  }
  .nav-logo .company {
    background: #222222;
    padding: 0.35rem 0.75rem;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.2s;
  }
  .mobile-nav {
    display: none;
    background: #0d0d0d;
    padding: 1rem 2rem 1.5rem;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav .btn { margin-top: 1rem; width: 100%; text-align: center; }

  /* ─── HERO ─────────────────────────────────────────────────── */
  /* ── Hero with video background ───────────────────────────────────────── */
  #hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9rem 0 5rem;
    background: var(--black); /* fallback if video fails to load */
  }
  .hero-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
    /* Desaturate slightly so brand colours pop; darken slightly */
    filter: saturate(0.55) brightness(0.85);
  }
  /* Gradient overlay:
     - Top & middle: dark black so white text stays crisp
     - Bottom: transitions to brand red (#CC2929)
       to blend seamlessly into the red stats strip below */
  .hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(17,17,17,0.80) 0%,
      rgba(17,17,17,0.60) 40%,
      rgba(17,17,17,0.68) 68%,
      rgba(180,30,30,0.82) 88%,
      rgba(204,41,41,0.96) 100%
    );
  }
  /* Hero content must sit above video and overlay */
  #hero .container {
    position: relative;
    z-index: 2;
  }
  /* Scroll hint sits above overlay */
  .hero-scroll {
    position: relative;
    z-index: 2;
  }
  /* On mobile: reduce filter intensity */
  @media (max-width: 768px) {
    .hero-bg-video { filter: saturate(0.5) brightness(0.75); }
    .hero-video-overlay {
      background: linear-gradient(
        to bottom,
        rgba(17,17,17,0.85) 0%,
        rgba(17,17,17,0.72) 50%,
        rgba(204,41,41,0.96) 100%
      );
    }
  }
  .hero-logo {
    display: flex;
    align-items: stretch;
    margin-bottom: 2.5rem;
  }
  .hero-logo .one {
    background: var(--red);
    padding: 1.1rem 2.2rem;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .hero-logo .company {
    background: #1e1e1e;
    padding: 1.1rem 2.2rem;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1;
  }
  .hero-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.25rem;
  }
  .hero-headline {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    max-width: 760px;
    margin-bottom: 1.25rem;
  }
  .hero-sub {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .hero-scroll {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  .hero-scroll::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--red);
  }

  /* ─── STATS STRIP ──────────────────────────────────────────── */
  #stats {
    background: var(--red);
    padding: 1.25rem 0;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    text-align: center;
    padding: 1rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.2);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
  }
  .stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
  }

  /* ─── INTRO ────────────────────────────────────────────────── */
  #intro {
    padding: 5rem 0;
    background: var(--white);
  }
  .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  .intro-accent {
    width: 48px;
    height: 5px;
    background: var(--red);
    margin-bottom: 1.5rem;
  }
  .intro-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .intro-card {
    background: var(--gray);
    padding: 1.5rem;
    border-top: 3px solid var(--red);
  }
  .intro-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .intro-card p {
    font-size: 0.85rem;
    color: var(--mgray);
    line-height: 1.6;
  }

  /* ─── SERVICES ─────────────────────────────────────────────── */
  #services {
    padding: 5rem 0;
    background: var(--gray);
  }
  .services-header {
    margin-bottom: 3rem;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #ddd;
  }
  .service-card {
    background: var(--white);
    padding: 2rem 1.75rem;
    transition: background 0.15s;
    cursor: default;
  }
  .service-card:hover { background: var(--black); }
  .service-card:hover .service-num,
  .service-card:hover .service-title,
  .service-card:hover .service-desc { color: var(--white); }
  .service-card:hover .service-icon { color: var(--red); }
  .service-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--red);
    margin-bottom: 1rem;
  }
  .service-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--black);
    transition: color 0.15s;
  }
  .service-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    transition: color 0.15s;
    line-height: 1.3;
  }
  .service-desc {
    font-size: 0.82rem;
    color: var(--mgray);
    line-height: 1.6;
    transition: color 0.15s;
  }

  /* ─── WHY US ───────────────────────────────────────────────── */
  #why {
    padding: 5rem 0;
    background: var(--white);
  }
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    align-items: start;
  }
  .why-list { display: flex; flex-direction: column; gap: 0; }
  .why-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
  }
  .why-item:first-child { border-top: 1px solid #eee; }
  .why-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    min-width: 2.5rem;
    line-height: 1;
    padding-top: 0.1rem;
  }
  .why-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.4rem;
  }
  .why-content p {
    font-size: 0.875rem;
    color: var(--mgray);
    line-height: 1.6;
  }

  /* ─── PROMISE ──────────────────────────────────────────────── */
  #promise {
    padding: 5rem 0;
    background: var(--black);
  }
  .promise-intro {
    text-align: center;
    margin-bottom: 3rem;
  }
  .promise-intro .section-title { color: var(--white); }
  .promise-intro .section-body { color: rgba(255,255,255,0.55); margin: 0 auto; text-align: center; }
  .promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(255,255,255,0.08);
  }
  .promise-card {
    background: #141414;
    padding: 3rem 2.5rem;
  }
  .promise-card-tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.5rem;
  }
  .promise-headline {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
  }
  .promise-headline span { color: var(--red); }
  .promise-body {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 2rem;
  }
  .promise-points { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
  .promise-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
  }
  .promise-points li::before {
    content: '→';
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
  }
  @media (max-width: 768px) {
    .promise-grid { grid-template-columns: 1fr; }
  }

  /* ─── SECTORS ──────────────────────────────────────────────── */
  #sectors {
    padding: 5rem 0;
    background: var(--black);
  }
  .sectors-header .section-title { color: var(--white); }
  .sectors-header .section-body { color: rgba(255,255,255,0.55); }
  .sectors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.1);
    margin-top: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .sector-item {
    background: var(--black);
    padding: 2rem 1.25rem;
    text-align: center;
    transition: background 0.15s;
  }
  .sector-item:hover { background: #1e1e1e; }
  .sector-icon { font-size: 2rem; margin-bottom: 0.75rem; }
  .sector-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
  }

  /* ─── PIPELINE ─────────────────────────────────────────────── */
  #pipeline {
    padding: 5rem 0;
    background: var(--red);
  }
  .pipeline-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .pipeline-text .section-label { color: rgba(255,255,255,0.7); }
  .pipeline-text .section-title { color: var(--white); }
  .pipeline-text .section-body { color: rgba(255,255,255,0.85); }
  .pipeline-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .pipe-stat {
    background: rgba(0,0,0,0.15);
    padding: 1.5rem;
    border-left: 3px solid rgba(255,255,255,0.5);
  }
  .pipe-stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.4rem;
  }
  .pipe-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  /* ─── ABOUT ────────────────────────────────────────────────── */
  #about {
    padding: 5rem 0;
    background: var(--gray);
  }
  .about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
  }
  .about-photo {
    background: var(--black);
    aspect-ratio: 3/4;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
  }
  .about-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #1e1e1e 0%, var(--black) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  .about-initials {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
  }
  .about-photo-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .about-content { padding-top: 0.5rem; }
  .about-content .section-label { margin-bottom: 0.5rem; }
  .about-name {
    font-size: 2rem;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 0.25rem;
  }
  .about-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.75rem;
  }
  .about-text {
    font-size: 0.95rem;
    color: var(--mgray);
    line-height: 1.8;
    margin-bottom: 2rem;
  }
  .about-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  .cred-tag {
    background: var(--black);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
  }

  /* ─── TESTIMONIALS ─────────────────────────────────────────── */
  #testimonials {
    padding: 5rem 0;
    background: var(--white);
  }
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .testimonial-card {
    background: var(--gray);
    padding: 2rem;
    border-top: 3px solid var(--red);
  }
  .quote-mark {
    font-size: 3rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  .testimonial-text {
    font-size: 0.9rem;
    color: var(--dgray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
  }
  .testimonial-author {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .testimonial-org {
    font-size: 0.75rem;
    color: var(--mgray);
    margin-top: 0.2rem;
  }

  /* ─── CONTACT ──────────────────────────────────────────────── */
  #contact {
    padding: 5rem 0;
    background: var(--black);
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
  }
  .contact-info .section-title { color: var(--white); }
  .contact-info .section-body { color: rgba(255,255,255,0.55); margin-bottom: 2.5rem; }
  .contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }
  .contact-icon {
    width: 36px;
    height: 36px;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
  }
  .contact-detail-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
  }
  .contact-detail-text strong {
    display: block;
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.15rem;
  }
  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.85rem 1rem;
    font-family: var(--font);
    font-size: 0.875rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--red); }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .form-group select option { background: var(--black); }
  .form-submit { margin-top: 0.5rem; }
  .form-submit .btn { width: 100%; text-align: center; padding: 1rem 2rem; }
  .form-note {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.5;
  }

  /* ─── FOOTER ───────────────────────────────────────────────── */
  #footer {
    background: #0a0a0a;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.5rem;
  }
  .footer-logo {
    display: flex;
    align-items: stretch;
    margin-bottom: 1rem;
  }
  .footer-logo .one {
    background: var(--red);
    padding: 0.45rem 0.9rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
  }
  .footer-logo .company {
    background: #222;
    padding: 0.45rem 0.9rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
  }
  .footer-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    max-width: 240px;
    line-height: 1.6;
  }
  .footer-nav h5 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
  }
  .footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
  .footer-nav a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.15s;
  }
  .footer-nav a:hover { color: var(--white); }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
  .footer-bottom a:hover { color: var(--white); }
  .footer-red { color: var(--red); }

  /* ─── RESPONSIVE ───────────────────────────────────────────── */
  @media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid .testimonial-card:last-child { display: none; }
  }
  @media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .intro-grid { grid-template-columns: 1fr; gap: 3rem; }
    .intro-right { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .pipeline-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .pipeline-stats { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-photo { max-width: 260px; aspect-ratio: 1; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { display: block; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(1, 1fr); }
  }


/* ─── Service card photos ────────────────────────────────────────────────── */
.service-photo {
  height: 160px;
  background-size: cover;
  background-position: center;
  margin: -2rem -1.75rem 1.5rem;
  position: relative;
  flex-shrink: 0;
}
.service-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(17,17,17,0.35) 100%);
  transition: background 0.15s;
}
.service-card:hover .service-photo::after {
  background: linear-gradient(to bottom, rgba(204,41,41,0.2) 0%, rgba(17,17,17,0.6) 100%);
}

/* ─── Sector cards with photo backgrounds ────────────────────────────────── */
.sector-item {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  padding: 0;
  cursor: pointer;
  background: var(--black);
}
.sector-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.sector-item:hover .sector-bg { transform: scale(1.05); }
.sector-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.62);
  transition: background 0.2s;
}
.sector-item:hover .sector-overlay { background: rgba(204,41,41,0.72); }
.sector-content-inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
}
.sector-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.sector-arrow {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.sector-item:hover .sector-arrow { color: #FFFFFF; }

/* ─── Sector modal ───────────────────────────────────────────────────────── */
.sector-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.sector-modal-overlay.open { display: flex; }
.sector-modal-box {
  background: #FFFFFF;
  max-width: 640px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.sector-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}
.sector-modal-close:hover { color: #CC2929; }
.sector-modal-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CC2929;
  margin-bottom: 0.75rem;
}
.sector-modal-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #111111;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.sector-modal-body {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.sector-modal-note {
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
  border-top: 1px solid #eee;
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}
