:root {
  --color-waterfall-turquoise: #2A9D8F;
  --color-waterfall-turquoise-dark: #268D80;
  --color-tropical-leaf-green: #264653;
  --color-warm-clay: #E76F51;
  --color-warm-clay-dark: #D05F43;
  --color-pale-sand: #F4F1DE;
  --color-dark-chocolate: #3D2B1F;
  --color-soft-cream: #FAF7F2;
  --color-muted-forest: #A8B5A2;
  --color-white: #FFFFFF;

  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  --text-h1-size: clamp(2.625rem, 5vw, 3.5rem);
  --text-h1-line-height: 1.1;
  --text-h1-weight: 700;
  --text-h2-size: clamp(1.875rem, 3.5vw, 2.5rem);
  --text-h2-line-height: 1.2;
  --text-h2-weight: 600;
  --text-h3-size: clamp(1.5rem, 2.5vw, 1.75rem);
  --text-h3-line-height: 1.3;
  --text-h3-weight: 600;
  --text-h4-size: 1.25rem;
  --text-h4-line-height: 1.4;
  --text-h4-weight: 600;
  --text-body-size: 1rem;
  --text-body-line-height: 1.6;
  --text-body-weight: 400;
  --text-small-size: 0.875rem;
  --text-small-line-height: 1.5;
  --text-small-weight: 400;
  --text-button-size: 1rem;
  --text-button-line-height: 1;
  --text-button-weight: 600;
  --text-button-letter-spacing: 0.05em;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --container-max-width: 1200px;
  --container-padding-mobile: 24px;
  --container-padding-desktop: 48px;
  --section-spacing-mobile: 64px;
  --section-spacing-desktop: 96px;

  --radius-small: 8px;
  --radius-card: 16px;
  --radius-image: 12px;
  --radius-circle: 50%;

  --border-subtle: 1px solid var(--color-muted-forest);
  --shadow-card: 0 4px 12px rgba(61, 43, 31, 0.08);
  --shadow-card-hover: 0 6px 18px rgba(61, 43, 31, 0.12);

  --transition-fast: 200ms ease-in-out;
  --focus-ring: 0 0 0 3px rgba(42, 157, 143, 0.4);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  font-weight: var(--text-body-weight);
  line-height: var(--text-body-line-height);
  color: var(--color-dark-chocolate);
  background-color: var(--color-pale-sand);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--color-waterfall-turquoise);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-waterfall-turquoise-dark);
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-dark-chocolate);
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  margin-block-end: var(--space-5);
}

h2 {
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line-height);
  font-weight: var(--text-h2-weight);
  margin-block-end: var(--space-4);
}

h3 {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  font-weight: var(--text-h3-weight);
  margin-block-end: var(--space-3);
}

h4 {
  font-family: var(--font-body);
  font-size: var(--text-h4-size);
  line-height: var(--text-h4-line-height);
  font-weight: var(--text-h4-weight);
  margin-block-end: var(--space-2);
}

p {
  margin-block-end: var(--space-4);
}

p:last-child {
  margin-block-end: 0;
}

ul,
ol {
  margin-block-end: var(--space-4);
  padding-inline-start: var(--space-5);
}

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

blockquote {
  margin-block-end: var(--space-4);
  padding-inline-start: var(--space-5);
  border-inline-start: 3px solid var(--color-waterfall-turquoise);
  font-style: italic;
}

blockquote:last-child {
  margin-block-end: 0;
}

figure {
  margin-block-end: var(--space-4);
}

figure:last-child {
  margin-block-end: 0;
}

figcaption {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--color-muted-forest);
  margin-block-start: var(--space-2);
}

small {
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
}

strong {
  font-weight: 600;
}

hr {
  border: none;
  border-block-start: var(--border-subtle);
  margin-block: var(--space-6);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-mobile);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--container-padding-desktop);
  }
}

.section {
  padding-block: var(--section-spacing-mobile);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--section-spacing-desktop);
  }
}

.surface-card {
  background-color: var(--color-soft-cream);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.surface-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.surface-card > :last-child {
  margin-block-end: 0;
}

.surface-dark {
  background-color: var(--color-dark-chocolate);
  color: var(--color-soft-cream);
}

.surface-dark h1,
.surface-dark h2,
.surface-dark h3,
.surface-dark h4,
.surface-dark h5,
.surface-dark h6 {
  color: var(--color-soft-cream);
}

.surface-dark a {
  color: var(--color-waterfall-turquoise);
}

.surface-dark a:hover {
  color: var(--color-white);
}

.surface-dark .btn-primary,
.surface-dark .btn-primary:hover,
.surface-dark .btn-tertiary,
.surface-dark .btn-tertiary:hover,
.surface-dark .btn-secondary:hover {
  color: var(--color-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-button-size);
  font-weight: var(--text-button-weight);
  line-height: var(--text-button-line-height);
  letter-spacing: var(--text-button-letter-spacing);
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-small);
  border: 2px solid transparent;
  min-height: 48px;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-primary {
  background-color: var(--color-waterfall-turquoise);
  color: var(--color-white);
  border-color: var(--color-waterfall-turquoise);
}

.btn-primary:hover {
  background-color: var(--color-waterfall-turquoise-dark);
  border-color: var(--color-waterfall-turquoise-dark);
  color: var(--color-white);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-warm-clay);
  border-color: var(--color-warm-clay);
}

.btn-secondary:hover {
  background-color: var(--color-warm-clay);
  color: var(--color-white);
  text-decoration: none;
}

.btn-tertiary {
  background-color: var(--color-warm-clay);
  color: var(--color-white);
  border-color: var(--color-warm-clay);
}

.btn-tertiary:hover {
  background-color: var(--color-warm-clay-dark);
  border-color: var(--color-warm-clay-dark);
  color: var(--color-white);
  text-decoration: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-dark-chocolate);
  background-color: var(--color-white);
  border: 1px solid var(--color-muted-forest);
  border-radius: var(--radius-small);
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-waterfall-turquoise);
  box-shadow: var(--focus-ring);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-muted-forest);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

label {
  display: block;
  font-size: var(--text-small-size);
  font-weight: 600;
  margin-block-end: var(--space-2);
  color: var(--color-dark-chocolate);
}

.img-rounded {
  border-radius: var(--radius-image);
}

.img-circle {
  border-radius: var(--radius-circle);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.flex > * {
  min-width: 0;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  align-items: center;
  justify-content: space-between;
}

.flex-start {
  align-items: flex-start;
  justify-content: flex-start;
}

.flex-end {
  align-items: flex-end;
  justify-content: flex-end;
}

.flex-1 {
  flex: 1 1 0%;
  min-width: 0;
}

.flex-auto {
  flex: 0 1 auto;
  min-width: 0;
}

.flex-none {
  flex: 0 0 auto;
}

.content-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: var(--space-4);
}

.content-list:last-child {
  margin-block-end: 0;
}

.content-list > li {
  margin-block-end: var(--space-2);
}

.content-list > li:last-child {
  margin-block-end: 0;
}