/* ---------- Brand palette (from logo) ----------
   Maroon:  #8B1A1A (UMI SUE wordmark)
   Gold:    #C9A227 (logo symbol)
   Cream:   #FBF7EE (background tint)
---------------------------------------------- */
:root {
  --maroon-900: #5e0f0f;
  --maroon-700: #8B1A1A;
  --maroon-500: #b03434;
  --maroon-100: #f6e4e4;
  --gold-700:   #a4811c;
  --gold-500:   #C9A227;
  --gold-300:   #e6c659;
  --gold-100:   #faf1d1;
  --cream:      #FBF7EE;
  --cream-soft: #fffaf0;
  --ink-900:    #1f1717;
  --ink-700:    #4a3b3b;
  --ink-500:    #7a6a6a;
  --bg:         #ffffff;
  --bg-alt:     var(--cream);
  --border:     #ecdfd0;
  --radius:     14px;
  --shadow-sm:  0 2px 6px rgba(94, 15, 15, 0.06);
  --shadow-md:  0 14px 32px rgba(94, 15, 15, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--maroon-700); text-decoration: none; }
a:hover { color: var(--maroon-900); }

h1, h2, h3 { color: var(--ink-900); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--ink-700); }
.muted { color: var(--ink-500); }
.small { font-size: .9rem; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--maroon-700);
  margin: 0 0 .8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-primary {
  background: var(--maroon-700);
  color: #fff;
  box-shadow: 0 8px 20px rgba(139, 26, 26, 0.28);
}
.btn-primary:hover {
  background: var(--maroon-900);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--maroon-700);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--maroon-100);
  color: var(--maroon-900);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink-900);
  font-weight: 700;
}
.brand-logo {
  height: 48px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { color: var(--ink-700); font-weight: 500; }
.nav-links a:hover { color: var(--maroon-700); }
.nav-links a.btn-primary { color: #fff; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(1200px 400px at 90% -10%, var(--gold-100), transparent 60%),
    radial-gradient(800px 300px at 10% 110%, var(--maroon-100), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--cream-soft) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy .lead {
  font-size: 1.1rem;
  max-width: 56ch;
}
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-stats {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 1.6rem;
  color: var(--maroon-700);
  font-weight: 800;
}
.hero-stats span { color: var(--ink-500); font-size: .9rem; }

.hero-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.hero-blob {
  position: absolute;
  inset: 6% 0 0 0;
  background: radial-gradient(closest-side, var(--gold-100), transparent 70%);
  border-radius: 50%;
  opacity: .9;
  z-index: 0;
}
.hero-logo-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 340px;
}
.hero-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(94, 15, 15, 0.18));
}
.hero-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 340px;
  border-top: 4px solid var(--gold-500);
}
.hero-card h3 { margin: .25rem 0; }
.hero-card p { margin: 0; }
.phone-big {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--maroon-700);
  letter-spacing: .01em;
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--ink-500);
  margin-bottom: .5rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero-card-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

/* ---------- Video Carousel ---------- */
.video-section {
  padding: 4rem 0 5rem;
  background:
    linear-gradient(180deg, var(--cream-soft) 0%, var(--bg) 100%);
}
.section-head-center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 2rem;
}
.section-head-center h2 { margin: 0; }
.section-head-center .eyebrow { margin-bottom: .3rem; }

.carousel-wrap {
  position: relative;
}
.carousel-btn {
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--maroon-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.carousel-btn:hover {
  background: var(--maroon-700);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.carousel-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.carousel-btn-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  left: -8px;
}
.carousel-btn-next { left: auto; right: -8px; }
.carousel-btn-side:hover { transform: translateY(-50%) scale(1.06); }

.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem .25rem 1.5rem;
  margin: 0 -.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-300) transparent;
}
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-track { background: transparent; }
.carousel::-webkit-scrollbar-thumb {
  background: var(--gold-300);
  border-radius: 8px;
}

.video-card {
  position: relative;
  flex: 0 0 auto;
  width: 240px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.18), transparent 55%),
    linear-gradient(160deg, var(--maroon-700), var(--maroon-900) 70%, #2c0606);
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('logo.png') center 30%/55% no-repeat;
  opacity: .18;
  pointer-events: none;
  transition: opacity .2s ease;
}
.video-card.playing::after,
.video-card.has-thumb::after { opacity: 0; }
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--maroon-700);
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform .15s ease, background .15s ease, opacity .2s ease;
}
.play-btn:hover {
  transform: scale(1.08);
  background: #fff;
}
.video-card.playing .play-btn {
  opacity: 0;
  pointer-events: none;
}

.mute-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease, background .15s ease;
  z-index: 2;
}
.mute-btn:hover { background: rgba(0,0,0,0.8); }
.video-card.playing .mute-btn,
.video-card:hover .mute-btn { opacity: 1; }

@media (max-width: 640px) {
  .video-card { width: 200px; }
  .carousel-btn-side {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.about-image { position: relative; }
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.6), transparent 40%),
    linear-gradient(160deg, var(--cream), #fff 60%, var(--gold-100));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 12% 14%;
  background: url('logo.png') center/contain no-repeat;
}
.about-badge {
  position: absolute;
  bottom: -18px;
  right: -10px;
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--gold-500);
}
.about-badge strong { color: var(--maroon-700); font-size: 1rem; }
.about-badge span { color: var(--ink-500); font-size: .85rem; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: .6rem;
  color: var(--ink-700);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--gold-100);
  color: var(--gold-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}
.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #fff;
  border-radius: 12px;
  font-size: 1.4rem;
  position: absolute;
  top: calc(16 / 10 * 100% / 16 * 10 - 26px);
  left: 1.25rem;
  box-shadow: 0 6px 16px rgba(94, 15, 15, 0.25);
  border: 3px solid #fff;
  z-index: 2;
}
/* The exact 'top' formula above is brittle — override with a simpler offset using the parent grid */
.service-card .service-icon {
  top: auto;
  bottom: auto;
  /* Position relative to the image bottom */
  margin-top: -26px;
  position: relative;
  align-self: flex-start;
  margin-left: 1.25rem;
}
.service-icon i { line-height: 1; }

.service-body {
  padding: 1rem 1.4rem 1.6rem;
}
.service-card h3 {
  margin: .5rem 0 .4rem;
  color: var(--maroon-700);
}
.service-card p {
  margin: 0;
  font-size: .95rem;
}

/* ---------- CTA ---------- */
.cta {
  padding: 4.5rem 0;
  background:
    radial-gradient(600px 200px at 80% 20%, rgba(201,162,39,0.25), transparent 70%),
    linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: .5rem; }
.cta p { color: rgba(255,255,255,0.88); margin-bottom: 1.5rem; }
.cta-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn-primary {
  background: var(--gold-500);
  color: var(--maroon-900);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.cta .btn-primary:hover {
  background: var(--gold-300);
  color: var(--maroon-900);
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(700px 200px at 100% 0%, rgba(201,162,39,0.08), transparent 70%),
    linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
  color: var(--ink-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.footer-logo {
  height: 64px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-tag {
  margin: 0;
  color: var(--ink-700);
  font-size: .95rem;
  max-width: 36ch;
}

.footer-socials {
  display: flex;
  gap: .55rem;
  margin-top: .25rem;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--maroon-700);
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}
.footer-socials a:hover {
  background: var(--maroon-700);
  color: #fff;
  border-color: var(--maroon-700);
  transform: translateY(-2px);
}

.footer-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-700);
  letter-spacing: .01em;
  position: relative;
  padding-bottom: .6rem;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-bottom: .65rem;
  font-size: .95rem;
  color: var(--ink-700);
  line-height: 1.5;
}
.footer-list li i { color: var(--gold-700); margin-top: 3px; flex-shrink: 0; }
.footer-list a { color: var(--ink-700); }
.footer-list a:hover { color: var(--maroon-700); }

.footer-list-plain li { display: list-item; margin-bottom: .55rem; }
.footer-list-plain li a {
  display: inline-block;
  position: relative;
  padding-left: 0;
  transition: padding-left .15s ease, color .15s ease;
}
.footer-list-plain li a::before {
  content: "›";
  color: var(--gold-700);
  margin-right: .4rem;
  font-weight: 700;
}
.footer-list-plain li a:hover { color: var(--maroon-700); padding-left: 2px; }

.footer-hours {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .9rem;
}
.footer-hours li:last-child { border-bottom: 0; }
.footer-hours span { color: var(--ink-500); }
.footer-hours strong { color: var(--ink-900); font-weight: 600; }
.footer-hours strong.closed { color: var(--maroon-700); }

.footer-cta { margin-top: .25rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { margin: 0; }
.footer-kkm { display: inline-flex; align-items: center; gap: .4rem; }
.footer-kkm i { color: var(--gold-700); }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 3rem 0; }
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-visual { min-height: 220px; }
  .hero-card { margin: 0 auto; }
  .about-badge { right: 12px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .brand-logo { height: 40px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; right: 4%; left: 4%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .service-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
}
