:root {
  --red: #C8102E;
  --red-dark: #A20D26;
  --red-light: #FCE7EB;
  --ink: #17161A;
  --ink-soft: #57606F;
  --bg-cream: #FAF6F3;
  --border: #ECE6E2;
  --shadow: 0 10px 30px rgba(17, 16, 20, 0.06);
  --shadow-lg: 0 20px 50px rgba(17, 16, 20, 0.10);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

svg { width: 20px; height: 20px; flex-shrink: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(200,16,46,.28); }
.btn-primary:hover { background: var(--red-dark); }

.btn-outline { background: #fff; color: var(--ink); border-color: #E3DFDC; }
.btn-outline:hover { border-color: var(--ink); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f4f4f4; }

.btn-sm { padding: 11px 22px; font-size: 14px; }
.btn-block { width: 100%; padding: 16px; }

/* ---------- Section heads ---------- */
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 38px; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16px; max-width: 560px; }
.section-head.center { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head.center p { margin: 0 auto; }
.section-head:not(.center) { margin-bottom: 44px; }

.accent-bar {
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--red), rgba(200,16,46,.15));
  margin: 4px 0 18px;
}
.accent-bar.center { margin-left: auto; margin-right: auto; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.brand-sub { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--red); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink); opacity: .8; transition: opacity .15s, color .15s; }
.nav a:hover { opacity: 1; color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-link { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.phone-link svg { width: 17px; height: 17px; color: var(--red); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 88px; background: #fff; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,.12), rgba(200,16,46,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--red); }
.hero-text h1 {
  font-size: 52px;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}
.hero-text > p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-link {
  display: inline-block;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 2px solid var(--red);
}

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- About ---------- */
.about { background: var(--bg-cream); padding: 96px 0; }
.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-text p { color: var(--ink-soft); font-size: 16px; margin-bottom: 16px; }
.about-text .bold-line { color: var(--ink); font-weight: 700; font-size: 17.5px; margin-bottom: 30px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--red); font-weight: 800; }
.stat span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { padding: 96px 0; background: #fff; }
.service-card { text-align: left; }
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-circle svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Differentials ---------- */
.differentials { background: #121114; padding: 96px 0; }
.differentials .section-head h2, .differentials .eyebrow { color: #fff; }
.differentials .eyebrow { color: var(--red); }
.dark-card { background: #1D1B1F; box-shadow: none; border: 1px solid rgba(255,255,255,.06); }
.dark-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.dark-card p { color: #A9A6AD; font-size: 14.5px; }
.icon-circle-solid { background: var(--red); color: #fff; width: 46px; height: 46px; margin-bottom: 16px; }
.icon-circle-solid svg { width: 21px; height: 21px; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 96px 0; background: var(--bg-cream); }
.badges { display: flex; justify-content: center; gap: 12px; margin: 6px 0 20px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
}
.badge-outline { background: #fff; border: 1px solid var(--border); }
.badge-outline svg { width: 14px; height: 14px; color: var(--red); }
.badge-fill { background: var(--red-light); color: var(--red); }
.quote-line { font-style: italic; font-size: 17px; color: var(--ink); }

.carousel-wrap { margin-top: 44px; }
.carousel { overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform .5s cubic-bezier(.65,0,.35,1);
}
.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 18px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 44px;
  color: var(--red-light);
  line-height: 1;
}
.testimonial-card p { position: relative; color: var(--ink-soft); font-size: 15px; margin: 30px 0 18px; z-index: 1; }
.stars { color: var(--red); letter-spacing: 2px; margin-bottom: 10px; font-size: 15px; }
.testimonial-card strong { font-size: 15px; }

.carousel-controls { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.carousel-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background .15s, color .15s, border-color .15s;
}
.carousel-controls button:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Gallery ---------- */
.gallery { padding: 96px 0; background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 320px; object-fit: cover; object-position: top center; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 96px; background: #fff; }
.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
}
.cta-decor {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
}
.cta-card h2 { color: #fff; font-size: 36px; max-width: 680px; margin: 0 auto 16px; position: relative; }
.cta-card p { color: rgba(255,255,255,.9); max-width: 480px; margin: 0 auto 30px; position: relative; }
.cta-card .btn { position: relative; }

/* ---------- Contact ---------- */
.contact { padding: 96px 0; background: var(--bg-cream); }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  font-size: 14.5px;
  line-height: 1.5;
}
.info-card svg { color: var(--red); }
.map-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); height: 260px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}
textarea { margin-bottom: 20px; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); text-align: center; min-height: 18px; }
.form-note.success { color: #1a7f4a; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #121114; color: #C9C6CE; padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 300px; color: #A9A6AD; }
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; font-family: var(--font-head); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 14px; color: #A9A6AD; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { padding: 22px 0; font-size: 13px; color: #7E7A85; text-align: center; }

/* ---------- Floating buttons ---------- */
.floating-buttons {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .15s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-dark { background: #121114; }
.fab-red { background: var(--red); width: 58px; height: 58px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.gallery-item.reveal { transform: translateY(28px) scale(.94); }
.gallery-item.reveal.in-view { transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- Visual editor ---------- */
.edit-mode [contenteditable="true"] {
  cursor: text;
  border-radius: 6px;
  outline: 1px dashed transparent;
  transition: outline-color .15s, background .15s;
}
.edit-mode [contenteditable="true"]:hover {
  outline-color: rgba(200,16,46,.45);
  background: rgba(200,16,46,.04);
}
.edit-mode [contenteditable="true"]:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  background: rgba(200,16,46,.06);
}

.reframable { position: relative; }
.edit-mode .reframable img {
  cursor: grab;
  touch-action: none;
  outline: 2px dashed transparent;
  transition: outline-color .15s;
}
.edit-mode .reframable:hover img { outline-color: rgba(200,16,46,.5); }
.edit-mode .reframable img.dragging { cursor: grabbing; outline-color: var(--red); }

.img-replace-btn {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(17,16,20,.72);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
}
.img-replace-btn svg { width: 17px; height: 17px; }
.img-replace-btn:hover { background: var(--red); }
.edit-mode .img-replace-btn { display: flex; }

.remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.remove-btn:hover { background: var(--red); }

.add-tile {
  border: 2px dashed #C9C3BE;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--ink-soft);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 32px;
  transition: border-color .15s, color .15s;
}
.add-tile:hover { border-color: var(--red); color: var(--red); }
.gallery .add-tile { height: 320px; min-height: 0; }

.editor-bar {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.editor-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.editor-btn svg { width: 17px; height: 17px; }
.editor-btn-toggle { background: var(--ink); color: #fff; }
.editor-btn-toggle:hover { background: #000; }
.edit-mode .editor-btn-toggle { background: var(--red); }
.editor-btn-save { background: #1a7f4a; color: #fff; }
.editor-btn-save:hover { background: #146238; }

.editor-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 300;
}
.editor-toast.show { opacity: 1; transform: translate(-50%, 0); }
.editor-toast.error { background: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav, .phone-link { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex: 0 0 calc((100% - 24px) / 2); }
  .hero-text h1 { font-size: 42px; }
}

@media (max-width: 640px) {
  .header-actions .btn-sm { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 34px; }
  .section-head h2 { font-size: 28px; }
  .cta-card h2 { font-size: 26px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat strong { font-size: 20px; }
  .testimonial-card { flex: 0 0 100%; }
  .hero-media img { height: 320px; }
  .about-media img { height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
}
