a,
button,
input,
select,
textarea,
label,
summary,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* =========================
   FONTS
========================= */

@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald/Oswald-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* =========================
   RESET + BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

body {
  font-family: var(--font-text);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: 1.7;
  background: var(--color-bg);
  color: var(--color-text);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================
   VARIABLES
========================= */

:root {
  --color-bg: #f5f1eb;
  --color-bg-soft: #ece6df;
  --color-surface: #ffffff;
  --color-title: #1f1f1f;
  --color-text: #5c5c5c;
  --color-accent: #a66a3f;
  --color-cta: #111111;
  --color-white: #ffffff;
  --color-border: #ddd6cf;
  --color-card: #f0e7dd;
  --color-bg-alt: #efe4d7;

  --font-title: "Playfair Display", serif;
  --font-text: "Inter", sans-serif;

  --fs-h1: clamp(2.4rem, 5vw, 4.2rem);
  --fs-h2: clamp(1.8rem, 3vw, 2.8rem);
  --fs-h3: clamp(1.1rem, 1.8vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1vw, 1.05rem);
  --fs-small: clamp(0.8rem, 0.9vw, 0.95rem);
  --fs-button: clamp(0.9rem, 1vw, 1rem);

  --fw-title: 500;
  --fw-subtitle: 400;
  --fw-body: 300;
  --fw-button: 400;

  --section-padding: clamp(4rem, 8vw, 7rem);
  --container-width: 75rem;
  --flow-space: clamp(0.8rem, 1.2vw, 1.2rem);

  --radius-sm: 0.75rem;
  --radius-md: 1.2rem;
  --radius-lg: 1.8rem;

  --shadow-soft: 0 0.8rem 2rem rgba(0, 0, 0, 0.06);

  --transition: 0.3s ease;
}

/* =========================
   TYPO
========================= */

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: var(--fw-title);
  line-height: 1.2;
  color: var(--color-title);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  font-size: var(--fs-body);
  color: var(--color-text);
}

/* =========================
   LAYOUT
========================= */

.container {
  width: min(100% - 2rem, var(--container-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-padding);
}

.section-soft {
  background: var(--color-bg-soft);
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  padding: 0.9em 1.8em;
  border-radius: var(--radius-sm);
  background: var(--color-cta);
  color: var(--color-white);
  font-size: var(--fs-button);
  font-weight: var(--fw-button);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  transform: translateY(-0.12rem);
  opacity: 0.95;
}

/* =========================
   SECTION TITLES
========================= */

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.section-subtitle {
  margin-top: 0.6em;
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-style: italic;
  font-weight: var(--fw-subtitle);
  color: var(--color-accent);
}

.section-title-decorated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
}

.section-title-decorated::before,
.section-title-decorated::after {
  content: "";
  width: clamp(2rem, 6vw, 4.5rem);
  height: 0.08rem;
  background: var(--color-border);
}

/* =========================
   UTILITIES
========================= */

.text-center {
  text-align: center;
}

.bg-main {
  background: var(--color-bg);
}

.bg-soft {
  background: var(--color-bg-soft);
}

.surface {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.small-text {
  font-size: var(--fs-small);
}

.accent-text {
  color: var(--color-accent);
}

.flow > * + * {
  margin-top: var(--flow-space);
}
@media (max-width: 1100px) {
  .container {
    width: min(100%, calc(100% - 40px));
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 28px);
  }

  .section {
    padding: 5rem 0;
  }
}
