:root {
  --pm-min-primary: #17324a;
  --pm-min-primary-hover: #24465f;
  --pm-min-logo-blue: #0072bc;
  --pm-min-logo-blue-hover: #005f9c;
  --pm-min-ink: #17212b;
  --pm-min-muted: #66727e;
  --pm-min-bg: #f5f6f7;
  --pm-min-surface: #ffffff;
  --pm-min-soft: #f8f9fa;
  --pm-min-line: #e1e5e8;
  --pm-min-radius: 10px;
  --pmtech-navy: var(--pm-min-primary);
  --pmtech-blue: var(--pm-min-primary);
  --pmtech-cyan: var(--pm-min-primary);
  --pmtech-green: var(--pm-min-primary);
  --pmtech-ink: var(--pm-min-ink);
  --pmtech-muted: var(--pm-min-muted);
  --pmtech-surface: var(--pm-min-soft);
  --pmtech-line: var(--pm-min-line);
  --pmtech-blue-primary: var(--pm-min-primary);
  --pmtech-blue-dark: var(--pm-min-primary);
  --pmtech-blue-accent: var(--pm-min-primary);
  --pmtech-blue-hover: var(--pm-min-primary-hover);
  --aman-blue: var(--pm-min-primary);
  --aman-blue-dark: var(--pm-min-primary);
  --aman-orange: var(--pm-min-primary);
  --aman-orange-hover: var(--pm-min-primary-hover);
  --aman-bg: var(--pm-min-bg);
  --aman-border: var(--pm-min-line);
  --aman-shadow: none;
}

html { scroll-behavior: smooth; }

html.pmtech-story-mode {
  scroll-snap-type: y proximity;
  scroll-padding-top: 92px;
}

.pmtech-story-page > * {
  scroll-snap-align: start;
  scroll-margin-top: 92px;
}

.pmtech-page-enter {
  perspective: 1300px;
  transform-style: preserve-3d;
  animation: pmtech-page-in .5s cubic-bezier(.2, .8, .25, 1) both;
}

.pmtech-reveal {
  opacity: 0;
  transform: perspective(1100px) translateY(32px) rotateX(5deg) rotateY(-1deg);
  transform-origin: center bottom;
  will-change: opacity, transform;
  transition: opacity .62s ease var(--pmtech-reveal-delay, 0ms), transform .72s cubic-bezier(.2, .82, .24, 1) var(--pmtech-reveal-delay, 0ms);
}

.pmtech-reveal.pmtech-scene-1 {
  transform: perspective(1100px) translate3d(-34px, 28px, -40px) rotateY(5deg) rotateX(4deg);
}

.pmtech-reveal.pmtech-scene-2 {
  transform: perspective(1100px) translate3d(34px, 28px, -40px) rotateY(-5deg) rotateX(4deg);
}

.pmtech-reveal.pmtech-reveal-visible {
  opacity: 1;
  transform: perspective(1100px) translateY(0) rotateX(0) rotateY(0);
  will-change: auto;
}

body {
  background: var(--pm-min-bg) !important;
  color: var(--pm-min-ink) !important;
  line-height: 1.7;
}

button,
a,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--pm-min-primary) !important;
  outline-offset: 2px;
}

#main-content {
  width: min(1280px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header: one quiet surface, one accent color. */
.aman-topbar { display: none !important; }

.aman-header {
  background: rgba(255, 255, 255, .97) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pm-min-line) !important;
  box-shadow: none !important;
  padding: .7rem 1.5rem !important;
  backdrop-filter: blur(12px);
}

.aman-header-main {
  max-width: 1280px !important;
  min-height: 54px;
}

.aman-header-main a img {
  width: auto !important;
  height: 44px !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none !important;
}

/* Logo link: dead-centered across the whole header */
.aman-header { position: relative; }
.aman-header-main > a {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  line-height: 0;
}

/* Narrow desktop band: shrink logo + tighten nav so nothing overlaps */
@media (min-width: 769px) and (max-width: 1120px) {
  .aman-header-main > a img { height: 38px !important; }
  .header-nav-inline { gap: .85rem !important; }
  .header-nav-link { font-size: .8rem !important; padding: .4rem 0 !important; }
}

.header-nav-inline { gap: 1.35rem !important; }

.header-nav-link {
  color: #495661 !important;
  font-size: .88rem !important;
  padding: .45rem 0 !important;
  border-bottom: 2px solid transparent;
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--pm-min-logo-blue) !important;
  border-bottom-color: var(--pm-min-logo-blue);
}

@media (hover: hover) and (pointer: fine) {
  .header-nav-link { transition: color .18s ease, border-color .18s ease !important; }
  .header-nav-link:hover { transform: translateY(-1px); }
  .pmtech-primary-action:hover,
  .aman-btn-cart:hover,
  .header-cart-btn:hover,
  .suggestion-btn-cart:hover,
  .pmtech-search-overlay-submit:hover,
  .pmtech-calc-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 18px rgba(0, 114, 188, .18) !important;
  }
  .pmtech-secondary-action:hover,
  .pmtech-text-action:hover,
  .aman-btn-details:hover,
  .suggestion-btn-details:hover,
  .pmtech-adv-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(23, 50, 74, .08) !important;
  }
  .aman-category-tile:hover,
  .aman-product-card:hover,
  .pmtech-journey-card:hover,
  .pmtech-brand-card:hover,
  .pmtech-contact-card:hover,
  .pmtech-faq-list details:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 22px rgba(23, 50, 74, .07) !important;
  }
}

.header-search-toggle-btn,
.header-cart-btn {
  min-height: 40px;
  border-radius: 8px !important;
  padding: .55rem .9rem !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: .84rem !important;
}

.header-search-toggle-btn {
  color: var(--pm-min-primary) !important;
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
}

.header-search-toggle-btn:hover { background: #eef1f3 !important; }
.header-search-toggle-btn svg { stroke: var(--pm-min-primary) !important; }

.header-cart-btn {
  color: #fff !important;
  background: var(--pm-min-logo-blue) !important;
  border: 1px solid var(--pm-min-logo-blue) !important;
}

.header-cart-btn:hover { background: var(--pm-min-logo-blue-hover) !important; }

.header-cart-btn span:last-child,
.pmtech-floating-cart-badge {
  background: #e9edf0 !important;
  color: var(--pm-min-primary) !important;
  box-shadow: none !important;
}

/* Primary home introduction. */
.pmtech-value-hero {
  min-height: 400px;
  margin: 1.4rem 0 2.75rem;
  padding: clamp(2rem, 5vw, 4.5rem) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 14px !important;
  background: var(--pm-min-surface) !important;
  color: var(--pm-min-ink) !important;
  box-shadow: none !important;
}

.pmtech-value-hero::after { display: none !important; }

.pmtech-eyebrow,
.pmtech-value-hero .pmtech-eyebrow {
  color: var(--pm-min-logo-blue) !important;
  letter-spacing: 0 !important;
}

.pmtech-value-hero h1 {
  max-width: 820px;
  color: var(--pm-min-ink) !important;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem) !important;
  line-height: 1.5 !important;
}

.pmtech-value-hero-content > p {
  color: var(--pm-min-muted) !important;
  max-width: 720px;
}

.pmtech-primary-action,
.pmtech-secondary-action,
.pmtech-text-action,
.aman-btn-cart,
.aman-btn-details,
.pmtech-adv-btn,
.pmtech-search-overlay-submit,
.suggestion-btn-details,
.suggestion-btn-cart,
.pmtech-calc-submit-btn {
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease !important;
}

.pmtech-primary-action,
.aman-btn-cart,
.suggestion-btn-cart,
.pmtech-search-overlay-submit,
.pmtech-calc-submit-btn {
  background: var(--pm-min-logo-blue) !important;
  color: #fff !important;
  border: 1px solid var(--pm-min-logo-blue) !important;
}

.pmtech-primary-action:hover,
.aman-btn-cart:hover,
.suggestion-btn-cart:hover,
.pmtech-search-overlay-submit:hover,
.pmtech-calc-submit-btn:hover {
  background: var(--pm-min-logo-blue-hover) !important;
}

.pmtech-secondary-action,
.pmtech-text-action,
.aman-btn-details,
.suggestion-btn-details,
.pmtech-adv-btn {
  color: var(--pm-min-primary) !important;
  background: #fff !important;
  border: 1px solid #cfd6dc !important;
}

.pmtech-secondary-action:hover,
.pmtech-text-action:hover,
.aman-btn-details:hover,
.suggestion-btn-details:hover,
.pmtech-adv-btn:hover { background: var(--pm-min-soft) !important; }

.pmtech-trust-grid { gap: .65rem !important; }

.pmtech-trust-item {
  min-height: 82px !important;
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 9px !important;
  backdrop-filter: none !important;
}

.pmtech-trust-icon,
.pmtech-visual-service-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: .55rem;
  color: var(--pm-min-logo-blue);
  background: #eef7fc;
  border: 1px solid #d5eaf7;
  border-radius: 8px;
}

.pmtech-line-icon {
  display: block !important;
  width: 22px;
  height: 22px;
  fill: none !important;
  stroke: currentColor !important;
}

.pmtech-trust-item strong { color: var(--pm-min-ink) !important; }
.pmtech-trust-item span { color: var(--pm-min-muted) !important; }

/* Shared content sections and cards. */
.pmtech-journey-section,
.pmtech-brands-section,
.pmtech-quote-section,
.pmtech-faq-list details,
.pmtech-contact-card,
.pmtech-contact-note,
.pmtech-search-engine-box,
.pmtech-calculator-wrapper {
  background: var(--pm-min-surface) !important;
  border: 1px solid var(--pm-min-line) !important;
  box-shadow: none !important;
}

.pmtech-journey-section,
.pmtech-brands-section,
.pmtech-quote-section,
.pmtech-search-engine-box,
.pmtech-calculator-wrapper {
  border-radius: 14px !important;
}

.pmtech-journey-card,
.pmtech-brand-card,
.pmtech-quote-form,
.pmtech-contact-card,
.pmtech-contact-note,
.pmtech-faq-list details,
.pmtech-bundle-card,
.pmtech-bundle-item,
.pmtech-summary-metric {
  border-radius: var(--pm-min-radius) !important;
  box-shadow: none !important;
}

.pmtech-journey-card {
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
}

.pmtech-journey-card > span {
  border-radius: 7px !important;
  background: var(--pm-min-logo-blue) !important;
}

.pmtech-brand-card {
  border: 1px solid var(--pm-min-line) !important;
}

.pmtech-brand-card img {
  max-height: 88px !important;
  filter: grayscale(15%);
}

#about-pmtech-section {
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

#about-pmtech-section > div > div:last-child {
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: var(--pm-min-radius) !important;
}

.pmtech-quote-section {
  color: var(--pm-min-ink) !important;
}

.pmtech-quote-copy h2 { color: var(--pm-min-ink) !important; }
.pmtech-quote-copy p,
.pmtech-quote-copy li { color: var(--pm-min-muted) !important; }

.pmtech-quote-form {
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line);
}

.pmtech-quote-form input,
.pmtech-quote-form select,
.pmtech-engine-input,
.pmtech-filter-select,
.pmtech-calc-input,
.pmtech-calc-select {
  background: #fff !important;
  border: 1px solid #cfd6dc !important;
  border-radius: 7px !important;
  box-shadow: none !important;
}

.pmtech-quote-form input:focus,
.pmtech-quote-form select:focus,
.pmtech-engine-input:focus,
.pmtech-filter-select:focus,
.pmtech-calc-input:focus,
.pmtech-calc-select:focus {
  border-color: var(--pm-min-primary) !important;
  outline: 2px solid rgba(23, 50, 74, .1) !important;
}

.pmtech-faq-section { margin-block: 3rem !important; }
.pmtech-faq-list details { padding-inline: 1.15rem !important; }

/* Real project imagery, used sparingly between information-heavy sections. */
.pmtech-visual-services {
  margin: 3rem 0;
}

.pmtech-visual-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pmtech-visual-service-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--pm-min-line);
  border-radius: 12px;
  transform-style: preserve-3d;
  animation: none;
}

.pmtech-visual-service-card > img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.pmtech-visual-service-card:hover > img {
  transform: scale(1.06) translateZ(10px);
  filter: saturate(1.06);
}

.pmtech-visual-service-copy {
  position: relative;
  padding: 1.15rem;
}

.pmtech-visual-service-icon {
  position: absolute;
  top: -18px;
  right: 1rem;
  width: 42px;
  height: 42px;
  margin: 0;
  background: #fff;
  box-shadow: 0 5px 15px rgba(23, 50, 74, .1);
}

.pmtech-visual-service-copy h3 {
  margin: .2rem 0 .45rem;
  color: var(--pm-min-ink);
  font-size: 1.05rem;
}

.pmtech-visual-service-copy p {
  min-height: 3.4em;
  margin: 0 0 1rem;
  color: var(--pm-min-muted);
  font-size: .86rem;
  line-height: 1.7;
}

.pmtech-visual-link {
  padding: 0;
  color: var(--pm-min-logo-blue);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}

.pmtech-visual-link::after { content: ' ←'; }

@keyframes pmtech-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pmtech-page-in {
  from { opacity: 0; transform: perspective(1300px) translateY(14px) rotateX(2deg); }
  to { opacity: 1; transform: perspective(1300px) translateY(0) rotateX(0); }
}

/* Categories and product catalogue. */
.aman-category-grid { gap: .85rem !important; }

.aman-category-tile {
  min-height: 150px;
  background: var(--pm-min-surface) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: var(--pm-min-radius) !important;
  box-shadow: none !important;
  transform: none !important;
}

.aman-category-tile:hover {
  background: var(--pm-min-soft) !important;
  border-color: #b9c3cb !important;
  box-shadow: none !important;
  transform: none !important;
}

.aman-category-tile:hover .aman-category-name,
.aman-category-tile:hover strong { color: var(--pm-min-primary) !important; }

.aman-category-img {
  width: 76px !important;
  height: 76px !important;
  transform: none !important;
}

.pmtech-category-icon {
  width: 68px;
  height: 68px;
  margin-bottom: .8rem;
  display: grid;
  place-items: center;
  color: var(--pmtech-blue-accent);
  background: #f3f8fc;
  border: 1px solid #dbe8f2;
  border-radius: 18px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.pmtech-category-icon svg {
  display: block !important;
  width: 42px;
  height: 42px;
}

.aman-category-tile:hover .pmtech-category-icon {
  color: var(--pmtech-blue-primary);
  background: #fff;
  border-color: #b9cfdf;
}

.aman-category-name { color: var(--pm-min-ink) !important; }

.aman-products-grid { gap: 1rem !important; }

.aman-product-card {
  background: var(--pm-min-surface) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: var(--pm-min-radius) !important;
  box-shadow: none !important;
  transform: none !important;
}

.aman-product-card:hover {
  border-color: #b8c2ca !important;
  box-shadow: none !important;
  transform: none !important;
}

.aman-product-card > img,
.aman-product-card img {
  background: var(--pm-min-soft) !important;
  border: 1px solid #eef0f2 !important;
  border-radius: 8px !important;
}

.aman-badge-discount {
  color: var(--pm-min-primary) !important;
  background: #edf0f2 !important;
  border-radius: 5px !important;
  box-shadow: none !important;
}

.pmtech-search-engine-box { padding: clamp(1rem, 3vw, 1.6rem) !important; }

.pmtech-filter-pill,
.header-suggestion-badge,
.pmtech-match-status-badge,
.pmtech-bundle-badge {
  border-radius: 6px !important;
  box-shadow: none !important;
}

.pmtech-filter-pill {
  color: #53606b !important;
  background: #fff !important;
  border: 1px solid var(--pm-min-line) !important;
}

.pmtech-filter-pill.active,
.header-suggestion-badge,
.pmtech-bundle-badge {
  color: #fff !important;
  background: var(--pm-min-logo-blue) !important;
  border-color: var(--pm-min-logo-blue) !important;
}

/* Calculator and result blocks use the same restrained system. */
.pmtech-calc-header {
  border-bottom: 1px solid var(--pm-min-line) !important;
}

.pmtech-calc-tabs {
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 9px !important;
}

.pmtech-calc-tab-btn { border-radius: 7px !important; }
.pmtech-calc-tab-btn.active {
  background: var(--pm-min-logo-blue) !important;
  box-shadow: none !important;
}

.pmtech-hydraulic-summary {
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-right: 3px solid var(--pm-min-primary) !important;
  border-radius: var(--pm-min-radius) !important;
}

.pmtech-bundle-card {
  background: #fff !important;
  border: 1px solid var(--pm-min-line) !important;
}

.pmtech-bundle-item,
.pmtech-summary-metric { border: 1px solid var(--pm-min-line) !important; }

.pmtech-match-bar-fill.optimal,
.pmtech-match-bar-fill.higher { background: var(--pm-min-primary) !important; }

.pmtech-match-status-badge.optimal,
.pmtech-match-status-badge.higher {
  color: var(--pm-min-primary) !important;
  background: #edf0f2 !important;
}

/* Contact, search and overlays. */
.pmtech-contact-card { color: var(--pm-min-ink) !important; }
.pmtech-contact-card:hover { border-color: #b8c2ca !important; }
.pmtech-contact-whatsapp { background: #fff !important; border-color: var(--pm-min-line) !important; }
.pmtech-contact-note { background: var(--pm-min-soft) !important; }

/* Product details stay informative without introducing extra colors. */
.pmtech-product-detail {
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.pmtech-product-breadcrumbs a { color: var(--pm-min-primary) !important; }

.pmtech-product-media-panel {
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: var(--pm-min-radius) !important;
}

.pmtech-product-media-panel .aman-btn-cart {
  min-height: 48px;
  height: auto !important;
  white-space: normal !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

.pmtech-product-brand {
  background: var(--pm-min-logo-blue) !important;
  border-radius: 6px !important;
}

.pmtech-product-facts > span {
  color: var(--pm-min-primary) !important;
  background: #edf0f2 !important;
  border: 1px solid #dfe4e7 !important;
  border-radius: 6px !important;
}

.pmtech-product-spec-title {
  border-right: 3px solid var(--pm-min-primary) !important;
}

.pmtech-product-spec-card {
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 8px !important;
}

.pmtech-search-overlay {
  background: rgba(23, 33, 43, .66) !important;
  backdrop-filter: blur(4px) !important;
}

.pmtech-search-overlay-box {
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 40px rgba(23, 33, 43, .15) !important;
}

.pmtech-search-overlay-input-wrap {
  background: var(--pm-min-soft) !important;
  border: 1px solid #cfd6dc !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.header-suggestion-item {
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
}

.pmtech-floating-cart {
  width: 52px !important;
  height: 52px !important;
  background: var(--pm-min-primary) !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(23, 50, 74, .16) !important;
  transform: none !important;
}

.pmtech-toast {
  background: var(--pm-min-primary) !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(23, 33, 43, .15) !important;
}

/* Footer and loading state. */
.aman-footer {
  background: var(--pm-min-primary) !important;
  border: 0 !important;
  margin-top: 3rem !important;
  padding-top: 3rem !important;
}

#pmtech-page-loader {
  background: #fff !important;
  backdrop-filter: none !important;
}

.pmtech-loader-wave,
.pmtech-loader-glow-ring,
.pmtech-loader-bubbles { display: none !important; }

.pmtech-loader-stage { width: 110px !important; height: 110px !important; }
.pmtech-loader-logo-wrap {
  width: 96px !important;
  height: 96px !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  animation: none !important;
}

.pmtech-loader-text-wrap { margin-top: 1rem !important; }
.pmtech-loader-title {
  color: var(--pm-min-primary) !important;
  font-size: .95rem !important;
  text-shadow: none !important;
}

@media (max-width: 900px) {
  #main-content { width: min(100% - 28px, 1280px); }
}

@media (max-width: 900px) {
  .pmtech-visual-services-grid { grid-template-columns: 1fr; }
  .pmtech-visual-service-card > img { height: 220px; }
}

@media (max-width: 768px) {
  body { background: var(--pm-min-bg) !important; }

  .aman-header {
    background: rgba(255, 255, 255, .98) !important;
    padding: .55rem 1rem !important;
    box-shadow: none !important;
  }

  .aman-header-main { justify-content: center !important; }
  .aman-header-main > a { position: static !important; transform: none !important; }
  .aman-header-main a img { width: auto !important; height: 36px !important; max-height: none !important; }

  .pmtech-value-hero {
    min-height: auto;
    margin-top: 1rem;
    padding: 1.5rem !important;
    border-radius: 12px !important;
  }

  .pmtech-product-detail { padding: 1.15rem !important; }
  .pmtech-product-detail-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 1.4rem !important; }
  .pmtech-product-media-panel { padding: 1.15rem !important; }

  .pmtech-mobile-nav-bar {
    height: 60px !important;
    background: rgba(255, 255, 255, .98) !important;
    border-top: 1px solid var(--pm-min-line) !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
  }

  .pmtech-mobile-nav-badge {
    background: var(--pm-min-primary) !important;
    box-shadow: none !important;
  }

  .aman-product-card {
    border-radius: var(--pm-min-radius) !important;
    box-shadow: none !important;
  }

  html.pmtech-story-mode { scroll-snap-type: none; }
  .pmtech-reveal {
    transform: perspective(700px) translateY(14px) rotateX(2deg);
    transition-duration: .42s, .48s;
  }
  .pmtech-reveal.pmtech-reveal-visible { transform: perspective(700px) translateY(0) rotateX(0); }
  .pmtech-reveal.pmtech-scene-1,
  .pmtech-reveal.pmtech-scene-2 { transform: perspective(700px) translateY(14px) rotateX(2deg); }
}

@media (max-width: 520px) {
  #main-content { width: calc(100% - 20px); }
  .pmtech-value-hero { padding: 1.25rem !important; }
  .pmtech-value-hero h1 { font-size: 1.55rem !important; }
  .pmtech-trust-grid { grid-template-columns: 1fr !important; }
  .pmtech-journey-section,
  .pmtech-brands-section,
  .pmtech-quote-section,
  .pmtech-calculator-wrapper { padding: 1.15rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .pmtech-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* 3D reveal transforms can extend a few pixels beyond the viewport while
   animating; clip that paint overflow without disabling vertical scrolling. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* ===== Dynamic quote form: multi-select type chips + per-type fields ===== */
.pmtech-quote-chips-wrap {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.pmtech-quote-chips-label {
  color: #334155;
  font-size: .82rem;
  font-weight: 800;
}

.pmtech-quote-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.pmtech-quote-chip {
  appearance: none;
  border: 1px solid var(--pm-min-line);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: .55rem 1.05rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.pmtech-quote-chip:hover {
  border-color: var(--pm-min-logo-blue);
  color: var(--pm-min-logo-blue);
}

.pmtech-quote-chip[aria-pressed="true"] {
  background: var(--pm-min-logo-blue);
  border-color: var(--pm-min-logo-blue);
  color: #fff;
}

.pmtech-quote-chip-hint {
  color: #b4232a;
  font-size: .78rem;
  font-weight: 700;
}

.pmtech-quote-type-group {
  border: 1px dashed var(--pm-min-line);
  border-radius: 12px;
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  background: rgba(255, 255, 255, .65);
}

.pmtech-quote-type-title {
  color: var(--pm-min-logo-blue);
  font-weight: 800;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.pmtech-quote-type-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pm-min-logo-blue);
  flex: 0 0 auto;
}

.pmtech-quote-type-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.pmtech-quote-form textarea {
  width: 100%;
  min-height: 96px;
  box-sizing: border-box;
  padding: .75rem .85rem;
  border: 1px solid #cfd6dc;
  border-radius: 7px;
  background: #fff;
  color: var(--pm-min-ink);
  font: inherit;
  resize: vertical;
}

.pmtech-quote-form textarea:focus {
  outline: 2px solid var(--pm-min-logo-blue);
  outline-offset: 1px;
}

@media (max-width: 640px) {
  .pmtech-quote-type-fields {
    grid-template-columns: 1fr;
  }
}

/* Natural-color brand logo on the dark footer: white chip so the
   original navy/green artwork stays legible. */
.aman-footer-logo {
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: .45rem .7rem;
  box-sizing: content-box;
}

/* ===== Mobile density pass: compact, eye-friendly phone layout ===== */
@media (max-width: 640px) {

  /* Section rhythm: collapse the 48-56px air gaps to 20-22px */
  .pmtech-value-hero,
  .pmtech-visual-services,
  .pmtech-journey-section,
  .pmtech-brands-section,
  .pmtech-quote-section,
  .pmtech-faq-section,
  .pmtech-featured-section { margin-top: 16px !important; margin-bottom: 16px !important; }

  .pmtech-section-heading { margin-bottom: 1rem !important; }
  .pmtech-section-heading h2 { font-size: 1.08rem !important; }
  .pmtech-section-heading p { font-size: .8rem !important; line-height: 1.65 !important; }
  .pmtech-eyebrow { font-size: .68rem !important; }

  /* Hero: tighter box, smaller type, slimmer buttons */
  .pmtech-value-hero { padding: 1rem !important; margin-top: .6rem !important; gap: .65rem !important; min-height: 0 !important; }
  .pmtech-value-hero h1 { font-size: 1.32rem !important; line-height: 1.45 !important; }
  .pmtech-value-hero-content > p { font-size: .83rem !important; line-height: 1.7 !important; }
  .pmtech-hero-actions { gap: .5rem !important; margin-top: .75rem !important; }
  .pmtech-primary-action,
  .pmtech-secondary-action,
  .pmtech-text-action {
    font-size: .88rem !important;
    padding: .55rem .9rem !important;
  }
  .pmtech-trust-grid { gap: .5rem !important; margin-top: .85rem !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .pmtech-trust-item { padding: .55rem .6rem !important; gap: .35rem !important; }
  .pmtech-trust-item strong { font-size: .78rem !important; }
  .pmtech-trust-item span { font-size: .68rem !important; line-height: 1.45 !important; }

  /* Category tiles: shorter image area */
  .aman-category-tile { padding: .5rem .5rem .6rem !important; }
  .aman-category-img { height: 80px !important; }
  .aman-category-name { font-size: .85rem !important; }

  /* Visual service cards: shorter images, tighter copy */
  .pmtech-visual-service-card > img { height: 148px !important; }
  .pmtech-visual-service-card h3 { font-size: .95rem !important; }
  .pmtech-visual-service-card p { font-size: .77rem !important; line-height: 1.6 !important; }

  /* Journey cards */
  .pmtech-journey-card { padding: .85rem !important; gap: .4rem !important; }
  .pmtech-journey-card h3 { font-size: .95rem !important; }
  .pmtech-journey-card p { font-size: .77rem !important; line-height: 1.6 !important; }

  /* Brand cards */
  .pmtech-brand-card { padding: .8rem !important; gap: .45rem !important; }
  .pmtech-brand-card h3 { font-size: .95rem !important; }
  .pmtech-brand-card p { font-size: .77rem !important; line-height: 1.6 !important; }

  /* Quote form: lighter controls */
  .pmtech-quote-form { padding: .8rem !important; gap: .6rem !important; }
  .pmtech-quote-form label > span { font-size: .72rem !important; }
  .pmtech-quote-form input,
  .pmtech-quote-form select { height: 40px !important; font-size: .85rem !important; padding: 0 .6rem !important; }
  .pmtech-quote-form textarea { min-height: 70px !important; font-size: .85rem !important; }
  .pmtech-quote-chip { padding: .42rem .78rem !important; font-size: .76rem !important; }
  .pmtech-quote-type-group { padding: .6rem !important; gap: .5rem !important; }
  .pmtech-quote-type-fields { gap: .55rem !important; }
  .pmtech-quote-type-title { font-size: .8rem !important; }
  .pmtech-quote-copy h2 { font-size: 1.08rem !important; }
  .pmtech-quote-copy p { font-size: .8rem !important; line-height: 1.65 !important; }
  .pmtech-quote-copy li { font-size: .77rem !important; line-height: 1.6 !important; }
}

/* ===== Mobile density: calculator page + inner pages ===== */
@media (max-width: 640px) {

  /* Calculator wrapper rhythm */
  .pmtech-calculator-wrapper {
    padding: 1rem !important;
    margin-top: .5rem !important;
    margin-bottom: 22px !important;
    gap: .9rem !important;
  }

  /* Calculator header: compact instead of a 600px hero */
  .pmtech-calc-header { padding: .9rem .9rem 1rem !important; }
  .pmtech-calc-title { font-size: 1.25rem !important; line-height: 1.4 !important; }
  .pmtech-calc-subtitle { font-size: .84rem !important; line-height: 1.7 !important; }

  /* Tabs: horizontal scroll row instead of stacked tall buttons */
  .pmtech-calc-tabs {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: .45rem !important;
    padding: .35rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pmtech-calc-tabs::-webkit-scrollbar { display: none; }
  .pmtech-calc-tab-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: .78rem !important;
    padding: .5rem .8rem !important;
    line-height: 1.4 !important;
  }

  /* Form: tighter grid, slimmer fields */
  .pmtech-calc-form-grid { gap: .7rem !important; }
  .pmtech-calc-field-group { padding: .8rem .85rem !important; gap: .5rem !important; }
  .pmtech-calculator-wrapper label { font-size: .78rem !important; margin-bottom: .3rem !important; }
  .pmtech-calc-input,
  .pmtech-calc-select {
    height: 42px !important;
    font-size: .85rem !important;
    padding: 0 .6rem !important;
  }
  .pmtech-calc-submit-btn {
    font-size: .9rem !important;
    padding: .62rem 1.2rem !important;
    line-height: 1.4 !important;
    min-height: 0 !important;
    width: auto !important;
  }

  /* Contact page note */
  .pmtech-contact-note { padding: 1rem !important; }
  .pmtech-contact-note p { font-size: .82rem !important; line-height: 1.7 !important; }
  .pmtech-contact-card strong { font-size: .88rem !important; }
  .pmtech-contact-card span { font-size: .84rem !important; }
  .pmtech-contact-card small { font-size: .68rem !important; }
}

/* ===== Calculator redesign: compact card, segmented tabs, 2-col form ===== */
.pmtech-calculator-wrapper {
  background: #fff !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 16px !important;
  padding: 1.1rem !important;
  margin-top: .5rem !important;
  margin-bottom: 1.4rem !important;
  display: flex;
  flex-direction: column;
  gap: .9rem !important;
  box-shadow: none !important;
}

.pmtech-calc-header {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: .2rem .2rem .1rem !important;
  text-align: center;
}

.pmtech-calc-title {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem) !important;
  justify-content: center !important;
}

.pmtech-calc-subtitle {
  font-size: .84rem !important;
  line-height: 1.65 !important;
  max-width: 620px;
  margin-inline: auto !important;
}

/* Tabs: segmented pill control */
.pmtech-calc-tabs {
  display: flex !important;
  flex-wrap: wrap;
  background: var(--pm-min-soft) !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 999px !important;
  padding: 4px !important;
  gap: 4px !important;
  overflow: hidden;
}

.pmtech-calc-tab-btn {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  border-radius: 999px !important;
  padding: .5rem .9rem !important;
  font-size: .8rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background-color .15s ease, color .15s ease !important;
}

/* Phone: tabs stack vertically, one full-width row each — zero overlap */
@media (max-width: 640px) {
  .pmtech-calc-tabs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    border-radius: 12px !important;
  }
  .pmtech-calc-tab-btn { width: 100% !important; }
}

.pmtech-calc-tab-btn.active {
  background: var(--pm-min-logo-blue) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Form: 2-col compact cards */
.pmtech-calc-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

.pmtech-calc-field-group {
  background: #fff !important;
  border: 1px solid var(--pm-min-line) !important;
  border-radius: 10px !important;
  padding: .65rem .8rem !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: .3rem !important;
}

.pmtech-calc-label {
  font-size: .78rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  margin: 0 !important;
}

.pmtech-calc-input,
.pmtech-calc-select {
  height: 42px !important;
  font-size: .88rem !important;
  padding: 0 .65rem !important;
  border: 1px solid #cfd6dc !important;
  border-radius: 8px !important;
}

.pmtech-calc-submit-btn {
  width: auto !important;
  display: block !important;
  margin: .1rem auto 0 !important;
  padding: .62rem 1.7rem !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  min-height: 0 !important;
  border-radius: 999px !important;
}

.pmtech-hydraulic-summary {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: .55rem !important;
}

.pmtech-summary-metric {
  padding: .65rem .6rem !important;
  border-radius: 10px !important;
}

.pmtech-metric-val { font-size: 1rem !important; }
.pmtech-metric-lbl { font-size: .7rem !important; line-height: 1.4 !important; }

@media (max-width: 640px) {
  .pmtech-calc-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .pmtech-hydraulic-summary { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .pmtech-calculator-wrapper { padding: .85rem !important; gap: .75rem !important; }
}

/* ===== Footer: compact + collapsible sections ===== */
.aman-footer-compact { padding-top: 1.6rem !important; padding-bottom: 1.1rem !important; }
.aman-footer-compact .aman-footer-grid { gap: 1rem 2rem !important; }

.aman-footer-brand .aman-footer-about {
  font-size: .78rem !important;
  color: #9fb0c0 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  max-width: 300px;
}

.aman-footer-col summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  padding: .55rem 0;
  user-select: none;
}
.aman-footer-col summary::-webkit-details-marker { display: none; }
.aman-footer-col summary::after {
  content: "+";
  font-size: 1.05rem;
  font-weight: 700;
  color: #7e94a8;
  line-height: 1;
  transition: transform .15s ease;
}
.aman-footer-col[open] summary::after { content: "−"; }

.aman-footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: .15rem 0 0 !important;
  font-size: .8rem !important;
  line-height: 2 !important;
}
.aman-footer-contact p { font-size: .8rem !important; margin: 0 0 .35rem !important; }
.aman-footer-legal { display: flex; flex-direction: column; gap: .3rem; margin-top: .6rem; font-size: .75rem !important; }

/* Desktop: sections always expanded, summary hidden */
@media (min-width: 769px) {
  .aman-footer-col summary { display: none !important; }
  .aman-footer-col { padding-top: 0 !important; }
}
@media (max-width: 768px) {
  .aman-footer-col { border-top: 1px solid rgba(255, 255, 255, .12); }
  .aman-footer-col summary { padding: .7rem .1rem; }
}

/* ===== Phone: extra density pass — show more content per screen ===== */
@media (max-width: 640px) {
  .pmtech-value-hero h1 { font-size: 1.22rem !important; }
  .pmtech-value-hero-content > p { font-size: .8rem !important; }
  .pmtech-trust-item { padding: .48rem .55rem !important; }
  .aman-category-img { height: 74px !important; }
  .pmtech-section-heading h2 { font-size: 1rem !important; }
  .pmtech-visual-service-card > img { height: 132px !important; }
  .pmtech-journey-card { padding: .72rem !important; }
  .pmtech-brand-card { padding: .72rem !important; }
  .pmtech-quote-chip { padding: .38rem .72rem !important; font-size: .74rem !important; }
  .pmtech-quote-form input,
  .pmtech-quote-form select { height: 38px !important; }
  .pmtech-quote-type-group { padding: .55rem !important; }
  .pmtech-calculator-wrapper { padding: .75rem !important; gap: .65rem !important; }
  .pmtech-calc-field-group { padding: .55rem .7rem !important; }
  .pmtech-calc-input,
  .pmtech-calc-select { height: 40px !important; }
  .aman-footer-col summary { padding: .6rem .1rem !important; font-size: .84rem !important; }
}

/* ===== Product performance-curve table: mobile-friendly ===== */
.pmtech-curve-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #dbe2e8;
}

.pmtech-curve-table-wrap table { min-width: 560px; }

.pmtech-curve-expand-btn {
  display: none;
}

@media (max-width: 640px) {
  .pmtech-curve-section h3 { font-size: 1.05rem !important; }
  .pmtech-curve-section > p { font-size: .8rem !important; }
  .pmtech-curve-expand-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    width: 100%;
    justify-content: center;
    background: var(--pm-min-logo-blue);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .62rem 1rem;
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: .7rem;
  }
  .pmtech-curve-table-wrap table { font-size: .8rem; }
}

/* Fullscreen curve modal (mobile-first, works everywhere) */
.pmtech-curve-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 18, 28, .62);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pmtech-curve-modal-box {
  background: #fff;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .25);
}

.pmtech-curve-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem 1rem;
  background: var(--pm-min-primary, #17212b);
  color: #fff;
  font-size: .95rem;
}

.pmtech-curve-modal-close {
  background: rgba(255, 255, 255, .14);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}

.pmtech-curve-modal-scroll {
  overflow: auto;
  padding: .9rem;
  -webkit-overflow-scrolling: touch;
}

.pmtech-curve-modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 480px;
}

.pmtech-curve-modal-table th {
  background: #002752;
  color: #fff;
  padding: .65rem .5rem;
  border: 1px solid #cbd5e1;
  font-size: .8rem;
  text-align: center;
  white-space: nowrap;
}

.pmtech-curve-modal-table td {
  padding: .6rem .5rem;
  border: 1px solid #dbe2e8;
  text-align: center;
}

.pmtech-curve-modal-table tbody tr:nth-child(even) { background: #f6f9fb; }

@media (min-width: 641px) {
  .pmtech-curve-modal { align-items: center; }
  .pmtech-curve-modal-box { border-radius: 16px; }
}

/* ===== Technical report modal (Ferat): responsive on phones ===== */
@media (max-width: 768px) {
  .ferat-report-fullscreen-container {
    padding: .6rem !important;
  }

  .ferat-report-top-bar {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: .45rem !important;
    padding: .6rem .7rem !important;
    border-radius: 10px !important;
    margin-bottom: .8rem !important;
  }

  .ferat-report-top-bar > div {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: .4rem !important;
  }

  .ferat-report-top-bar h2 {
    flex-basis: 100% !important;
    order: 10 !important;
    font-size: .8rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin: .2rem 0 0 !important;
  }

  .ferat-report-top-bar button {
    padding: .45rem .8rem !important;
    font-size: .72rem !important;
  }

  .ferat-report-main-grid {
    grid-template-columns: 1fr !important;
    gap: .8rem !important;
  }

  .ferat-report-main-grid canvas {
    max-width: 100% !important;
    height: auto !important;
  }

  .ferat-graphs-col,
  .ferat-middle-col > div,
  .ferat-right-col > div {
    padding: .8rem !important;
  }
}

/* ===== Calculator results: bundle card compact on phones ===== */
@media (max-width: 640px) {
  .pmtech-bundle-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .6rem !important;
  }
  .pmtech-bundle-header h3 { font-size: 1rem !important; line-height: 1.5 !important; }
  .pmtech-bundle-header > div { width: 100% !important; }
  .pmtech-bundle-header button { flex: 1 1 auto !important; }
  .pmtech-bundle-badge { font-size: .72rem !important; padding: .35rem .6rem !important; }
  .pmtech-bundle-item { padding: .6rem .7rem !important; }
}

/* ===== Ferat report v2 — complete redesign ===== */
.ferat-report-v2 {
  background: #eef2f6;
  min-height: 100vh;
  padding: .8rem;
  font-family: 'Almarai', sans-serif;
}

.ferat-v2-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #002752;
  color: #fff;
  border-radius: 12px;
  padding: .6rem .8rem;
  margin-bottom: .8rem;
  box-shadow: 0 6px 18px rgba(0, 39, 82, .22);
}

.ferat-v2-head-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}

.ferat-v2-close {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .45rem .8rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.ferat-v2-close:hover { background: rgba(255, 255, 255, .26); }

.ferat-v2-title {
  flex: 1 1 160px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.ferat-v2-title strong { font-size: .92rem; line-height: 1.4; }
.ferat-v2-title span { font-size: .72rem; color: #b9c8d8; direction: ltr; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ferat-v2-actions { display: flex; gap: .45rem; }

.ferat-v2-btn {
  border: none;
  border-radius: 8px;
  padding: .45rem .9rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}
.ferat-v2-btn-green { background: #0e9f6e; }
.ferat-v2-btn-blue { background: #2563eb; }

.ferat-v2-head-sub { margin-top: .55rem; }

.ferat-v2-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

.ferat-v2-switch button {
  border: none;
  background: transparent;
  color: #d7e1ec;
  border-radius: 999px;
  padding: .42rem 1.1rem;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.ferat-v2-switch button.active { background: #fff; color: #002752; }

.ferat-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr);
  gap: .8rem;
  align-items: start;
}

.ferat-v2-col { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }

.ferat-v2-card {
  background: #fff;
  border: 1px solid #dbe2e8;
  border-radius: 12px;
  padding: .9rem;
}

.ferat-v2-card-center { text-align: center; }

.ferat-v2-card-title {
  margin: 0 0 .7rem;
  color: #002752;
  font-size: .92rem;
  border-bottom: 2px solid #eef2f6;
  padding-bottom: .4rem;
}

.ferat-chart-card {
  background: #fafcfe;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: .6rem .6rem .4rem;
  margin-bottom: .7rem;
}

.ferat-chart-title {
  font-size: .8rem;
  font-weight: 700;
  color: #002752;
  margin-bottom: .3rem;
}

.ferat-v2-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.ferat-v2-inputs label { display: flex; flex-direction: column; gap: .3rem; }
.ferat-v2-inputs span { font-size: .76rem; font-weight: 700; color: #475569; }
.ferat-v2-inputs input {
  height: 40px;
  padding: 0 .6rem;
  border: 1px solid #cfd8e0;
  border-radius: 8px;
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
}

.ferat-v2-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.ferat-v2-stat {
  background: #f6f9fc;
  border: 1px solid #e6ecf2;
  border-radius: 9px;
  padding: .5rem .6rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.ferat-v2-stat span { font-size: .7rem; color: #64748b; font-weight: 600; }
.ferat-v2-stat strong { font-size: .92rem; color: #0f172a; }

.ferat-v2-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .3rem .8rem;
  font-size: .78rem;
  color: #475569;
  margin-top: .7rem;
}

.ferat-v2-volts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  background: #f6f9fc;
  border: 1px solid #e6ecf2;
  border-radius: 9px;
  padding: .55rem .7rem;
  margin-bottom: .7rem;
  font-size: .8rem;
}
.ferat-v2-volts > span { font-weight: 700; }
.ferat-v2-volts label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-weight: 600; }

.ferat-v2-diagram { width: 100%; max-height: 240px; }

.ferat-v2-doc {
  background: #fff;
  border: 1px solid #dbe2e8;
  border-radius: 12px;
  overflow: hidden;
}
.ferat-v2-doc iframe { width: 100%; height: 82vh; border: none; display: block; }

@media (max-width: 900px) {
  .ferat-v2-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ferat-report-v2 { padding: .5rem; }
  .ferat-v2-head { padding: .5rem .6rem; }
  .ferat-v2-title strong { font-size: .84rem; }
  .ferat-v2-actions { width: 100%; }
  .ferat-v2-actions .ferat-v2-btn { flex: 1 1 auto; }
  .ferat-v2-switch { width: 100%; }
  .ferat-v2-switch button { flex: 1 1 auto; padding: .42rem .5rem; }
}

/* ===== Phone: square compact sections (2-col grids, no tall slabs) ===== */
@media (max-width: 640px) {

  /* Category tiles: 2x2 squares */
  .aman-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .55rem !important; }
  .aman-category-tile { padding: .45rem .45rem .55rem !important; }
  .aman-category-img { height: auto !important; aspect-ratio: 4 / 3; width: 100% !important; }
  .aman-category-name { font-size: .74rem !important; line-height: 1.35 !important; }
  .pmtech-category-icon { width: 58px; height: 58px; margin-bottom: .55rem; border-radius: 15px; }
  .pmtech-category-icon svg { width: 36px; height: 36px; }

  /* Visual services: 2-col compact */
  .pmtech-visual-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .55rem !important; }
  .pmtech-visual-service-card > img { height: auto !important; aspect-ratio: 4 / 3; }
  .pmtech-visual-service-copy { padding: .55rem .6rem .65rem !important; gap: .3rem !important; }
  .pmtech-visual-service-card h3 { font-size: .8rem !important; }
  .pmtech-visual-service-card p { font-size: .67rem !important; line-height: 1.5 !important; }
  .pmtech-visual-link { font-size: .68rem !important; padding: .32rem .7rem !important; }

  /* Journey: 3 steps side by side — short squares */
  .pmtech-journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: .45rem !important; }
  .pmtech-journey-card { padding: .6rem .45rem !important; text-align: center !important; gap: .3rem !important; align-items: center !important; }
  .pmtech-journey-card > span { font-size: .95rem !important; }
  .pmtech-journey-card h3 { font-size: .72rem !important; line-height: 1.4 !important; }
  .pmtech-journey-card p { font-size: .63rem !important; line-height: 1.45 !important; }

  /* Brands: 2-col */
  .pmtech-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .55rem !important; }
  .pmtech-brand-card { padding: .55rem !important; }
  .pmtech-brand-card img { height: 64px !important; object-fit: contain !important; }
  .pmtech-brand-card h3 { font-size: .85rem !important; }
  .pmtech-brand-card p { font-size: .67rem !important; line-height: 1.5 !important; }

  /* Featured + store products: 2-col compact cards */
  .aman-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .55rem !important; }
  .aman-product-card { padding: .45rem !important; }
  .aman-product-card > img { height: 74px !important; padding: .3rem !important; }
  .aman-product-card-body { padding: .1rem .15rem .2rem !important; }
  .aman-product-card-body h4 { font-size: .72rem !important; line-height: 1.45 !important; }
  .aman-product-card-body > span:first-child { font-size: .62rem !important; }
  .aman-product-card .aman-btn-details,
  .aman-product-card .aman-btn-cart { font-size: .64rem !important; padding: .32rem .55rem !important; }

  /* Hero buttons: tighter */
  .pmtech-hero-actions { gap: .4rem !important; }
  .pmtech-primary-action,
  .pmtech-secondary-action,
  .pmtech-text-action { padding: .48rem .8rem !important; font-size: .8rem !important; }
}

/* ===== Phone: breathing room at screen edges + centered rows ===== */
@media (max-width: 640px) {
  #main-content { width: calc(100% - 32px) !important; }

  .pmtech-journey-section { padding-inline: .8rem !important; }
  .pmtech-journey-grid { margin-inline: auto; }

  .aman-category-grid,
  .pmtech-visual-services-grid,
  .pmtech-brand-grid,
  .aman-products-grid { margin-inline: auto; }
}

/* ===== Contact page: quick-access WhatsApp + Call buttons ===== */
.pmtech-quick-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin: 0 0 1.4rem;
}

.pmtech-quick-contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: 1rem .8rem;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 20px rgba(23, 33, 43, .14);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pmtech-quick-contact a:hover { transform: translateY(-2px); }

.pmtech-quick-contact svg { width: 30px; height: 30px; }
.pmtech-quick-contact strong { font-size: .95rem; }
.pmtech-quick-contact small { font-size: .82rem; opacity: .92; direction: ltr; }

.pmtech-quick-wa { background: #16a34a; }
.pmtech-quick-call { background: var(--pm-min-logo-blue, #0072bc); }

@media (max-width: 640px) {
  .pmtech-quick-contact { grid-template-columns: 1fr; gap: .6rem; }
  .pmtech-quick-contact a { flex-direction: row; justify-content: flex-start; padding: .9rem 1.1rem; text-align: right; }
  .pmtech-quick-contact svg { width: 26px; height: 26px; flex: 0 0 auto; }
}
