@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --hr-red: #9B2335;
  --hr-indigo: #264653;
  --hr-beige: #E8DFD0;
  --hr-font-head: 'Amiri', Georgia, serif;
  --hr-font-body: 'IBM Plex Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.hr-body {
  font-family: var(--hr-font-body);
  background: var(--hr-beige);
  color: var(--hr-indigo);
  line-height: 1.7;
}

/* Kilim pattern border frame header */
.hr-frame-header {
  padding: 1rem;
  background: var(--hr-beige);
  position: sticky;
  top: 0;
  z-index: 150;
}
.hr-kilim-border {
  border: 8px solid transparent;
  border-image: repeating-linear-gradient(
    90deg,
    var(--hr-red) 0px, var(--hr-red) 12px,
    var(--hr-indigo) 12px, var(--hr-indigo) 24px,
    var(--hr-beige) 24px, var(--hr-beige) 36px,
    #c4a882 36px, #c4a882 48px
  ) 8;
  background: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.hr-brand {
  font-family: var(--hr-font-head);
  font-size: 2rem;
  color: var(--hr-red);
  text-decoration: none;
  font-weight: 700;
}
.hr-brand em { font-style: normal; color: var(--hr-indigo); font-size: 0.45em; display: block; letter-spacing: 0.1em; }
.hr-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hr-nav a {
  color: var(--hr-indigo);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.hr-nav a:hover, .hr-nav a.hr-on { color: var(--hr-red); border-bottom-color: var(--hr-red); }
.hr-burger { display: none; background: var(--hr-red); color: #fff; border: none; padding: 0.5rem 0.75rem; cursor: pointer; }

/* Framed hero */
.hr-hero-frame {
  margin: 0 1rem 2rem;
  padding: 6px;
  background: repeating-linear-gradient(
    45deg,
    var(--hr-red), var(--hr-red) 8px,
    var(--hr-indigo) 8px, var(--hr-indigo) 16px
  );
}
.hr-hero-inner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hr-hero-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hr-hero-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(38,70,83,0.85) 0%, transparent 60%);
}
.hr-hero-text {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  color: var(--hr-beige);
  max-width: 600px;
}
.hr-hero-text h1 {
  font-family: var(--hr-font-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.hr-btn {
  display: inline-block;
  background: var(--hr-red);
  color: #fff;
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  margin-top: 1rem;
  transition: background 0.2s;
}
.hr-btn:hover { background: #7a1c2a; }
.hr-btn-outline {
  background: transparent;
  border: 2px solid var(--hr-beige);
  margin-left: 0.75rem;
}
.hr-btn-outline:hover { background: rgba(232,223,208,0.15); }

.hr-main { padding: 0 1rem 3rem; max-width: 1140px; margin: 0 auto; }
.hr-heading {
  font-family: var(--hr-font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--hr-red);
  text-align: center;
  margin-bottom: 0.5rem;
}
.hr-desc { text-align: center; color: #5a6d75; margin-bottom: 2.5rem; max-width: 540px; margin-left: auto; margin-right: auto; }

/* Timeline process */
.hr-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 3rem 0;
  padding: 0 1rem;
}
.hr-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--hr-red);
}
.hr-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}
.hr-step-num {
  width: 48px; height: 48px;
  background: var(--hr-indigo);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 0.75rem;
  font-family: var(--hr-font-head);
  font-size: 1.25rem;
}
.hr-step h3 { font-family: var(--hr-font-head); font-size: 1.1rem; color: var(--hr-red); }
.hr-step p { font-size: 0.85rem; margin-top: 0.35rem; }

/* Damage assessment widget */
.hr-assess {
  background: #fff;
  border: 3px solid var(--hr-indigo);
  padding: 2rem;
  margin: 2rem 0;
}
.hr-assess-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.hr-damage-types { display: flex; flex-direction: column; gap: 0.75rem; }
.hr-damage-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px solid var(--hr-beige);
  background: var(--hr-beige);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
  transition: all 0.2s;
  color: var(--hr-indigo);
}
.hr-damage-btn:hover, .hr-damage-btn.hr-picked {
  border-color: var(--hr-red);
  background: #fff;
}
.hr-damage-btn i { font-size: 1.25rem; color: var(--hr-red); width: 28px; text-align: center; }
.hr-size-select { margin-top: 1rem; }
.hr-size-select label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
.hr-size-select select {
  width: 100%;
  padding: 0.65rem;
  border: 2px solid var(--hr-beige);
  font-family: inherit;
  font-size: 1rem;
}
.hr-estimate-box {
  background: var(--hr-indigo);
  color: var(--hr-beige);
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hr-estimate-box h3 { font-family: var(--hr-font-head); font-size: 1.5rem; color: var(--hr-red); filter: brightness(1.4); margin-bottom: 0.75rem; }
.hr-estimate-price { font-size: 2.5rem; font-weight: 700; color: #fff; margin: 0.5rem 0; }
.hr-estimate-note { font-size: 0.85rem; opacity: 0.85; }

/* Gallery masonry */
.hr-gallery {
  columns: 2;
  column-gap: 1rem;
  margin: 2rem 0;
}
.hr-gallery img {
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(38,70,83,0.12);
}

/* Heritage block */
.hr-heritage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--hr-indigo);
  color: var(--hr-beige);
  padding: 2.5rem;
  margin: 3rem 0;
}
.hr-heritage h2 { font-family: var(--hr-font-head); font-size: 2rem; color: var(--hr-red); filter: brightness(1.5); margin-bottom: 1rem; }
.hr-heritage img { width: 100%; border: 4px solid var(--hr-red); }

.hr-page-title {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--hr-indigo);
  color: var(--hr-beige);
  margin-bottom: 2rem;
}
.hr-page-title h1 { font-family: var(--hr-font-head); font-size: 2.5rem; }

.hr-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.hr-svc {
  background: #fff;
  border-left: 5px solid var(--hr-red);
  padding: 1.5rem;
}
.hr-svc h3 { font-family: var(--hr-font-head); font-size: 1.3rem; color: var(--hr-red); margin-bottom: 0.5rem; }

.hr-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.hr-form { display: flex; flex-direction: column; gap: 0.85rem; }
.hr-form input, .hr-form select, .hr-form textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #d5ccc0;
  font-family: inherit;
  background: #fff;
}
.hr-form input:focus, .hr-form select:focus, .hr-form textarea:focus {
  outline: none;
  border-color: var(--hr-red);
}
.hr-form-msg { color: var(--hr-red); font-weight: 600; display: none; }
.hr-form-msg.hr-show { display: block; }

.hr-kvkk { max-width: 720px; margin: 0 auto; padding: 2rem 1rem; }
.hr-kvkk h2 { font-family: var(--hr-font-head); color: var(--hr-red); margin: 1.5rem 0 0.5rem; }

/* Footer — centered with pattern strip */
.hr-footer {
  background: var(--hr-indigo);
  color: var(--hr-beige);
  text-align: center;
  padding: 0;
}
.hr-footer-pattern {
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--hr-red) 0, var(--hr-red) 20px, var(--hr-beige) 20px, var(--hr-beige) 40px);
}
.hr-footer-body { padding: 2.5rem 1.5rem; }
.hr-footer-body h3 { font-family: var(--hr-font-head); font-size: 1.75rem; color: var(--hr-red); filter: brightness(1.4); margin-bottom: 1rem; }
.hr-footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0; }
.hr-footer-links a { color: var(--hr-beige); text-decoration: none; font-size: 0.9rem; }
.hr-footer-links a:hover { color: #fff; }
.hr-footer-fine { font-size: 0.8rem; opacity: 0.7; margin-top: 1.5rem; }

/* Cookie — modal bottom */
.hr-cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(38,70,83,0.55);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.hr-cookie-modal.hr-show { opacity: 1; visibility: visible; }
.hr-cookie-box {
  background: #fff;
  width: 100%;
  max-width: 560px;
  padding: 2rem;
  border-top: 6px solid var(--hr-red);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.hr-cookie-modal.hr-show .hr-cookie-box { transform: translateY(0); }
.hr-cookie-box h3 { font-family: var(--hr-font-head); color: var(--hr-red); font-size: 1.4rem; margin-bottom: 0.75rem; }
.hr-cookie-box p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.hr-cookie-box a { color: var(--hr-red); }
.hr-cookie-actions { display: flex; gap: 0.75rem; }

@media (max-width: 900px) {
  .hr-timeline { flex-direction: column; gap: 1.5rem; }
  .hr-timeline::before { display: none; }
  .hr-assess-grid, .hr-heritage, .hr-contact-layout, .hr-services-grid { grid-template-columns: 1fr; }
  .hr-gallery { columns: 1; }
}
@media (max-width: 640px) {
  .hr-nav { display: none; width: 100%; flex-direction: column; }
  .hr-nav.hr-open { display: flex; }
  .hr-burger { display: block; }
  .hr-kilim-border { flex-direction: column; align-items: flex-start; }
  .hr-btn-outline { margin-left: 0; margin-top: 0.5rem; }
}
