:root {
  --ink: #1a1a1a;
  --ink-soft: #2c2c2c;
  --red: #c0392b;
  --red-dark: #962e23;
  --cream: #f7f4ef;
  --steel: #55606b;
  --steel-light: #8a949d;
  --line: rgba(26,26,26,0.12);
  --white: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar {
  background: var(--ink); color: rgba(255,255,255,0.75); font-size: 0.8rem;
}
.topbar-inner {
  max-width: 1140px; margin: 0 auto; padding: 8px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; align-items: center; gap: 18px; }

/* Header */
header.site-header {
  background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
nav.main-nav { display: flex; gap: 22px; flex-wrap: wrap; }
nav.main-nav a { font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); padding: 4px 2px; border-bottom: 2px solid transparent; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--red); border-color: var(--red); }
.btn {
  display: inline-block; background: var(--red); color: #fff; font-weight: 700;
  padding: 12px 24px; border-radius: 4px; font-size: 0.9rem; border: none; cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--red-dark); }
.btn-outline {
  display: inline-block; background: transparent; color: #fff; font-weight: 700;
  padding: 11px 23px; border-radius: 4px; font-size: 0.9rem; border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--ink) 0%, #2b2b2b 100%);
  position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1140px; margin: 0 auto; padding: 64px 20px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero-eyebrow { color: var(--red); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; margin: 0 0 10px; }
.hero h1 .accent { color: var(--red); display: block; }
.hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 42ch; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.hero-art img { width: 100%; height: 420px; object-fit: cover; }
@media (max-width: 760px) { .hero-inner { grid-template-columns: 1fr; } .hero-art img { height: 280px; } }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); padding: 46px 20px; }
.page-hero-inner { max-width: 1140px; margin: 0 auto; }
.page-hero-eyebrow { color: var(--red); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 0 0 8px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 60ch; margin: 0; }

section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-eyebrow { color: var(--red); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 800; margin: 0 0 10px; }
.section-head p { color: var(--steel); font-size: 1rem; margin: 0; }

/* Service cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border-radius: 8px; padding: 30px 26px; border-top: 4px solid var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.1); }
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 8px; }
.service-card p { color: var(--steel); font-size: 0.92rem; margin: 0 0 14px; }
.service-card a { color: var(--red); font-weight: 700; font-size: 0.88rem; }

/* Story / split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 14px; }
.split p { color: var(--steel); margin: 0 0 14px; line-height: 1.65; }
.split-dark { background: var(--ink); color: #fff; }
.split-dark .split p { color: rgba(255,255,255,0.75); }
.split-dark h2 { color: #fff; }

.checklist { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; color: var(--ink-soft); }
.checklist li::before { content: "✓"; color: var(--red); font-weight: 800; flex-shrink: 0; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.85rem; color: var(--steel); }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.value-card { text-align: center; padding: 10px; }
.value-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  margin: 0 auto 14px;
}
.value-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 6px; }
.value-card p { color: var(--steel); font-size: 0.9rem; margin: 0; }

/* Quote */
blockquote.pull-quote {
  margin: 24px 0; padding: 20px 24px; border-left: 4px solid var(--red);
  background: var(--cream); font-style: italic; font-size: 1.05rem; color: var(--ink-soft);
}
blockquote.pull-quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: 0.85rem; color: var(--steel); }

/* Testimonials */
.testimonial-card {
  background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; gap: 12px; height: 100%;
}
.testimonial-card p { margin: 0; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.6; }
.testimonial-author { font-weight: 700; font-size: 0.85rem; color: var(--steel); }
.section-alt { background: #fff; }

/* Gallery placeholder */
.gallery-empty {
  text-align: center; padding: 60px 20px; background: #fff; border-radius: 8px;
  border: 2px dashed var(--line);
}
.gallery-empty .service-icon { font-size: 2.4rem; }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 30px; }
.gallery-preview-tile {
  position: relative; aspect-ratio: 1; background: var(--ink); border-radius: 8px; display: flex;
  align-items: center; justify-content: center; font-size: 1.8rem; opacity: 0.5;
  overflow: hidden;
}
.gallery-preview-tile.has-photo { opacity: 1; }
.gallery-preview-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-preview-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 0.72rem;
  color: #fff; background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

.restauro-card { display: flex; flex-direction: column; text-decoration: none; }
.restauro-card-img { aspect-ratio: 4/3; background: var(--cream); border-radius: 8px 8px 0 0; overflow: hidden; }
.restauro-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.restauro-card-img.no-photo { display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--steel-light); }
.restauro-card-body { padding: 18px 20px; }
.restauro-card-body h3 { font-size: 1.05rem; margin: 0 0 4px; }
.restauro-card-meta { font-size: 0.82rem; color: var(--steel); margin: 0; }

/* Video/social section */
.video-section { background: var(--ink); color: #fff; }
.video-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .video-inner { grid-template-columns: 1fr; } }
.video-inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 6px; }
.video-inner .section-eyebrow { color: var(--red); }
.video-inner p { color: rgba(255,255,255,0.72); margin: 0 0 22px; }
.channel-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.channel-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
}
.channel-card h3 { margin: 0; font-size: 1.05rem; }
.channel-card .role { color: var(--steel-light); font-size: 0.85rem; }
.channel-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; text-align: center; padding: 54px 20px; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 10px; }
.cta-band p { color: rgba(255,255,255,0.88); margin: 0 0 24px; }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--cream); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 42px; height: 42px; border-radius: 50%; background: var(--cream); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info-item strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); margin-bottom: 3px; }
.contact-info-item span, .contact-info-item div { font-size: 0.95rem; color: var(--ink-soft); }
.map-embed { border: 0; width: 100%; height: 260px; border-radius: 8px; margin-top: 10px; }

.contact-form-card { background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel); margin-bottom: 5px; display: block; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font-family: inherit; font-size: 0.95rem; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--cream); color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 110px; }

/* Footer */
footer.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { color: #fff; font-weight: 800; }
.site-footer p { font-size: 0.88rem; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-list a { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-list a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.82rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.credit { }
.credit a { color: rgba(255,255,255,0.85); font-weight: 700; }

/* Cookie banner */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--ink); color: rgba(255,255,255,0.85); padding: 14px 20px;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.25);
}
.cookie-bar-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cookie-bar-inner p { margin: 0; font-size: 0.85rem; line-height: 1.5; }
.cookie-bar-inner a { color: var(--red); font-weight: 700; }
.cookie-accept {
  background: var(--red); color: #fff; font-weight: 800; border: none;
  border-radius: 999px; padding: 10px 22px; font-size: 0.85rem; white-space: nowrap; cursor: pointer;
}
.cookie-accept:hover { background: var(--red-dark); }

/* Legal content */
.legal-content h2 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--steel); line-height: 1.65; margin: 0 0 10px; font-size: 0.95rem; }
.legal-content ul { color: var(--steel); line-height: 1.65; font-size: 0.95rem; }
.legal-content a { color: var(--red); font-weight: 700; text-decoration: underline; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.88rem; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--steel); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; }

.related-services { display: flex; gap: 14px; flex-wrap: wrap; }
.related-services a {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px;
  font-size: 0.88rem; font-weight: 700; color: var(--ink-soft);
}
.related-services a:hover { border-color: var(--red); color: var(--red); }

@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; }
  nav.main-nav { order: 3; width: 100%; justify-content: center; padding-top: 10px; border-top: 1px solid var(--line); gap: 14px; }
}
