/* ===================== */
/* VARIABLES             */
/* ===================== */
:root {
  --color-primary: #d61f5c;
  --color-primary-dark: #b6174b;
  --color-secondary: #123f74;
  --color-secondary-dark: #08294f;
  --color-text: #22324d;
  --color-text-soft: #5f6f86;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7fb;
  --color-bg-light: #eef3f8;
  --color-border: rgba(18, 63, 116, 0.12);
  --color-white: #ffffff;
  --shadow-soft: 0 16px 40px rgba(10, 28, 58, 0.10);
  --shadow-medium: 0 18px 45px rgba(9, 25, 51, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1280px;
  --transition: 0.25s ease;
}

/* ===================== */
/* BASE STYLES           */
/* ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

/* ===================== */
/* LAYOUT                */
/* ===================== */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 860px);
}

.section {
  padding: 88px 0;
}

.section--light {
  background: #f7f8fc;
}

.section--soft {
  background: linear-gradient(180deg, #eef4fb 0%, #f8fbff 100%);
}

.section-intro {
  text-align: center;
  margin-bottom: 32px;
}

.section-intro h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-intro p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-text-soft);
}

.section-intro--compact {
  margin-bottom: 40px;
}

/* ===================== */
/* BUTTONS               */
/* ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(214, 31, 92, 0.20);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.btn--secondary:hover {
  background: var(--color-white);
}

.btn--pill {
  min-height: 42px;
  padding: 0 18px;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.95rem;
}

.btn--pill:hover {
  background: var(--color-secondary-dark);
}

.btn--full {
  width: 100%;
}

/* ===================== */
/* HEADER                */
/* ===================== */
.site-header {
  position: absolute;
  top: 28px;
  left: 0;
  width: 100%;
  z-index: 200;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header__brand {
  flex: 0 0 260px;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 10px 24px rgba(9, 25, 51, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.site-header__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.site-nav__panel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__list > li:first-child::before,
.site-nav__list > li:first-child::after {
  content: none !important;
}

.site-nav__list > li::after {
  display: none;
}

.site-nav__list > li {
  position: relative;
}

.site-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.site-nav__list > li > a:hover {
  color: #f5dce5;
}

.site-nav__cta {
  min-height: 50px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
}

/* REMOVE NAV DIVIDER LINE COMPLETELY */
.site-nav__list > li::before,
.site-nav__list > li::after,
.site-nav__list::before,
.site-nav__list::after,
.site-nav::before,
.site-nav::after {
  content: none !important;
  display: none !important;
}

/* ===================== */
/* DROPDOWNS             */
/* ===================== */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 50;
}

.dropdown-menu ul {
  display: grid;
  gap: 8px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--color-text);
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: #f3f7fc;
  color: var(--color-primary);
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===================== */
/* MEGA MENU FIX         */
/* ===================== */
.has-dropdown--mega {
  position: static;
}

.dropdown-menu--mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 56%;
  transform: translateX(-50%) translateY(10px);
  width: min(960px, calc(100vw - 80px));
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(9, 25, 51, 0.20);
  opacity: 0;
  visibility: hidden;
  z-index: 80;
}

.has-dropdown--mega:hover > .dropdown-menu--mega,
.has-dropdown--mega:focus-within > .dropdown-menu--mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 210px;
  gap: 18px;
  align-items: start;
}

.mega-menu__col h3,
.mega-menu__cta h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--color-text);
}

.mega-menu__cta h3 {
  color: #ffffff;
}

.mega-menu__col ul {
  display: grid;
  gap: 8px;
}

.mega-menu__col a {
  display: block;
  padding: 8px 0;
  color: var(--color-text);
  font-weight: 700;
  white-space: normal;
  line-height: 1.45;
}

.mega-menu__col a:hover {
  color: var(--color-primary);
}

.mega-menu__cta {
  background: linear-gradient(180deg, #174983 0%, #0b3363 100%);
  color: #fff;
  padding: 18px;
  border-radius: 20px;
  align-self: stretch;
  min-width: 0;
}

.mega-menu__cta p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 18px;
}

.mega-menu__cta .btn {
  width: 100%;
  white-space: nowrap;
}

.mega-menu__cta .btn {
  color: #ffffff;
}

/* Hide mobile toggle on desktop */
.nav-toggle {
  display: none !important;
}

/* Show mobile toggle only on smaller screens */
@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
  }
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: #ffffff;
  border-radius: 999px;
}

/* ===================== */
/* HERO SECTION          */
/* ===================== */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media,
.hero__media img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 150%;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(11, 47, 89, 0.68) 0%, rgba(16, 60, 108, 0.50) 38%, rgba(16, 60, 108, 0.18) 100%);
}

.hero__content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-left: clamp(80px, 10vw, 180px); /* 👈 PUSH RIGHT */
}

.hero__content {
  max-width: 560px;
  color: var(--color-white);
  padding-left: clamp(20px, 5vw, 80px);
}

.hero__content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
  margin-bottom: 22px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.hero__content p {
  max-width: 520px;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===================== */
/* QUICK HELP            */
/* ===================== */
.quick-help {
  padding-top: 64px;
  padding-bottom: 28px;
}

.quick-help__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-help__tab {
  min-height: 56px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  color: var(--color-secondary);
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(16, 48, 88, 0.05);
  transition: var(--transition);
}

.quick-help__tab:hover {
  border-color: rgba(214, 31, 92, 0.25);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ===================== */
/* SERVICES SECTION      */
/* ===================== */
.services {
  padding-top: 34px;
  background: #f7f8fc;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.service-card {
  grid-column: span 3;
  background: var(--color-white);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(16, 42, 73, 0.06);
  border: 1px solid rgba(19, 63, 116, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.service-card h3 {
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-soft);
  margin-bottom: 22px;
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card--feature {
  grid-column: span 6;
  min-height: 280px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.service-card__feature-copy {
  flex: 1;
}

/* ===================== */
/* WHY RCCA              */
/* ===================== */
.why-rcca__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.why-rcca__content h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.why-rcca__content > p {
  color: var(--color-text-soft);
  max-width: 720px;
  margin-bottom: 28px;
}

.why-rcca__info-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.why-rcca__image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 20px;
}

.why-rcca__contact-list {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 63, 116, 0.08);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.contact-item + .contact-item {
  margin-top: 18px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-secondary);
}

.contact-item a {
  color: var(--color-secondary);
  font-weight: 700;
}

.testimonial {
  margin: 0;
  padding: 24px 0 0;
  color: var(--color-secondary);
  font-size: 1.12rem;
}

.testimonial p {
  margin-bottom: 10px;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
}

.contact-panel {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 18px 42px rgba(14, 42, 79, 0.12);
}

.contact-panel__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.contact-panel__form-wrap {
  background: linear-gradient(180deg, #0f4c8b 0%, #0b396d 100%);
  color: var(--color-white);
  padding: 30px;
}

.contact-panel__form-wrap h3 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  padding: 15px 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

/* ===================== */
/* FOOTER CTA            */
/* ===================== */
.footer-cta {
  background: linear-gradient(180deg, #031f42 0%, #042750 100%);
  padding: 38px 0 24px;
}

.footer-cta__inner {
  background: #e9eef6;
  border-radius: 22px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 90px 1.2fr auto auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-medium);
}

.footer-cta__inner {
  background: linear-gradient(135deg, #eef3fb 0%, #e4ecf8 100%);
  border-radius: 22px;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 90px 1.4fr auto auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 50px rgba(9, 25, 51, 0.15);
}

/* Make headline stronger */
.footer-cta__copy h2 {
  font-weight: 900;
  color: var(--color-secondary);
}

/* Add subtle divider line */
.footer-cta__actions {
  position: relative;
}

.footer-cta__actions::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(18, 63, 116, 0.15);
}

/* Make phone pop more */
.footer-cta__phone a {
  font-size: 1.75rem;
  font-weight: 900;
}

.footer-cta__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.footer-cta__copy h2 {
  margin-bottom: 6px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
}

.footer-cta__copy p {
  margin: 0;
  color: var(--color-text-soft);
}

.footer-cta__phone {
  padding-left: 24px;
  border-left: 1px solid rgba(18, 63, 116, 0.14);
}

.footer-cta__phone span {
  display: block;
  color: var(--color-text-soft);
  margin-bottom: 4px;
}

.footer-cta__phone a {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-secondary);
}

/* ===================== */
/* FOOTER MAIN           */
/* ===================== */
.site-footer {
  background: linear-gradient(180deg, #031f42 0%, #031a36 100%);
  color: var(--color-white);
}

.footer-main {
  padding: 30px 0 0;
}

.footer-main__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  max-width: 260px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 320px;
  color: rgba(255, 255, 255, 0.80);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffdce8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-bottom nav ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom nav a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom nav a:hover {
  color: var(--color-white);
}

/* ===================== */
/* MEDIA QUERIES         */
/* ===================== */
@media (max-width: 1200px) {
  .dropdown-menu--mega {
    min-width: 760px;
  }

  .mega-menu {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu__cta {
    grid-column: 1 / -1;
  }


  .services__grid .service-card {
    grid-column: span 4;
  }

  .services__grid .service-card--feature {
    grid-column: span 8;
  }

  .footer-main__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .site-header {
    top: 18px;
  }

  .dropdown-menu--mega {
  position: static;
  width: 100%;
  min-width: 100%;
  transform: none;
}

  .site-header__inner {
    align-items: center;
  }

  .site-header__brand {
    max-width: 230px;
    padding: 14px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav__panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(92vw, 420px);
    background: rgba(8, 28, 56, 0.97);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__panel.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__list > li > a {
    min-height: 50px;
    padding: 0 8px;
  }

  .dropdown-menu,
  .dropdown-menu--mega {
    position: static;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.98);
  }

  .has-dropdown.is-open > .dropdown-menu {
    display: block;
  }

  .mega-menu {
    grid-template-columns: 1fr;
  }

  .site-nav__cta {
    width: 100%;
  }

  .hero {
    min-height: 700px;
  }


  .services__grid .service-card,
  .services__grid .service-card--feature {
    grid-column: span 6;
  }

  .why-rcca__grid,
  .why-rcca__info-card,
  .footer-cta__inner {
    grid-template-columns: 1fr;
  }

  .footer-cta__phone {
    padding-left: 0;
    border-left: 0;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 64px 0;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    min-height: 640px;
  }

  .hero__content h1 {
    font-size: 2.7rem;
  }

  .hero__content p {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn--secondary {
    width: 100%;
  }

  .services__grid .service-card,
  .services__grid .service-card--feature {
    grid-column: span 12;
  }

  .service-card--feature {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main__grid {
    grid-template-columns: 1fr;
  }

  .quick-help__tab {
    width: 100%;
  }
}