/* ============================================================
   HILMI CLEANING SERVICES — STYLESHEET
   Palette: warm linen background, deep pine green primary,
   honey-gold accent. Display: Fraunces / Body: Work Sans /
   Labels: Space Mono.
   ============================================================ */

:root {
  --bg:        #F6F3EC;
  --bg-alt:    #ECE5D5;
  --surface:   #FFFFFF;
  --ink:       #1E2B27;
  --ink-soft:  #5E6D67;
  --primary:   #2F4F46;
  --primary-light: #4F7A6D;
  --accent:    #E0A23C;
  --accent-soft: #F4E2BE;
  --line:      #DAD2BF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;

  --container-w: 1180px;
}

/* ---------------- Reset & base ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--ink-soft); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---------------- Eyebrow / labels ---------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.eyebrow-light {
  color: var(--accent);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: flex;
  width: 38px;
  height: 38px;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}

.logo-subtitle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------- Image placeholders ---------------- */
.img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 180px;
  background: var(--bg-alt);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--primary-light);
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}

.img-placeholder::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--accent-soft);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.img-placeholder:hover::before {
  opacity: 0.95;
}

.ph-icon {
  width: 34px;
  height: 34px;
  color: var(--primary-light);
}

.ph-icon svg {
  width: 100%;
  height: 100%;
}

.ph-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 64px 0 96px;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 70%, var(--bg-alt) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 460px;
}

.ph-tall {
  grid-row: 1 / 3;
  height: 100%;
}

.ph-small {
  height: 100%;
}

/* ---------------- Section heads ---------------- */
.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head-left {
  text-align: left;
  margin: 0;
}

.section-lead {
  margin-top: 0.9rem;
  font-size: 1.02rem;
}

.section-lead.light {
  color: rgba(246, 243, 236, 0.78);
}

/* ---------------- Services ---------------- */
.services {
  padding: 96px 0;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 14px 32px -22px rgba(47, 79, 70, 0.45);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card p {
  font-size: 0.95rem;
}

/* ---------------- Why us ---------------- */
.why-us {
  padding: 96px 0;
  background: var(--bg-alt);
}

.why-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.ph-square {
  aspect-ratio: 4 / 5;
  height: auto;
  min-height: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--primary);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-list h3 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.feature-list p {
  font-size: 0.95rem;
}

/* ---------------- Process ---------------- */
.process {
  padding: 96px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
  position: relative;
}

.process-steps li {
  position: relative;
  padding-top: 2rem;
  border-top: 2px solid var(--line);
}

.step-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.process-steps h3 {
  margin-bottom: 0.5rem;
}

.process-steps p {
  font-size: 0.95rem;
}

/* ---------------- Areas ---------------- */
.areas {
  padding: 96px 0;
  background: var(--primary);
  color: #fff;
}

.areas .eyebrow {
  color: var(--accent);
}

.areas h2 {
  color: #fff;
}

.areas .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.areas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.area-tags li {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 20px;
  color: #fff;
}

/* ---------------- Gallery ---------------- */
.gallery {
  padding: 96px 0;
}

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

.gallery-grid .img-placeholder {
  min-height: 200px;
}

/* ---------------- Testimonials ---------------- */
.testimonials {
  padding: 96px 0;
  background: var(--bg-alt);
}

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1rem;
}

.testimonial-card figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--primary-light);
}

/* ---------------- FAQ ---------------- */
.faq {
  padding: 96px 0;
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: '\2212';
}

.faq-list p {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

/* ---------------- Contact ---------------- */
.contact {
  padding: 96px 0;
  background: var(--primary);
  color: #fff;
}

.contact h2 {
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--accent);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-details address {
  font-style: normal;
  line-height: 1.5;
}

/* ---- form ---- */
.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-row-split > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #1A2622;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 24px 56px;
}

.footer-inner .logo-title,
.footer-inner .logo-mark {
  color: #fff;
}

.footer-inner .logo-subtitle {
  color: var(--accent);
}

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 26ch;
}

.footer-nav, .footer-contact, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav h3, .footer-contact h3, .footer-legal h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.footer-nav a, .footer-contact a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-nav a:hover, .footer-contact a:hover {
  color: var(--accent);
}

.footer-contact address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.footer-legal p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
  padding: 20px 24px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-media {
    height: 380px;
    order: -1;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-inner {
    grid-template-columns: 1fr;
  }

  .ph-square {
    max-width: 420px;
    margin: 0 auto;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .areas-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .area-tags {
    justify-content: flex-start;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open {
    max-height: 400px;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn-primary {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-row-split {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-media {
    grid-template-columns: 1fr 1fr;
    height: 320px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-media {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .ph-tall {
    grid-row: auto;
    height: 220px;
  }

  .ph-small {
    height: 160px;
  }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
