/*
Theme Name: RAFCO Elementor
Theme URI: https://rafco.so/
Author: RAFCO
Author URI: https://rafco.so/
Description: A customizable Elementor-ready WordPress theme for Raasi Ahmar Fishing Company, based on the RAFCO seafood export website design.
Version: 1.3.41
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rafco-elementor
Tags: custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

:root {
  --rafco-ocean-dark: #2B1A16;
  --rafco-ocean: #8E3A26;
  --rafco-ocean-light: #8E3A26;
  --rafco-navy: #2B1A16;
  --rafco-cream: #F7EFEA;
  --rafco-cream-dark: #EDE0D6;
  --rafco-orange: #D98A5F;
  --rafco-green: #8E3A26;
  --rafco-footer-bg: #8E3A26;
  --rafco-footer-heading: #ffffff;
  --rafco-footer-text: #f6faf6;
  --rafco-light-text: #f6faf6;
  --rafco-footer-border: rgba(255, 255, 255, 0.12);
  --rafco-text: #2B1A16;
  --rafco-muted: #8a6b5e;
  --rafco-border: #eeeeee;
  --rafco-shadow: 0 18px 45px rgba(43, 26, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rafco-cream);
  color: var(--rafco-text);
  font-family: "Outfit", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 48px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rafco-container {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  padding: 0 16px;
  pointer-events: none;
  transition: transform 180ms ease;
}

.site-header.is-scrolled {
  transform: translateY(-2px);
}

.site-header__inner {
  width: min(100%, 1120px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(43, 26, 22, 0.08);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(43, 26, 22, 0.12);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 96px;
}

.site-logo img {
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rafco-text);
  transition: color 180ms ease, background 180ms ease;
}

.primary-menu a:hover {
  color: var(--rafco-ocean);
  background: rgba(142, 58, 38, 0.08);
}

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-ancestor > a,
.primary-menu a[aria-current="page"] {
  color: var(--rafco-ocean);
  background: rgba(142, 58, 38, 0.08);
}

.primary-menu .current-menu-item > a:hover,
.primary-menu .current_page_item > a:hover,
.primary-menu .current-menu-ancestor > a:hover,
.primary-menu a[aria-current="page"]:hover {
  color: var(--rafco-ocean);
  background: rgba(142, 58, 38, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--rafco-text);
  padding: 8px;
  border-radius: 999px;
  cursor: pointer;
}

.mobile-menu-cta {
  display: none;
}

.mobile-menu-toggle:hover {
  background: rgba(142, 58, 38, 0.08);
}

.button,
.wp-block-button__link,
.rafco-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--rafco-ocean);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 7px 20px rgba(142, 58, 38, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover,
.rafco-form button:hover {
  background: #7a3220;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(142, 58, 38, 0.32);
}

.button--ocean {
  background: var(--rafco-ocean);
  box-shadow: 0 7px 20px rgba(142, 58, 38, 0.24);
}

.button--ocean:hover {
  background: #7a3220;
  color: #fff;
}

.site-header .button {
  box-shadow: none;
}

.site-header .button:hover {
  box-shadow: none;
}

.button--ghost {
  background: #fff;
  color: var(--rafco-text);
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

.button--ghost:hover {
  background: #f8fafc;
  color: var(--rafco-text);
}

.primary-navigation .mobile-menu-cta {
  display: none;
}

.site-main {
  min-height: 60vh;
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--rafco-cream-dark);
}

.home-who {
  background: var(--rafco-who-bg, #fff);
}

.section--values {
  background: #fff;
}

.section--gallery-preview {
  background: var(--rafco-cream);
}

.section--news {
  background: #fff;
}

.section--orgs {
  background: var(--rafco-cream);
}

.section--news .section-title,
.section--news .section-heading h2 {
  color: var(--rafco-text);
}

.section--news .section-heading p {
  color: var(--rafco-muted);
}

.section--news .eyebrow {
  border-color: rgba(43, 26, 22, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: var(--rafco-ocean);
  box-shadow: 0 4px 14px rgba(43, 26, 22, 0.05);
}

.section--news .dot {
  background: var(--rafco-orange);
}

.section--teal {
  background: var(--rafco-ocean-light);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--rafco-navy);
  color: #fff;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      270deg,
      rgba(142, 58, 38, 0.9) 0%,
      rgba(142, 58, 38, 0.42) 42%,
      rgba(142, 58, 38, 0) 78%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.4) 48%,
      rgba(255, 255, 255, 0.34) 100%
    );
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay,
.hero__shade {
  position: absolute;
  inset: 0;
  display: none;
}

.hero__overlay {
  background: transparent;
}

.hero__shade {
  background: transparent;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 160px 0 188px;
  text-align: center;
}

.hero__content-inner {
  width: min(100%, 780px);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  margin: 0 0 24px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: var(--rafco-ocean);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(43, 26, 22, 0.05);
}

.hero .eyebrow {
  padding: 9px 16px;
  margin-bottom: 32px;
  border-color: rgba(246, 250, 246, 0.28);
  background: var(--rafco-ocean);
  color: var(--rafco-light-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(43, 26, 22, 0.12);
  backdrop-filter: blur(10px);
}

.hero .eyebrow svg {
  color: var(--rafco-light-text);
}

.hero .eyebrow .dot {
  background: var(--rafco-light-text);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rafco-green);
}

.section-title,
.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--rafco-text);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--rafco-text);
  font-size: clamp(44px, 6vw, 74px);
  font-weight: 800;
  line-height: 1.06;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 34px rgba(255, 255, 255, 0.72);
}

.highlight {
  color: var(--rafco-ocean);
}

.hero p,
.page-hero p,
.section-intro {
  color: var(--rafco-muted);
  line-height: 1.75;
}

.hero p {
  max-width: 650px;
  margin: 24px auto 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rafco-text);
  font-size: 18px;
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(255, 255, 255, 0.72);
  backdrop-filter: none;
  box-shadow: none;
}

.hero__actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 40px 0 0;
}

.hero__actions .button {
  min-height: 52px;
  padding: 14px 28px;
  font-weight: 800;
}

.hero__actions .button--ocean {
  border: 1px solid rgba(43, 26, 22, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--rafco-text);
  box-shadow: 0 10px 24px rgba(43, 26, 22, 0.12);
  backdrop-filter: blur(10px);
}

.hero__actions .button--ocean:hover {
  background: #fff;
  color: var(--rafco-ocean);
}

.hero__actions .button--ghost {
  min-height: 52px;
  border: 0;
  background: transparent;
  color: var(--rafco-ocean);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero__actions .button--ghost:hover {
  background: transparent;
  color: var(--rafco-text);
  box-shadow: none;
}

.hero__credentials {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-top: 1px solid rgba(246, 250, 246, 0.16);
  background: var(--rafco-ocean);
}

.hero__credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0;
}

.credential {
  display: flex;
  align-items: center;
  gap: 16px;
}

.credential__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid rgba(246, 250, 246, 0.28);
  border-radius: 999px;
  background: rgba(246, 250, 246, 0.12);
  color: #fff;
}

.credential__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.credential strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
}

.credential > span:not(.credential__icon) {
  display: block;
  margin-top: 3px;
  color: var(--rafco-light-text);
  font-size: 14px;
}

.hero-media {
  position: relative;
}

.hero-media__main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--rafco-shadow);
}

.hero-media__main img,
.story-image__frame img,
.image-card img,
.product-card img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media__small {
  position: absolute;
  left: -48px;
  bottom: -24px;
  width: 190px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 18px;
  box-shadow: var(--rafco-shadow);
  transform: rotate(-6deg);
}

.floating-stat {
  position: absolute;
  right: -20px;
  top: -18px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 208px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--rafco-shadow);
}

.floating-stat__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--rafco-orange);
  background: rgba(217, 138, 95, 0.15);
}

.floating-stat strong {
  display: block;
  color: var(--rafco-text);
  font-size: 28px;
  line-height: 1;
}

.floating-stat span {
  display: block;
  margin-top: 4px;
  color: var(--rafco-muted);
  font-size: 12px;
}

.stats-band {
  background: var(--rafco-cream-dark);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(43, 26, 22, 0.04);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--rafco-text);
  font-size: 32px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--rafco-muted);
  font-size: 14px;
  font-weight: 600;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--rafco-muted);
}

.product-grid,
.feature-grid,
.gallery-grid,
.info-grid,
.card-grid {
  display: grid;
  gap: 28px;
}

.product-grid,
.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card,
.feature-card,
.info-card,
.story-card,
.contact-form-card {
  overflow: hidden;
  border: 1px solid #f1f1f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(43, 26, 22, 0.04);
}

.product-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(43, 26, 22, 0.1);
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
}

.badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--rafco-green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.product-card__body,
.feature-card,
.info-card,
.contact-form-card {
  padding: 28px;
}

.product-card h3,
.feature-card h3,
.info-card h3 {
  margin: 0 0 8px;
  color: var(--rafco-text);
}

.product-card p,
.feature-card p,
.info-card p {
  margin: 0;
  color: var(--rafco-muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-icon,
.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(142, 58, 38, 0.1);
  color: var(--rafco-ocean);
}

.feature-icon--primary {
  background: rgba(142, 58, 38, 0.1);
  color: var(--rafco-ocean);
}

.feature-icon--green {
  background: rgba(142, 58, 38, 0.1);
  color: var(--rafco-green);
}

.feature-icon--accent {
  background: rgba(217, 138, 95, 0.1);
  color: var(--rafco-orange);
}

.feature-card--hover {
  transition: transform 180ms ease, box-shadow 180ms ease;
  cursor: default;
}

.feature-card--hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(43, 26, 22, 0.1);
}

.feature-card a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 22px;
  color: var(--rafco-ocean);
  font-size: 14px;
  font-weight: 600;
}

.split-grid,
.story-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.section--teal .section-title,
.section--teal h2,
.section--teal h3,
.section--teal h4 {
  color: #fff;
}

.section--teal p {
  color: var(--rafco-light-text);
}

.teal-list {
  display: grid;
  gap: 30px;
  margin-top: 36px;
}

.teal-list__item {
  display: flex;
  gap: 16px;
}

.teal-list__item svg {
  flex: 0 0 auto;
  color: var(--rafco-orange);
}

.collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.collage__col {
  display: grid;
  gap: 16px;
}

.collage__col:first-child {
  padding-top: 32px;
}

.image-card {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--rafco-shadow);
}

.image-card--square {
  aspect-ratio: 1;
}

.image-card--portrait {
  aspect-ratio: 4 / 5;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Page banner ── */
.page-banner {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  color: #fff !important;
  background-color: var(--rafco-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 132px 0 96px;
}

/* home-style white wash */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.42);
}

/* home-style primary gradient fade */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      270deg,
      rgba(142, 58, 38, 0.9) 0%,
      rgba(142, 58, 38, 0.42) 42%,
      rgba(142, 58, 38, 0) 78%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.46) 0%,
      rgba(255, 255, 255, 0.4) 48%,
      rgba(255, 255, 255, 0.34) 100%
    );
}

.page-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(92svh - 228px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}

.page-banner__content .eyebrow {
  display: inline-flex !important;
  margin: 0 auto 28px !important;
  padding: 9px 16px;
  border-color: rgba(246, 250, 246, 0.28) !important;
  background: var(--rafco-ocean) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none !important;
  backdrop-filter: blur(10px);
}

.page-banner__content .eyebrow svg {
  color: var(--rafco-light-text) !important;
}

.page-banner__content h1 {
  max-width: 820px;
  margin: 0 auto !important;
  color: var(--rafco-text) !important;
  font-size: clamp(36px, 5vw, 66px) !important;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 34px rgba(255, 255, 255, 0.72);
}

.page-banner__content p {
  max-width: 640px;
  margin: 20px auto 0 !important;
  color: var(--rafco-text) !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(255, 255, 255, 0.72);
}

.page-banner__content .page-hero__meta {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-banner__content .page-hero__dot {
  background: rgba(255, 255, 255, 0.35) !important;
}

/* ── Page shell (content below banner) ── */
.page-shell {
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  padding: 0 0 clamp(72px, 8vw, 104px);
  background: var(--rafco-cream);
}

.page-shell > * {
  position: relative;
  z-index: 1;
}

.page-shell > .rafco-container:first-child {
  margin-top: clamp(56px, 7vw, 96px);
}

.page-shell > .section:first-child {
  padding-top: clamp(56px, 7vw, 96px);
}

.page-shell > .section:last-child {
  padding-bottom: 0;
}

.page-shell > .section + .rafco-container {
  margin-top: clamp(56px, 7vw, 96px);
}

/* Page hero — base (kept for existing markup compatibility) */
.page-hero {
  position: relative;
  min-height: min(620px, calc(100svh - 210px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto 84px;
  text-align: center;
}

/* Default eyebrow (no bg image) */
.page-hero .eyebrow {
  padding: 8px 16px;
  margin-bottom: 32px;
  border-color: rgba(43, 26, 22, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--rafco-green);
  box-shadow: 0 2px 12px rgba(43, 26, 22, 0.04);
}

.page-hero .eyebrow svg {
  width: 16px;
  height: 16px;
  color: var(--rafco-green);
  stroke-width: 2.25;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero p {
  margin: 28px auto 0;
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--rafco-muted);
}

.page-hero__meta {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 36px;
  color: #737373;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-hero__meta span:not(.page-hero__dot) {
  white-space: nowrap;
}

.page-hero__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(142, 58, 38, 0.32);
}

.page-hero__meta > span:nth-child(n+4) {
  display: none;
}

.story-card {
  padding: 48px;
}

.story-image {
  position: relative;
}

.story-image__frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--rafco-shadow);
}

.home-who .story-image__frame {
  height: var(--rafco-who-image-height, 520px);
  aspect-ratio: auto;
}

.year-pill {
  position: absolute;
  right: -24px;
  bottom: -24px;
  padding: 16px 24px;
  border-radius: 18px;
  background: var(--rafco-orange);
  color: #fff;
  box-shadow: var(--rafco-shadow);
}

.year-pill strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.advantage-card {
  display: flex;
  gap: 22px;
  padding: 30px;
  border: 1px solid #f1f1f1;
  border-radius: 18px;
  background: #fff;
}

.advantage-card .feature-icon {
  flex: 0 0 auto;
  margin: 0;
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-card {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 18px;
  background: var(--rafco-ocean-light);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  padding: 24px;
}

.gallery-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 18px;
  background: var(--rafco-navy);
  box-shadow: 0 18px 38px rgba(43, 26, 22, 0.1);
}

.gallery-tile--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.045);
}

.gallery-tile__body {
  display: none;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  overflow: hidden;
  border: 1px solid rgba(43, 26, 22, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(43, 26, 22, 0.05);
}

.news-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--rafco-cream-dark);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.045);
}

.news-card__body {
  padding: 26px;
}

.news-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--rafco-ocean);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-card h2,
.news-card h3 {
  margin: 0 0 10px;
  color: var(--rafco-text);
  font-size: 20px;
  line-height: 1.25;
}

.news-card p {
  margin: 0;
  color: var(--rafco-muted);
  font-size: 14px;
  line-height: 1.65;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.single-hero {
  position: relative;
  overflow: hidden;
  min-height: 76vh;
  display: flex;
  align-items: center;
  background-color: var(--rafco-navy);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 148px 0 96px;
  color: #fff;
}

.single-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(43, 26, 22, 0.86), rgba(43, 26, 22, 0.62), rgba(43, 26, 22, 0.22)),
    linear-gradient(0deg, rgba(43, 26, 22, 0.78), transparent 54%);
}

.single-hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.single-hero__back {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.single-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.single-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--rafco-light-text);
  font-size: 18px;
  line-height: 1.7;
}

.single-shell {
  background: var(--rafco-cream);
  padding: clamp(64px, 8vw, 104px) 0;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.single-article-card,
.single-sidebar__card {
  border: 1px solid rgba(43, 26, 22, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(43, 26, 22, 0.05);
}

.single-article-card {
  padding: clamp(32px, 5vw, 56px);
}

.single-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(43, 26, 22, 0.08);
  color: var(--rafco-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.single-content {
  color: var(--rafco-text);
  font-size: 18px;
  line-height: 1.85;
}

.single-content > *:first-child {
  margin-top: 0;
}

.single-content p,
.single-content ul,
.single-content ol {
  margin: 0 0 24px;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  margin: 38px 0 16px;
  color: var(--rafco-text);
  line-height: 1.2;
}

.single-content img {
  border-radius: 18px;
}

.single-content a {
  color: var(--rafco-ocean);
  font-weight: 700;
}

.single-post-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(43, 26, 22, 0.08);
}

.single-post-nav a {
  display: block;
  padding: 18px;
  border-radius: 14px;
  background: var(--rafco-cream);
  color: var(--rafco-text);
  font-size: 14px;
  font-weight: 700;
}

.single-sidebar {
  position: sticky;
  top: 112px;
}

.single-sidebar__card {
  padding: 26px;
}

.single-sidebar__card h2 {
  margin: 0 0 18px;
  color: var(--rafco-text);
  font-size: 20px;
}

.single-related-list {
  display: grid;
  gap: 14px;
}

.single-related-list a {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(43, 26, 22, 0.08);
}

.single-related-list a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.single-related-list time {
  display: block;
  margin-bottom: 5px;
  color: var(--rafco-ocean);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.single-related-list span {
  color: var(--rafco-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.catalog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 48px;
}

.catalog-filter button {
  border: 1px solid #eef0f2;
  border-radius: 999px;
  background: #fff;
  color: var(--rafco-muted);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.catalog-filter button.is-active {
  background: var(--rafco-ocean);
  color: #fff;
}

.contact-grid {
  align-items: start;
  gap: 32px;
}

.info-stack {
  display: grid;
  gap: 24px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  color: var(--rafco-muted);
  font-size: 14px;
  border-bottom: 1px solid #f1f1f1;
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 22px 0;
}

.contact-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin: 0;
}

.map-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #eef0f2;
  border-radius: 18px;
  background: var(--rafco-ocean);
}

.map-panel__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-panel__content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(43, 26, 22, 0.18);
  backdrop-filter: blur(12px);
}

.map-panel__content h3 {
  margin: 0 0 8px;
}

.map-panel__content p {
  margin: 0 0 16px;
  color: var(--rafco-muted);
}

.map-panel__content .button {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.rafco-form {
  display: grid;
  gap: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rafco-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--rafco-text);
  font-size: 14px;
  font-weight: 600;
}

.rafco-form input,
.rafco-form select,
.rafco-form textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--rafco-cream-dark);
  color: var(--rafco-text);
  padding: 14px 16px;
  outline: 0;
}

.rafco-form input:focus,
.rafco-form select:focus,
.rafco-form textarea:focus {
  box-shadow: 0 0 0 2px var(--rafco-orange);
}

.site-footer {
  background: var(--rafco-footer-bg);
  color: var(--rafco-footer-text);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 22px;
  line-height: 0;
}

.footer-logo-img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  display: none;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--rafco-light-text);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.footer-desc {
  color: var(--rafco-footer-text);
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 0 28px;
}

/* Social icons — use higher specificity to beat .site-footer a */
.footer-socials {
  display: flex;
  gap: 10px;
}

.site-footer .footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(246, 250, 246, 0.16);
  border: 1px solid rgba(246, 250, 246, 0.18);
  color: #fff;
  font-size: 0;
  line-height: 0;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms ease;
}

.site-footer .footer-social i {
  font-size: 17px;
  line-height: 1;
}

.site-footer .footer-social:hover {
  background: #fff;
  border-color: #fff;
  color: var(--rafco-ocean);
  transform: translateY(-2px) scale(1.08);
}

/* Quick links + contact columns */
.site-footer h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.site-footer li,
.site-footer a {
  color: var(--rafco-footer-text);
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* Contact list */
.footer-contact-list {
  gap: 20px !important;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.site-footer .footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(194, 94, 59, 0.15);
  border: 1px solid rgba(194, 94, 59, 0.3);
  color: var(--rafco-orange);
  font-size: 0;
  line-height: 0;
  transition: background 250ms ease, border-color 250ms ease, color 250ms ease;
}

.site-footer .footer-contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.site-footer .footer-contact-row:hover .footer-contact-icon {
  background: var(--rafco-orange);
  border-color: var(--rafco-orange);
  color: #fff;
}

.footer-contact-row span:last-child {
  padding-top: 6px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 12px;
  padding-top: 32px;
  border-top: 1px solid var(--rafco-footer-border);
}

.footer-bottom p {
  margin: 0;
  color: var(--rafco-footer-text);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-powered a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* teal-list on white background */
.teal-list__item svg {
  color: var(--rafco-orange);
  flex: 0 0 auto;
  margin-top: 2px;
}

.teal-list__item h4 {
  color: var(--rafco-text);
  margin: 0 0 4px;
  font-size: 15px;
}

.teal-list__item p {
  color: var(--rafco-muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

/* Collaborating Organizations */
.org-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.org-grid {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: rafco-org-carousel 34s linear infinite;
}

.org-carousel:hover .org-grid {
  animation-play-state: paused;
}

.org-card {
  flex: 0 0 190px;
  background: #fff;
  border: 1px solid #f0ebe7;
  border-radius: 18px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  box-shadow: 0 4px 12px rgba(43, 26, 22, 0.04);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

@keyframes rafco-org-carousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .org-grid {
    width: auto;
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .org-card {
    scroll-snap-align: start;
  }
}

.org-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(43, 26, 22, 0.10);
}

/* Logo image */
.org-logo {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%) opacity(0.65);
  transition: filter 300ms ease, opacity 300ms ease;
}

.org-card:hover .org-logo {
  filter: grayscale(0%) opacity(1);
}

/* Text fallback (when no logo uploaded) */
.org-card__abbr {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--rafco-ocean);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.org-card__name {
  display: block;
  font-size: 11px;
  color: var(--rafco-muted);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .org-card {
    flex-basis: 180px;
  }
}

@media (max-width: 640px) {
  .org-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .org-card {
    flex-basis: 168px;
  }
}

.who-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.who-actions .button--ghost {
  color: var(--rafco-text);
  border: 1px solid #e5e7eb;
}

.elementor-page-content {
  padding-top: 100px;
}

.elementor-template-canvas .elementor-page-content {
  padding-top: 0;
}

.entry-content {
  width: min(100% - 48px, 960px);
  margin: 0 auto;
  padding: 140px 0 80px;
}

.page-shell .entry-content {
  padding: 0 0 80px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .split-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-layout {
    grid-template-columns: 1fr;
  }

  .single-sidebar {
    position: static;
  }

  .hero__credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 62px;
  }
}

@media (max-width: 768px) {
  .rafco-container {
    width: min(100% - 32px, 1280px);
  }

  .site-header__inner {
    min-height: 60px;
    padding: 8px 14px 8px 18px;
  }

  .site-logo img {
    max-height: 48px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 12px);
    max-height: 0;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.88);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 45px rgba(43, 26, 22, 0.14);
    backdrop-filter: blur(18px);
    transition: max-height 220ms ease;
  }

  .primary-navigation.is-open {
    max-height: 420px;
  }

  .primary-menu {
    display: grid;
    gap: 6px;
    padding: 16px;
  }

  .primary-menu a {
    display: block;
    min-height: auto;
    padding: 13px 16px;
    border-bottom: 0;
    border-radius: 14px;
    font-size: 16px;
  }

  .header-actions .button {
    display: none;
  }

  .primary-navigation .mobile-menu-cta {
    display: flex;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    border-radius: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 140px 0 52px;
    text-align: center;
  }

  .hero__content-inner {
    margin-right: auto;
    margin-left: auto;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .page-hero h1 {
    font-size: clamp(38px, 12vw, 50px);
  }

  .page-shell {
    padding-top: 0;
  }

  .page-banner {
    min-height: 86vh;
    min-height: 86svh;
    padding: 120px 0 72px;
  }

  .page-banner__content {
    min-height: calc(86svh - 192px);
    padding: 0 20px;
  }

  .page-banner__content h1 {
    font-size: clamp(28px, 8vw, 42px) !important;
  }

  .page-banner__content p {
    font-size: 16px !important;
  }

  .single-hero {
    min-height: 72vh;
    padding: 132px 0 72px;
  }

  .single-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .single-hero p,
  .single-content {
    font-size: 16px;
  }

  .single-post-nav {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: min(560px, calc(100svh - 170px));
    margin-bottom: 56px;
  }

  .page-hero p {
    font-size: 16px;
  }

  .page-hero__meta {
    gap: 8px 14px;
    margin-top: 28px;
    font-size: 11px;
  }

  .hero__actions {
    justify-content: center;
    gap: 12px;
  }

  .hero__actions .button,
  .hero__actions .button--ghost {
    min-height: 48px;
    padding: 12px 20px;
  }

  .hero__credentials {
    position: relative;
  }

  .hero__credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 24px 0;
  }

  .credential {
    flex-direction: column;
    justify-content: center;
    min-height: 148px;
    padding: 20px 14px;
    border: 1px solid rgba(246, 250, 246, 0.14);
    border-radius: 18px;
    background: transparent;
    text-align: center;
  }

  .credential__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 2px;
    background: rgba(246, 250, 246, 0.14);
  }

  .credential strong {
    font-size: 17px;
  }

  .credential > span:not(.credential__icon) {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .stats-grid,
  .advantage-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 32px;
  }

  .product-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tile,
  .gallery-tile--large {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .story-card {
    padding: 28px;
    text-align: center;
  }

  .story-grid,
  .contact-grid,
  .advantage-card,
  .feature-card,
  .info-card,
  .contact-form-card {
    text-align: center;
  }

  .story-image,
  .story-image__frame {
    margin-right: auto;
    margin-left: auto;
  }

  .feature-icon,
  .contact-icon,
  .advantage-card .feature-icon {
    margin-right: auto;
    margin-left: auto;
  }

  .contact-row,
  .advantage-card,
  .footer-contact-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hours-row {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .who-actions,
  .footer-socials {
    justify-content: center;
  }

  .site-footer,
  .footer-grid {
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .site-footer ul {
    padding-left: 0;
  }

  .home-who .story-image__frame {
    height: var(--rafco-who-image-height-mobile, 360px);
  }

  .map-panel {
    min-height: 460px;
  }

  .year-pill {
    right: 16px;
  }
}
