/* Coraggio Equestrian — rebuilt static site */

:root {
  --dark: #222222;
  --darker: #1b1b1b;
  --text: #4a4a4a;
  --heading: #333333;
  --accent: #a3893f;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", Georgia, serif;
}

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

body {
  font-family: var(--serif);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  background: #fff;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header / Nav ---------- */

.hero {
  position: relative;
  min-height: 520px;
  background: url("images/hero.jpg") center 35% / cover no-repeat;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,20,20,.55), rgba(20,20,20,.15) 40%, rgba(20,20,20,0));
}

header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
}

.logo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .12em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.35;
  max-width: 160px;
}
.logo:hover { text-decoration: none; }

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
nav a:hover { color: #fff; text-decoration: none; }
nav a.active { color: #fff; }

nav a.btn-outline {
  border: 1px solid rgba(255,255,255,.85);
  padding: 10px 18px;
}
nav a.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Hero title ---------- */

.hero-title {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 120px;
  text-align: center;
}

.hero-title h1 {
  font-family: var(--sans);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.15;
  max-width: 800px;
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}

/* ---------- Intro section ---------- */

.intro {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 24px 30px;
  text-align: center;
}

.intro h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--heading);
  font-size: clamp(22px, 2.6vw, 29px);
  line-height: 1.45;
  margin-bottom: 34px;
}

.intro p {
  max-width: 620px;
  margin: 0 auto 22px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--dark);
  padding: 16px 26px;
  margin-top: 14px;
}
.btn:hover { background: #000; color: #fff; text-decoration: none; }

/* ---------- Feature columns ---------- */

.features {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.feature { text-align: center; }

.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 26px;
}

.feature h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 16px;
}

.feature p { margin-bottom: 20px; }

/* ---------- Footer ---------- */

.footer-social {
  background: var(--dark);
  padding: 34px 24px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }

.footer-info {
  background: var(--darker);
  padding: 34px 24px 42px;
  text-align: center;
}

.footer-info p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  line-height: 2;
}

.footer-info a { color: rgba(255,255,255,.85); }
.footer-info a:hover { color: #fff; }

/* ---------- Mobile ---------- */

@media (max-width: 760px) {
  header { flex-direction: column; padding: 20px 16px; }
  nav { justify-content: center; gap: 16px 20px; }
  .hero { min-height: 480px; }
  .features { grid-template-columns: 1fr; gap: 48px; }
  .intro { padding-top: 56px; }
}
