@import url('https://fonts.cdnfonts.com/css/gilroy-bold');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Gilroy-Bold', 'Gilroy', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-default);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  color: var(--text-secondary);
  max-width: 65ch;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.section--oxford { background: var(--oxford-blue); color: var(--snow); }
.section--oxford p { color: rgba(250, 250, 250, 0.85); }
.section--navy { background: var(--navy-blue); color: var(--snow); }
.section--navy p { color: rgba(250, 250, 250, 0.85); }
.section--ice { background: var(--ice-blue); }
.section--maya { background: linear-gradient(135deg, var(--maya-blue) 0%, var(--ice-blue) 100%); }
.section--snow { background: var(--snow); }
.section--soft-lemon { background: var(--soft-lemon); }

.section__label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--maya-blue);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section--oxford .section__label,
.section--navy .section__label {
  color: var(--dandelion);
}

.section__title {
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.5rem;
}

.section__closing {
  margin-top: 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.section--oxford .section__closing,
.section--navy .section__closing {
  color: var(--snow);
}

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--dandelion);
  color: var(--oxford-blue);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--vivid-yellow);
  box-shadow: var(--shadow-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--oxford-blue);
  border-color: var(--oxford-blue);
}

.btn--secondary:hover {
  background: var(--oxford-blue);
  color: var(--snow);
}

.btn--light {
  background: var(--snow);
  color: var(--oxford-blue);
}

.btn--light:hover {
  background: var(--ice-blue);
}

.section--oxford .btn--secondary,
.section--navy .btn--secondary {
  color: var(--snow);
  border-color: rgba(250, 250, 250, 0.5);
}

.section--oxford .btn--secondary:hover,
.section--navy .btn--secondary:hover {
  background: var(--snow);
  color: var(--oxford-blue);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-group--center {
  justify-content: center;
}

/* Abstract shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.15;
}

.shape--semi {
  border-radius: 50% 50% 0 0;
}

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
