/* Vivax – temporary page. Brand colours taken from the original "standout" Drupal theme. */

:root {
  --red: #bd111a;
  --red-dark: #9e0a13;
  --ink: #231d1d;
  --text: #463e3e;
  --muted: #6b6262;
  --line: #e8e0e0;
  --soft: #f9f6f6;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}

main {
  flex: 1;
}

h1,
h2,
p,
dl,
dd {
  margin: 0;
}

h1,
h2 {
  color: var(--ink);
  line-height: 1.15;
  text-wrap: balance;
}

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

a {
  color: var(--red);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--red-dark);
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header – same red bar and white logo as the original site */

.site-header {
  background: var(--red);
  color: #fff;
}

.site-header .container {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.logo {
  display: block;
  width: 120px;
  height: auto;
}

/* Hero */

.hero {
  padding-block: clamp(40px, 7vw, 88px);
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}

.hero-grid,
.info {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}

.hero-grid {
  align-items: center;
}

h1 {
  max-width: 14em;
  font-size: clamp(2rem, 1.25rem + 3vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  border-color: #dccfcf;
  color: var(--ink);
}

.btn-secondary .icon {
  color: var(--red);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red-dark);
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 55%;
  height: 45%;
  background: var(--red);
  border-radius: var(--radius);
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgb(35 29 29 / 0.35);
}

/* About and contacts */

.info {
  padding-block: clamp(48px, 7vw, 88px);
}

.info h2 {
  margin-bottom: 12px;
  font-size: 1.375rem;
}

.info p {
  max-width: 36em;
  font-size: 1.0625rem;
}

address {
  font-style: normal;
}

dl > div {
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}

dl > div:first-child {
  padding-top: 0;
}

dl > div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

dd {
  color: var(--ink);
}

.site-footer {
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (min-width: 860px) {
  .hero-grid,
  .info {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .hero-media img {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 479px) {
  .site-header .container {
    min-height: 64px;
  }

  .logo {
    width: 104px;
  }

  .btn {
    width: 100%;
  }

  .hero-media::before {
    left: -10px;
    bottom: -10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
