/* Golf Yard Porvoo — sivuston tyylit
   Tumma, premium-teema. Otsikot: Plus Jakarta Sans 800. Leipäteksti: Montserrat.
   Logo: Squada One (vain logossa). Tunnusväri: messinki/kulta. */

:root {
  --bg: #14140f;
  --bg-panel: #1b1c15;
  --bg-panel-2: #20221a;
  --text-primary: #f3efe4;
  --text-secondary: #b9b4a5;
  --text-muted: #6f6a5c;
  --accent: #c6a15b;
  --accent-strong: #dcb972;
  --green-deep: #2f4034;
  --border: rgba(243, 239, 228, 0.12);
  --border-strong: rgba(243, 239, 228, 0.22);
  --radius: 6px;
  --radius-lg: 14px;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-logo: "Squada One", sans-serif;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
}

h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 18px; }

p { margin: 0; }

/* ---------- Header / nav ---------- */

.site-header {
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(20, 20, 15, 0.92);
  backdrop-filter: blur(6px);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-logo);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav__logo-mark {
  width: 21px;
  height: 25px;
  flex-shrink: 0;
  opacity: 0.92;
}

.site-footer .nav__logo-mark {
  width: 24px;
  height: 29px;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--text-primary);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__menu-toggle {
  display: none;
  background: none;
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__menu-toggle { display: inline-block; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px 24px;
    border-bottom: 0.5px solid var(--border);
    gap: 16px;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 0.5px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #14140f;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}

.hero__arc {
  position: absolute;
  top: 20px;
  right: -60px;
  width: 520px;
  height: 340px;
  pointer-events: none;
  opacity: 0.55;
}

.hero__arc path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw-arc 1.6s ease-out 0.2s forwards;
}

.hero__arc circle {
  fill: var(--accent);
  opacity: 0;
  animation: fade-in 0.4s ease-out 1.7s forwards;
}

@keyframes draw-arc {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}

.hero__headline {
  max-width: 640px;
  position: relative;
}

.hero__sub {
  max-width: 440px;
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: 18px;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__media {
  margin-top: 44px;
  height: 340px;
  border-radius: var(--radius-lg);
  background: var(--bg-panel-2);
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  overflow: hidden;
  position: relative;
}

.hero__media svg { width: 22px; height: 22px; opacity: 0.6; }

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .hero__media { height: 240px; margin-top: 32px; }
}

@media (max-width: 480px) {
  .hero__media { height: 200px; border-radius: 10px; }
}

/* ---------- Photo strip ---------- */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.photo-strip img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
}

@media (max-width: 700px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img { height: 130px; }
}

@media (max-width: 480px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 180px; }
}

/* ---------- Price table ---------- */

.price-table {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
  border-top: 0.5px solid var(--border);
}

.price-table li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 0.5px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.price-table li span:last-child {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}

.pillar {
  background: var(--bg);
  padding: 28px 20px;
  text-align: center;
}

.pillar svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin: 0 auto 12px;
}

.pillar__label {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 500;
}

@media (max-width: 700px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
  border-top: 0.5px solid var(--border);
}

.section__eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.section__title {
  max-width: 560px;
}

.section__body {
  max-width: 560px;
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 15px;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.section__link:hover { color: var(--accent-strong); }

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: start;
}

@media (max-width: 760px) {
  .section-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Cards / lists ---------- */

.card {
  background: var(--bg-panel);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.step-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}

.step-list li {
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.step-list .num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  min-width: 22px;
}

.feature-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  max-width: 520px;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 500px) {
  .feature-list { grid-template-columns: 1fr; }
}

.price-block {
  margin-top: 24px;
}

.price-block__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
}

.price-block__note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ---------- Final CTA ---------- */

.cta-band {
  padding: 64px 0;
  text-align: center;
  border-top: 0.5px solid var(--border);
}

.cta-band h2 { max-width: 480px; margin: 0 auto; }

.cta-band .btn { margin-top: 24px; }

.cta-band__small {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

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

.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.footer-grid h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Hero split (image beside text) ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-grid .hero__media {
  margin-top: 0;
  height: 380px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-grid .hero__media {
    height: 260px;
  }
}

/* ---------- Newsletter form ---------- */

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  max-width: 460px;
  flex-wrap: wrap;
}

.newsletter-form__input {
  flex: 1;
  min-width: 220px;
  background: var(--bg-panel);
  border: 0.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
}

.newsletter-form__input::placeholder {
  color: var(--text-muted);
}

.newsletter-form__input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 440px;
}
