/* ===================================================================
   PrintHub — Global Styles
   Figma-accurate design tokens + shared components
   =================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --blue: #0087fe;
  --blue-10: rgba(0, 135, 254, 0.10);
  --blue-20: rgba(0, 135, 254, 0.20);
  --blue-tint: #e6f3ff;
  --blue-gray: #f0f8fa;
  --dark: #000000;
  --dark-2: #272727;
  --chip-dark: #232323;
  --white: #ffffff;
  --text: #000000;
  --text-70: rgba(0, 0, 0, 0.70);
  --text-80: rgba(0, 0, 0, 0.80);
  --border-input: rgba(0, 0, 0, 0.24);
  --white-05: rgba(255, 255, 255, 0.05);
  --white-10: rgba(255, 255, 255, 0.10);
  --white-70: rgba(255, 255, 255, 0.70);

  --container: 1680px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;

  --btn-glow: inset 0 0 12px rgba(255, 255, 255, 0.25);
  --dark-inset: inset 0 1px 0 0 rgba(255, 255, 255, 0.30), inset 0 -3px 0 0 #080808;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  margin: 0;
  letter-spacing: -0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container-ph {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------- Typography ---------- */
.font-display { font-family: var(--font-display); }

.display-hero {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.text-blue { color: var(--blue); }
.text-underline-blue { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 6px; }

.lead-p {
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.5;
  color: var(--text-80);
  margin: 0;
}

.body-p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-80);
  margin: 0;
}

/* ---------- Badge (dot + label pill) ---------- */
.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--blue);
  border-radius: 14px;
  padding: 9px 18px;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  background: transparent;
  width: fit-content;
}
.ph-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex: 0 0 auto;
}
.ph-badge.on-dark { color: var(--white); border-color: rgba(255,255,255,0.6); }
.ph-badge.on-dark .dot { background: var(--white); }

/* ---------- Buttons ---------- */
.btn-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 18px 34px;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary-ph {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--btn-glow);
}
.btn-primary-ph:hover { background: #0072d6; color: var(--white); }
.btn-outline-ph {
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-outline-ph:hover { background: var(--text); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--text); }
.btn-white-blue {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--btn-glow);
}
.btn-white-blue:hover { background: #f0f0f0; color: var(--blue); }

/* ---------- Navbar ---------- */
.ph-navbar {
  position: absolute;
  top: 34px;
  left: 0; right: 0;
  z-index: 50;
}
.ph-navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ph-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: var(--text);
}
.ph-logo b { color: var(--blue); font-weight: 700; }
.ph-logo .n { color: var(--text); font-weight: 700; }

.nav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-10);
  border-radius: 14px;
  padding: 8px;
}
.nav-pill a {
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-80);
  background: var(--white);
  transition: all .18s ease;
  line-height: 1;
}
.nav-pill a:hover { color: var(--blue); }
.nav-pill a.active {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}
.nav-toggle {
  display: none;
  background: var(--blue);
  color: #fff;
  border: none;
  width: 52px; height: 52px;
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
}

/* logo image */
.ph-logo-link { display: inline-flex; align-items: center; }
.ph-logo-img { height: 46px; width: auto; }

/* ---------- Services mega-dropdown ---------- */
.nav-dd { position: relative; display: flex; }
.dd-trigger { display: inline-flex !important; align-items: center; gap: 6px; }
.dd-trigger i { font-size: 14px; transition: transform .2s; }
.nav-dd:hover .dd-trigger i { transform: rotate(180deg); }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  width: 600px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.16);
  padding: 16px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}
.mega-menu::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.nav-dd:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px); }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 6px 12px;
}
.mega-item {
  display: block;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-80);
  background: #fff;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.mega-item:hover { background: var(--blue-10); color: var(--blue); }
.mega-item.active { background: var(--blue); color: #fff; }

/* mobile services submenu */
.m-dd-trigger {
  background: none; border: none; width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px; border-radius: 10px; font-size: 18px; font-weight: 500; cursor: pointer;
}
.m-dd-trigger i { transition: transform .2s; }
.m-dd-trigger.open i { transform: rotate(180deg); }
.m-dd { display: none; flex-direction: column; padding-left: 10px; }
.m-dd.open { display: flex; }
.m-dd a { padding: 11px 12px; font-size: 16px; color: var(--text-80); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-lg { padding: 90px 0; }

.dark-section {
  background: var(--dark);
  color: var(--white);
  border-radius: 40px;
  padding: 70px 60px;
  box-shadow: var(--dark-inset);
  position: relative;
  overflow: hidden;
}
.dark-section .section-title { color: var(--white); }
.dark-section .lead-p,
.dark-section .body-p { color: var(--white-70); }

/* ---------- Hero ---------- */
.hero {
  background: var(--blue-10);
  border-radius: 0 0 40px 40px;
  position: relative;
  padding-top: 150px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-check {
  display: flex; flex-wrap: wrap;
  gap: 12px 28px;
}
.hero-check li {
  display: flex; align-items: center; gap: 8px;
  color: var(--blue); font-size: 18px; font-weight: 500;
}
.hero-check i { font-size: 20px; }
.arch-frame {
  position: relative;
  /* Figma: rounded-tl/tr-[11228px] + rounded-bl/br-[560px]. The huge top radius forces the CSS
     border-radius overlap-scaling to shrink every corner, so the real render is a domed top with
     an almost-square (slightly rounded) bottom. */
  border-radius: 50% 50% 4% 4% / 50% 50% 4% 4%;
  overflow: hidden;
  aspect-ratio: 700 / 675;
  background: var(--blue-10);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.floating-chip {
  position: absolute;
  top: 24px; left: -10px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
  font-size: 16px; font-weight: 600; color: var(--chip-dark);
  z-index: 3;
}
.floating-chip i { color: var(--blue); font-size: 22px; }

/* Rotating "Years of Experience" seal badge */
.seal-badge {
  position: absolute;
  right: -6px; bottom: 24px;
  width: 150px; height: 150px;
  z-index: 3;
}
.seal-badge .seal-ring {
  position: absolute; inset: 0;
  animation: seal-spin 18s linear infinite;
}
.seal-badge .seal-ring text { fill: #fff; font-family: var(--font-body); font-weight: 600; letter-spacing: 2px; }
.seal-badge .seal-core {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); font-size: 26px;
}
@keyframes seal-spin { to { transform: rotate(360deg); } }

/* ---------- Arch / bordered image frame (Figma: domed top, rounded-rect bottom) ---------- */
.circle-frame {
  border: 8px solid var(--blue);
  border-radius: 50% 50% 6% 6% / 46% 46% 5% 5%;
  overflow: hidden;
  aspect-ratio: 20 / 19;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: var(--blue-10);
}
.circle-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* For images that already include their own frame (e.g. contact-page):
   show the WHOLE image (arch + baseline) — never crop, always centred with breathing room. */
.pre-framed { width: 100%; max-width: 520px; margin: 0 auto; padding: 0 6px; }
.pre-framed img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;   /* guarantees the baked-in frame is never clipped */
}

/* Contact visual (Figma): a thin blue arch OUTLINE with the person overflowing above it.
   The arch is a border-only layer behind the person; the person's white photo background
   is dropped with mix-blend-mode so the arch shows around her — nothing is ever cropped. */
.contact-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.contact-arch {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: 8%;                  /* dome sits just above her head; her hair overflows the top */
  border: 6px solid var(--blue);
  border-radius: 50% 50% 22px 22px / 50% 50% 16px 16px;
  z-index: 1;
}
.contact-person {
  position: relative;
  z-index: 2;               /* transparent-bg cutout sits in front; arch shows around her */
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Stats ---------- */
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 600; font-size: 30px; color: var(--blue);
  letter-spacing: -0.03em;
}
.stat .lbl { font-size: 18px; color: var(--text-80); }

/* ---------- Service cards ---------- */
.svc-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.svc-scroll::-webkit-scrollbar { display: none; }
.svc-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 400 / 470;
  scroll-snap-align: start;
}
.svc-card img { width: 100%; height: 100%; object-fit: cover; }
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.svc-card .num-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
}
.svc-card .lbl-pill {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  background: #fff; color: var(--text);
  border-radius: 14px; padding: 16px;
  font-weight: 600; font-size: 20px; text-align: center;
}
.carousel-arrows { display: flex; gap: 14px; }
.carousel-arrows button {
  width: 60px; height: 60px; border-radius: 16px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 22px; cursor: pointer; transition: .2s;
  display: flex; align-items: center; justify-content: center;
}
.carousel-arrows button:hover { background: var(--blue); border-color: var(--blue); }

/* ---------- Feature / Why-choose cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.feature-card {
  background: var(--blue-gray);
  border-radius: 40px;
  padding: 35px;
}
.icon-box {
  width: 80px; height: 80px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  margin-bottom: 24px;
}
.feature-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; letter-spacing: -0.03em; margin: 0 0 12px;
}
.feature-card p { font-size: 20px; color: var(--text-80); margin: 0; line-height: 1.45; }

/* ---------- Process steps ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 50px;                 /* vertical centre of the 100px icons */
  left: 12.5%; right: 12.5%; /* centre of first col → centre of last col */
  border-top: 2px dashed rgba(0, 135, 254, 0.40);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-step .p-icon {
  width: 100px; height: 100px; border-radius: 22px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 46px; margin: 0 auto 20px;
}
.process-step .p-lbl {
  font-family: var(--font-display); font-weight: 500;
  font-size: 22px; letter-spacing: -0.03em;
}

/* ---------- Bulk feature cards (dark) ---------- */
.bulk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bulk-card {
  background: var(--white-10);
  border-radius: 30px;
  padding: 30px;
}
.bulk-card.filled { background: var(--blue); }
.bulk-card .b-icon {
  width: 64px; height: 64px; border-radius: 20px;
  background: var(--blue-20); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin-bottom: 20px;
}
.bulk-card.filled .b-icon { background: rgba(255,255,255,0.2); }
.bulk-card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 30px;
  color: #fff; letter-spacing: -0.03em; margin: 0 0 12px;
}
.bulk-card p { font-size: 18px; color: var(--white-70); margin: 0; line-height: 1.5; }
.bulk-card.filled p { color: rgba(255,255,255,0.9); }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-radius: 14px;
  background: var(--blue-tint);
  margin-bottom: 16px;
  overflow: hidden;
  transition: background .2s;
}
.faq-item.open { background: var(--blue); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 24px;
  cursor: pointer;
  font-size: 22px; font-weight: 500; letter-spacing: -0.03em;
}
.faq-item.open .faq-q { color: #fff; }
.faq-q .ic { flex: 0 0 auto; font-size: 26px; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px;
  color: #fff; font-size: 18px; line-height: 1.5;
}
.faq-item.open .faq-a { max-height: 260px; padding: 0 24px 24px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--blue);
  border-radius: 35px;
  padding: 80px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner .section-title { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.9); }

/* ---------- Contact form ---------- */
.ph-form label {
  display: block;
  font-size: 16px; font-weight: 500;
  margin-bottom: 8px;
}
.ph-form label .req { color: red; }
.ph-form .form-control-ph {
  width: 100%;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border-input);
  border-radius: 14px;
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  transition: border .2s;
}
.ph-form .form-control-ph:focus {
  outline: none; border-color: var(--blue);
}
.ph-form textarea.form-control-ph { min-height: 156px; resize: vertical; }
/* honeypot field — visually hidden, kept in the layout for bots */
.ph-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* form submit feedback */
.form-status { border-radius: 12px; padding: 13px 16px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.form-status.ok  { background: var(--blue-10); color: var(--blue); }
.form-status.err { background: #fdecec; color: #c0362c; }

/* ---------- Thank-you page ---------- */
.thankyou-card {
  position: relative;
  overflow: hidden;
  padding: 80px 32px;
  text-align: center;
}
.thankyou-inner { position: relative; z-index: 2; }
.thankyou-check {
  width: 92px; height: 92px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 46px;
  background: var(--blue);
}
@media (max-width: 768px) {
  .thankyou-card { padding: 56px 20px; }
  .thankyou-check { width: 76px; height: 76px; font-size: 38px; }
}

/* ---------- Footer ---------- */
.ph-footer {
  background: var(--dark);
  color: #fff;
  border-radius: 40px 40px 0 0;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 1.4fr;
  gap: 40px;
}
.footer-brand-line {
  font-size: 24px; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.25; margin-bottom: 18px;
  text-transform: capitalize;
}
.footer-desc { font-size: 18px; color: var(--white-70); line-height: 1.55; }
.footer-col h4 {
  font-size: 20px; font-weight: 700; margin: 0 0 20px;
}
.footer-col li { margin-bottom: 14px; }
.footer-col a { font-size: 18px; color: var(--white-70); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li {
  display: flex; align-items: center; gap: 12px;
  color: var(--white-70); font-size: 18px; margin-bottom: 16px;
}
.footer-contact i { color: var(--blue); font-size: 20px; }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.12); margin: 50px 0 24px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-bottom: 30px;
}
.footer-bottom p { margin: 0; color: var(--white-70); font-size: 18px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--white-05); border: 1px solid var(--white-10);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; transition: .2s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-watermark-band {
  position: relative;
  margin-top: 40px;
  padding: 90px 20px 80px;
  text-align: center;
  overflow: hidden;
  background-color: #06152e;
  background-image:
    /* fluted vertical texture: bright ridge -> gradual valley, 50px period */
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.10) 0,
      rgba(255,255,255,0.03) 2px,
      rgba(0,0,0,0.16) 50px),
    linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 30%),
    radial-gradient(ellipse 58% 150% at 50% 48%, #0e63d6 0%, #0b3f86 38%, rgba(3,10,26,0.95) 100%);
}
.footer-watermark-band .wm {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(54px, 8.5vw, 188px);
  line-height: 1;
  letter-spacing: -0.045em;
  /* metallic silver ramp: bright top -> deep blue-grey bottom for a 3D chrome look */
  background: linear-gradient(180deg, #ffffff 0%, #eaf1fb 42%, #9db4d6 78%, #6f86ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  /* soft downward depth shadow to give the wordmark 3D lift */
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.45));
}

/* ---------- Glow decoration ---------- */
.glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,135,254,0.35) 0%, rgba(0,135,254,0) 70%);
  pointer-events: none;
}
/* Footer top-edge glow: wide, sits at the very top and fades before the columns (Figma) */
.footer-glow {
  width: 1500px; height: 560px;
  background: radial-gradient(ellipse at center, rgba(0,135,254,0.55) 0%, rgba(0,135,254,0) 60%);
}

/* ---------- Generic page hero (inner pages) ---------- */
.page-hero {
  background: var(--blue-10);
  border-radius: 0 0 40px 40px;
  padding: 150px 0 70px;
  text-align: center;
}
.page-hero .display-hero { font-size: clamp(36px, 4.4vw, 64px); }

/* ---------- Legal / prose pages ---------- */
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin: 40px 0 16px; }
.prose p, .prose li { font-size: 18px; line-height: 1.7; color: var(--text-80); margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 24px; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .arch-frame { max-width: 500px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .bulk-grid { grid-template-columns: 1fr; }
  .dark-section { padding: 50px 30px; border-radius: 30px; }
  .cta-banner { padding: 50px 30px; }
  .two-col-reverse { flex-direction: column-reverse; }
}
@media (max-width: 768px) {
  .nav-pill, .ph-navbar .cta-desktop { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .ph-navbar { top: 20px; }
  .hero { padding-top: 110px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-row { gap: 28px; }
  .ph-footer, .dark-section, .cta-banner { padding-left: 22px; padding-right: 22px; }
  .display-hero { font-size: 40px; line-height: 1.1; }
}
@media (max-width: 520px) {
  .process-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-ph { width: 100%; }
  .hero-actions, .btn-group-ph { flex-direction: column; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transition: .25s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav .panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(300px, 82vw);
  background: #fff; padding: 28px 24px;
  transform: translateX(100%); transition: transform .25s;
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-nav.open .panel { transform: translateX(0); }
.mobile-nav a {
  padding: 14px 12px; border-radius: 10px; font-size: 18px; font-weight: 500;
}
.mobile-nav a.active { background: var(--blue); color: #fff; }
.mobile-nav .close-x { align-self: flex-end; font-size: 30px; background: none; border: none; cursor: pointer; margin-bottom: 10px; }

.btn-group-ph, .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Quote form card (product hero) ---------- */
.quote-card {
  background: #fff;
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.10);
  max-width: 560px;
  margin-left: auto;
}
.quote-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

/* ---------- Rounded-rectangle image frame (service pages) ---------- */
.rect-frame {
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: var(--blue-10);
}
.rect-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Diagonal ribbon marquee (service pages) ---------- */
.ribbon-band {
  position: relative;
  height: 240px;
  overflow: hidden;
  margin: 20px 0;
}
.ribbon {
  position: absolute;
  left: -6%; width: 112%;
  top: 72px;
  padding: 14px 0;
  overflow: hidden;
}
.ribbon-a { background: var(--blue); transform: rotate(-7deg); z-index: 2; }
.ribbon-b { background: var(--blue-tint); transform: rotate(7deg); z-index: 1; }
.ribbon-track {
  display: inline-flex; align-items: center; gap: 40px;
  white-space: nowrap;
  animation: ribbon-scroll 24s linear infinite;
}
.ribbon-b .ribbon-track { animation-direction: reverse; }
.ribbon-item {
  font-family: var(--font-display); font-weight: 600;
  font-size: 34px; letter-spacing: -0.02em; color: #fff;
  display: inline-flex; align-items: center; gap: 40px;
}
.ribbon-b .ribbon-item { color: var(--blue); }
.ribbon-item i { font-size: 20px; }
@keyframes ribbon-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- What's Included checklist ---------- */
.incl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.incl-grid li {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 500; color: var(--text-80);
}
.incl-grid i { color: var(--blue); font-size: 20px; flex: 0 0 auto; }
@media (max-width: 560px) { .incl-grid { grid-template-columns: 1fr; } .quote-card { padding: 24px; } }

/* ---------- Portfolio filter ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.filter-tabs button {
  border: 1px solid rgba(0,0,0,0.15); background: #fff; color: var(--text-80);
  border-radius: 40px; padding: 12px 26px; font-size: 17px; font-weight: 500; cursor: pointer; transition: .2s;
}
.filter-tabs button.active, .filter-tabs button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.gallery-item img { border-radius: 22px; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.gallery-item .cap { font-weight: 600; font-size: 18px; margin-top: 12px; }

/* ===================================================================
   Card hover interactions (site-wide)
   =================================================================== */
.feature-card,
.bulk-card,
.svc-card,
.process-step .p-icon,
.icon-box,
.b-icon {
  transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease;
}

/* Why-Choose / product option cards (light) */
.feature-card:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 135, 254, 0.16);
}
.feature-card:hover .icon-box { transform: scale(1.08) rotate(-3deg); }

/* Bulk & Corporate / Our Values cards (dark) */
.bulk-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.16);
}
.bulk-card.filled:hover {
  background: #0072d6;
  box-shadow: 0 22px 46px rgba(0, 135, 254, 0.35);
}
.bulk-card:hover .b-icon { transform: scale(1.08); }

/* Services carousel cards */
.svc-card img { transition: transform .45s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px rgba(0, 0, 0, 0.28); }
.svc-card:hover img { transform: scale(1.06); }
.svc-card .lbl-pill { transition: background .25s ease, color .25s ease; }
.svc-card:hover .lbl-pill { background: var(--blue); color: #fff; }

/* Our Work gallery */
.gallery-item img { transition: transform .35s ease, box-shadow .35s ease; }
.gallery-item:hover img { transform: scale(1.03); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.20); }

/* Process step icons */
.process-step:hover .p-icon { transform: translateY(-6px) scale(1.05); box-shadow: 0 16px 32px rgba(0, 135, 254, 0.30); }

@media (hover: none) {                 /* disable hover transforms on touch devices */
  .feature-card:hover, .bulk-card:hover, .svc-card:hover { transform: none; }
}

/* ===================================================================
   Responsive polish — full device coverage
   Appended last on purpose: only max-width overrides, so the desktop
   base layout above is never altered. Breakpoints are ordered large->small
   so the tightest rule always wins at the narrowest width.
   =================================================================== */

/* ---- Small laptop: tighten the full nav so it never overflows before
        the hamburger takes over at 992px ---- */
@media (min-width: 993px) and (max-width: 1120px) {
  .ph-navbar .nav-inner { gap: 12px; }
  .nav-pill { gap: 4px; padding: 6px; }
  .nav-pill a { padding: 11px 14px; font-size: 16px; }
  .btn-ph.cta-desktop { padding: 14px 22px; font-size: 17px; }
  .ph-logo-img { height: 40px; }
}

/* ---- Laptop / small desktop ---- */
@media (max-width: 1120px) {
  .section { padding: 60px 0; }
  .section-lg { padding: 74px 0; }
}

/* ---- Tablet: collapse nav to hamburger here (prevents overflow),
        drop the 4-column process connector, recentre stacked media ---- */
@media (max-width: 992px) {
  .nav-pill, .ph-navbar .cta-desktop { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .ph-navbar { top: 22px; }

  .section { padding: 54px 0; }
  .section-lg { padding: 64px 0; }
  .page-hero { padding: 128px 0 58px; }

  .process-row::before { display: none; }   /* connector only makes sense at 4 cols */

  .quote-card { margin-left: auto; margin-right: auto; }
  .hero-media-inner { margin-left: auto !important; margin-right: auto !important; }

  .ribbon-band { height: 200px; }
  .ribbon { top: 56px; }
  .ribbon-item { font-size: 28px; }
}

/* ---- Landscape phone / small tablet ---- */
@media (max-width: 768px) {
  .section { padding: 46px 0; }
  .section-lg { padding: 54px 0; }
  .page-hero { padding: 104px 0 50px; }
  .hero { border-radius: 0 0 28px 28px; padding-top: 104px; }

  .dark-section { padding: 40px 22px; border-radius: 28px; }
  .cta-banner { padding: 44px 24px; border-radius: 28px; }
  .ph-footer { padding-top: 56px; }

  .section-title { font-size: clamp(26px, 6vw, 34px); }
  .feature-card h3, .bulk-card h3 { font-size: 24px; }
  .feature-card p, .body-p { font-size: 17px; }
  .faq-q { font-size: 18px; padding: 20px; }
  .faq-a { font-size: 16px; }
  .process-step .p-lbl { font-size: 20px; }
  .footer-brand-line { font-size: 21px; }
  .quote-card { padding: 28px; }
  .quote-card-title { font-size: 24px; }

  .ribbon-band { height: 172px; }
  .ribbon { top: 48px; }
  .ribbon-item { font-size: 24px; }
}

/* ---- Phone ---- */
@media (max-width: 520px) {
  .container-ph { padding-left: 18px; padding-right: 18px; }
  .section { padding: 40px 0; }
  .section-lg { padding: 46px 0; }
  .display-hero { font-size: 34px; }

  .btn-ph { font-size: 18px; padding: 16px 24px; }
  .dark-section, .cta-banner { padding-left: 20px; padding-right: 20px; }

  .feature-card { padding: 26px; border-radius: 28px; }
  .icon-box { width: 64px; height: 64px; font-size: 30px; margin-bottom: 18px; }
  .stat-row { gap: 18px 32px; }

  /* keep hero decorations from crowding the small viewport */
  .seal-badge { width: 104px; height: 104px; right: 0; bottom: 12px; }
  .seal-badge .seal-core { width: 54px; height: 54px; font-size: 19px; }
  .floating-chip { left: 0; top: 14px; font-size: 14px; padding: 10px 14px; }
  .floating-chip i { font-size: 18px; }

  .ribbon-band { height: 150px; margin: 8px 0; }
  .ribbon { top: 40px; }
  .ribbon-item { font-size: 20px; gap: 22px; }
  .ribbon-item i { font-size: 13px; }
}

/* ---- Small phone ---- */
@media (max-width: 380px) {
  .container-ph { padding-left: 14px; padding-right: 14px; }
  .display-hero { font-size: 30px; }
  .section-title { font-size: 24px; }
  .btn-ph { font-size: 17px; padding: 15px 20px; }
  .quote-card { padding: 22px; }
  .footer-brand-line { font-size: 20px; }
}
