/* ========================================
   GFI PORTAL / home.css
   TOP PAGE ONLY
   Updated: 2026-09-10

   Design policy
   - GFI blue only: hierarchy by brightness / depth
   - Mobile first
   - Text-first, high readability
   - Practical BEM
======================================== */

/* ========================================
   HERO
======================================== */
.c-portalHero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  margin-bottom: 1.4rem;
  padding: 64px 24px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(18, 151, 221, .32) 0, rgba(18, 151, 221, 0) 32%),
    linear-gradient(135deg, #086fba 0%, #07518d 28%, #063864 55%, #032847 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(7, 47, 81, .16);
}

.c-portalHero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #72c3e5 0%, #138fcf 48%, #0872b6 100%);
}

.c-portalHero::after {
  content: "";
  position: absolute;
  left: -11%;
  bottom: -50%;
  width: 58%;
  height: 125%;
  background: linear-gradient(135deg, rgba(17, 151, 218, .18), rgba(17, 151, 218, 0));
  transform: rotate(12deg);
  pointer-events: none;
}

.c-portalHero__deco {
  position: absolute;
  top: 50%;
  right: -130px;
  width: 430px;
  height: 430px;
  border: 54px solid rgba(19, 145, 211, .1);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.c-portalHero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.c-portalHero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
  padding: 8px 17px;
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .1em;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
  background: rgba(0, 41, 76, .16);
  backdrop-filter: blur(4px);
}

.c-portalHero__logo {
  margin: 0 0 48px;
}

.c-portalHero__logo img {
  display: block;
  width: min(620px, 82%);
  height: auto;
  margin: 0 auto;
}

.c-portalHero__lead {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .74);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.85;
}

.c-portalHero__message {
  margin: 0;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: .04em;
}

/* ========================================
   PORTAL CONTENTS / TITLE
======================================== */
.c-portalContents {
  margin-bottom: 1.4rem;
  padding: 58px 30px 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e7ef;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(13, 57, 87, .06);
}

.c-portalContents__header {
  position: relative;
  margin-bottom: 46px;
  padding: 4px 0 26px;
  border-bottom: 1px solid #dce8ef;
}

.c-portalContents__header::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 300px;
  height: 300px;
  border: 46px solid #eef8fd;
  border-radius: 50%;
  pointer-events: none;
}

.c-portalContents__eyebrow {
  margin: 0 0 4px;
  color: #118ac8;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.c-portalContents__title {
  margin: 0;
  color: #072d4d;
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .01em;
}

.c-portalContents__lead {
  position: relative;
  margin: 20px 0 0;
  padding-bottom: 16px;
  color: #153d5b;
  font-size: 1.08rem;
  font-weight: 800;
}

.c-portalContents__lead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  background: #1594d1;
  border-radius: 999px;
}

.c-portalContents__text {
  max-width: 560px;
  margin: 22px 0 0;
  color: #6b8496;
  font-size: .9rem;
  line-height: 1.85;
}

/* ========================================
   CONTENT SECTION
======================================== */
.c-menuSection {
  --section-color: #118dce;
  --section-color-dark: #0872b2;
  --section-soft: #eaf6fc;
  --section-soft-2: #f6fbfe;
}

.c-menuSection + .c-menuSection {
  margin-top: 52px;
}

.c-menuSection--about {
  --section-color: #1397d3;
  --section-color-dark: #0a7cbb;
  --section-soft: #e9f7fd;
  --section-soft-2: #f5fbfe;
}

.c-menuSection--sales {
  --section-color: #0b82c4;
  --section-color-dark: #086ba5;
  --section-soft: #e9f4fa;
  --section-soft-2: #f5f9fc;
}

.c-menuSection--work {
  --section-color: #08699f;
  --section-color-dark: #075781;
  --section-soft: #ebf3f8;
  --section-soft-2: #f6f9fb;
}

.c-menuSection__head {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 104px;
  margin-bottom: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 40%, rgba(39, 153, 211, .14) 0, rgba(39, 153, 211, 0) 34%),
    linear-gradient(90deg, var(--section-soft) 0%, #fafdff 54%, #eaf6fc 100%);
  border: 1px solid #d2e6f0;
  border-radius: 16px;
}

.c-menuSection__head::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: -62px;
  width: 230px;
  height: 120px;
  background: linear-gradient(135deg, rgba(17, 143, 203, .07), rgba(17, 143, 203, 0));
  transform: skewX(-26deg);
  pointer-events: none;
}

.c-menuSection__number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 123px;
  flex: 0 0 123px;
  padding-right: 29px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--section-color), var(--section-color-dark));
  clip-path: polygon(0 0, 76.4% 0, 100% 50%, 76.4% 100%, 0 100%);
}

.c-menuSection__heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 34px 18px 22px;
}

.c-menuSection__en {
  display: block;
  margin-bottom: 2px;
  color: var(--section-color);
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.c-menuSection__title {
  margin: 0;
  color: #072f50;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.3;
}

.c-menuSection__lead {
  margin: 3px 0 0;
  color: #5d788b;
  font-size: .87rem;
  line-height: 1.6;
}

.c-menuSection__message {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  padding: 18px 28px 18px 20px;
  text-align: right;
}

.c-menuSection__message strong {
  color: var(--section-color-dark);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.c-menuSection__message span {
  margin-top: 2px;
  color: #698596;
  font-size: .68rem;
  line-height: 1.5;
}

/* ========================================
   CONTENT GRID / CARD
======================================== */
.c-menuGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.c-menuCard {
  display: flex;
  flex-direction: column;
  min-height: 286px;
  padding: 21px;
  background: linear-gradient(180deg, #fff 0%, var(--section-soft-2) 100%);
  border: 1px solid #d7e6ee;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(13, 57, 87, .045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.c-menuCard:hover {
  transform: translateY(-3px);
  border-color: #bcdbea;
  box-shadow: 0 12px 28px rgba(13, 57, 87, .09);
}

.c-menuCard__head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.c-menuCard__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--section-color);
  background: var(--section-soft);
  border: 1px solid rgba(9, 117, 178, .06);
  border-radius: 12px;
}

.c-menuCard__icon .icon-svg {
  width: 23px;
  height: 23px;
}

.c-menuCard__heading {
  min-width: 0;
}

.c-menuCard__title {
  margin: 1px 0 0;
  color: #082f50;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.4;
}

.c-menuCard__lead {
  margin: 5px 0 0;
  color: #71899a;
  font-size: .78rem;
  line-height: 1.55;
}

.c-menuCard__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.c-menuCard__list li {
  position: relative;
  padding-left: 16px;
  color: #38566b;
  font-size: .86rem;
  line-height: 1.55;
}

.c-menuCard__list li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 1px;
  width: 5px;
  height: 5px;
  background: var(--section-color);
  border-radius: 50%;
}

/* ========================================
   RESPONSIVE / MOBILE
======================================== */
@media (max-width: 640px) {
  .c-portalHero {
    min-height: 475px;
    padding: 48px 18px 44px;
    border-radius: 18px;
  }

  .c-portalHero__badge {
    margin-bottom: 34px;
    padding: 7px 14px;
    font-size: .62rem;
  }

  .c-portalHero__logo {
    margin-bottom: 38px;
  }

  .c-portalHero__logo img {
    width: 91%;
    max-width: 390px;
  }

  .c-portalHero__lead {
    font-size: .87rem;
  }

  .c-portalHero__message {
    margin-top: 3px;
    font-size: 1.05rem;
  }

  .c-portalHero__deco {
    right: -180px;
    width: 320px;
    height: 320px;
    border-width: 42px;
  }

  .c-portalContents {
    padding: 42px 16px 18px;
    border-radius: 18px;
  }

  .c-portalContents__header {
    margin-bottom: 34px;
    padding-bottom: 22px;
  }

  .c-portalContents__header::after {
    right: -150px;
    top: -155px;
  }

  .c-portalContents__title {
    font-size: 3.45rem;
  }

  .c-portalContents__lead {
    margin-top: 16px;
    font-size: 1rem;
  }

  .c-portalContents__text {
    font-size: .83rem;
  }

  .c-menuSection + .c-menuSection {
    margin-top: 40px;
  }

  .c-menuSection__head {
    min-height: 88px;
    border-radius: 14px;
  }

  .c-menuSection__number {
    width: 89px;
    flex-basis: 89px;
    padding-right: 22px;
    font-size: 1.55rem;
    clip-path: polygon(0 0, 75.3% 0, 100% 50%, 75.3% 100%, 0 100%);
  }

  .c-menuSection__heading {
    padding: 13px 12px 13px 8px;
  }

  .c-menuSection__en {
    font-size: .58rem;
  }

  .c-menuSection__title {
    font-size: 1.34rem;
  }

  .c-menuSection__lead {
    font-size: .72rem;
    line-height: 1.5;
  }

  .c-menuSection__message {
    display: none;
  }

  .c-menuCard {
    min-height: auto;
    padding: 18px;
  }
}

/* ========================================
   RESPONSIVE / TABLET
======================================== */
@media (min-width: 641px) {
  .c-menuGrid--2,
  .c-menuGrid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========================================
   RESPONSIVE / DESKTOP
======================================== */
@media (min-width: 1024px) {
  .c-menuGrid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
