/* PerfMaster Consulting — We Master Your Performance
   Colors: burgundy #8B1538, white, dark gray
   Common font: Montserrat (titles bold/semibold, body regular/medium). */

:root {
  --pm-red: #7a0918;
  --pm-red-dark: #5d0712;
  --pm-red-light: #940b1d;
  --pm-white: #ffffff;
  --pm-off-white: #f8f6f4;
  --pm-gray: #333333;
  --pm-gray-light: #6b6b6b;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-serif: 'Montserrat', Georgia, sans-serif;
  --container: min(1120px, 92vw);
  --header-h: 72px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pm-gray);
  background: var(--pm-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pm-red);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--pm-red-dark);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--pm-red);
  color: var(--pm-white);
  border-radius: 4px;
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--pm-white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: transform 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pm-red);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-top: 0.1rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
}
.nav a {
  color: var(--pm-gray);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav a:hover {
  color: var(--pm-red);
}
.nav a.active,
.nav a[aria-current="page"] {
  color: var(--pm-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.lang-switcher a {
  color: var(--pm-gray-light);
}
.lang-switcher a:hover {
  color: var(--pm-red);
}
.lang-current {
  color: var(--pm-gray);
  font-weight: 600;
}
.lang-sep {
  color: var(--pm-gray-light);
  opacity: 0.7;
  user-select: none;
}
.lang-switcher-footer .lang-sep {
  color: rgba(255, 255, 255, 0.6);
}
.lang-switcher-footer {
  gap: 0.5rem;
  justify-content: center;
}
.lang-switcher-footer a {
  color: rgba(255, 255, 255, 0.85);
}
.lang-switcher-footer a:hover {
  color: var(--pm-white);
}
.lang-switcher-footer .lang-current {
  color: var(--pm-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--pm-red);
  color: var(--pm-white);
  border: 2px solid var(--pm-red);
}
.btn-primary:hover {
  background: var(--pm-red-dark);
  border-color: var(--pm-red-dark);
  color: var(--pm-white);
}
.btn-ghost {
  background: transparent;
  color: var(--pm-gray);
  border: 2px solid transparent;
}
.btn-ghost:hover {
  color: var(--pm-red);
}
.btn-light {
  background: var(--pm-white);
  color: var(--pm-red);
  border: 2px solid var(--pm-white);
}
.btn-light:hover {
  background: var(--pm-off-white);
  border-color: var(--pm-off-white);
  color: var(--pm-red-dark);
}
.btn-outline-light {
  background: transparent;
  color: var(--pm-white);
  border: 2px solid var(--pm-white);
}
.btn-outline-light:hover {
  background: var(--pm-white);
  color: var(--pm-red);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--pm-gray);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--pm-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 1.5rem;
}
.nav-mobile .nav-list {
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mobile a {
  display: block;
  padding: 0.75rem;
  color: var(--pm-gray);
  font-weight: 500;
}
.nav-mobile a.active,
.nav-mobile a[aria-current="page"] {
  color: var(--pm-red);
  font-weight: 600;
}

@media (max-width: 768px) {
  .nav,
  .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .nav-mobile.is-open { display: block; }
}

/* Hero */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-cover-only {
  display: block;
  line-height: 0;
  min-height: auto;
}

.hero-cover-only .hero-cover-img {
  width: 100%;
  max-height: 45vh;
  object-fit: contain;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  color: var(--pm-white);
  padding-block: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cover-img {
  max-width: min(520px, 85vw);
  width: 100%;
  height: auto;
  display: block;
}

.hero-logo {
  margin-inline: auto 0;
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 2rem;
  opacity: 0.9;
}

.hero-desc {
  max-width: 42ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Page hero (inner pages) */
.page-hero {
  padding-top: var(--header-h);
  padding-bottom: 3rem;
  background: var(--pm-off-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.page-hero-inner {
  text-align: center;
}
.page-hero .page-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--pm-red);
  margin: 0 0 0.5rem;
}
.page-hero .page-desc {
  max-width: 50ch;
  margin: 0 auto;
  color: var(--pm-gray-light);
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding-block: 4rem 5rem;
}

main > section:first-child:not(.page-hero):not(.cover-banner) {
  padding-top: var(--header-h);
}

/* Cover-style banner (homepage) — fills first viewport */
.cover-banner {
  padding-top: var(--header-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pm-red-dark);
  color: var(--pm-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cover-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/logo-light.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 55%;
  opacity: 0.06;
  pointer-events: none;
}
.cover-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-block: 3rem;
}
.cover-banner-title {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.cover-banner-tagline {
  font-size: clamp(0.8rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.92;
}
@media (min-width: 600px) {
  .cover-banner-inner {
    gap: 1rem;
  }
  .cover-banner-tagline {
    letter-spacing: 0.25em;
  }
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--pm-red);
  margin: 0 0 1rem;
}
.section-title-center {
  text-align: center;
}
.section-desc {
  max-width: 60ch;
  font-weight: 500;
  margin: 0 0 2.5rem;
  color: var(--pm-gray-light);
  font-size: 1.05rem;
}
.section-title-center + .section-desc,
.section-desc.section-desc-center {
  margin-inline: auto;
  text-align: center;
}

/* Resources: What we bring intro */
.resources-intro {
  max-width: 42ch;
  margin: 0.5rem auto 2rem;
  text-align: center;
  font-size: 1rem;
  color: var(--pm-gray);
  line-height: 1.5;
}
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* About */
.section-about {
  background: var(--pm-off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: center;
}
.about-grid-home {
  max-width: 56rem;
  margin-inline: auto;
  gap: 3.5rem 5rem;
}
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pm-red);
  margin: 0 0 1rem;
}

.about-content p {
  margin: 0 0 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-top: 1rem;
}
.link-arrow::after {
  content: '→';
}

.about-card {
  background: var(--pm-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-left: 4px solid var(--pm-red);
}

.about-card-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pm-red);
}

.about-quote {
  margin: 0;
  font-size: 1.05rem;
  color: var(--pm-gray);
  line-height: 1.7;
}

.about-ctas {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}
.about-ctas-spread {
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1.5rem;
  box-sizing: border-box;
}

.about-cta-sep {
  color: var(--pm-gray-light);
  font-weight: 400;
}

/* About page horizontal layout */
.about-layout-horizontal {
  max-width: 56rem;
  margin-inline: auto;
}
.about-layout-horizontal .section-title {
  margin-bottom: 0.5rem;
  text-align: center;
}
.about-layout-horizontal .lead {
  margin-bottom: 0.5rem;
  text-align: center;
}
.about-layout-horizontal .about-intro {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--pm-gray);
  text-align: center;
}
.about-promise-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem;
  background: var(--pm-white);
  border-radius: 12px;
  border-left: 4px solid var(--pm-red);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.about-promise-bar .about-card-label {
  margin: 0;
  min-width: 0;
}
.about-promise-bar .about-quote {
  margin: 0;
  font-size: 1rem;
  max-width: 42rem;
}
.about-ctas-center {
  justify-content: center;
  text-align: center;
}
.about-body-single {
  max-width: 52ch;
  margin: 0 auto 1rem;
  text-align: center;
  font-size: 1rem;
  color: var(--pm-gray);
  line-height: 1.6;
}
.about-meta {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--pm-gray);
  text-align: center;
}

.differentiators {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
}
.differentiators li {
  flex: 1 1 220px;
  max-width: 280px;
  margin-bottom: 0;
  padding: 1.25rem 1.5rem 1.25rem 1.5rem;
  position: relative;
  color: var(--pm-gray);
  background: var(--pm-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--pm-red);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.differentiators li::before {
  content: '';
  flex-shrink: 0;
  width: 0.5em;
  height: 0.5em;
  margin-top: 0.35em;
  background: var(--pm-red);
  transform: rotate(45deg);
}
.differentiators .diff-content {
  flex: 1;
  min-width: 0;
}
.differentiators strong {
  display: block;
  color: var(--pm-red);
  margin-bottom: 0.35rem;
  white-space: nowrap;
}
.differentiators-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
}
.differentiators-horizontal li {
  flex: 1 1 200px;
  max-width: 280px;
}
.step-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 1.25rem 1.75rem;
}
@media (min-width: 640px) {
  .step-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }
}
.step-list li {
  padding: 1.25rem 1.5rem;
  background: var(--pm-white);
  border-radius: 12px;
  border-top: 4px solid var(--pm-red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  font-size: 0.95rem;
  color: var(--pm-gray);
}
.step-list strong {
  display: block;
  color: var(--pm-red);
  margin-bottom: 0.35rem;
}
.topic-list {
  margin: 1.5rem auto 0.5rem !important;
  padding-left: 6rem;
  font-size: 0.9rem;
  color: var(--pm-gray-light);
  line-height: 1.7;
  list-style: none;
  text-align: left;
  display: block;
  max-width: 60ch !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 1200px) {
  .topic-list {
    padding-left: 5rem;
  }
}
@media (max-width: 768px) {
  .topic-list {
    padding-left: 2.5rem;
  }
}
@media (max-width: 480px) {
  .topic-list {
    padding-left: 1.5rem;
  }
}
.topic-list li { 
  margin-bottom: 0.25rem; 
  overflow-wrap: break-word;
  text-align: left;
  position: relative;
  padding-left: 1.5rem;
  display: block;
}
.topic-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--pm-gray-light);
}
.global-compliance {
  font-size: 0.95rem;
  color: var(--pm-gray-light);
  margin: 0 0 1rem;
}
.global-compliance strong { color: var(--pm-gray); }

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-promise-bar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .about-promise-bar .about-card-label {
    min-width: 0;
  }
}

/* Services */
.section-services {
  background: var(--pm-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 540px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-grid-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.card-grid-center .service-card {
  flex: 1 1 280px;
  max-width: 360px;
}

.service-card {
  padding: 1.75rem;
  background: var(--pm-off-white);
  border-radius: 12px;
  border: 1px solid rgba(139, 21, 56, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(139, 21, 56, 0.12);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pm-red);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pm-gray-light);
}

/* Expertise stack: vertical dropdowns (Contact-us style, one above the next) */
.expertise-stack {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.expertise-item.expertise-card {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.expertise-stack .expertise-toggle.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
}

.expertise-toggle-icon {
  margin-left: 0.75rem;
  font-size: 0.6rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.expertise-card.is-open .expertise-toggle-icon {
  transform: rotate(180deg);
}

.expertise-details {
  margin-top: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease;
}

.expertise-card.is-open .expertise-details {
  max-height: 600px;
  opacity: 1;
  margin-top: 0;
}

.expertise-card:not(.is-open) .expertise-details {
  pointer-events: none;
}

.expertise-stack .expertise-details {
  background: var(--pm-off-white);
  border: 1px solid rgba(139, 21, 56, 0.08);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 0 1.25rem 1.25rem;
}

.expertise-stack .expertise-details p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--pm-gray);
  line-height: 1.6;
}

.expertise-stack .expertise-details p:first-child {
  margin-top: 1rem;
}

.expertise-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--pm-gray);
  line-height: 1.65;
}

.expertise-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
}

.expertise-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pm-red);
}

.expertise-close {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

/* Our Solutions: one rectangle with 5 points */
.solutions-box {
  margin-top: 1.5rem;
  background: var(--pm-white);
  border: 1px solid rgba(139, 21, 56, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 2rem 2rem 1.5rem;
  border-left: 4px solid var(--pm-red);
}

.solutions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: solutions;
}

.solutions-list li {
  position: relative;
  padding: 1rem 0 1rem 3rem;
  font-size: 0.95rem;
  color: var(--pm-gray);
  line-height: 1.65;
  border-bottom: 1px solid rgba(139, 21, 56, 0.08);
  counter-increment: solutions;
}

.solutions-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.solutions-list li::before {
  content: counter(solutions);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pm-white);
  background: var(--pm-red);
  border-radius: 50%;
}

.solutions-list strong {
  display: block;
  color: var(--pm-red);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Our Solutions: intro and close (readable width, balanced with rectangle) */
.solutions-intro {
  max-width: 52ch;
  margin: 0 auto 0;
  text-align: center;
  font-size: 1rem;
  color: var(--pm-gray);
  line-height: 1.6;
}

.solutions-close {
  max-width: 52ch;
  margin: 2rem auto 0 !important;
  text-align: center;
  font-size: 1rem;
  color: var(--pm-gray);
  line-height: 1.6;
}

.solutions-cta {
  max-width: 52ch;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 1rem;
  color: var(--pm-gray);
}

/* Training topics: one box, compact grid (no long bullet list) */
.training-topics-box {
  margin-top: 1.25rem;
  background: var(--pm-off-white);
  border: 1px solid rgba(139, 21, 56, 0.08);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--pm-red);
}

.training-topics-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 2rem;
  font-size: 0.9rem;
  color: var(--pm-gray);
  line-height: 1.5;
}

@media (min-width: 600px) {
  .training-topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.training-topics-grid li {
  position: relative;
  padding-left: 1.25rem;
}

.training-topics-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pm-red);
}

/* Banner */
.section-banner {
  position: relative;
  background: var(--pm-red);
  color: var(--pm-white);
  text-align: center;
  padding-block: 4rem;
  overflow: hidden;
}
.section-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/logo-light.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 70%;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .section-banner::before {
    background-size: 60%;
    opacity: 0.06;
  }
}
@media (min-width: 1200px) {
  .section-banner::before {
    background-size: 50%;
    opacity: 0.07;
  }
}
.section-banner .container {
  position: relative;
  z-index: 1;
}

.banner-title {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.banner-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.9;
  text-align: center;
}

/* Sectors */
.section-sectors {
  background: var(--pm-off-white);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem 2.5rem;
  justify-items: center;
  max-width: fit-content;
  margin-inline: auto;
}
@media (min-width: 540px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 3rem;
  }
}
@media (min-width: 900px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}
.section-about .section-sectors {
  padding-top: 4rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sector-card {
  padding: 2rem;
  background: var(--pm-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid var(--pm-red);
}

.sector-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pm-red);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.sector-card p {
  margin: 0;
  color: var(--pm-gray-light);
  font-size: 0.98rem;
}

/* Stats */
.section-stats {
  background: var(--pm-white);
  padding-block: 3rem;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 8rem;
}

.stat-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--pm-red);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--pm-gray-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Contact */
.section-contact {
  background: var(--pm-off-white);
}

.contact-address {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--pm-gray-light);
  text-align: center;
}

.contact-form-and-details {
  display: grid;
  gap: 2.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .contact-form-and-details {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: start;
    gap: 2.5rem 3rem;
  }
}

.contact-form {
  background: var(--pm-white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
  .contact-form {
    padding: 2.5rem 2.75rem;
  }
}
.contact-form h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pm-red);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.form-group {
  margin-bottom: 1.25rem;
}
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pm-gray);
  margin-bottom: 0.4rem;
}
.contact-form label .required {
  color: var(--pm-red);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: var(--pm-white);
  color: var(--pm-gray);
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pm-red);
  box-shadow: 0 0 0 2px rgba(139, 21, 56, 0.2);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .form-submit {
  margin-top: 1.5rem;
}
.contact-form .btn {
  width: 100%;
  max-width: 240px;
}

.contact-details h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pm-red);
  margin: 0 0 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}
@media (min-width: 540px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-details .contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  grid-template-columns: unset;
}
.contact-details .contact-grid .contact-card {
  width: 100%;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.75rem;
  background: var(--pm-white);
  border-radius: 12px;
  border: 2px solid transparent;
  color: var(--pm-gray);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  border-color: var(--pm-red);
  box-shadow: 0 6px 24px rgba(139, 21, 56, 0.1);
  color: var(--pm-gray);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--pm-red);
  font-weight: 700;
}
.contact-icon-linkedin {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.linkedin-logo {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--pm-red);
}
.contact-card .linkedin-logo {
  width: 1.75rem;
  height: 1.75rem;
}
.footer-links .linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links .linkedin-link .linkedin-logo {
  color: currentColor;
  width: 1.1rem;
  height: 1.1rem;
}
.contact-card strong {
  font-size: 1rem;
  color: var(--pm-red);
}
.contact-card span {
  font-size: 0.95rem;
  color: var(--pm-gray-light);
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--pm-red);
  color: var(--pm-white);
  padding-block: 3rem;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/logo-light.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 70%;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
@media (min-width: 768px) {
  .site-footer::before {
    background-size: 60%;
    opacity: 0.06;
  }
}
@media (min-width: 1200px) {
  .site-footer::before {
    background-size: 50%;
    opacity: 0.07;
  }
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.footer-tagline {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0.5rem 0 0;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--pm-white);
  opacity: 0.9;
}
.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-address {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Float contact buttons (LinkedIn + WhatsApp) */
.float-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.linkedin-float,
.whatsapp-float {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}

.linkedin-float {
  background: #0A66C2;
  box-shadow: 0 4px 20px rgba(10, 102, 194, 0.4);
}
.linkedin-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(10, 102, 194, 0.5);
  color: #fff;
}

.whatsapp-float {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}
.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.float-label,
.whatsapp-float-label {
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .float-label,
  .whatsapp-float-label { display: none; }
}

/* ===== Mobile / phone browser improvements ===== */
/* Prevent horizontal scroll on narrow screens */
body {
  overflow-x: hidden;
}
/* Better tap feedback on touch devices */
a, button, .btn, .menu-toggle {
  -webkit-tap-highlight-color: rgba(139, 21, 56, 0.12);
  tap-highlight-color: rgba(139, 21, 56, 0.12);
}
/* Safe area insets for notched phones (iPhone X+, etc.) */
@supports (padding: env(safe-area-inset-top)) {
  .site-header .container {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  .site-header {
    padding-top: env(safe-area-inset-top);
  }
  .site-footer .container {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  .float-actions {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    right: max(1.5rem, env(safe-area-inset-right));
  }
}
/* Touch-friendly targets on small screens (min 44px) */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    padding: 0.6rem 1.5rem;
  }
  .nav-mobile a {
    min-height: 44px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
  }
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0.75rem;
  }
}
/* Extra padding on very small phones for readability */
@media (max-width: 480px) {
  .container {
    padding-inline: 1.25rem;
  }
  .hero-inner {
    padding-block: 2rem 3rem;
  }
  .page-hero {
    padding-bottom: 2rem;
  }
  .section {
    padding-block: 2.5rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  .hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .linkedin-float,
  .whatsapp-float {
    padding: 0.85rem 1rem;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
  }
}
/* Prevent iOS from zooming on input focus (16px base) */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}
