
:root {
  --primary: #8b73b7;
  --primary-dark: #6f5998;
  --primary-soft: #e9e0f6;
  --ink: #22243b;
  --text: #57586b;
  --muted: #7f8096;
  --line: #ece8f4;
  --bg-soft: #f8f6fb;
  --bg-tint: #f4f7fc;
  --surface: #ffffff;
  --card: #fbf9fe;
  --navy: #032f3e;
  --salmon: #f0a386;
  --shadow: 0 12px 30px rgba(30, 35, 60, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
main { overflow: hidden; }
.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.section-space { padding: 88px 0; }
.centered { text-align: center; }
.section-eyebrow {
  font-family: 'Playfair Display', serif;
  color: #f1a17f;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 1.1;
  margin: 0 0 10px;
}
.section-title {
  margin: 0 0 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  color: var(--ink);
}
.section-copy {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--navy);
  border: 2px solid rgba(255,255,255,.9);
}
.btn-light:hover {
  background: rgba(255,255,255,.9);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(40, 45, 70, .06);
}
.header-top {
  border-bottom: 1px solid var(--line);
}
.header-top-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.instagram-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7c9d2;
  transition: color .2s ease, transform .2s ease, background .2s ease;
}
.instagram-link:hover {
  color: var(--primary);
  background: #f7f5fb;
  transform: translateY(-1px);
}
.instagram-link svg { width: 22px; height: 22px; }
.brand-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
}
.brand-block {
  text-align: center;
  text-decoration: none;
}
.brand-logo {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: #173949;
  line-height: 1;
  letter-spacing: .01em;
}
.brand-logo.main { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.brand-logo.alt { font-size: clamp(1.5rem, 3vw, 2.2rem); color: #476f7b; }
.brand-sub {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  color: #7f8497;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.phone-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.phone-link svg {
  width: 18px; height: 18px;
  color: var(--salmon);
}
.header-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}
.main-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-menu > li { position: relative; }
.main-menu > li > a {
  display: block;
  padding: 22px 16px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .88rem;
  color: #48495b;
  position: relative;
}
.main-menu > li > a:hover,
.main-menu > li > a.active { color: var(--ink); }
.main-menu > li > a.active::after,
.main-menu > li > a:hover::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: #f1a17f;
}
.has-dropdown > a::before {
  content: '▾';
  font-size: .78rem;
  margin-right: 8px;
  color: var(--primary);
}
.dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid #efeaf8;
  border-radius: 16px;
  box-shadow: 0 20px 35px rgba(35, 30, 70, .08);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  color: #4b4c60;
}
.dropdown a:hover { background: #faf7ff; color: var(--primary); }
.header-cta {
  padding: 13px 26px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary);
  text-decoration: none;
}
.header-cta:hover {
  background: var(--primary);
  color: #fff;
}

/* Homepage hero */
.home-hero {
  background:
    linear-gradient(rgba(255,255,255,.58), rgba(255,255,255,.58)),
    url('../img/hero_bg.png') center/cover no-repeat;
  padding: 112px 0 106px;
}
.hero-panel {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.hero-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--primary);
  font-weight: 700;
  font-size: .92rem;
}
.hero-title {
  margin: 0 0 18px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.06;
  color: #2b2144;
}
.hero-copy {
  margin: 0 auto 30px;
  max-width: 700px;
  font-size: 1.08rem;
  color: var(--text);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Cards and content */
.services-grid,
.equipment-grid,
.specialists-grid,
.home-contact-grid,
.contact-detail-grid,
.location-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}
.services-grid,
.equipment-grid,
.specialists-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-contact-grid,
.contact-detail-grid { grid-template-columns: 1.05fr .95fr; }
.location-grid { grid-template-columns: 320px minmax(0, 1fr); }
.footer-grid { grid-template-columns: 1.2fr 1fr .95fr; }
.card,
.equipment-card,
.specialist-card,
.home-contact-card,
.contact-side,
.location-box,
.contact-highlight,
.contact-form-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card,
.equipment-card,
.specialist-card,
.home-contact-card,
.contact-side,
.location-box,
.contact-highlight,
.contact-form-panel { padding: 28px; }
.card { text-align: center; }
.card img { width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 50%; object-fit: cover; }
.card h3,
.equipment-card h3,
.specialist-card h3,
.location-box h3 { margin: 0 0 10px; font-size: 1.22rem; color: var(--ink); }
.card p,
.equipment-card p,
.specialist-card p,
.location-box p,
.footer-copy,
.footer-links a,
.footer-contact p { margin: 0; color: var(--text); }
.section-tinted { background: var(--bg-soft); }
.section-blue { background: var(--bg-tint); }
.about-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.about-wrap img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }
.about-copy p { margin: 0 0 16px; color: var(--text); }
.specialist-badge {
  width: 82px; height: 82px; margin: 0 auto 16px;
  border-radius: 50%; background: linear-gradient(135deg, #ece3fa, #f8dfea);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark); font-weight: 800; letter-spacing: .04em;
}
.specialist-role { display: block; color: var(--primary); font-weight: 700; margin-bottom: 10px; }

/* Homepage contact teaser */
.home-contact-map {
  min-height: 100%;
  border: 0;
  border-radius: 22px;
  width: 100%;
  min-height: 420px;
}
.home-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #eef3fb;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 18px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(92, 69, 144, .12);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-meta strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}
.contact-meta span, .contact-meta a {
  color: var(--text);
  text-decoration: none;
}
.contact-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact page */
.page-hero {
  padding: 72px 0 28px;
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
}
.page-hero .section-copy { max-width: 760px; }
.contact-detail-wrap {
  padding: 22px;
  background: #e9eef7;
  border-radius: 28px;
}
.contact-map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 22px;
  background: #dbe5f5;
}
.contact-side {
  background: transparent;
  box-shadow: none;
  padding: 14px 6px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-side .section-eyebrow { margin-bottom: 4px; }
.contact-side .section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.contact-side .section-copy { margin-bottom: 24px; }
.contact-form-layout { display: grid; grid-template-columns: 1.3fr .8fr; gap: 28px; align-items: start; }
.contact-form-panel { padding: 34px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-label { font-weight: 700; color: var(--ink); }
.form-label span { color: #e26767; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #e2dfee;
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form-field textarea { min-height: 144px; resize: vertical; }
.form-note {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .93rem;
  color: var(--text);
}
.form-note input { margin-top: 4px; }
.form-actions { margin-top: 22px; }
.contact-highlight {
  background: var(--navy);
  color: #fff;
}
.contact-highlight h3 {
  margin: 0 0 14px;
  font-size: 1.7rem;
  color: #fff;
}
.contact-highlight p,
.contact-highlight a,
.contact-highlight strong,
.contact-highlight li {
  color: rgba(255,255,255,.94);
  text-decoration: none;
}
.contact-highlight ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.contact-highlight li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-highlight .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  font-size: .85rem;
}
.location-box {
  border: 4px solid var(--navy);
  box-shadow: none;
  text-align: center;
  padding: 40px 26px;
}
.location-pin {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  color: var(--navy);
}
.location-box h3 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.location-box p {
  font-size: 1.03rem;
}
.location-helper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  color: var(--text);
}
.location-helper strong {
  color: var(--ink);
  font-size: 1.15rem;
}
.location-helper .btn { align-self: flex-start; }

/* Footer */
.site-footer {
  background: #f1eef7;
  padding: 52px 0 24px;
}
.site-footer h4 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: var(--ink);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #ddd8ea;
  text-align: center;
  color: var(--muted);
  font-size: .86rem;
}

@media (max-width: 1080px) {
  .services-grid,
  .equipment-grid,
  .specialists-grid,
  .footer-grid,
  .home-contact-grid,
  .contact-detail-grid,
  .contact-form-layout,
  .location-grid { grid-template-columns: 1fr; }
  .header-top-inner {
    grid-template-columns: 1fr;
    padding: 20px 0;
    gap: 16px;
  }
  .instagram-link, .phone-link { justify-self: center; }
  .contact-side { padding: 0; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .header-nav { min-height: 70px; flex-wrap: wrap; padding: 12px 0; }
  .main-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 4px;
    gap: 0;
  }
  .header-nav.is-open .main-menu { display: flex; }
  .main-menu > li > a { padding: 14px 4px; }
  .main-menu > li > a.active::after,
  .main-menu > li > a:hover::after { left: 4px; right: 70%; bottom: 6px; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 14px;
    display: none;
    min-width: 0;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .header-nav.is-open .has-dropdown .dropdown { display: block; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 720px) {
  .container { width: min(1200px, calc(100% - 24px)); }
  .brand-stack { flex-direction: column; gap: 12px; }
  .brand-logo.main { font-size: 2rem; }
  .brand-logo.alt { font-size: 1.35rem; }
  .phone-link { font-size: .92rem; }
  .section-space { padding: 70px 0; }
  .home-hero { padding: 88px 0 80px; }
  .card, .equipment-card, .specialist-card, .home-contact-card,
  .contact-highlight, .contact-form-panel, .location-box { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .header-cta { width: 100%; justify-content: center; }
}
