/* Royal Developer - Company Profile
   Page-scoped stylesheet to prevent conflicts with legacy/global theme CSS. */

.company-profile-page,
.company-profile-page * {
  box-sizing: border-box;
}

.company-profile-page {
  --rd-primary: #00a8c6;
  --rd-primary-dark: #047c96;
  --rd-primary-soft: #e9f8fb;
  --rd-ink: #15252f;
  --rd-text: #4f5f69;
  --rd-muted: #74838d;
  --rd-line: #dfe8ec;
  --rd-soft: #f6f9fa;
  --rd-white: #ffffff;
  --rd-dark: #0d1b22;
  --rd-shadow: 0 18px 50px rgba(21, 37, 47, 0.10);
  --rd-shadow-sm: 0 8px 26px rgba(21, 37, 47, 0.08);
  --rd-radius: 22px;
  --rd-radius-sm: 14px;
  margin: 0;
  color: var(--rd-text);
  background: var(--rd-white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.company-profile-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.company-profile-page a {
  color: inherit;
  text-decoration: none;
}

.company-profile-page button,
.company-profile-page a {
  -webkit-tap-highlight-color: transparent;
}

.company-profile-page button,
.company-profile-page input,
.company-profile-page textarea,
.company-profile-page select {
  font: inherit;
}

.company-profile-page .container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.company-profile-page .skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--rd-dark);
  color: var(--rd-white);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.company-profile-page .skip-link:focus {
  transform: translateY(0);
}

.company-profile-page :focus-visible {
  outline: 3px solid rgba(0, 168, 198, .34);
  outline-offset: 3px;
}

/* Top bar */
.company-profile-page .compact-topbar {
  background: var(--rd-dark);
  color: #dce8ec;
  font-size: 13px;
}

.company-profile-page .compact-topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.company-profile-page .compact-topbar-left,
.company-profile-page .compact-topbar-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-profile-page .topbar-badge {
  width: 8px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #49d2e7;
  color: transparent;
  box-shadow: 0 0 0 4px rgba(73, 210, 231, .12);
}

.company-profile-page .compact-topbar a:hover {
  color: #fff;
}

/* Header */
.company-profile-page .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(223, 232, 236, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.company-profile-page .compact-header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.company-profile-page .brand img {
  width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.company-profile-page .desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.company-profile-page .desktop-nav > a,
.company-profile-page .nav-menu > button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--rd-ink);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 16px 10px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.company-profile-page .desktop-nav > a:hover,
.company-profile-page .desktop-nav > a[aria-current="page"],
.company-profile-page .nav-menu > button:hover,
.company-profile-page .nav-menu > button[aria-expanded="true"] {
  color: var(--rd-primary-dark);
  background: var(--rd-primary-soft);
}

.company-profile-page .nav-menu {
  position: relative;
}

.company-profile-page .nav-menu > button::after {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.company-profile-page .nav-menu > button[aria-expanded="true"]::after {
  transform: rotate(225deg) translate(-1px,-1px);
}

.company-profile-page .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  border: 1px solid var(--rd-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--rd-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.company-profile-page .nav-menu:hover > .dropdown,
.company-profile-page .nav-menu:focus-within > .dropdown,
.company-profile-page .nav-menu.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.company-profile-page .compact-company-dropdown a,
.company-profile-page .mega-col a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--rd-text);
  font-size: 13px;
  font-weight: 650;
}

.company-profile-page .compact-company-dropdown a:hover,
.company-profile-page .mega-col a:hover {
  background: var(--rd-primary-soft);
  color: var(--rd-primary-dark);
}

.company-profile-page .nav-services {
  position: static;
}

.company-profile-page .compact-mega-menu {
  left: 50%;
  width: min(980px, calc(100vw - 70px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  transform: translate(-50%, 8px);
}

.company-profile-page .nav-services:hover > .compact-mega-menu,
.company-profile-page .nav-services:focus-within > .compact-mega-menu,
.company-profile-page .nav-services.is-open > .compact-mega-menu {
  transform: translate(-50%, 0);
}

.company-profile-page .mega-col {
  min-width: 0;
}

.company-profile-page .compact-header-cta {
  display: flex;
  justify-content: flex-end;
}

.company-profile-page .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.company-profile-page .btn:hover {
  transform: translateY(-2px);
}

.company-profile-page .btn-primary {
  background: linear-gradient(135deg, var(--rd-primary), #12bdd5);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 168, 198, .22);
}

.company-profile-page .btn-primary:hover {
  box-shadow: 0 14px 30px rgba(0, 168, 198, .28);
}

.company-profile-page .btn-light {
  border-color: var(--rd-line);
  background: #fff;
  color: var(--rd-ink);
  box-shadow: var(--rd-shadow-sm);
}

.company-profile-page .btn-ghost {
  border-color: rgba(0,168,198,.28);
  background: var(--rd-primary-soft);
  color: var(--rd-primary-dark);
}

.company-profile-page .menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rd-line);
  border-radius: 12px;
  background: #fff;
  color: var(--rd-ink);
  font-size: 24px;
  cursor: pointer;
}

/* Drawer */
.company-profile-page .drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(4, 16, 22, .58);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.company-profile-page .mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  width: min(390px, 92vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -20px 0 60px rgba(0,0,0,.18);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s ease;
}

.company-profile-page.drawer-open {
  overflow: hidden;
}

.company-profile-page.drawer-open .drawer-overlay {
  opacity: 1;
  visibility: visible;
}

.company-profile-page.drawer-open .mobile-drawer {
  transform: translateX(0);
  visibility: visible;
}

.company-profile-page .drawer-head {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--rd-line);
}

.company-profile-page .drawer-head img {
  width: 180px;
  max-height: 52px;
  object-fit: contain;
}

.company-profile-page .drawer-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rd-line);
  border-radius: 12px;
  background: #fff;
  color: var(--rd-ink);
  font-size: 30px;
  cursor: pointer;
}

.company-profile-page .drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 16px 30px;
  overscroll-behavior: contain;
}

.company-profile-page .drawer-nav a,
.company-profile-page .drawer-group {
  display: block;
}

.company-profile-page .drawer-nav a {
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--rd-text);
  font-size: 14px;
  font-weight: 650;
}

.company-profile-page .drawer-nav a:hover,
.company-profile-page .drawer-nav a[aria-current="page"] {
  background: var(--rd-primary-soft);
  color: var(--rd-primary-dark);
}

.company-profile-page .drawer-group {
  margin: 18px 0 5px;
  padding: 0 12px;
  color: var(--rd-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.company-profile-page .drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--rd-line);
  background: #fff;
}

/* Breadcrumb */
.company-profile-page .breadcrumb-wrap {
  border-bottom: 1px solid var(--rd-line);
  background: #fbfcfd;
}

.company-profile-page .breadcrumb {
  min-height: 46px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--rd-muted);
}

.company-profile-page .breadcrumb a:hover {
  color: var(--rd-primary-dark);
}

/* Hero */
.company-profile-page .page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  background:
    radial-gradient(circle at 85% 18%, rgba(0,168,198,.16), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7fbfc 100%);
}

.company-profile-page .page-hero::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(0,168,198,.06);
  pointer-events: none;
}

.company-profile-page .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: 70px;
}

.company-profile-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--rd-primary-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.company-profile-page .eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--rd-primary);
}

.company-profile-page h1,
.company-profile-page h2,
.company-profile-page h3,
.company-profile-page p {
  margin-top: 0;
}

.company-profile-page h1,
.company-profile-page h2,
.company-profile-page h3 {
  color: var(--rd-ink);
  line-height: 1.18;
}

.company-profile-page .hero-copy h1 {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -.035em;
}

.company-profile-page .hero-copy h1 span {
  display: block;
  color: var(--rd-primary-dark);
}

.company-profile-page .hero-copy > p {
  max-width: 690px;
  margin-bottom: 28px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: #52636d;
}

.company-profile-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.company-profile-page .hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-profile-page .hero-points li {
  position: relative;
  padding-left: 21px;
  color: var(--rd-text);
  font-size: 14px;
  font-weight: 750;
}

.company-profile-page .hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rd-primary-dark);
  font-weight: 900;
}

.company-profile-page .hero-visual {
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
  padding: 18px 18px 68px;
  border-radius: 34px;
  background: linear-gradient(145deg, #e9f8fb, #ffffff);
  border: 1px solid #dceff3;
  box-shadow: var(--rd-shadow);
}

.company-profile-page .hero-image-card {
  overflow: hidden;
  border-radius: 24px;
  background: #edf2f4;
  aspect-ratio: 4 / 5;
}

.company-profile-page .hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.company-profile-page .hero-stat {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(13,27,34,.94);
  color: #fff;
  box-shadow: 0 12px 28px rgba(13,27,34,.18);
}

.company-profile-page .hero-stat strong,
.company-profile-page .hero-stat span {
  display: block;
}

.company-profile-page .hero-stat strong {
  margin-bottom: 3px;
  font-size: 15px;
}

.company-profile-page .hero-stat span {
  color: #bdd2da;
  font-size: 13px;
}

/* Stats */
.company-profile-page .stats-strip {
  border-block: 1px solid var(--rd-line);
  background: #fff;
}

.company-profile-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.company-profile-page .stat {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  border-right: 1px solid var(--rd-line);
}

.company-profile-page .stat:first-child {
  border-left: 1px solid var(--rd-line);
}

.company-profile-page .stat strong {
  color: var(--rd-ink);
  font-size: 18px;
}

.company-profile-page .stat span {
  margin-top: 2px;
  color: var(--rd-muted);
  font-size: 13px;
}

/* Generic sections */
.company-profile-page .section {
  padding: 86px 0;
}

.company-profile-page .section-soft {
  background: var(--rd-soft);
  border-block: 1px solid #edf2f4;
}

.company-profile-page .split {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 70px;
}

.company-profile-page .split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.company-profile-page .split.reverse .split-media {
  order: 1;
}

.company-profile-page .split.reverse .split-content {
  order: 2;
}

.company-profile-page .split-media > img {
  width: min(100%, 430px);
  margin-inline: auto;
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  object-fit: cover;
}

.company-profile-page .split-content h2,
.company-profile-page .section-title,
.company-profile-page .panel-heading {
  margin-bottom: 20px;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -.025em;
}

.company-profile-page .split-content p,
.company-profile-page .section-lead {
  font-size: 16px;
  color: var(--rd-text);
}

.company-profile-page .split-content p:last-of-type {
  margin-bottom: 0;
}

.company-profile-page .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 26px;
}

.company-profile-page .mt-34 {
  margin-top: 34px;
}

.company-profile-page .card,
.company-profile-page .quote-panel {
  padding: 30px;
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius);
  background: #fff;
  box-shadow: var(--rd-shadow-sm);
}

.company-profile-page .quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #0f2732, #0a1d25);
  color: #fff;
  border-color: transparent;
}

.company-profile-page .quote-panel blockquote {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.42;
  font-weight: 750;
  letter-spacing: -.015em;
}

.company-profile-page .quote-panel cite {
  color: #a8c6d0;
  font-size: 14px;
  font-style: normal;
}

.company-profile-page .card h3 {
  margin-bottom: 18px;
  font-size: 23px;
}

.company-profile-page .check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-profile-page .check-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid #edf2f4;
}

.company-profile-page .check-list li:last-child {
  border-bottom: 0;
}

.company-profile-page .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rd-primary-soft);
  color: var(--rd-primary-dark);
  font-weight: 900;
  font-size: 13px;
}

.company-profile-page .fact-list {
  display: grid;
  gap: 0;
}

.company-profile-page .fact {
  padding: 17px 0;
  border-bottom: 1px solid var(--rd-line);
}

.company-profile-page .fact:last-child {
  border-bottom: 0;
}

.company-profile-page .fact small,
.company-profile-page .fact strong {
  display: block;
}

.company-profile-page .fact small {
  margin-bottom: 4px;
  color: var(--rd-primary-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.company-profile-page .fact strong {
  color: var(--rd-ink);
  font-size: 16px;
}

.company-profile-page .service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.company-profile-page .service-pills a {
  padding: 9px 13px;
  border: 1px solid var(--rd-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rd-ink);
  font-size: 13px;
  font-weight: 750;
}

.company-profile-page .service-pills a:hover {
  border-color: rgba(0,168,198,.32);
  background: var(--rd-primary-soft);
  color: var(--rd-primary-dark);
}


/* Why Us: three-column reason / explore cards */
.company-profile-page .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.company-profile-page .icon-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.company-profile-page .icon-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(0,168,198,.055);
  pointer-events: none;
}

.company-profile-page .icon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,168,198,.30);
  box-shadow: 0 18px 42px rgba(21,37,47,.11);
}

.company-profile-page .icon-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--rd-primary-soft);
  color: var(--rd-primary-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
}

.company-profile-page .icon-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.company-profile-page .icon-card h3 a:hover {
  color: var(--rd-primary-dark);
}

.company-profile-page .icon-card p {
  margin-bottom: 0;
  color: var(--rd-text);
}

/* Why Us: process timeline */
.company-profile-page .timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.company-profile-page .timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,168,198,.18), rgba(0,168,198,.55), rgba(0,168,198,.18));
}

.company-profile-page .timeline-item {
  position: relative;
  padding-top: 46px;
}

.company-profile-page .timeline-dot {
  position: absolute;
  top: 8px;
  left: 24px;
  z-index: 2;
  width: 20px;
  height: 20px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--rd-primary);
  box-shadow: 0 0 0 1px rgba(0,168,198,.24), 0 5px 14px rgba(0,168,198,.24);
}

.company-profile-page .timeline-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--rd-line);
  border-radius: var(--rd-radius-sm);
  background: #fff;
  box-shadow: var(--rd-shadow-sm);
}

.company-profile-page .timeline-card .date {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--rd-primary-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.company-profile-page .timeline-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.company-profile-page .timeline-card p {
  margin-bottom: 0;
}

.company-profile-page .section-aqua {
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, #e8f8fb 0%, #f7fcfd 100%);
  border-block: 1px solid #dceff3;
}

.company-profile-page .section-aqua .quote-panel {
  max-width: 980px;
  margin-inline: auto;
}

/* FAQ */
.company-profile-page .section-lead {
  max-width: 720px;
  margin-bottom: 32px;
}

.company-profile-page .faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.company-profile-page .faq-item {
  overflow: hidden;
  border: 1px solid var(--rd-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(21,37,47,.04);
}

.company-profile-page .faq-q {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 54px 19px 20px;
  border: 0;
  background: transparent;
  color: var(--rd-ink);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.company-profile-page .faq-q::before,
.company-profile-page .faq-q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--rd-primary-dark);
  transform: translateY(-50%);
  transition: transform .22s ease;
}

.company-profile-page .faq-q::after {
  transform: translateY(-50%) rotate(90deg);
}

.company-profile-page .faq-q[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(0deg);
}

.company-profile-page .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}

.company-profile-page .faq-a > div {
  overflow: hidden;
}

.company-profile-page .faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.company-profile-page .faq-a p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--rd-text);
}

/* CTA */
.company-profile-page .cta-section {
  padding: 0 0 86px;
  background: #fff;
}

.company-profile-page .cta-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 42px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 95% 10%, rgba(255,255,255,.15), transparent 30%),
    linear-gradient(135deg, #12323f, #0c222b);
  color: #fff;
  box-shadow: 0 22px 50px rgba(13,27,34,.18);
}

.company-profile-page .cta-panel h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
}

.company-profile-page .cta-panel p {
  max-width: 700px;
  margin-bottom: 0;
  color: #bed3db;
}

.company-profile-page .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* WhatsApp */
.company-profile-page .floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 9px;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 12px 32px rgba(31,168,85,.28);
  font-size: 13px;
  font-weight: 850;
}

.company-profile-page .wa-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  font-size: 18px;
}

/* Footer */
.company-profile-page .site-footer {
  padding: 64px 0 0;
  background: #0d1b22;
  color: #bdcad0;
}

.company-profile-page .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, .8fr);
  gap: 38px;
  padding-bottom: 46px;
}

.company-profile-page .footer-brand img {
  width: 210px;
  max-height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.company-profile-page .footer-brand p {
  max-width: 380px;
  margin: 20px 0 0;
  color: #9db0b9;
}

.company-profile-page .footer-col h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .02em;
}

.company-profile-page .footer-col a,
.company-profile-page .footer-col span {
  display: block;
  margin: 9px 0;
  color: #aabac2;
  font-size: 14px;
}

.company-profile-page .footer-col a:hover {
  color: #fff;
}

.company-profile-page .footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #82979f;
  font-size: 13px;
}

/* Mobile dock */
.company-profile-page .mobile-dock {
  display: none;
}

/* Reveal animation */
.company-profile-page .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.company-profile-page .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 1140px) {
  .company-profile-page .compact-header-inner {
    grid-template-columns: 190px minmax(0,1fr) auto;
    gap: 12px;
  }

  .company-profile-page .brand img {
    width: 170px;
  }

  .company-profile-page .desktop-nav > a,
  .company-profile-page .nav-menu > button {
    padding-inline: 7px;
    font-size: 13px;
  }

  .company-profile-page .compact-header-cta .btn {
    padding-inline: 14px;
    font-size: 13px;
  }

  .company-profile-page .hero-grid,
  .company-profile-page .split {
    gap: 48px;
  }
}

@media (max-width: 980px) {
  .company-profile-page .desktop-nav,
  .company-profile-page .compact-header-cta {
    display: none;
  }

  .company-profile-page .compact-header-inner {
    grid-template-columns: 1fr auto;
  }

  .company-profile-page .menu-toggle {
    display: inline-flex;
  }

  .company-profile-page .hero-grid {
    grid-template-columns: 1fr .75fr;
    gap: 38px;
  }

  .company-profile-page .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-profile-page .stat:nth-child(2) {
    border-right: 1px solid var(--rd-line);
  }

  .company-profile-page .stat:nth-child(3),
  .company-profile-page .stat:nth-child(4) {
    border-top: 1px solid var(--rd-line);
  }

  .company-profile-page .split,
  .company-profile-page .split.reverse {
    grid-template-columns: 1fr;
  }

  .company-profile-page .split.reverse .split-media,
  .company-profile-page .split.reverse .split-content {
    order: initial;
  }

  .company-profile-page .split-media > img {
    width: min(100%, 360px);
  }

  .company-profile-page .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 720px) {
  .company-profile-page .container {
    width: min(100% - 28px, 1180px);
  }

  .company-profile-page .compact-topbar-inner {
    min-height: 38px;
    justify-content: center;
  }

  .company-profile-page .compact-topbar-links {
    display: none;
  }

  .company-profile-page .compact-header-inner {
    min-height: 70px;
  }

  .company-profile-page .brand img {
    width: 162px;
  }

  .company-profile-page .breadcrumb {
    min-height: 42px;
    font-size: 12px;
  }

  .company-profile-page .page-hero {
    padding: 54px 0 56px;
  }

  .company-profile-page .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .company-profile-page .hero-copy h1 {
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .company-profile-page .hero-copy > p {
    font-size: 16px;
  }

  .company-profile-page .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .company-profile-page .hero-actions .btn {
    width: 100%;
  }

  .company-profile-page .hero-points {
    display: grid;
    gap: 9px;
  }

  .company-profile-page .hero-visual {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .company-profile-page .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .company-profile-page .stat {
    min-height: 94px;
    padding: 18px 16px;
  }

  .company-profile-page .stat:first-child,
  .company-profile-page .stat:nth-child(3) {
    border-left: 1px solid var(--rd-line);
  }

  .company-profile-page .section {
    padding: 64px 0;
  }

  .company-profile-page .split,
  .company-profile-page .split.reverse {
    gap: 34px;
  }

  .company-profile-page .grid-2 {
    grid-template-columns: 1fr;
  }

  .company-profile-page .card,
  .company-profile-page .quote-panel {
    padding: 24px;
  }

  .company-profile-page .cta-section {
    padding-bottom: 72px;
  }

  .company-profile-page .cta-panel {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .company-profile-page .cta-actions {
    justify-content: stretch;
  }

  .company-profile-page .cta-actions .btn {
    width: 100%;
  }

  .company-profile-page .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .company-profile-page .footer-bottom {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 90px;
  }

  .company-profile-page .floating-whatsapp {
    display: none;
  }

  .company-profile-page .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 850;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px max(8px, env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
    border-top: 1px solid var(--rd-line);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 24px rgba(13,27,34,.08);
    backdrop-filter: blur(12px);
  }

  .company-profile-page .mobile-dock a {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 10px;
    color: #5b6972;
    font-size: 10px;
    font-weight: 800;
  }

  .company-profile-page .mobile-dock a.primary {
    background: var(--rd-primary);
    color: #fff;
  }

  .company-profile-page .dock-icon {
    font-size: 18px;
    line-height: 1;
  }
}

@media (max-width: 420px) {
  .company-profile-page .hero-stat {
    left: 28px;
    right: 28px;
  }

  .company-profile-page .stats-grid {
    grid-template-columns: 1fr;
  }

  .company-profile-page .stat,
  .company-profile-page .stat:first-child,
  .company-profile-page .stat:nth-child(2),
  .company-profile-page .stat:nth-child(3),
  .company-profile-page .stat:nth-child(4) {
    border-left: 1px solid var(--rd-line);
    border-right: 1px solid var(--rd-line);
    border-top: 1px solid var(--rd-line);
  }

  .company-profile-page .stat:first-child {
    border-top: 0;
  }

  .company-profile-page .drawer-cta {
    grid-template-columns: 1fr;
  }
}


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

  .company-profile-page .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-profile-page .timeline::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .company-profile-page .grid-3,
  .company-profile-page .timeline {
    grid-template-columns: 1fr;
  }

  .company-profile-page .timeline {
    gap: 16px;
    margin-top: 30px;
  }

  .company-profile-page .timeline-item {
    padding-top: 0;
    padding-left: 34px;
  }

  .company-profile-page .timeline-dot {
    top: 24px;
    left: 0;
    width: 16px;
    height: 16px;
    border-width: 4px;
  }

  .company-profile-page .timeline-item::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 39px;
    bottom: -18px;
    width: 2px;
    background: #d8e9ed;
  }

  .company-profile-page .timeline-item:last-child::before {
    display: none;
  }

  .company-profile-page .timeline-card {
    padding: 22px;
  }
}

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

  .company-profile-page .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Company Profile specific layout */
.company-profile-page .hero-image-card {
  aspect-ratio: 16 / 10;
  background: #f3f8fa;
}

.company-profile-page .hero-image-card img {
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

.company-profile-page .split-media > img {
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}

.company-profile-page .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.company-profile-page .grid-4 .card {
  min-height: 100%;
}

.company-profile-page .grid-4 .card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.company-profile-page .mt-32 {
  margin-top: 32px;
}

.company-profile-page .section-aqua {
  background: linear-gradient(180deg, #eefbfd 0%, #f8fcfd 100%);
  border-block: 1px solid #dff1f4;
}

@media (max-width: 980px) {
  .company-profile-page .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .company-profile-page .grid-4 {
    grid-template-columns: 1fr;
  }

  .company-profile-page .hero-image-card {
    aspect-ratio: 4 / 3;
  }
}

