/* Hashin Design System — portal subset */

@font-face {
  font-family: 'Estedad';
  src: url('../fonts/estedad/Estedad-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('../fonts/estedad/Estedad-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Estedad';
  src: url('../fonts/estedad/Estedad-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --gray-0: #ffffff;
  --gray-50: #f7f7f7;
  --gray-200: #ebebeb;
  --gray-400: #a3a3a3;
  --gray-500: #7b7b7b;
  --gray-600: #5c5c5c;
  --gray-950: #171717;

  --red-500: #fb373b;
  --red-700: #d02528;
  --red-50: #ffebeb;

  --yellow-50: #fffaeb;
  --yellow-500: #f6b51e;
  --yellow-700: #c99a2c;

  --green-500: #1fc16b;
  --green-50: #e3f7ec;

  --cream-50: #fdfaf5;
  --cream-100: #faf5ec;

  --silver-50: #f4f5f7;
  --silver-500: #9aa3b2;
  --silver-700: #6b7280;

  --coffee-50: #f8f3ed;
  --coffee-500: #8b5e3c;
  --coffee-700: #6b4423;

  --bg-white: var(--gray-0);
  --bg-weaker: var(--gray-50);
  --text-strong: var(--gray-950);
  --text-sub: var(--gray-600);
  --text-soft: var(--gray-500);
  --stroke-soft: var(--gray-200);
  --primary-base: var(--red-500);
  --primary-dark: var(--red-700);

  --radius-10: 10px;
  --radius-16: 16px;
  --radius-24: 24px;

  --font-estedad: 'Estedad', sans-serif;
  --container-max: 1200px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-estedad);
  font-weight: 400;
  color: var(--text-strong);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--stroke-soft);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-height);
}

.site-header__logo {
  height: 40px;
  width: auto;
}

.site-header__logo--desktop {
  display: none;
}

.site-header__logo--mobile {
  display: block;
}

@media (min-width: 768px) {
  .site-header__inner {
    justify-content: flex-start;
    padding: 12px 64px;
  }

  .site-header__logo--desktop {
    display: block;
    height: 56px;
  }

  .site-header__logo--mobile {
    display: none;
  }
}

/* Portal — service buttons (above the fold) */

.portal {
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
}

.portal__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background: linear-gradient(180deg, #ffffff 60%, rgba(255, 255, 255, 0) 100%);
}

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

.portal__inner {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px 24px 48px;
  text-align: center;
}

.portal__title {
  margin: 0 0 8px;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
}

.portal__subtitle {
  margin: 0 0 32px;
  font-size: 1rem;
  color: var(--text-sub);
}

.portal__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.portal-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border-radius: var(--radius-16);
  border: 1px solid var(--stroke-soft);
  background: var(--bg-white);
  text-align: right;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(23, 23, 23, 0.1);
  border-color: transparent;
}

.portal-btn--gold {
  background: linear-gradient(135deg, var(--yellow-50) 0%, var(--bg-white) 60%);
}

.portal-btn--gold:hover {
  background: linear-gradient(135deg, var(--yellow-50) 0%, #fffdf5 60%);
}

.portal-btn--cafe {
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--red-50) 50%, var(--bg-white) 80%);
}

.portal-btn--cafe:hover {
  background: linear-gradient(135deg, var(--cream-50) 0%, var(--red-50) 50%, #fffafa 80%);
}

.portal-btn--app {
  background: linear-gradient(135deg, var(--green-50) 0%, var(--bg-white) 60%);
}

.portal-btn--app:hover {
  background: linear-gradient(135deg, var(--green-50) 0%, #f5fdf9 60%);
}

.portal-btn--silver {
  background: linear-gradient(135deg, var(--silver-50) 0%, var(--bg-white) 60%);
}

.portal-btn--coffee {
  background: linear-gradient(135deg, var(--coffee-50) 0%, var(--cream-50) 50%, var(--bg-white) 80%);
}

.portal-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-16);
}

.portal-btn--gold .portal-btn__icon {
  background: rgba(246, 181, 30, 0.15);
  color: var(--yellow-700);
}

.portal-btn--cafe .portal-btn__icon {
  background: var(--red-50);
  color: var(--primary-base);
}

.portal-btn--app .portal-btn__icon {
  background: rgba(31, 193, 107, 0.15);
  color: var(--green-500);
}

.portal-btn--silver .portal-btn__icon {
  background: rgba(154, 163, 178, 0.2);
  color: var(--silver-700);
}

.portal-btn--coffee .portal-btn__icon {
  background: rgba(139, 94, 60, 0.12);
  color: var(--coffee-700);
}

.portal-btn__icon svg {
  width: 26px;
  height: 26px;
}

.portal-btn__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.portal-btn__label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-strong);
}

.portal-btn__hint {
  font-size: 0.9375rem;
  color: var(--text-sub);
}

.portal-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-10);
  background: var(--primary-base);
  color: var(--bg-white);
  transition: background 0.2s ease;
}

.portal-btn__arrow svg {
  width: 20px;
  height: 20px;
  transform: scaleX(-1);
}

.portal-btn:hover .portal-btn__arrow {
  background: var(--primary-dark);
}

.portal-btn--soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.portal-btn--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--stroke-soft);
}

.portal-btn__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: var(--radius-10);
  background: var(--gray-50);
  border: 1px solid var(--stroke-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .portal__inner {
    padding: 48px 64px 64px;
    text-align: right;
  }

  .portal__buttons {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .portal-btn {
    padding: 28px 32px;
  }

  .portal-btn--coffee {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
  }

  .portal-btn__label {
    font-size: 1.375rem;
  }
}

/* Hero — brand story below buttons */

.hero {
  background: var(--bg-weaker);
  border-top: 1px solid var(--stroke-soft);
}

.hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 20px;
  background: var(--green-50);
  border-radius: var(--radius-10);
  font-size: 14px;
  font-weight: 500;
  color: var(--green-500);
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  max-width: 720px;
  margin-inline: auto;
}

.hero__intro {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero__inner {
    padding: 64px;
    text-align: right;
  }

  .hero__title,
  .hero__intro {
    margin-inline: 0;
    margin-right: 0;
    margin-left: auto;
  }
}

/* Footer */

.site-footer {
  background: var(--bg-weaker);
  border-top: 1px solid var(--stroke-soft);
  padding: 48px 24px;
}

.site-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 64px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
}

.site-footer__logo {
  width: 56px;
  height: auto;
  max-width: 56px;
  object-fit: contain;
  align-self: flex-start;
  flex-shrink: 0;
}

.site-footer__tagline {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

.site-footer__contact-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gray-500);
}

.site-footer__social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__social-label {
  font-size: 14px;
  color: var(--text-soft);
}

.site-footer__social-links {
  display: flex;
  gap: 12px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-10);
  background: var(--bg-white);
  border: 1px solid var(--stroke-soft);
  color: var(--text-sub);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__social-link:hover {
  color: var(--primary-base);
  border-color: var(--primary-base);
}

.site-footer__social-link svg {
  width: 20px;
  height: 20px;
}

.site-footer__bottom {
  max-width: var(--container-max);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--stroke-soft);
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
}
