/* =========================================================
   PTS – Base tokens
   ========================================================= */

:root {
  /* Palette (blue / slate) */
  --pts-slate: #111827;
  --pts-slate-soft: #0f172a;
  --pts-accent: #38bdf8;      /* primary blue accent */
  --pts-accent-soft: #60a5fa;

  --pts-bg: #f9fafb;
  --pts-bg-card: rgba(255, 255, 255, 0.05);

  --pts-text-main: #dfe7f7;
  --pts-text-muted: #bcc4d3;

  --pts-border-soft: rgba(148, 163, 184, 0.55);

  /* Buttons */
  --pts-cta-bg: #3b72c5;
  --pts-cta-bg-hover: #3c60a6;
  --pts-cta-text: #ffffff;

  /* Radii & shadows */
  --pts-radius-md: 12px;
  --pts-radius-lg: 18px;
  --pts-radius-xl: 22px;
  --pts-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.18);
}

/* =========================================================
   Reset & base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: transparent; /* video sits behind */
  color: var(--pts-text-main);
  line-height: 1.5;
}

/* =========================================================
   Page shell & video background
   ========================================================= */

.page-shell {
  position: relative;
  min-height: 100vh;
  color: var(--pts-text-main);
}

.video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* =========================================================
   Layout containers
   ========================================================= */

.site-header-inner,
.site-footer-inner,
.hero-inner,
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-main {
  padding-bottom: 40px;
}

.site-footer {
  padding: 24px 0;
  margin-top: 32px;
}

/* Sections */

.section {
  padding: 40px 0;
}

.section-inner h1,
.section-inner h2 {
  margin-top: 0;
}

.section-lead {
  max-width: 36rem;
  color: var(--pts-text-muted);
}

/* Generic grids & cards */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

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

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

.card {
  background-color: var(--pts-bg-card);
  border-radius: var(--pts-radius-md);
  padding: 18px 18px 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* =========================================================
   Header & navigation
   ========================================================= */


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

/* Brand (logo + lockup) */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f9fafb;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 32px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.brand-sub {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* Desktop navigation */

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #e5e7eb;
  border: 1px solid transparent;
  transition:
      background-color 0.15s ease,
      border-color 0.15s ease,
      color 0.15s ease,
      transform 0.05s ease;
}

/* Current page – white pill */
.site-nav a.is-active {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.30);
}

/* Hover on non-current links – blue pill */
.site-nav a:not(.is-active):hover {
  background-color: rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.50);
  color: #f9fafb;
  transform: translateY(-1px);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.25);
  cursor: pointer;
}
.nav-toggle:hover {
  background: rgba(15, 23, 42, 0.4);
}
.nav-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}
.nav-toggle-line {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background-color: #e5e7eb;
}

/* Mobile behaviour */

@media (max-width: 768px) {
  .site-header-inner {
    padding-inline: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    margin-top: 8px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.75);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
  }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding: 56px 0 40px;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--pts-text-main);
  margin: 0 0 12px;
}

.hero-text {
}

/* =========================================================
   Alerts, validation & misc
   ========================================================= */

.alert {
  margin: 16px 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.alert-success {
  background-color: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.field-error {
  margin-top: 4px;
  font-size: 0.8rem;
  color: #b91c1c;
}

/* Captcha row */

.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.captcha-question {
  font-size: 0.9rem;
}

.captcha-input {
  max-width: 90px;
}

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

/* --- Why PTS slider with image backgrounds & smooth crossfade --- */

.section-why {
  padding-top: 32px;
}

.why-slider {
  position: relative;
  margin-top: 20px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 300px; /* adjust taller/shorter as desired */
  color: #f9fafb;
  box-shadow: var(--pts-shadow-soft);
}

/* Slides stack and crossfade via parent opacity */
.why-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  transition: opacity 1.4s ease-in-out; /* crossfade duration */
}

.why-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Background image layer */
.why-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}

/* Per-slide images (root-relative from /assets) */
.why-slide--power .why-slide-bg {
  background-image: url('/assets/power-first-1229x578.jpg');
}

.why-slide--owner .why-slide-bg {
  background-image: url('/assets/owner-1229x578.jpg');
}

.why-slide--system .why-slide-bg {
  background-image: url('/assets/systematized-1229x578.jpg');
}

/* Text content panel over the image */
.why-slide-content {
  position: relative;
  margin: 24px 24px 32px;
  max-width: 520px;
  padding: 20px 22px 22px;
  border-radius: 18px;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.35)
  );
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);

  /* IMPORTANT: default hidden so it never "pops back" when animation ends */
  opacity: 0;
  transform: translate(0, 0) scale(1.0);
}

.why-slide-content h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.why-slide-content p {
  margin: 0;
  color: rgba(226, 232, 240, 0.9);
}

/* When a slide becomes active:
   - Image: quick fade/scale-in
   - Text: delayed fade-in, then slow drift right + gentle scale-up, then fade out
*/
.why-slide.is-active .why-slide-bg {
  animation: whyImageIntro 18s ease-out;
}

.why-slide.is-active .why-slide-content {
  animation: whyContentCycle 18s linear;
}

/* Image intro: fade in at start, then stay visible until slide crossfades out */
@keyframes whyImageIntro {
  0% {
    opacity: 0;
    transform: scale(1.03);
  }
  5% {
    opacity: 1;
    transform: scale(1.0);
  }
  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}

/*
  Content cycle (14s total, synced with JS SLIDE_DURATION = 14000):

  - 0–14%     : hidden, slightly enlarged
  - 14–26%    : fade in + shrink to normal size
  - 26–75%    : very slow drift right + gentle scale up (toward ~15% right, ~1.08 scale)
  - 75–85%    : fade out while near final position
  - 85–100%   : remain hidden (image only visible)

  This gives time for:
    - image alone
    - image + moving/growing text
    - image alone again before crossfade
*/
@keyframes whyContentCycle {
  /* 0–10%: hidden, no motion yet (image only) */
  0% {
    opacity: 0;
    transform: translateX(0) scale(1.00);
  }
  10% {
    opacity: 0;
    transform: translateX(0) scale(1.00);
  }

  /* 10–25%: gentle fade-in, tiny size increase, still anchored left */
  25% {
    opacity: 1;
    transform: translateX(1%) scale(1.02);
  }

  /* 25–80%: very slow, steady drift to the right + slow continuous growth.
     Motion is small so the text stays easy to read. */
  80% {
    opacity: 1;
    transform: translateX(4%) scale(1.06);
  }

  /* 80–90%: fade out at final position/size */
  95% {
    opacity: 0;
    transform: translateX(4%) scale(1.06);
  }

  /* 90–100%: remain hidden (image only until the slide crossfades) */
  100% {
    opacity: 0;
    transform: translateX(4%) scale(1.06);
  }
}

/* Pagination dots */
.why-pagination {
  position: absolute;
  left: 24px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.why-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background-color: rgba(148, 163, 184, 0.6);
  cursor: pointer;
}

.why-dot.is-active {
  width: 18px;
  background-color: #38bdf8;
}

@media (max-width: 640px) {
  .why-slide-content {
    margin: 18px 16px 32px;
    padding: 16px 16px 18px;
  }

  .why-pagination {
    left: 16px;
    bottom: 14px;
  }
}

/* =========================================================
   What we do (transparent section, borderless cards)
   ========================================================= */

.section-what.section-alt {
  background-color: transparent;
}

.section-what .what-grid {
  margin-top: 20px;
}

.section-what .what-card {
  background-color: rgba(201,212,238,0.08);
  border-radius: var(--pts-radius-lg);
  box-shadow: var(--pts-shadow-soft);
  color: #e5e7eb;
  border: none; /* no border */
}

.section-what .what-card h3 {
  margin-top: 4px;
}

.section-what .what-card p {
  color: rgba(226, 232, 240, 0.9);
}

/* Icon chips – larger, detailed SVGs (no circular border) */
.what-icon {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
  color: #60a5fa; /* default; each modifier overrides below */
}

/* Bigger, crisper icons */
.what-icon svg {
  width: 40px;              /* ~3× the old visual size */
  height: 40px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Per-card accent colors */
.what-icon--de  { color: #60a5fa; } /* Design & engineering – blue */
.what-icon--cm  { color: #22c55e; } /* Construction/owners rep – green */
.what-icon--bf  { color: #facc15; } /* Budget & finance – yellow */
.what-icon--3d  { color: #a855f7; } /* 3D shells & Faraday – purple */
.what-icon--mep { color: #fb7185; } /* Power & MEP – red/pink */
.what-icon--sc  { color: #38bdf8; } /* Supply chain – cyan */

/* =========================================================
   Our process (borderless cards, subtle glow + right brace)
   ========================================================= */

.section-process {
  padding-top: 32px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 960px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.section-process .process-step {
  background-color: rgba(250,250,250,0.08);
  border-radius: var(--pts-radius-md);
  position: relative;
  padding: 18px 70px 18px 18px;   /* extra room on right for brace */
  box-shadow: var(--pts-shadow-soft);
  border: none; /* no border */
}

.section-process .process-step h3 {
  margin-top: 4px;
}

.section-process .process-step p {
  color: rgba(226, 232, 240, 0.9);
}

/* First three steps get a tall, right-pointing brace */
.section-process .process-step:nth-child(-n+3)::after {
  content: "}";
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif; 
  position: absolute;
  right: -13px;
  top: 48%;
  transform: translateY(-50%) scaleY(4.1); /* stretch vertically */
  transform-origin: center;
  font-size: 67px;
  font-weight: 300;
  line-height: 0.9;
  color: rgba(182,215,255,0.50);
  opacity: 0.8;
  pointer-events: none;
}

/* Tablet: slightly smaller brace */
@media (max-width: 960px) {
  .section-process .process-step:nth-child(-n+3)::after {
    right: -5px;
    top: 47%;
    font-size: 42px;
    transform: translateY(-50%) scaleY(4.9);
  }
}

/* Phones: smaller again so it doesn't dominate the card */
@media (max-width: 640px) {
  .section-process .process-step:nth-child(-n+3)::after {
    right: 6px;
    top: 50%;
    font-size: 36px;
    transform: translateY(-50%) scaleY(2.0);
  }
}

/* On smaller screens (stacked layout), remove brace and reset padding */
@media (max-width: 960px) {
  .section-process .process-step {
    padding: 18px;
  }

  .section-process .process-step::after {
    content: none;
  }
}

/* Circular step number */
.process-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e5e7eb;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), transparent 70%),
    rgba(15, 23, 42, 1);
  margin-bottom: 8px;
}

/* =========================================================
   Split layout: Power-first (left) + Sister companies (right)
   ========================================================= */

/* Split layout: Power-first (left) + Sister companies (right) */
.section-highlight-siblings-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  column-gap: 64px;           /* more horizontal space between the two blocks */
  row-gap: 16px;
  align-items: flex-start;
}

/* Left column */
.highlight-col h2 {
  margin-top: 0;
}

.highlight-col p {
  margin-bottom: 8px;
  color: var(--pts-text-main);
}

.highlight-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--pts-text-muted);
}

.highlight-col ul li + li {
  margin-top: 4px;
}

/* Right column – center this block within the available space */
.siblings-col {
  max-width: 440px;           /* keeps the Sister companies block from stretching too wide */
  width: 100%;
  justify-self: center;       /* center within its grid column */
}

.highlight-col h2 {
  margin-top: 0;
}

.highlight-col p {
  margin-bottom: 8px;
  color: var(--pts-text-main);
}

.highlight-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--pts-text-muted);
}

.highlight-col ul li + li {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .section-highlight-siblings-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 24px;
    justify-items: flex-start;   /* left-align on mobile */
  }

  .siblings-col {
    max-width: none;
    justify-self: flex-start;
  }
}

/* =========================================================
   Mid-page highlight card ("Power-first. Owner-aligned.")
   ========================================================= */

.section-cta-highlights .cta-panel {
  margin-top: 20px;
  border-radius: var(--pts-radius-xl);
  padding: 22px 24px 20px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.20), transparent 60%),
    rgba(15, 23, 42, 0.95);
  box-shadow: var(--pts-shadow-soft);
  color: #e5e7eb;
  border: none; /* no border */
}

.section-cta-highlights .cta-panel h2 {
  margin-top: 0;
  margin-bottom: 6px;
}

.section-cta-highlights .cta-panel p {
  margin: 0 0 8px;
  color: rgba(226, 232, 240, 0.9);
}

.section-cta-highlights .cta-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.9);
}

.section-cta-highlights .cta-list li + li {
  margin-top: 3px;
}

/* =========================================================
   Sister companies – logo + text, whole row is a link
   ========================================================= */

.siblings-row {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sibling {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  text-decoration: none;
  color: #e5e7eb;
  background: none;
  border: none;
}

.sibling-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 7px;
}

.sibling-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sibling-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;          /* company name in white */
}

.sibling-desc {
  font-size: 0.9rem;
  color: var(--pts-text-muted);
}

/* Hover: just brighten the name slightly */
.sibling:hover .sibling-name {
  color: #a5f3fc;
  text-decoration: none;
}

@media (max-width: 640px) {
  .sibling {
    align-items: flex-start;
  }
}

/* =========================================================
   Services page layout & mirrored gradients
   ========================================================= */

.section-services {
  padding-top: 40px;
}

.section-services .section-lead {
  max-width: 1100px;
}

.services-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .service {
    grid-template-columns: minmax(0, 1fr);
  }
}

.service-visual,
.service-body {
  border-radius: var(--pts-radius-lg);
  overflow: hidden;
}

/* Visuals: campus/design/owners/MEP/supply – subdued accent gradients */

/* Center images inside service visuals */
.service-visual {
  min-height: 180px;
  display: flex;
  align-items: center;   /* vertical centering */
  justify-content: center; /* horizontal centering */
  overflow: hidden;
  border-radius: var(--pts-radius-lg);
}

/* Make the image fill the card nicely */
.service-visual img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;     /* use 'contain' if you prefer no cropping */
}

/* Campus – green */
.service--campus .service-visual {
  background-image: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.7),
    rgba(34, 197, 94, 0.7)    /* green, 50% */
  );
}
.service--campus .service-body {
  background-image: linear-gradient(
    315deg,
    rgba(15, 23, 42, 0.8),
    rgba(34, 197, 94, 0.5)
  );
}

/* Design & engineering – blue */
.service--design .service-visual {
  background-image: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.7),
    rgba(59, 130, 246, 0.7)   /* blue, 50% */
  );
}
.service--design .service-body {
  background-image: linear-gradient(
    315deg,
    rgba(15, 23, 42, 0.8),
    rgba(59, 130, 246, 0.5)
  );
}

/* Owners’ representation – purple */
.service--owners .service-visual {
  background-image: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.7),
    rgba(139, 92, 246, 0.7)   /* purple, 50% */
  );
}
.service--owners .service-body {
  background-image: linear-gradient(
    315deg,
    rgba(15, 23, 42, 0.8),
    rgba(139, 92, 246, 0.5)
  );
}

/* Power & MEP systems – red */
.service--mep .service-visual {
  background-image: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.7),
    rgba(239, 68, 68, 0.7)    /* red, 50% */
  );
}
.service--mep .service-body {
  background-image: linear-gradient(
    315deg,
    rgba(15, 23, 42, 0.8),
    rgba(239, 68, 68, 0.5)
  );
}

/* Supply chain & fabrication – orange */
.service--supply .service-visual {
  background-image: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.7),
    rgba(249, 115, 22, 0.7)   /* orange, 50% */
  );
}
.service--supply .service-body {
  background-image: linear-gradient(
    315deg,
    rgba(15, 23, 42, 0.8),
    rgba(249, 115, 22, 0.5)
  );
}

/* Mirrored body gradients */

.service-body {
  padding: 20px 22px;
  color: #e5e7eb;
  backdrop-filter: blur(8px);
  border: none;
}

.service-body h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.service-items {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.94rem;
  color: rgba(226, 232, 240, 0.9);
}

.service-items li + li {
  margin-top: 4px;
}

/* =========================================================
   Contact layout (borderless panel + globe)
   ========================================================= */

.contact-inner {
  max-width: 1120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 20px;
  align-items: center;
}

.contact-main .contact-form {
  max-width: 520px;
  background-color: rgba(15, 23, 42, 0);
  border-radius: var(--pts-radius-lg);
  padding: 20px 22px;
  border: none; /* no border */
  margin-top: 0;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  font: inherit;
  color: #111827;
  background-color: rgba(255,255,255,0.88);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--pts-accent-soft);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

/* Globe aside */

.contact-aside {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-globe {
  width: 100%;
  max-width: 440px;
  padding: 0;
  background: none;
}

.contact-globe img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 88%;
  border-radius: 999px;
  box-shadow: none;
}

/* Honeypot hidden off-screen */

.hp-wrapper {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Stack layout on mobile; globe after form */

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-aside {
    order: 1; /* globe AFTER form */
    margin-top: 12px;
  }

  .contact-globe {
    width: 55%;
  }
}

/* =========================================================
   Buttons (used for Send etc.)
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
      background-color 0.15s ease,
      color 0.15s ease,
      border-color 0.15s ease,
      transform 0.05s ease;
}

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

.btn-primary {
  background-color: var(--pts-cta-bg);
  color: var(--pts-cta-text);
}

.btn-primary:hover {
  background-color: var(--pts-cta-bg-hover);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  color: #e5e7eb;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-mark {
  height: 24px;
  width: 24px;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-subtitle {
  font-size: 0.85rem;
  color: rgba(209, 213, 219, 0.9);
}

.footer-meta {
  text-align: right;
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(209, 213, 219, 0.9);
}

@media (max-width: 720px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}

/* ===== Mobile Hamburger Nav (iOS-safe) ===== */

.site-header {
  position: relative;
  z-index: 50;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle__bars {
  width: 26px;
  height: 18px;
  position: relative;
  display: block;
  background:
    linear-gradient(#fff,#fff) 0 50% / 26px 2px no-repeat;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: #fff;
}

.nav-toggle__bars::before { top: 3px; }
.nav-toggle__bars::after  { top: 13px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  #site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    margin-top: 12px;
    background: rgba(8,14,32,.95);
    border-radius: 14px;
    padding: 12px;
  }

  .site-header.nav-open #site-nav {
    display: block;
  }
}

/* Animate to X */
.site-header.nav-open .nav-toggle__bars {
  background-size: 0 2px;
}
.site-header.nav-open .nav-toggle__bars::before {
  top: 8px;
  transform: rotate(45deg);
}
.site-header.nav-open .nav-toggle__bars::after {
  top: 8px;
  transform: rotate(-45deg);
}
