/* =====================================================
   ROYAL OAK FINANCIAL - ABOUT US SECTION
===================================================== */

.ro-about-section,
.ro-about-section * {
  box-sizing: border-box;
}

.ro-about-section {
  width: 100%;
  padding: 88px 24px 90px;
  background: #ffffff;
  color: #242424;
}

.ro-about-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  column-gap: 74px;
  align-items: start;
}

/* LEFT SIDE */

.ro-about-aside {
  min-width: 0;
}

.ro-about-label {
  display: flex;
  align-items: center;
  gap: 9px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #171717;
}

.ro-about-label-dot {
  display: inline-block;
  flex: 0 0 11px;

  width: 11px;
  height: 11px;
  border-radius: 50%;

  background: #bda448;
}

/*
 * The supplied logo contains both the shield and the text.
 * This container crops the image so only the shield appears,
 * like the Figma design.
 */

.ro-about-mark {
  position: relative;

  width: 100%;
  max-width: 340px;
  height: 300px;

  margin-top: 42px;
  overflow: hidden;
}

.ro-about-mark img {
  position: absolute;

  width: auto !important;
  max-width: none !important;
  height: 560px !important;

  top: -131px;
  left: -58px;

  object-fit: unset;
  opacity: 0.3;
  display: block;
}

/* Divider */

.ro-about-divider {
  width: 100%;
  height: 1px;

  margin-top: 46px;

  background: #cccccc;
}

/* Statistics */

.ro-about-stat-description {
  margin: 20px 0 12px;

  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.5px;

  color: #242424;
}

.ro-about-stat-number {
  margin: 0;

  font-family: "Work Sans", sans-serif;
  font-size: 80px;
  font-weight: 600;
  line-height: 80px;
  letter-spacing: -0.4px;

  /* Figma gold gradient */
  background: linear-gradient(90deg, #d3ae5e 0%, #ac8530 50%, #d3ae5e 100%);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;

  display: inline-block;
}

.ro-about-stat-caption {
  margin: 14px 0 0;

  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;

  color: #777777;
}

/* RIGHT SIDE */

.ro-about-content {
  min-width: 0;
}

.ro-about-heading {
  margin: 0;

  font-family: inherit;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.7px;

  color: #292929;
}

.ro-about-heading span {
  color: #bfa348;
}

/* Explore More button */

.ro-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  min-height: 54px;
  padding: 0 18px;

  margin-top: 27px;

  border: 1px solid #06335d;
  border-radius: 7px;

  background: #06335d;
  color: #ffffff;

  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;

  text-decoration: none !important;

  transition: background-color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.ro-about-button:hover {
  background: #0b477b;
  border-color: #0b477b;
  color: #ffffff;
  transform: translateY(-2px);
}

.ro-about-button-arrow {
  display: inline-block;
  font-size: 29px;
  font-weight: 300;
  line-height: 0.8;
  color: #ffffff;
}

/* Image gallery */

.ro-about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;

  margin-top: 56px;
}

.ro-about-gallery-item {
  width: 100%;
  aspect-ratio: 1.44;

  overflow: hidden;
  border-radius: 9px;
  background: #f2f2f2;
}

.ro-about-gallery-item img {
  display: block;

  width: 100% !important;
  height: 100% !important;
  max-width: none;

  object-fit: cover;
  object-position: center;

  transition: transform 0.45s ease;
}

.ro-about-gallery-item:hover img {
  transform: scale(1.04);
}

/* =========================================
   HOME SERVICES SECTION
========================================= */

.ro-services-section {
  background-color: #073158;
  color: #ffffff;
  padding: 76px 24px 72px;
  overflow: hidden;
}

.ro-services-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Heading */

.ro-services-heading {
  text-align: center;
  margin-bottom: 58px;
}

.ro-services-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 21px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.ro-services-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  background-color: #c6a73a;
  border-radius: 50%;
  flex-shrink: 0;
}

.ro-services-heading h2 {
  max-width: 600px;
  margin: 0 auto;
  color: #ffffff;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1.8px;
}

/* Services List */

.ro-services-list {
  width: 100%;
}

.ro-service-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 154px;
  padding: 30px 90px 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: #ffffff;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: color 0.3s ease;
}

/* Keep the hovered item's image above nearby rows */

.ro-service-item:hover,
.ro-service-item:focus-visible {
  z-index: 5;
  color: #c6a73a;
}

.ro-service-item:focus-visible {
  outline: 2px solid #c6a73a;
  outline-offset: 4px;
}

/* Title and Description */

.ro-service-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-right: 20px;
}

.ro-service-content h3 {
  margin: 0 0 17px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1.2px;
  transition: color 0.3s ease;
}

.ro-service-content p {
  margin: 0;
  color: #e4eaf0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

/* Change title to gold on hover */

.ro-service-item:hover .ro-service-content h3,
.ro-service-item:focus-visible .ro-service-content h3 {
  color: #c6a73a;
}

/* Arrow Icon */

.ro-service-arrow {
  position: absolute;
  top: 50%;
  right: 5px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  transform: translateY(-50%);
  color: #ffffff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.ro-service-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ro-service-item:hover .ro-service-arrow,
.ro-service-item:focus-visible .ro-service-arrow {
  color: #c6a73a;
  transform: translateY(-50%) translate(3px, -3px);
}

/* Hover Image */

/* Service image: slide in from the right */

.ro-service-image {
  position: absolute;
  top: 50%;
  right: 105px;
  z-index: 2;

  width: 280px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* Start outside its final position on the right */
  transform: translateX(60px) translateY(-50%) scale(0.96);

  transition: opacity 0.4s ease, visibility 0.4s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Image itself */

.ro-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Hover: smoothly slide from right to left */

.ro-service-item:hover .ro-service-image,
.ro-service-item:focus-visible .ro-service-image {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(-50%) scale(1);
}

/* ============================================
   WHY CHOOSE US SECTION
============================================ */

.ro-choose-section {
  width: 100%;
  padding: 65px 24px 80px;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.ro-choose-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.49fr) minmax(0, 0.51fr);
  gap: 24px;
  align-items: start;
}

/* ============================================
   LEFT IMAGE AREA
============================================ */

.ro-choose-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 700px;
}

/* Decorative hexagons */

.ro-choose-shape {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 32%, 100% 68%, 50% 100%, 0% 68%, 0% 32%);
}

.ro-choose-shape-outer {
  top: 15px;
  left: 0;
  width: 100%;
  max-width: 560px;
  height: 675px;
  background: #d9ebff;
}

.ro-choose-shape-inner {
  top: 125px;
  left: 60px;
  width: min(76%, 422px);
  height: 390px;
  background: #073158;
}

/* Transparent girl PNG */

.ro-choose-person {
  position: absolute;
  z-index: 2;
  display: block;
  width: auto;
  max-width: none;

  object-fit: contain;
  object-position: center;

  border: 0;
  box-shadow: none;
  left: calc(50% - 348px);
}

/* ============================================
   FLOATING 98% PROGRESS CARD
============================================ */

.ro-choose-stat {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 87px;

  display: flex;
  align-items: center;
  gap: 14px;

  width: 250px;
  min-height: 82px;
  padding: 7px 13px;

  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);

  box-sizing: border-box;
}

.ro-choose-progress {
  position: relative;
  flex-shrink: 0;

  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: conic-gradient(#45c47b 0deg 352.8deg, #dce4df 352.8deg 360deg);
}

.ro-choose-progress::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.ro-choose-progress span {
  position: relative;
  z-index: 1;
  color: #111111;
  font-size: 13px;
  font-weight: 700;
}

.ro-choose-stat p {
  margin: 0;
  color: #353535;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

/* ============================================
   RIGHT CONTENT
============================================ */

.ro-choose-content {
  width: 100%;
  min-width: 0;
  padding-top: 46px;
}

/* Eyebrow */

.ro-choose-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 20px;

  color: #222222;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.ro-choose-dot {
  display: block;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #bca34b;
}

/* Main heading */

.ro-choose-heading {
  margin: 0 0 42px;
  padding: 0;

  color: #080f2f;
  font-size: clamp(34px, 3.3vw, 46px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -1.7px;
}

/* ============================================
   BENEFIT CARDS / ACCORDION
============================================ */

.ro-choose-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.ro-choose-card {
  width: 100%;
  margin: 0;
  padding: 0;

  background: #fcfaf5;
  border: 1px solid #e3e0d9;
  border-radius: 15px;

  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Highlight active card */

.ro-choose-card[open] {
  border-color: #d9b970;
}

.ro-choose-card:hover {
  border-color: #d9b970;
}

/* Remove default browser marker */

.ro-choose-summary {
  display: flex;
  align-items: center;
  gap: 18px;

  min-height: 80px;
  padding: 14px 18px;

  list-style: none;
  cursor: pointer;

  box-sizing: border-box;
}

.ro-choose-summary::-webkit-details-marker {
  display: none;
}

.ro-choose-summary::marker {
  content: "";
}

/* Navy hexagon icons */

.ro-choose-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 47px;
  height: 53px;
  flex-shrink: 0;

  color: #ffffff;
  background: #073158;

  clip-path: polygon(50% 0%, 100% 26%, 100% 74%, 50% 100%, 0% 74%, 0% 26%);
}

.ro-choose-icon svg {
  display: block;
  width: 27px;
  height: 27px;
}

/* Card title */

.ro-choose-title {
  display: block;
  color: #111111;

  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;

  transition: color 0.3s ease;
}

.ro-choose-card:hover .ro-choose-title {
  color: #073158;
}

/* Expanded description */

.ro-choose-description {
  margin: -21px 20px 25px 82px;

  color: #6a6a6a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

/* Keyboard accessibility */

.ro-choose-summary:focus-visible {
  outline: 2px solid #bca34b;
  outline-offset: 3px;
  border-radius: 8px;
}

/* =========================================
   HOW IT WORKS SECTION
========================================= */

.ro-how-section,
.ro-how-section * {
  box-sizing: border-box;
}

.ro-how-section {
  width: 100%;
  padding: 88px 24px 82px;
  background: #fcfaf5;
  color: #10142f;
}

.ro-how-container {
  width: 100%;
  max-width: 1196px;
  margin: 0 auto;
}

/* =========================================
   HEADER: HEADING LEFT, DESCRIPTION RIGHT
========================================= */

.ro-how-header {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: 55px;
  align-items: end;
  margin-bottom: 48px;
}

.ro-how-heading {
  min-width: 0;
}

.ro-how-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;

  color: #202020;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.ro-how-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
  background: #bda448;
}

.ro-how-heading h2 {
  margin: 0;
  padding: 0;

  color: #0b102f;
  font-size: clamp(36px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -1.8px;
}

/* Description on right */

.ro-how-intro {
  max-width: 390px;
  justify-self: end;

  margin: 0 0 0 auto;
  padding-bottom: 1px;

  color: #686868;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

/* =========================================
   THREE-CARD GRID
========================================= */

.ro-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
  align-items: stretch;
}

.ro-how-card {
  min-width: 0;
  min-height: 403px;
  padding: 30px 23px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  background: #ffffff;
  border: 1px solid #dedede;
  border-radius: 25px;

  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Optional subtle card hover */

.ro-how-card:hover {
  border-color: #c9b16a;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(7, 49, 88, 0.06);
}

/* =========================================
   CIRCULAR IMAGES AND DOTTED BORDER
========================================= */

.ro-how-image-wrap {
  position: relative;
  width: 218px;
  height: 218px;
  flex: 0 0 218px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 24px;
}

/* Outer dotted navy circle */

.ro-how-image-dotted {
  position: absolute;
  inset: 0;

  border: 1px dashed #073158;
  border-radius: 50%;
  pointer-events: none;
}

/* Actual circular photograph */

.ro-how-image {
  position: relative;
  z-index: 1;

  display: block;
  width: calc(100% - 26px) !important;
  height: calc(100% - 26px) !important;
  max-width: none !important;

  border: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;

  box-shadow: none;
}

/* =========================================
   CARD TITLE AND DESCRIPTION
========================================= */

.ro-how-card h3 {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;

  color: #333333;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.55px;
}

.ro-how-description {
  max-width: 290px;
  margin: 0 auto;

  color: #858585;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

/* =========================================
   FAQ SECTION - ROYAL OAK FINANCIAL
========================================= */

.ro-faq-section,
.ro-faq-section * {
  box-sizing: border-box;
}

.ro-faq-section {
  width: 100%;
  padding: 95px 24px 92px;
  background: #fcfaf5;
  color: #0b102f;
}

.ro-faq-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  column-gap: 160px;
  align-items: start;
}

/* =========================================
   LEFT COLUMN
========================================= */

.ro-faq-left {
  min-width: 0;
}

/* Label */

.ro-faq-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;

  margin: 0 0 21px;

  color: #171717;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.ro-faq-dot {
  display: block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;

  background: #bda448;
  border-radius: 50%;
}

/* Heading */

.ro-faq-heading {
  width: 480px;
  max-width: calc(100vw - 40px);

  margin: 0 0 37px;
  padding: 0;

  color: #0b102f;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -1.7px;
}

/* =========================================
   CONTACT CARD
========================================= */

.ro-faq-contact-card {
  width: 100%;
  min-height: 299px;

  padding: 28px 26px 23px;

  background: #ffffff;
  border: 1px solid #e7edf4;
  border-radius: 12px;
}

/* Avatar group */

.ro-faq-avatars {
  display: flex;
  align-items: center;

  width: fit-content;
  height: 51px;
  margin-bottom: 10px;
}

.ro-faq-avatar {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 43px !important;
  height: 51px !important;
  flex: 0 0 43px;

  max-width: none !important;
  margin: 0;

  border: 2px solid #ffffff;
  border-radius: 12px;

  object-fit: cover;
  object-position: center;

  background: #dbe8f5;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.ro-faq-avatar + .ro-faq-avatar {
  margin-left: -7px;
}

.ro-faq-avatar-placeholder {
  color: #ffffff;
  background: #073158;
  font-size: 17px;
  font-weight: 500;
}

.ro-faq-avatar-second {
  z-index: 2;
  background: #879bac;
}

/* Contact card title */

.ro-faq-contact-card h3 {
  margin: 0 0 5px;
  padding: 0;

  color: #111111;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.45px;
}

.ro-faq-contact-subtitle {
  margin: 0;

  color: #838383;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

/* Book a call */

.ro-faq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 47px;
  margin-top: 27px;
  padding: 0 16px;

  color: #ffffff;
  background: #073158;
  border: 1px solid #073158;
  border-radius: 8px;

  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none !important;

  transition: background-color 0.25s ease, transform 0.25s ease;
}

.ro-faq-button svg {
  display: block;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.ro-faq-button:hover {
  color: #ffffff;
  background: #104a7b;
  border-color: #104a7b;
  transform: translateY(-2px);
}

.ro-faq-button:focus-visible {
  outline: 2px solid #bda448;
  outline-offset: 3px;
}

/* Email */

.ro-faq-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;

  margin: 31px 0 0;

  color: #838383;
  font-size: 15px;
  line-height: 1.5;
}

.ro-faq-email a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.ro-faq-email a:hover {
  color: #073158;
}

/* =========================================
   RIGHT COLUMN - ACCORDION
========================================= */

.ro-faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;

  width: 100%;
  min-width: 0;
}

/* Each question row */

.ro-faq-item {
  width: 100%;
  margin: 0;
  padding: 0;

  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 13px;

  overflow: hidden;

  transition: border-color 0.25s ease;
}

.ro-faq-item:hover {
  border-color: #cad7e5;
}

.ro-faq-item[open] {
  border-color: #d8c27e;
}

/* Remove browser default disclosure marker */

.ro-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  min-height: 64px;
  padding: 14px 6px 14px 15px;

  list-style: none;
  cursor: pointer;

  color: #10142f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;

  box-sizing: border-box;
}

.ro-faq-question::-webkit-details-marker {
  display: none;
}

.ro-faq-question::marker {
  content: "";
}

/* Grey arrow background */

.ro-faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 35px;
  height: 35px;
  flex: 0 0 35px;

  color: #073158;
  background: #f4f4f4;
  border-radius: 9px;

  transition: transform 0.25s ease, background-color 0.25s ease,
    color 0.25s ease;
}

.ro-faq-chevron svg {
  display: block;
  width: 21px;
  height: 21px;
}

/* Turn the arrow down when a question is open */

.ro-faq-item[open] .ro-faq-chevron {
  transform: rotate(90deg);
  color: #ffffff;
  background: #073158;
}

/* Keyboard focus */

.ro-faq-question:focus-visible {
  outline: 2px solid #bda448;
  outline-offset: -3px;
  border-radius: 10px;
}

/* Answer panel */

.ro-faq-answer {
  padding: 0 55px 20px 15px;
}

.ro-faq-answer p {
  margin: 0;

  color: #727272;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

/* =========================================
   TESTIMONIALS SLIDER
========================================= */

.ro-testimonials-section,
.ro-testimonials-section * {
  box-sizing: border-box;
}

.ro-testimonials-section {
  width: 100%;
  padding: 78px 24px 65px;
  background: #ffffff;
  color: #10142f;
  overflow: hidden;
}

.ro-testimonials-container {
  width: 100%;
  max-width: 1196px;
  margin: 0 auto;
}

/* Heading row */

.ro-testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 40px;
}

.ro-testimonials-heading {
  min-width: 0;
}

.ro-testimonials-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;

  color: #202020;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}

.ro-testimonials-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
  background: #bda448;
}

.ro-testimonials-heading h2 {
  margin: 0;
  padding: 0;

  color: #0b102f;
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1.7px;
}

/* Slider arrows */

.ro-testimonials-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.ro-testimonials-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  padding: 0;

  border: 1px solid #073158;
  border-radius: 50%;
  background: #073158;
  color: #ffffff;

  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.ro-testimonials-arrow svg {
  display: block;
  width: 24px;
  height: 24px;
}

.ro-testimonials-arrow:hover {
  background: #bda448;
  border-color: #bda448;
  color: #ffffff;
  transform: scale(1.05);
}

.ro-testimonials-arrow:focus-visible {
  outline: 2px solid #bda448;
  outline-offset: 3px;
}

/* =========================================
   SLIDER TRACK
========================================= */

.ro-testimonials-track {
  display: flex;
  align-items: stretch;
  gap: 20px;

  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;

  padding: 0 0 4px;
}

.ro-testimonials-track::-webkit-scrollbar {
  display: none;
}

/* =========================================
   TESTIMONIAL CARD
========================================= */

.ro-testimonial-card {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 40px) / 3);

  min-width: 0;
  height: 364px;
  padding: 32px 29px 30px;

  overflow: hidden;
  scroll-snap-align: start;

  border: 1px solid #dbe3ec;
  border-radius: 21px;

  background: linear-gradient(180deg, #e1efff 0%, #eff7ff 65%, #ffffff 100%);
}

/* Delicate dotted pattern */

.ro-testimonial-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;

  background-image: radial-gradient(
    circle,
    rgba(7, 49, 88, 0.15) 0.8px,
    transparent 1px
  );

  background-size: 7px 7px;
  opacity: 0.48;
  pointer-events: none;

  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 45%,
    transparent 100%
  );

  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}

/* Review content */

.ro-testimonial-quote {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;

  color: #424242;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ro-testimonial-quote p {
  margin: 0 0 10px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ro-testimonial-quote p:last-child {
  margin-bottom: 0;
}

/* Footer divider, avatar and client name */

.ro-testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  flex-shrink: 0;
  min-width: 0;
  margin-top: 22px;
  padding-top: 24px;

  border-top: 1px solid rgba(7, 49, 88, 0.09);
}

.ro-testimonial-client {
  display: flex;
  align-items: center;
  gap: 9px;

  min-width: 0;
  flex: 1 1 auto;
}

.ro-testimonial-avatar {
  display: block;

  width: 55px !important;
  height: 55px !important;
  flex: 0 0 55px;

  max-width: none !important;
  margin: 0;

  object-fit: cover;
  object-position: center;

  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.ro-testimonial-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  background: #073158;
  color: #ffffff;

  font-size: 21px;
  font-weight: 500;
}

.ro-testimonial-client-info {
  min-width: 0;
}

.ro-testimonial-client-info h3 {
  margin: 0 0 3px;
  padding: 0;

  color: #1b1b1b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;

  overflow-wrap: anywhere;
}

.ro-testimonial-client-info p {
  margin: 0;
  padding: 0;

  color: #4c4c4c;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

/* Gold rating stars */

.ro-testimonial-stars {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;

  color: #ffc928;
  white-space: nowrap;
}

.ro-testimonial-stars span {
  font-size: 21px;
  line-height: 1;
}

.ro-testimonial-stars .is-inactive {
  color: #d7d7d7;
}

/* =========================================
   CTA SECTION - MATCH REFERENCE DESIGN
   Add at the BOTTOM of style.css
========================================= */

.ro-cta-section {
    width: 100%;
    padding: 70px 24px 84px;
    background: #ffffff;
    overflow: visible;
}

.ro-cta-container {
    position: relative;
    isolation: isolate;

    width: 100%;
    max-width: 1242px;
    min-height: 392px;

    margin: 0 auto;
    padding: 58px 39px;

    display: flex;
    align-items: center;

    /* Allow people to extend above the banner */
    overflow: visible;
    border-radius: 26px;
    background: #d9ebff;
}

/* =========================================
   LEFT TEXT
========================================= */

.ro-cta-content {
    position: relative;
    z-index: 3;

    width: 47%;
    max-width: 475px;
    flex-shrink: 0;
}

.ro-cta-heading {
    margin: 0 0 21px;
    padding: 0;

    color: #0b102f;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1.6px;
}

.ro-cta-heading span {
    color: #bda448;
}

.ro-cta-description {
    max-width: 450px;
    margin: 0 0 21px;
    padding: 0;

    color: #35435d;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

/* Book Consultation button */

.ro-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;

    min-height: 54px;
    padding: 0 18px;

    border: 1px solid #073158;
    border-radius: 8px;

    background: #073158;
    color: #ffffff;

    font-size: 15px;
    text-decoration: none !important;

    transition: background-color 0.3s ease,
                transform 0.3s ease;
}

.ro-cta-button:hover {
    background: #0b477b;
    border-color: #0b477b;
    color: #ffffff;
    transform: translateY(-2px);
}

.ro-cta-button-arrow {
    display: block;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

/* =========================================
   SHIELD LOGO - BEHIND PEOPLE
========================================= */

.ro-cta-background-logo {
    position: absolute;
    z-index: 1;

    left: 40%;
    bottom: 18px;

    display: block;
    width: 280px;
    height: 322px;
    max-width: none;

    object-fit: contain;
    object-position: center bottom;

    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
}

/* =========================================
   PEOPLE IMAGE - LARGER AND OVERLAPPING
========================================= */

.ro-cta-people-wrap {
    position: absolute;
    z-index: 2;

    right: 16px;
    bottom: 0;

    /* Increased from 500px × 435px */
    width: 675px;
    height: 590px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    margin: 0;
    padding: 0;
    pointer-events: none;
}

.ro-cta-people {
    display: block;

    width: 100% !important;
    height: 100% !important;
    max-width: none !important;

    object-fit: contain;
    object-position: center bottom;

    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {
  /* Service Section */

  .ro-services-section {
    padding: 65px 35px;
  }

  .ro-service-item {
    min-height: 145px;
    padding-right: 75px;
  }

  .ro-service-image {
    right: 85px;
    width: 240px;
  }

  .ro-service-content {
    max-width: 65%;
  }

  /* Why choose Section */

  .ro-choose-section {
    padding: 55px 25px 65px;
  }

  .ro-choose-container {
    gap: 25px;
  }

  .ro-choose-visual {
    min-height: 590px;
  }

  .ro-choose-shape-outer {
    width: 100%;
    height: 550px;
  }

  .ro-choose-shape-inner {
    top: 120px;
    left: 11%;
    width: 76%;
    height: 325px;
  }

  .ro-choose-person {
    top: -20px;
    left: calc(50% - 429px);
    height: 560px;
  }

  .ro-choose-stat {
    right: 0;
    bottom: 55px;
    width: 225px;
    gap: 10px;
  }

  .ro-choose-progress {
    width: 68px;
    height: 68px;
  }

  .ro-choose-content {
    padding-top: 25px;
  }

  .ro-choose-heading {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .ro-choose-title {
    font-size: 19px;
  }

  .ro-choose-description {
    font-size: 15px;
  }

  /* How Work Section */

  .ro-how-section {
    padding: 70px 28px;
  }

  .ro-how-header {
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
    gap: 35px;
    margin-bottom: 40px;
  }

  .ro-how-heading h2 {
    font-size: 38px;
    letter-spacing: -1.2px;
  }

  .ro-how-grid {
    gap: 16px;
  }

  .ro-how-card {
    min-height: 370px;
    padding: 25px 14px 22px;
    border-radius: 22px;
  }

  .ro-how-image-wrap {
    width: 190px;
    height: 190px;
    flex-basis: 190px;
    margin-bottom: 23px;
  }

  .ro-how-card h3 {
    font-size: 18px;
  }

  .ro-how-description {
    font-size: 14px;
  }

  /* Testimonial Section */

  .ro-testimonials-section {
    padding: 65px 25px 55px;
  }

  .ro-testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
    padding: 28px 23px 25px;
  }

  .ro-testimonial-stars span {
    font-size: 19px;
  }

  .ro-testimonial-footer {
    gap: 8px;
  }
}

@media (max-width: 1190px) {
  .ro-faq-container {
    grid-template-columns: 320px minmax(0, 1fr);
    column-gap: 55px;
  }

  .ro-faq-heading {
    width: 100%;
    font-size: 40px;
    letter-spacing: -1.2px;
  }

  .ro-faq-contact-card {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ro-faq-contact-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 1100px) {
  /* About Section */

  .ro-about-section {
    padding: 70px 28px;
  }

  .ro-about-inner {
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 44px;
  }

  .ro-about-heading {
    font-size: 26px;
    line-height: 1.5;
  }

  .ro-about-mark {
    height: 270px;
  }

  .ro-about-mark img {
    height: 504px !important;
    top: -118px;
    left: -52px;
  }

  .ro-about-stat-number {
    font-size: 62px;
    line-height: 1.1;
  }

  .ro-about-gallery {
    gap: 18px;
    margin-top: 44px;
  }

  /* CTA Section */
  .ro-cta-section {
    padding: 65px 25px 75px;
}

.ro-cta-container {
    min-height: 360px;
    padding: 45px 30px;
}

.ro-cta-content {
    width: 50%;
    max-width: 430px;
}

.ro-cta-heading {
    font-size: 36px;
    letter-spacing: -1px;
}

.ro-cta-people-wrap {
    right: 0;
    width: 540px;
    height: 470px;
}

.ro-cta-background-logo {
    left: 40%;
    width: 225px;
    height: 285px;
}

}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 380px) {
  /* Why Choose Us Section */

  .ro-choose-visual {
    min-height: 475px;
  }

  .ro-choose-shape-outer {
    height: 450px;
  }

  .ro-choose-shape-inner {
    top: 110px;
    height: 260px;
  }

  .ro-choose-person {
    top: -10px;
    left: calc(50% - 352px);
    height: 460px;
  }

  .ro-choose-stat {
    bottom: 0;
    width: 195px;
    min-height: 72px;
    padding: 7px 10px;
  }

  .ro-choose-progress {
    width: 55px;
    height: 55px;
  }

  .ro-choose-stat p {
    font-size: 13px;
  }

  .ro-choose-title {
    font-size: 16px;
  }

  /* How IT Works Section */

  .ro-how-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .ro-how-image-wrap {
    width: 190px;
    height: 190px;
    flex-basis: 190px;
  }

  .ro-how-card h3 {
    font-size: 19px;
  }

  /* Testimonial Section */

  .ro-testimonials-section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .ro-testimonials-heading h2 {
    font-size: 27px;
  }

  .ro-testimonial-card {
    padding-right: 17px;
    padding-left: 17px;
  }

  .ro-testimonial-footer {
    gap: 6px;
  }

  .ro-testimonial-stars span {
    font-size: 15px;
  }

  /* FAQ Section */

  .ro-faq-section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .ro-faq-contact-card {
    padding: 20px;
  }

  .ro-faq-heading {
    font-size: 32px;
  }

  .ro-faq-contact-card h3 {
    font-size: 19px;
  }

  .ro-faq-email {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  /* Service Section */
  .ro-services-section {
    padding: 55px 22px;
  }

  .ro-services-heading {
    margin-bottom: 35px;
  }

  .ro-services-heading h2 {
    font-size: 32px;
    letter-spacing: -0.8px;
  }

  .ro-service-item {
    display: block;
    min-height: auto;
    padding: 25px 48px 25px 0;
  }

  .ro-service-content {
    max-width: 100%;
    padding-right: 0;
  }

  .ro-service-content h3 {
    margin-bottom: 12px;
    font-size: 28px;
    letter-spacing: -0.6px;
  }

  .ro-service-content p {
    font-size: 14px;
  }

  .ro-service-arrow {
    top: 28px;
    right: 0;
    width: 30px;
    height: 30px;
    transform: none;
  }

  .ro-service-item:hover .ro-service-arrow,
  .ro-service-item:focus-visible .ro-service-arrow {
    transform: translate(2px, -2px);
  }

  .ro-service-image {
    position: relative;
    top: auto;
    right: auto;

    width: 100%;
    max-width: 340px;
    aspect-ratio: 3 / 2;

    margin-top: 0;
    opacity: 0;
    visibility: hidden;

    transform: translateX(35px) translateY(8px);

    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.45s ease,
      margin-top 0.3s ease;
  }

  .ro-service-item:hover .ro-service-image,
  .ro-service-item:focus-visible .ro-service-image {
    margin-top: 18px;
    opacity: 1;
    visibility: visible;

    transform: translateX(0) translateY(0);
  }

  /* Testimonial Section */

  .ro-testimonials-section {
    padding: 50px 20px;
  }

  .ro-testimonials-header {
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 28px;
  }

  .ro-testimonials-eyebrow {
    margin-bottom: 15px;
    font-size: 13px;
  }

  .ro-testimonials-heading h2 {
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -0.8px;
  }

  .ro-testimonials-controls {
    gap: 8px;
  }

  .ro-testimonials-arrow {
    width: 36px;
    height: 36px;
  }

  .ro-testimonials-arrow svg {
    width: 20px;
    height: 20px;
  }

  .ro-testimonials-track {
    gap: 15px;
  }

  .ro-testimonial-card {
    flex-basis: 100%;
    height: 364px;
    padding: 27px 23px 24px;
    border-radius: 18px;
  }

  .ro-testimonial-quote {
    font-size: 14px;
    line-height: 1.65;
  }

  .ro-testimonial-footer {
    gap: 8px;
    margin-top: 18px;
    padding-top: 19px;
  }

  .ro-testimonial-avatar {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px;
    border-radius: 10px;
  }

  .ro-testimonial-client-info h3 {
    font-size: 16px;
  }

  .ro-testimonial-client-info p {
    font-size: 13px;
  }

  .ro-testimonial-stars span {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  /* About Section */

  .ro-about-section {
    padding: 55px 20px 60px;
  }

  .ro-about-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 42px;
  }

  .ro-about-aside {
    width: 100%;
    max-width: 420px;
  }

  .ro-about-mark {
    height: 280px;
    max-width: 340px;
    margin-top: 28px;
  }

  .ro-about-mark img {
    height: 523px !important;
    top: -122px;
    left: -55px;
  }

  .ro-about-divider {
    margin-top: 28px;
  }

  .ro-about-stat-number {
    font-size: 58px;
    line-height: 1.1;
  }

  .ro-about-heading {
    font-size: 25px;
    line-height: 1.5;
    letter-spacing: -0.4px;
  }

  .ro-about-button {
    margin-top: 24px;
  }

  .ro-about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
  }

  .ro-about-gallery-item {
    aspect-ratio: 0.95;
    border-radius: 7px;
  }

  /* Why choose Section */

  .ro-choose-section {
    padding: 35px 20px 55px;
  }

  .ro-choose-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .ro-choose-visual {
    width: 100%;
    max-width: 550px;
    min-height: 550px;
    margin: 0 auto;
  }

  .ro-choose-shape-outer {
    top: 30px;
    left: 50%;
    width: min(100%, 450px);
    height: 530px;
    transform: translateX(-50%);
  }

  .ro-choose-shape-inner {
    top: 125px;
    left: 50%;
    width: min(76%, 345px);
    height: 310px;
    transform: translateX(-50%);
  }

  .ro-choose-person {
    top: -20px;
    left: calc(50% - 406px);
    height: 530px;
  }

  .ro-choose-stat {
    right: 0;
    bottom: 10px;
    width: 220px;
    min-height: 82px;
  }

  .ro-choose-progress {
    width: 65px;
    height: 65px;
  }

  .ro-choose-content {
    padding-top: 5px;
  }

  .ro-choose-eyebrow {
    margin-bottom: 15px;
  }

  .ro-choose-heading {
    margin-bottom: 28px;
    font-size: clamp(32px, 7vw, 40px);
    line-height: 1.25;
    letter-spacing: -1px;
  }

  .ro-choose-summary {
    gap: 14px;
    padding: 13px;
  }

  .ro-choose-icon {
    width: 43px;
    height: 49px;
  }

  .ro-choose-title {
    font-size: 18px;
  }

  .ro-choose-description {
    margin: 0 16px 20px 70px;
    font-size: 14px;
    line-height: 1.7;
  }

  /* HOW About Section */

  .ro-how-section {
    padding: 55px 20px 60px;
  }

  .ro-how-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 32px;
  }

  .ro-how-eyebrow {
    margin-bottom: 16px;
  }

  .ro-how-heading h2 {
    font-size: clamp(32px, 7vw, 40px);
    line-height: 1.25;
    letter-spacing: -1px;
  }

  .ro-how-intro {
    max-width: 100%;
    justify-self: start;
    margin: 0;
    font-size: 15px;
  }

  .ro-how-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .ro-how-card {
    width: 100%;
    min-height: auto;
    padding: 28px 20px 30px;
    border-radius: 22px;
  }

  .ro-how-image-wrap {
    width: 210px;
    height: 210px;
    flex-basis: 210px;
    margin-bottom: 24px;
  }

  .ro-how-card h3 {
    font-size: 21px;
  }

  .ro-how-description {
    max-width: 320px;
    font-size: 15px;
  }

  /* FAQ Section */

  .ro-faq-section {
    padding: 55px 20px 60px;
  }

  .ro-faq-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .ro-faq-heading {
    width: 100%;
    max-width: 100%;

    margin-bottom: 27px;

    font-size: clamp(33px, 7vw, 42px);
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .ro-faq-contact-card {
    max-width: 420px;
    min-height: 0;
    padding: 24px;
  }

  .ro-faq-contact-card h3 {
    font-size: 21px;
  }

  .ro-faq-list {
    gap: 13px;
  }

  .ro-faq-question {
    min-height: 64px;
    padding: 12px 8px 12px 13px;
    font-size: 14px;
    gap: 10px;
  }

  .ro-faq-chevron {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .ro-faq-answer {
    padding: 0 45px 17px 13px;
  }

  /* CTA Section */

  .ro-cta-section {
    padding: 45px 18px 55px;
}

.ro-cta-container {
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 32px 22px 0;
    overflow: hidden;
    border-radius: 20px;
}

.ro-cta-content {
    width: 100%;
    max-width: 100%;
}

.ro-cta-heading {
    font-size: clamp(30px, 7vw, 38px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 17px;
}

.ro-cta-description {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.ro-cta-button {
    min-height: 50px;
    font-size: 14px;
}

.ro-cta-background-logo {
    left: auto;
    right: 5%;
    bottom: 10px;

    width: 155px;
    height: 220px;
}

.ro-cta-people-wrap {
    position: relative;

    right: auto;
    bottom: auto;

    width: 100%;
    max-width: 440px;
    height: auto;
    aspect-ratio: 1.15 / 1;

    align-self: center;
    margin-top: 15px;
}

.ro-cta-people {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain;
    object-position: center bottom;
}

}

/* Smaller phones */

@media (max-width: 420px) {
  .ro-about-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ro-about-gallery-item {
    aspect-ratio: 1.4;
  }

  .ro-about-heading {
    font-size: 23px;
  }

  .ro-about-stat-number {
    font-size: 54px;
    line-height: 1.1;
  }

  /* CTA Section */

  .ro-cta-container {
    padding-right: 19px;
    padding-left: 19px;
  }

  .ro-cta-heading {
    font-size: 30px;
  }

  .ro-cta-people-wrap {
    aspect-ratio: 1 / 1;
  }
}
