/* PGR Drill Tech — site styles
   Brand: navy #17224D · green #1BA64A · blue #0A71B2 · yellow #FDC50E · orange #F15A22 */

:root {
  --navy: #17224D;
  --navy-2: #222D5C;
  --navy-line: #343F6B;
  --green: #1BA64A;
  --blue: #0A71B2;
  --yellow: #FDC50E;
  --orange: #F15A22;
  --accent: var(--orange);
  --ink: #17224D;
  --muted: #4A5373;
  --muted-light: #C3C9DD;
  --muted-lighter: #D5DAEA;
  --faint: #9AA3C2;
  --line: #E3E6EF;
  --line-2: #C9CFDF;
  --tint: #F4F6FA;
  --placeholder: #E9ECF3;
  --display: 'Montserrat', system-ui, sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 8px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Buttons */
.btn { font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; padding: 15px 26px; border-radius: 10px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn--accent, .btn--accent:hover { background: var(--accent); color: var(--navy); }
.btn--navy, .btn--navy:hover { background: var(--navy); color: #fff; }
.btn--white, .btn--white:hover { background: #fff; color: var(--navy); }
.btn--ghost-light, .btn--ghost-light:hover { color: #fff; border: 1.5px solid #5A6488; background: transparent; }
.btn--ghost, .btn--ghost:hover { color: var(--navy); border: 1.5px solid var(--navy); background: transparent; }
.btn--sm { font-size: 15px; padding: 11px 20px; min-height: 44px; }
.link-arrow { font-family: var(--display); font-weight: 700; font-size: 15px; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }

/* Top bar + header */
.topbar { background: var(--navy); color: var(--muted-lighter); font-size: 14px; }
.topbar__inner { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; align-items: center; }
.topbar__links { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a { color: var(--muted-lighter); text-decoration: none; }
.topbar a.topbar__phone { color: var(--yellow); font-weight: 600; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { padding-top: 16px; padding-bottom: 16px; display: flex; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-header__logo img { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px 26px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.site-nav a:not(.btn) { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-nav__cta { margin-left: 10px; font-size: 15px; padding: 12px 22px; min-height: 44px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-2); border-radius: 10px; width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 32px 24px; box-shadow: 0 18px 30px rgba(10,16,40,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--line); }
  .site-nav__cta { margin: 16px 0 0; }
  .site-header__inner { position: relative; }
}

/* Shared bits */
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow-row { display: flex; gap: 10px; align-items: center; }
.diamond { width: 18px; height: 18px; border-radius: 5px; transform: rotate(45deg); display: inline-block; margin: 4px 0 6px 4px; flex: none; }
.diamond--sm { width: 10px; height: 10px; border-radius: 3px; margin: 0; }
.bg-green { background: var(--green); } .bg-blue { background: var(--blue); } .bg-yellow { background: var(--yellow); } .bg-orange { background: var(--orange); }
.quartet { display: flex; height: 6px; }
.quartet span { flex: 1; }

.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.section-head__title { flex: 1 1 520px; display: flex; flex-direction: column; gap: 14px; }
.section-head__aside { flex: 1 1 380px; max-width: 460px; color: var(--muted); }
.section--navy .section-head__aside { color: var(--muted-light); }
.h2 { font-weight: 800; font-size: 44px; line-height: 1.1; letter-spacing: -.015em; }
.h2--md { font-size: 40px; line-height: 1.12; }
.h2--sm { font-size: 34px; line-height: 1.15; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero__inner { padding-top: 72px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__copy .eyebrow { color: var(--yellow); }
.hero h1 { font-weight: 800; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.hero__lead { font-size: 20px; line-height: 1.55; color: var(--muted-lighter); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__tagline { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.hero__media { flex: 1 1 460px; min-width: 0; position: relative; }
.hero__media img { width: 100%; height: 520px; object-fit: cover; object-position: 60% 30%; border-radius: 18px; }
.hero__badge { position: absolute; left: -20px; bottom: 28px; background: #fff; color: var(--navy); border-radius: 14px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; box-shadow: 0 18px 40px rgba(10,16,40,.28); }
.hero__badge strong { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.hero__badge span { font-size: 14px; line-height: 1.3; color: var(--muted); }

.page-hero { background: var(--navy); color: #fff; }
.page-hero__inner { padding-top: 72px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-end; justify-content: space-between; }
.page-hero__copy { flex: 1 1 560px; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.02em; max-width: 900px; }
.page-hero p { font-size: 20px; color: var(--muted-lighter); max-width: 720px; }
.page-hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.page-hero__stats strong { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.1; }
.page-hero__stats span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }

/* Stats */
.stats { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { padding-top: 38px; padding-bottom: 38px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.stat strong { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.1; }
.stat span { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card--pad { padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.card--flat { border: 0; }
.card h3 { font-weight: 700; font-size: 21px; line-height: 1.3; }
.card p { color: var(--muted); }
.cap-card { overflow: hidden; display: flex; flex-direction: column; }
.cap-card img { width: 100%; height: 200px; object-fit: cover; }
.cap-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cap-card__num { font-family: var(--mono); font-size: 13px; }
.cap-card h3 { font-size: 20px; }
.cap-card p { font-size: 16px; }
.num-green { color: var(--green); } .num-blue { color: var(--blue); } .num-yellow { color: #A67600; } .num-orange { color: #D84A12; }
.also-strip { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 20px 24px; background: var(--tint); border-radius: 14px; font-size: 16px; }
.also-strip strong { font-family: var(--display); }
.also-strip .dot { color: var(--faint); }

/* Workflow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.flow li { padding: 28px 28px 28px 0; border-top: 2px solid; display: flex; flex-direction: column; gap: 10px; }
.flow li:nth-child(1) { border-color: var(--green); } .flow li:nth-child(2) { border-color: var(--blue); }
.flow li:nth-child(3) { border-color: var(--yellow); } .flow li:nth-child(4) { border-color: var(--orange); }
.flow__phase { font-family: var(--mono); font-size: 14px; color: var(--faint); }
.flow__title { font-family: var(--display); font-weight: 700; font-size: 21px; }
.flow__text { font-size: 16px; color: var(--muted-light); }

/* Split layouts */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split--top { align-items: flex-start; }
.split > * { flex: 1 1 460px; min-width: 0; }
.split__img { width: 100%; height: 460px; object-fit: cover; border-radius: 18px; }
.photo-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.photo-stack img { width: 100%; height: 183px; object-fit: cover; border-radius: 16px; }
.photo-stack img:first-child { grid-row: span 2; height: 380px; }

/* Service rows */
.service-rows { display: flex; flex-direction: column; gap: 72px; }
.service-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.service-row--rev { flex-direction: row-reverse; }
.service-row > * { flex: 1 1 440px; min-width: 0; }
.service-row img { width: 100%; height: 400px; object-fit: cover; border-radius: 18px; }
.service-row__copy { display: flex; flex-direction: column; gap: 16px; }
.service-row__num { font-family: var(--mono); font-size: 14px; }
.service-row h2 { font-weight: 800; font-size: 34px; line-height: 1.15; }
.service-row ul { margin: 0; padding-left: 20px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.deliverable { padding-top: 14px; border-top: 1px dashed var(--muted-lighter); font-family: var(--mono); font-size: 13px; }

/* Lists */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tile { background: #fff; border-radius: 12px; padding: 18px 20px; font-family: var(--display); font-weight: 600; font-size: 16px; }
.section--white .tile { background: var(--tint); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 3px; }
.checklist strong { font-family: var(--display); }

/* CTA band */
.cta-band { background: var(--accent); color: var(--navy); }
.cta-band__inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-band__copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 10px; }
.cta-band h2 { font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.015em; }
.cta-band p { font-size: 19px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Filters + gallery */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { font-family: var(--display); font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 999px; min-height: 44px; cursor: pointer; background: #fff; color: var(--navy); border: 1.5px solid var(--line-2); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery-grid figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--placeholder); }
.gallery-grid img { width: 100%; height: 380px; object-fit: cover; transition: transform .3s ease; }
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(to top, rgba(10,16,40,.82), rgba(10,16,40,0)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.gallery-grid figcaption span:first-child { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.gallery-grid figcaption span:last-child { font-family: var(--display); font-weight: 600; font-size: 15px; }
[hidden] { display: none !important; }
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.strip img { width: 100%; height: 300px; object-fit: cover; border-radius: 14px; }

/* Projects */
.project-card { overflow: hidden; display: flex; flex-direction: column; }
.project-card__img { height: 220px; position: relative; background: var(--placeholder); }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; }
.project-card__tag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 6px; }
.project-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.project-card__body h2 { font-weight: 700; font-size: 20px; }
.specs { margin: 6px 0 0; padding-top: 14px; border-top: 1px dashed var(--muted-lighter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 15px; }
.specs dt { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.notice { background: var(--tint); border-radius: 18px; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.notice__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 10px; }

/* Jobs */
.jobs { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.job { background: #fff; border-radius: 14px; padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
.job__title { font-family: var(--display); font-weight: 700; font-size: 19px; display: block; }
.job__meta { font-family: var(--mono); font-size: 13px; color: var(--muted); }

/* Forms */
.form { background: var(--tint); border-radius: 18px; padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-content: start; }
.form--white { background: #fff; }
.form__full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--display); font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea { font: 400 16px var(--body); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; min-height: 48px; color: var(--ink); background: #fff; width: 100%; }
.form input[type="file"] { border-style: dashed; border-color: var(--faint); }
.form textarea { resize: vertical; min-height: 120px; }
.form button { justify-self: start; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 14px; color: var(--muted); }
.alert { grid-column: 1 / -1; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.alert--ok { background: #E8F6EE; color: #11622C; }
.alert--err { background: #FDECE6; color: #9A2E0B; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.contact-card .eyebrow { font-size: 12px; }
.contact-card__big { font-family: var(--display); font-weight: 800; font-size: 28px; text-decoration: none; }
.contact-card__mid { font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration: none; word-break: break-word; }
.map { width: 100%; height: 400px; border: 0; border-radius: 18px; display: block; }

/* Footer */
.site-footer { background: var(--navy); color: var(--muted-light); font-size: 15px; }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; margin-bottom: 44px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand img { height: 48px; width: auto; align-self: flex-start; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__head { font-family: var(--display); font-weight: 700; color: #fff; margin-bottom: 4px; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer a.site-footer__phone { color: var(--yellow); font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--navy-line); font-size: 14px; }

/* Small screens */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .page-hero__inner { padding-top: 48px; padding-bottom: 44px; }
  .cta-band__inner { padding-top: 48px; padding-bottom: 48px; }
  .section { padding: 64px 0; }
  .h2, .h2--md { font-size: 32px; }
  .h2--sm, .service-row h2 { font-size: 28px; }
  .cta-band h2 { font-size: 30px; }
  .hero__inner { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero__media img { height: 360px; }
  .hero__badge { left: 12px; bottom: 12px; }
  .hero__lead, .page-hero p { font-size: 18px; }
  .split__img, .service-row img { height: 300px; }
  .split > *, .service-row > *, .hero__copy, .hero__media { flex-basis: 100%; }
  .photo-stack img:first-child { height: 300px; }
  .photo-stack img { height: 143px; }
  .form, .notice { padding: 24px; }
  .topbar__address { display: none; }
  .site-header__logo img { height: 44px; }
  .site-nav { padding: 8px 20px 24px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-top: 28px; padding-bottom: 28px; }
  .stat strong { font-size: 32px; }
  .stat span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery-grid img { transition: none; }
}
