/* ============================================================
   Roundhay Music — Global Stylesheet
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: var(--b); }

/* ── VARIABLES ── */
:root {
  --a1:     #f4f7f2;
  --a2:     #e5ede2;
  --a3:     #c8dac4;

  --b:      #b85c2a;
  --b-dk:   #8c3e18;
  --b-lt:   #e8845a;

  --c:      #2e3440;
  --c-md:   #4c5568;
  --c-lt:   #7a8499;

  --accent:     #c9922a;
  --accent-lt:  #f0c060;

  --nav-bg:   #a8c4a0;
  --nav-bg-dk:#8fb38a;

  --white:    #ffffff;
  --nav-h:    64px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--c);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

body {
  font-family: var(--sans);
  background: var(--a1);
  color: var(--c);
  font-size: 17px;
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}
.nav-logo {
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: center;
}
.nav-logo-img { height: calc(0.84 * var(--nav-h)); width: auto; display: block; filter: brightness(1.15); }
.nav-links {
  display: flex; gap: 0; list-style: none;
  align-self: stretch;
  align-items: center;
  position: relative;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > span,
.nav-links > li > button {
  display: block;
  padding: 0 0.9rem;
  line-height: var(--nav-h);
  color: rgba(46,52,64,0.72);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.15s;
  cursor: pointer;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > span:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active,
.nav-links > li > span.active,
.nav-links > li > button.active { color: var(--b); }
.nav-links > li > button { background: none; border: none; cursor: pointer; font-family: inherit; }
.nav-links > li > button:focus-visible { outline: 2px solid var(--b); outline-offset: -2px; border-radius: 3px; }
.nav-dropdown-toggle::after {
  content: ' ▾';
  display: inline-block;
  font-size: 0.7em;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-links .dropdown a.active { color: var(--b); background: rgba(0,0,0,0.06); }

.nav-links .dropdown {
  display: none;
  position: absolute; top: var(--nav-h); left: 0;
  background: var(--nav-bg-dk);
  min-width: 220px;
  border-top: 2px solid var(--b);
  padding: 0.4rem 0;
  z-index: 200;
}
.nav-links > li:hover .dropdown { display: block; }
.nav-links .dropdown a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: rgba(46,52,64,0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  transition: color 0.15s, background 0.15s;
}
.nav-links .dropdown a:hover {
  color: var(--b);
  background: rgba(0,0,0,0.07);
}

.nav-cta {
  background: var(--b);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 4px;
  line-height: 1.4 !important;
  align-self: center;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--b-dk) !important; color: var(--white) !important; }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-hamburger:focus-visible { outline: 2px solid var(--b); outline-offset: 2px; border-radius: 4px; }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--c); margin: 4px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── BANNER STRIP ── */
.banner-strip {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--c);
}
.banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.banner-slide.active { opacity: 1; }
.banner-strip--static { height: 240px; background: none; overflow: hidden; }
.banner-strip--static img { width: 100%; height: 100%; object-fit: cover; display: block; animation: banner-pan 30s ease-in-out infinite; }
@keyframes banner-pan {
  0%   { object-position: center top; }
  50%  { object-position: center bottom; }
  100% { object-position: center top; }
}
@keyframes banner-pan-h {
  0%   { object-position: left center; }
  50%  { object-position: right center; }
  100% { object-position: left center; }
}
@media (max-width: 768px) {
  .banner-strip--static img { animation: banner-pan-h 30s ease-in-out infinite; }
}
.banner-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(46,52,64,0.18) 0%,
    rgba(46,52,64,0.05) 40%,
    rgba(46,52,64,0.42) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.banner-caption {
  position: absolute;
  bottom: 14px;
  right: 18px;
  z-index: 2;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  letter-spacing: 0.02em;
  transition: opacity 0.4s;
}
.banner-caption a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.banner-caption a:hover { color: rgba(255,255,255,0.85); }
.banner-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 7px;
}
.banner-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  padding: 0;
}
.banner-dot.active {
  background: rgba(255,255,255,0.85);
  transform: scale(1.25);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header { background: #1e3a2a; padding: 2.5rem 2rem 2rem; }
.page-header .breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-header .breadcrumb a:hover { color: var(--accent-lt); }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.page-header .page-intro {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-top: 0.6rem;
  max-width: 600px;
  font-weight: 300;
}

/* ── HERO (home page) ── */
.hero {
  background: linear-gradient(160deg, #1e3a2a 0%, #142a1e 100%);
  padding: 3.5rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 1;
}
.hero-inner {
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 1;
}
.footer-logo-wrap {
  text-align: center;
  padding: 2.5rem 2rem 1rem;
}
.footer-logo-wrap img {
  width: 100%;
  max-width: 320px;
  opacity: 0.85;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--accent-lt); }
.hero-lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin-bottom: 2.4rem;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-social { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.hero-social-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-lt);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

/* ── SECTION CHROME ── */
.section { padding: 4rem 2rem; }
.section-alt { background: var(--a2); }
.section-dark { background: var(--c); color: var(--white); }

.container { max-width: 1080px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--b);
  margin-bottom: 0.6rem;
}
.section-dark .section-label { color: var(--accent-lt); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--c);
}
.section-dark .section-title { color: var(--white); }

.section-intro {
  font-size: 1.05rem;
  color: var(--c-md);
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.section-dark .section-intro { color: rgba(255,255,255,0.62); }

/* ── PROSE ── */
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.2rem; color: var(--c-md); line-height: 1.8; }
.prose h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c);
  margin: 1.8rem 0 0.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--a3);
}
.prose h3:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.prose strong { color: var(--c); font-weight: 600; }
.prose a { color: var(--b); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--b-dk); }
.prose ul { margin: 0.5rem 0 1.2rem 1.4rem; }
.prose ul li { margin-bottom: 0.35rem; color: var(--c-md); }

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--a3);
  border-radius: 8px;
  padding: 1.5rem;
}
.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.5rem;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c);
  margin-bottom: 0.4rem;
}
.card-dark h3 { color: var(--white); }
.card p, .card-dark p { font-size: 0.92rem; color: var(--c-md); line-height: 1.6; }
.card-dark p { color: rgba(255,255,255,0.6); }

/* ── INSTRUMENT TABLE ── */
.instrument-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.instrument-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--b);
  padding: 0.5rem 0.8rem;
  border-bottom: 2px solid var(--a3);
}
.instrument-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--a3);
  font-size: 0.95rem;
  color: var(--c-md);
  vertical-align: top;
}
.instrument-table tr:last-child td { border-bottom: none; }
.instrument-table .price { font-weight: 600; color: var(--c); white-space: nowrap; }

/* ── QUOTE BLOCK ── */
.quote-block {
  border-left: 3px solid var(--b);
  background: var(--white);
  border-radius: 0 4px 4px 0;
  padding: 0.8rem 1rem 0.8rem 1.4rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--c-md);
  font-size: 0.97rem;
  line-height: 1.75;
}
.quote-attr {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-lt);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}

/* ── CONTACT GRID & FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-lt);
  margin-bottom: 0.3rem;
  margin-top: 1rem;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--a3);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--c);
  background: var(--white);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--b-lt); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .hint { font-size: 0.82rem; color: var(--c-lt); margin-top: 0.25rem; }
.form-company-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact-info h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c);
  margin-bottom: 1rem;
}
.contact-info p { font-size: 0.95rem; color: var(--c-md); line-height: 1.9; }
.contact-info a { color: var(--b); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.18s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--b); color: var(--white); }
.btn-primary:hover { background: var(--b-dk); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover,
.btn-outline-dark:hover { border-color: var(--accent-lt); color: var(--accent-lt); }
.btn-outline-dark {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-white { background: var(--white); color: var(--b-dk); font-weight: 700; }
.btn-white:hover { background: var(--a1); }

/* ── INSTRUMENT CATEGORY CARDS ── */
.instrument-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.instrument-category-card {
  background: var(--white);
  border: 1px solid var(--a3);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
}
.instrument-category-header {
  padding: 1rem 1.4rem 0.6rem;
  display: flex;
  align-items: center;
}
.instrument-category-icon { display: none; }
.instrument-category-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c);
}
.instrument-category-body { padding: 0.25rem 1.4rem 1rem; }
.instrument-category-body ul { list-style: none; }
.instrument-category-body ul li {
  font-size: 0.93rem;
  color: var(--c-md);
  padding: 0.3rem 0 0.3rem 1.4rem;
  position: relative;
}
.instrument-category-body ul li::before {
  content: '♩';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

/* ── LESSONS LIST ── */
.lessons-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.lesson-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--white);
  border: 1px solid var(--a3);
  border-radius: 100px;
  padding: 0.5rem 1.1rem 0.5rem 0.75rem;
}
.lesson-pill-icon { font-size: 1.2rem; line-height: 1; }
.lesson-pill-text { font-size: 0.92rem; font-weight: 600; color: var(--c); }
.lesson-pill-sub { font-size: 0.8rem; color: var(--c-lt); font-weight: 300; margin-left: 0.1rem; }

/* ── FEATURES GRID (home page) ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature {
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
  border-left: 3px solid var(--b);
}
.feature-heading {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c);
  margin-bottom: 0.6rem;
}
.feature p { font-size: 0.95rem; color: var(--c-md); line-height: 1.7; }

/* ── NEWS ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.6rem;
  border: 1px solid var(--a3);
}
.news-item { border-bottom: 1px solid var(--a3); padding: 1.5rem 0; }
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: none; }
.news-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--b);
  margin-bottom: 0.4rem;
}
.news-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.news-body { font-size: 0.93rem; color: var(--c-md); line-height: 1.7; }

/* ── INSTRUMENTS GRID (home page) ── */
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.instrument-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.6rem;
}
.instrument-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.instrument-detail { font-size: 0.9rem; color: rgba(255,255,255,0.55); margin-bottom: 0.6rem; line-height: 1.5; }
.instrument-price { font-size: 0.88rem; font-weight: 600; color: var(--accent-lt); letter-spacing: 0.02em; }

/* ── SUCCESS LIST ── */
.success-list { list-style: none; margin-top: 1.2rem; }
.success-list li {
  padding: 0.9rem 1rem 0.9rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--white);
  margin-bottom: 0.7rem;
  border-radius: 0 4px 4px 0;
  font-size: 0.97rem;
  color: var(--c-md);
  line-height: 1.6;
}

/* ── AFFILIATE CARDS ── */
.affiliate-card {
  background: var(--white);
  border: 1px solid var(--a3);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.affiliate-card-logo {
  flex: 0 0 110px;
  width: 110px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--a1);
  padding: 6px;
}
.affiliate-card-body { flex: 1; min-width: 0; }
.affiliate-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.affiliate-card { position: relative; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.affiliate-card:hover { border-color: var(--b-lt); box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
.affiliate-card h3 a {
  color: var(--c); text-decoration: none;
}
.affiliate-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.affiliate-card h3 a:hover { color: var(--b); }
.affiliate-card p { font-size: 0.93rem; color: var(--c-md); line-height: 1.65; }
@media (max-width: 520px) {
  .affiliate-card { flex-direction: column; }
  .affiliate-card-logo { width: 100%; height: 80px; flex: none; }
}

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--a2);
  border-top: 4px solid var(--accent);
  padding: 2rem 2rem;
  text-align: center;
}
.contact-strip p {
  color: var(--c-md);
  font-size: 1rem;
  margin: 0;
}
.contact-strip--white { background: var(--white); }
.contact-strip p a {
  color: var(--b);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-strip p a:hover { color: var(--b-dk); }

/* ── FOOTER ── */
footer {
  background: #1a2e22;
  color: rgba(255,255,255,0.5);
  padding: 3rem 2rem;
  font-size: 0.88rem;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
footer h4 {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: var(--accent-lt); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.4rem; }
.footer-address { line-height: 1.9; }
.footer-address a { color: rgba(255,255,255,0.6); }
.footer-bottom {
  max-width: 1080px; margin: 0 auto;
  padding: 1.5rem 2rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}
.footer-bottom .social-links { justify-self: end; }
footer { padding: 0; }
.social-links { display: flex; gap: 1rem; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: rgba(255,255,255,0.5);
  transition: all 0.15s;
}
.social-links a:hover { border-color: var(--accent-lt); color: var(--accent-lt); }
.social-text-link {
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--b); text-decoration: none; font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.social-text-link:hover { color: var(--b-dk); }

/* ── TABLET / MOBILE NAV ── */
@media (max-width: 1100px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--nav-bg);
    overflow-y: auto;
    padding: 1rem 0;
    z-index: 100;
  }
  .nav-links > li { width: 100%; }
  .nav-links > li > a,
  .nav-links > li > span,
  .nav-links > li > button { line-height: 1; padding: 0.9rem 1.5rem 0.9rem 2rem; text-align: left; display: block; font-size: 1rem; width: 100%; }
  .nav-links .dropdown {
    display: block; position: static; border-top: none;
    padding-left: 0; background: none;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links li.dropdown-open .dropdown { max-height: 400px; }
  .nav-links .dropdown a {
    padding: 0.5rem 1.5rem 0.5rem 2.7rem;
    font-size: 0.92rem;
    color: rgba(46,52,64,0.6);
  }
  .nav-links .dropdown a.active { color: var(--b); background: none; }
  .nav-links li.dropdown-open .nav-dropdown-toggle::after { transform: rotate(-180deg); }
  .nav-hamburger { display: block; }
  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 6px); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -6px); }
  .nav-cta { margin-top: 0; padding: 0.9rem 1.5rem 0.9rem 2rem !important; border-radius: 0; align-self: stretch; display: block; text-align: left; }
}

/* ── MOBILE ── */
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
}

@media (max-width: 676px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom > span { order: 1; }
  .footer-bottom .footer-contact { order: 2; }
  .footer-bottom .social-links { order: 3; justify-self: center; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * {
  opacity: 0; animation: fadeUp 0.6s ease forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.35s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.42s; }
.hero-inner > *:nth-child(6) { animation-delay: 0.5s; }
