/* ==========================================================
   LOISARO
   Global Styles
========================================================== */

/* =========================
   Reset
========================= */

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

/* =========================
   Root
========================= */

:root {
  --color-background: #f7f5f2;
  --color-white: #ffffff;
  --color-black: #1f1f1f;

  --color-gold: #c8a15a;
  --color-gold-hover: #b78e43;

  --color-text: #454545;
  --color-light: #757575;

  --container-width: 1320px;

  --section-spacing: 140px;

  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 30px;
  --radius-pill: 999px;

  --transition-fast: 0.25s ease;
  --transition: 0.35s ease;
  --transition-slow: 0.6s ease;
}

/* =========================
   HTML
========================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  background: var(--color-background);

  color: var(--color-text);

  line-height: 1.7;

  font-size: 17px;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  text-rendering: optimizeLegibility;
}

/* =========================
   Images
========================= */

img {
  display: block;

  max-width: 100%;
}

picture {
  display: block;
}

/* =========================
   Links
========================= */

a {
  color: inherit;

  text-decoration: none;

  transition: var(--transition);
}

/* =========================
   Lists
========================= */

ul,
ol {
  list-style: none;
}

/* =========================
   Buttons
========================= */

button {
  border: none;

  background: none;

  font: inherit;

  cursor: pointer;
}

/* =========================
   Typography
========================= */

h1,
h2,
h3,
h4 {
  color: var(--color-black);

  font-weight: 500;

  line-height: 1.1;

  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

p {
  color: var(--color-text);
}

/* =========================
   Layout
========================= */

section {
  position: relative;

  padding: var(--section-spacing) 0;
}

.container {
  width: min(100% - 48px, var(--container-width));

  margin-inline: auto;
}

/* =========================
   Primary Button
========================= */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  height: 60px;

  padding-inline: 34px;

  border-radius: var(--radius-pill);

  background: var(--color-gold);

  color: white;

  font-size: 0.98rem;

  font-weight: 500;

  letter-spacing: 0.02em;

  transition: var(--transition);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.btn:hover {
  background: var(--color-gold-hover);

  transform: translateY(-3px);

  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

/* =========================
   Secondary Button
========================= */

.btn-outline {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  height: 60px;

  padding-inline: 34px;

  border-radius: var(--radius-pill);

  border: 1px solid rgba(31, 31, 31, 0.12);

  transition: var(--transition);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.03);
}

/* =========================
   Section Heading
========================= */

.section-heading {
  text-align: center;

  max-width: 760px;

  margin: 0 auto 80px;
}

.section-heading span {
  display: inline-block;

  margin-bottom: 16px;

  color: var(--color-gold);

  font-size: 0.9rem;

  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.section-heading p {
  margin-top: 22px;

  color: var(--color-light);

  font-size: 1.1rem;
}

/* =========================
   Cards
========================= */

.card {
  background: white;

  border-radius: var(--radius-large);

  transition: var(--transition);

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-8px);

  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.08);
}

/* =========================
   Scrollbar
========================= */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #ece8e1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold);

  border-radius: 999px;
}

/* =========================
   Text Selection
========================= */

::selection {
  background: var(--color-gold);

  color: white;
}

/* =========================
   Focus
========================= */

:focus-visible {
  outline: 2px solid var(--color-gold);

  outline-offset: 3px;
}

/* ==========================================================
   Scroll Animation
========================================================== */

.hidden {
  opacity: 0;

  transform: translateY(50px);

  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: transform, opacity;
}

.show {
  opacity: 1;

  transform: translateY(0);
}
/* ==========================================================
   404
========================================================== */

.error-page {
  min-height: 100vh;

  background: #111;

  color: #fff;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 60px 24px;
}

.error-logo {
  width: 240px;

  margin-bottom: 50px;
}

.error-number {
  display: block;

  font-size: 7rem;

  font-weight: 700;

  color: var(--color-gold);

  margin-bottom: 20px;
}

.error-page h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);

  margin-bottom: 20px;
}

.error-page p {
  max-width: 650px;

  margin: 0 auto 45px;

  color: #bcbcbc;

  line-height: 1.8;
}
