/* Eurovanta Interior Studio — shared styles */

:root {
  --color-bg: #fafaf8;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-border: #e6e6e2;
  --color-accent: #2d4a3e;
  --color-accent-soft: #3d5f52;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 6px;
  --max-width: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  text-decoration: none;
}

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

.logo__mark {
  flex-shrink: 0;
  border-radius: 8px;
}

.logo__text span {
  font-weight: 400;
  color: var(--color-text-muted);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.footer-brand-row .logo__mark {
  width: 32px;
  height: 32px;
}

.footer-brand-row .footer-brand {
  margin: 0;
}

.info-strip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-strip__item h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.info-strip__item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.faq {
  max-width: 42rem;
}

.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  padding: 0.85rem 1rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style-position: outside;
}

.faq details[open] summary {
  margin-bottom: 0.5rem;
}

.faq p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.data-table th {
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  max-width: 42rem;
}

.toc h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.toc a {
  color: var(--color-text);
}

.split-banner {
  margin: 2rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.split-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  max-height: 320px;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text);
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.nav-main a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--color-accent);
}

main {
  flex: 1;
}

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

.section {
  padding: 3rem 0;
}

.section--tight {
  padding: 2rem 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.hero {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero p {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-border);
}

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

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: 1.25rem 1.35rem;
}

.card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.card__body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.feature-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.feature-list li {
  margin-bottom: 0.5rem;
}

.page-hero {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 2.25rem 0;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 40rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.prose h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose ul {
  color: var(--color-text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}

.contact-block h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.contact-block address {
  font-style: normal;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  padding: 2.5rem 0 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.footer-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-col h3 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--color-text);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  padding: 1rem 1.25rem;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 520px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-main {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-main.is-open {
    max-height: 480px;
  }

  .nav-main ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
  }

  .nav-main li {
    border-bottom: 1px solid var(--color-border);
  }

  .nav-main li:last-child {
    border-bottom: 0;
  }

  .nav-main a {
    display: block;
    padding: 0.65rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-main {
    transition: none;
  }
}
