/* ============================================================
   Pinto Arch — draft site stylesheet
   Replace colors/fonts to match final branding once a logo
   and brand palette are chosen.
   ============================================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7f8;
  --color-text: #1a2226;
  --color-muted: #5b6770;
  --color-accent: #1f4e63;
  --color-accent-light: #e8eef1;
  --color-border: #dde3e6;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 17px;
}

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

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

/* Header */
header.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

/* --- LOGO PLACEHOLDER ---
   Swap this .logo-placeholder div for an <img src="..." alt="Pinto Arch logo">
   once artwork is ready. Recommended size: roughly 40–56px tall, SVG or PNG
   with transparent background. */
.logo-placeholder {
  width: 48px;
  height: 48px;
  border: 2px dashed var(--color-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--color-accent);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav.site-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
}
nav.site-nav a:hover { color: var(--color-accent); }

/* Language switcher — EN / NL / PT.
   The link for the language currently being viewed carries aria-current="true"
   and is rendered as plain, non-clickable text. */
nav.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

nav.lang-switch a,
nav.lang-switch span {
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 4px;
  border-radius: 4px;
}
nav.lang-switch a:hover { color: var(--color-accent); }
nav.lang-switch [aria-current="true"] {
  color: var(--color-accent);
  background: var(--color-accent-light);
}
nav.lang-switch .sep { color: var(--color-border); padding: 0; }

/* Hero / narrative */
main { display: block; }

.hero {
  padding: 72px 0 56px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  margin: 0 0 28px;
  max-width: 720px;
}

.narrative p {
  color: var(--color-text);
  margin: 0 0 20px;
  max-width: 700px;
}

.narrative p:last-of-type { margin-bottom: 0; }

.cta-row {
  margin-top: 40px;
}

.button {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.button:hover { background: #163a4a; }

/* Contact section */
.contact-section {
  background: var(--color-bg-alt);
  padding: 48px 0;
  margin-top: 24px;
  border-top: 1px solid var(--color-border);
}

.contact-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.contact-section p { margin: 0 0 6px; color: var(--color-muted); }

.contact-email {
  font-size: 18px;
  font-weight: 600;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
  margin-top: 24px;
}

footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 14px;
  margin-right: 18px;
}
.footer-links a:hover { color: var(--color-accent); }

.footer-copy {
  color: var(--color-muted);
  font-size: 14px;
}

/* Legal pages */
.legal-page main .wrap {
  padding-top: 48px;
  padding-bottom: 64px;
}

.legal-page h1 { font-size: 30px; margin-bottom: 8px; }
.legal-page .updated { color: var(--color-muted); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; margin-top: 40px; }
.legal-page h3 { font-size: 16px; margin-top: 28px; }
.legal-page p, .legal-page li { color: var(--color-text); }
.legal-page .placeholder {
  background: #fff8e6;
  border: 1px dashed #d8b656;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.95em;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}
.legal-page th, .legal-page td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.legal-page th { color: var(--color-muted); font-weight: 600; }

/* Cookie consent banner */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-text);
  color: #fff;
  padding: 18px 24px;
  z-index: 1000;
  display: none;
}
#cookie-banner.visible { display: block; }
#cookie-banner .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#cookie-banner p {
  margin: 0;
  font-size: 14px;
  color: #e6e9ea;
  max-width: 560px;
}
#cookie-banner a { color: #fff; text-decoration: underline; }
#cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
#cookie-banner button {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#cookie-banner .accept-all {
  background: var(--color-accent);
  color: #fff;
}
#cookie-banner .reject-all {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

@media (max-width: 560px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .header-actions { gap: 12px; }
  nav.site-nav a { margin-left: 0; margin-right: 20px; }
}
