@font-face {
  font-family: "The Year of Handicrafts";
  src: url("./TheYearofHandicrafts/TheYearofHandicrafts-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "The Year of Handicrafts";
  src: url("./TheYearofHandicrafts/TheYearofHandicrafts-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7efe3;
  --bg-strong: #e7d2b4;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf9;
  --surface-dark: #2e1f17;
  --text: #22150e;
  --muted: #665347;
  --line: rgba(74, 45, 28, 0.12);
  --accent: #8f4f22;
  --accent-strong: #5f2d12;
  --accent-soft: #f9ead6;
  --success: #43663d;
  --gold: #d6a14d;
  --shadow: 0 24px 80px rgba(66, 36, 13, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  font-size: 18px;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(143, 79, 34, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(67, 102, 61, 0.14), transparent 24%),
    radial-gradient(circle at 20% 20%, rgba(214, 161, 77, 0.12), transparent 18%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 20px auto;
}

.hero,
.section,
.footer {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  padding: 28px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 249, 239, 0.96), rgba(236, 215, 183, 0.9)),
    linear-gradient(120deg, rgba(143, 79, 34, 0.08), transparent 55%);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 25%, rgba(255, 255, 255, 0.85), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(143, 79, 34, 0.14), transparent 24%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -40px;
  bottom: -50px;
  width: 260px;
  height: 260px;
  background:
    radial-gradient(circle at 32% 30%, rgba(95, 45, 18, 0.18) 0 18%, transparent 19%),
    radial-gradient(circle at 55% 48%, rgba(143, 79, 34, 0.18) 0 16%, transparent 17%),
    radial-gradient(circle at 42% 66%, rgba(214, 161, 77, 0.16) 0 14%, transparent 15%),
    linear-gradient(180deg, rgba(67, 102, 61, 0.16), transparent 70%);
  filter: blur(2px);
  transform: rotate(-18deg);
  pointer-events: none;
}

.topbar,
.hero__content,
.content,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

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

.brand__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 20px 40px rgba(106, 53, 21, 0.28);
}

.footer__eyebrow,
.section-heading span,
.summary-card__label,
.price-card__tag {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
}

.brand h1,
.section-heading h3,
.footer h3,
.price-card h4,
.panel-card h4,
.tech-card h4 {
  margin: 0;
  font-family: "The Year of Handicrafts", "Cairo", sans-serif;
}

.brand h1,
.hero__text h2,
.section-heading h3,
.footer h3 {
  font-size: 2rem;
  line-height: 1.3;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero__text {
  width: 100%;
}

.hero__text h2 {
  margin: 0;
  max-width: none;
  width: 100%;
  margin-bottom: 18px;
}

.hero__text p,
.intro__text,
.summary-card p,
.price-card__note,
.footer p {
  color: var(--muted);
  line-height: 1.9;
}

.hero__text p {
  width: 100%;
  max-width: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 20px 40px rgba(106, 53, 21, 0.24);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(34, 21, 14, 0.08);
}

.summary-card,
.price-card,
.info-card,
.panel-card,
.tech-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.summary-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.35rem;
}

.summary-card--contact a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--accent-strong);
}

.content {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.section {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.74);
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h3 {
  font-size: 2rem;
}

.section-heading--compact h3 {
  font-size: 2rem;
}

.intro__text {
  margin: 0;
  font-size: 1.08rem;
}

.date-ribbon {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(95, 45, 18, 0.92), rgba(143, 79, 34, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  color: #fff;
}

.date-ribbon p {
  margin: 6px 0 0;
  color: rgba(255, 245, 232, 0.84);
  line-height: 1.8;
}

.date-ribbon__icon {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 32%, rgba(214, 161, 77, 0.95) 0 12%, transparent 13%),
    radial-gradient(circle at 34% 58%, rgba(122, 63, 27, 0.98) 0 18%, transparent 19%),
    radial-gradient(circle at 66% 58%, rgba(95, 45, 18, 0.96) 0 18%, transparent 19%),
    linear-gradient(180deg, rgba(67, 102, 61, 0.95), rgba(44, 78, 38, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pricing-grid,
.details-grid,
.two-column,
.tech-grid,
.notes-why {
  display: grid;
  gap: 20px;
}

.pricing-grid {
  grid-template-columns: 0.95fr 1.05fr;
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 240, 228, 0.82));
}

.price-card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.36), transparent 36%),
    linear-gradient(145deg, rgba(143, 79, 34, 0.22), rgba(95, 45, 18, 0.08));
  opacity: 0.85;
}

.price-card--featured {
  background:
    linear-gradient(180deg, rgba(106, 53, 21, 0.94), rgba(68, 35, 17, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #fff;
  transform: translateY(-8px);
}

.price-card--featured .price-card__tag,
.price-card--featured .price-card__note,
.price-card--featured .feature-list li::before {
  color: #f8d8b7;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 700;
}

.price-card__header {
  margin-bottom: 18px;
}

.price {
  margin-top: 12px;
  font-size: 2.4rem;
  font-weight: 900;
}

.price-stack {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.price-row strong {
  font-size: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-right: 28px;
  line-height: 1.8;
}

.feature-list li::before {
  content: "*";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.feature-list--soft li::before {
  content: "•";
}

.details-grid,
.notes-why {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-card {
  background: linear-gradient(180deg, rgba(255, 248, 239, 0.88), rgba(255, 255, 255, 0.76));
}

.panel-card h4,
.tech-card h4 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.tech-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tech-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(251, 244, 235, 0.86));
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips span,
.works a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(143, 79, 34, 0.12);
  font-weight: 700;
}

.works {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.works a:hover {
  background: #f5e1c9;
}

.footer {
  padding: 28px 34px;
  margin: 22px 0 30px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(34, 21, 14, 0.96), rgba(82, 43, 20, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  color: #fff;
}

.footer__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.footer__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: #f4caa0;
}

.contact-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 18px;
}

.contact-card__label,
.contact-card__handle {
  color: #f4caa0;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-card__body {
  display: grid;
  gap: 12px;
}

.contact-card strong {
  font-size: 1.25rem;
}

.contact-card__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.contact-card__item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.socials svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.socials a:nth-child(1) svg,
.socials a:nth-child(3) svg,
.socials a:nth-child(4) svg {
  fill: currentColor;
  stroke: none;
}

.contact-card__handle {
  justify-self: start;
}

@media (max-width: 980px) {
  .hero__content,
  .pricing-grid,
  .details-grid,
  .two-column,
  .tech-grid,
  .notes-why,
  .summary-grid,
  .footer__content {
    grid-template-columns: 1fr;
  }

  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
    margin: 10px auto;
  }

  .hero,
  .section,
  .footer {
    padding: 22px;
    border-radius: 24px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 28px;
  }

  .brand {
    align-items: flex-start;
  }

  .hero__text h2 {
    max-width: none;
  }

  .hero__actions,
  .works,
  .chips,
  .socials {
    gap: 10px;
  }

  .button,
  .works a,
  .chips span {
    width: 100%;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .date-ribbon {
    grid-template-columns: 1fr;
  }
}
