/* ═══════════════════════════════════════════════════════════════
   SCOTTISHFIXER — SUBPAGE SHARED STYLES
   Imported by all service, region, blog, about, and portfolio pages.
   Design tokens and base styles mirror the main site index.html.
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ─── DESIGN TOKENS ──────────────────────────────────── */
:root {
  --ink:        #0d1f14;
  --forest:     #1b4332;
  --moss:       #2d6a4f;
  --gold:       #b5872a;
  --gold-light: #cfa04e;
  --parchment:  #f2ede3;
  --paper:      #faf8f3;
  --white:      #ffffff;
  --rule:       #d8d2c6;
  --muted:      #6b6456;
  --text:       #2a241c;
}

/* ─── BASE ───────────────────────────────────────────── */
body {
  font-family: 'Inter', sans-serif;
  background: var(--parchment);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, blockquote {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
  font-feature-settings: "liga" 1, "kern" 1, "onum" 1;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 600; }
p  { font-family: 'Inter', sans-serif; line-height: 1.8; color: var(--muted); }
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { font-family: 'Inter', sans-serif; line-height: 1.8; color: var(--muted); }

/* ─── UTILITY ────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.narrow-container { max-width: 820px; margin: 0 auto; padding: 0 5%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1.5px; background: var(--gold); }
.btn {
  display: inline-block; padding: 0.9rem 2.2rem; border-radius: 2px;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; cursor: pointer; border: none; transition: all 0.22s;
}
.btn-gold    { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(181,135,42,0.32); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.45); color: #fff; }
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-dark    { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--forest); transform: translateY(-2px); }

/* ─── ANIMATIONS ─────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── NAV ────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.6rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(13, 31, 20, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.3);
  transition: all 0.35s ease;
}
#navbar.scrolled {
  padding: 1rem 5%;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
}
.nav-logo em { font-style: normal; color: var(--gold-light); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.72); transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links .cta {
  background: var(--gold); color: var(--ink) !important;
  padding: 0.5rem 1.3rem; border-radius: 2px; font-weight: 700;
}
.nav-links .cta:hover { background: var(--gold-light) !important; }

/* Nav Dropdowns */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-dropdown > a::after {
  content: ''; display: inline-block; width: 0; height: 0;
  border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor; margin-top: 1px;
}
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--ink); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px; padding: 0.75rem 0; min-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4); margin-top: 0; padding-top: 1.25rem; z-index: 300;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 0.5rem 1.4rem;
  font-size: 0.75rem !important; letter-spacing: 0.04em !important;
  text-transform: none !important; color: rgba(255,255,255,0.55) !important;
  white-space: nowrap; transition: all 0.15s;
}
.dropdown-menu a:hover {
  color: var(--gold-light) !important; background: rgba(255,255,255,0.04);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; z-index: 300;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 250;
  background: var(--ink); flex-direction: column;
  justify-content: center; align-items: center; gap: 2rem;
  overflow-y: auto; padding: 5rem 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.82); font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-style: italic; transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav-section {
  text-align: center; margin-top: 1rem;
}
.mobile-nav-section-label {
  font-family: 'Inter', sans-serif; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem; display: block;
}
.mobile-nav-section a {
  font-size: 1.2rem; display: block; margin-bottom: 0.25rem;
}

/* ─── SUBPAGE HERO ───────────────────────────────────── */
.subpage-hero {
  background: var(--ink); padding: 10rem 0 4rem; position: relative;
  overflow: hidden;
}
.subpage-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.subpage-hero .eyebrow { color: var(--gold-light); }
.subpage-hero .eyebrow::before { background: var(--gold-light); }
.subpage-hero h1 { color: #fff; max-width: 700px; margin-bottom: 1rem; }
.subpage-hero p { color: rgba(255,255,255,0.55); max-width: 600px; font-size: 1.05rem; line-height: 1.78; }

/* ─── BREADCRUMB ─────────────────────────────────────── */
.breadcrumb {
  padding: 1.25rem 0;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--muted); background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--rule); margin: 0 0.5rem; }

/* ─── CONTENT SECTIONS ──────────────────────────────── */
.content-section { padding: 5rem 0; }
.content-section.bg-paper { background: var(--paper); }
.content-section.bg-parchment { background: var(--parchment); }
.content-section.bg-ink { background: var(--ink); }
.content-section.bg-ink h2,
.content-section.bg-ink h3 { color: #fff; }
.content-section.bg-ink p { color: rgba(255,255,255,0.55); }
.content-section.bg-ink .eyebrow { color: var(--gold-light); }
.content-section.bg-ink .eyebrow::before { background: var(--gold-light); }

.content-body h2 { margin-bottom: 1.5rem; }
.content-body h3 { margin: 2.5rem 0 1rem; }
.content-body p { margin-bottom: 1rem; font-size: 0.92rem; }
.content-body ul, .content-body ol {
  margin: 0 0 1.5rem 1.5rem; font-size: 0.92rem;
}
.content-body li { margin-bottom: 0.4rem; }
.content-body strong { color: var(--text); }

/* ─── INCLUDED LIST (checkmark style) ───────────────── */
.included-list { list-style: none; margin-left: 0 !important; }
.included-list li {
  position: relative; padding-left: 1.75rem; margin-bottom: 0.65rem;
}
.included-list li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}

/* ─── LOCATIONS GRID ─────────────────────────────────── */
.locations-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  margin: 1.5rem 0;
}
.location-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text); font-weight: 500;
}
.location-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}

/* ─── INFO CARDS ─────────────────────────────────────── */
.info-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin: 2rem 0;
}
.info-card {
  background: var(--paper); padding: 2rem; border-radius: 3px;
  border-left: 3px solid var(--gold); transition: transform 0.22s, box-shadow 0.22s;
}
.info-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }
.info-card h4 {
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700;
  margin-bottom: 0.5rem; color: var(--text);
}
.info-card p { font-size: 0.85rem; margin: 0; }

/* ─── CALLOUT BOX ────────────────────────────────────── */
.callout-box {
  background: var(--ink); border-radius: 3px; padding: 2.25rem 2.5rem;
  margin: 2.5rem 0;
}
.callout-box h4 {
  color: var(--gold-light); font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-style: italic; margin-bottom: 1rem;
}
.callout-box p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-bottom: 0.75rem; }
.callout-box p:last-child { margin-bottom: 0; }
.callout-box ul { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin: 0.75rem 0 0 1.25rem; }

/* ─── TIMELINE TABLE ─────────────────────────────────── */
.timeline-table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: 0.88rem;
}
.timeline-table th {
  text-align: left; font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding: 0.75rem 1rem; background: var(--parchment);
  border-bottom: 2px solid var(--rule);
}
.timeline-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
.timeline-table td:last-child { font-weight: 600; color: var(--text); }

/* ─── FAQ ACCORDION ──────────────────────────────────── */
.faq-section { margin: 3rem 0; }
.faq-section h2 { margin-bottom: 2rem; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem 0; cursor: pointer; gap: 1.5rem;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 600;
  color: var(--text); transition: color 0.2s; user-select: none;
}
.faq-q:hover { color: var(--forest); }
.faq-q.open  { color: var(--forest); }
.faq-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1.5px solid var(--rule); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--muted); transition: all 0.25s; font-style: normal;
}
.faq-q.open .faq-icon { background: var(--forest); border-color: var(--forest); color: #fff; transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-a.open { max-height: 600px; }
.faq-a-inner { padding: 0 2rem 1.3rem 0; }
.faq-a-inner p { font-size: 0.87rem; line-height: 1.82; color: var(--muted); margin: 0; }
.faq-a-inner p + p { margin-top: 0.75rem; }

/* ─── CTA SECTION ────────────────────────────────────── */
.cta-section {
  background: var(--ink); padding: 5rem 0; text-align: center;
}
.cta-section .eyebrow { color: var(--gold-light); justify-content: center; }
.cta-section .eyebrow::before { background: var(--gold-light); }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.55); margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; }

/* ─── BLOG INDEX ─────────────────────────────────────── */
.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
  margin: 2rem 0;
}
.blog-card {
  background: var(--paper); border-radius: 3px; overflow: hidden;
  border: 1px solid var(--rule); transition: transform 0.22s, box-shadow 0.22s;
  display: block; text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.blog-card-body { padding: 2rem; }
.blog-card-body .eyebrow { margin-bottom: 0.5rem; }
.blog-card-body h3 { margin-bottom: 0.75rem; font-size: 1.3rem; transition: color 0.2s; }
.blog-card:hover h3 { color: var(--forest); }
.blog-card-body p { font-size: 0.85rem; margin-bottom: 0; }

/* ─── BLOG ARTICLE ───────────────────────────────────── */
.article-meta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 2rem;
}
.article-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 3rem 0 1.25rem; }
.article-body h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 2.5rem 0 1rem; }
.article-body p { margin-bottom: 1.2rem; font-size: 0.95rem; line-height: 1.85; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.5rem; font-size: 0.95rem; line-height: 1.85; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold); padding: 1.5rem 2rem;
  background: var(--parchment); margin: 2rem 0; border-radius: 0 3px 3px 0;
}
.article-body blockquote p { font-style: italic; color: var(--text); margin: 0; }

/* ─── PORTFOLIO GRID ─────────────────────────────────── */
.portfolio-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  margin: 2rem 0;
}
.portfolio-item {
  background: var(--paper); border-radius: 3px; overflow: hidden;
  border: 1px solid var(--rule); padding: 2.5rem;
}
.portfolio-item h3 { margin-bottom: 0.25rem; }
.portfolio-meta {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.portfolio-item p { font-size: 0.9rem; margin-bottom: 0.75rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.portfolio-tag {
  background: var(--parchment); color: var(--muted);
  font-size: 0.65rem; font-weight: 700; padding: 0.28rem 0.7rem;
  border-radius: 2px; letter-spacing: 0.07em; text-transform: uppercase;
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer { background: var(--ink); }
.footer-wm-section {
  padding: 5.5rem 5% 4rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-wm {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 8.5vw, 9rem); font-weight: 700; font-style: italic;
  color: rgba(255,255,255,0.8); letter-spacing: -0.03em; line-height: 0.92;
  transition: color 0.22s; text-decoration: none;
}
.footer-wm em { color: var(--gold-light); font-style: italic; }
.footer-wm:hover { color: #fff; }
.footer-wm-sub { color: rgba(255,255,255,0.2); font-size: 0.82rem; margin-top: 1.6rem; letter-spacing: 0.06em; }
.footer-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2.25rem 0; gap: 2rem; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-nav-left  { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.footer-nav-left a, .footer-nav-right a {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); transition: color 0.2s;
}
.footer-nav-left a:hover, .footer-nav-right a:hover { color: var(--gold-light); }
.footer-nav-right { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav-right a { letter-spacing: 0.02em; text-transform: none; font-size: 0.83rem; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.f-legal { color: rgba(255,255,255,0.25); font-size: 0.72rem; }
.f-social { display: flex; gap: 0.6rem; }
.s-link {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); transition: all 0.2s;
}
.s-link:hover { border-color: var(--gold-light); color: var(--gold-light); }
.s-link svg { width: 14px; height: 14px; fill: currentColor; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .info-cards { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .locations-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
/* ─── LANGUAGE SWITCHER ──────────────────────────────── */
.lang-switcher { display:flex; gap:0.4rem; align-items:center; }
.lang-opt {
  font-family:'Inter',sans-serif; font-size:0.67rem; font-weight:700;
  letter-spacing:0.06em; color:rgba(255,255,255,0.35);
  padding:0.2rem 0.4rem; border-radius:2px;
  transition:color 0.2s; text-decoration:none;
}
.lang-opt:hover { color:rgba(255,255,255,0.8); }
.lang-active { color:var(--gold-light) !important; border-bottom:1.5px solid var(--gold-light); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .lang-switcher { display:none; }
  .subpage-hero { padding: 8rem 0 3rem; }
  .subpage-hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .content-section { padding: 3.5rem 0; }
}
@media (max-width: 520px) {
  .content-section { padding: 3rem 0; }
  .subpage-hero { padding: 7rem 0 2.5rem; }
  .footer-nav-left { gap: 1.2rem; }
}
