@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --c-bg:           #FAFAF8;
  --c-bg-hero:      #231F1B;
  --c-bg-dark:      #1C1C1A;
  --c-bg-footer:    #161613;
  --c-bg-warm:      #F0EDE7;
  --c-accent:       #C8923A;
  --c-accent-dark:  #A37430;
  --c-text:         #1C1C1A;
  --c-text-mid:     #5C5C58;
  --c-text-muted:   #888880;
  --c-text-light:   #F5F2ED;
  --c-border:       #E5E0D8;
  --c-white:        #FFFFFF;
  --f-heading:      'DM Serif Display', Georgia, serif;
  --f-body:         'DM Sans', system-ui, sans-serif;
  --max-w:          1100px;
  --r-sm:           4px;
  --r-md:           8px;
  --r-lg:           12px;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--f-heading); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
p { line-height: 1.7; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section      { padding: 80px 24px; }
.section--warm{ background: var(--c-bg-warm); }
.section--dark{ background: var(--c-bg-dark); color: var(--c-text-light); }
.section-label{ font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-accent); margin-bottom: 12px; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.site-nav { background: var(--c-bg-dark); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: var(--f-heading); font-size: 18px; color: var(--c-text-light); }
.nav-logo em { color: var(--c-accent); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; color: #9B9B97; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--c-text-light); }
.nav-cta { background: var(--c-accent); color: #fff; font-size: 13px; font-weight: 500; padding: 9px 20px; border-radius: var(--r-sm); transition: background 0.2s; }
.nav-cta:hover { background: var(--c-accent-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 14px 12px; }
.nav-toggle span { width: 22px; height: 2px; background: #9B9B97; border-radius: 2px; transition: all 0.2s; display: block; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn-primary   { display: inline-flex; align-items: center; background: var(--c-accent); color: #fff; font-size: 14px; font-weight: 500; padding: 13px 28px; border-radius: var(--r-sm); transition: background 0.2s; cursor: pointer; border: none; }
.btn-primary:hover  { background: var(--c-accent-dark); }
.btn-secondary { display: inline-flex; align-items: center; border: 1px solid rgba(245,242,237,0.25); color: var(--c-text-light); font-size: 14px; padding: 13px 28px; border-radius: var(--r-sm); transition: border-color 0.2s; }
.btn-secondary:hover{ border-color: rgba(245,242,237,0.5); }
.btn-white     { display: inline-flex; align-items: center; background: #fff; color: var(--c-accent); font-size: 15px; font-weight: 500; padding: 14px 32px; border-radius: var(--r-sm); transition: opacity 0.2s; }
.btn-white:hover{ opacity: 0.9; }
.btn-dark      { display: inline-flex; align-items: center; background: var(--c-bg-dark); color: #fff; font-size: 14px; font-weight: 500; padding: 13px 28px; border-radius: var(--r-sm); transition: background 0.2s; }
.btn-dark:hover{ background: #111; }

/* ── Photo Placeholder ─────────────────────────────────────────────────────── */
.photo-slot {
  background: #2A2520;
  border: 1.5px dashed rgba(200,146,58,0.3);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: rgba(200,146,58,0.5); text-align: center; padding: 24px;
}
.photo-slot svg { width: 36px; height: 36px; }
.photo-slot span { font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; line-height: 1.5; }
.photo-slot--light { background: #EDE8E0; border-color: #C9C0B0; color: #9B9B97; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero { background: var(--c-bg-hero); padding: 88px 24px; overflow: hidden; }
.hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,146,58,0.12); border: 1px solid rgba(200,146,58,0.3); color: var(--c-accent); font-size: 11px; font-weight: 500; letter-spacing: 0.8px; text-transform: uppercase; padding: 6px 14px; border-radius: 20px; margin-bottom: 22px; }
.hero h1 { color: var(--c-text-light); margin-bottom: 18px; }
.hero h1 em { color: var(--c-accent); font-style: normal; }
.hero-sub { color: #9B9B97; font-size: 17px; max-width: 400px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo .photo-slot { aspect-ratio: 4/3; }

/* ── Trust Bar ─────────────────────────────────────────────────────────────── */
.trust-bar { background: var(--c-bg-warm); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.trust-inner { max-width: var(--max-w); margin: 0 auto; padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { text-align: center; }
.trust-num   { font-family: var(--f-heading); font-size: 26px; color: var(--c-text); display: block; }
.trust-label { font-size: 11px; color: var(--c-text-muted); letter-spacing: 0.5px; text-transform: uppercase; margin-top: 3px; display: block; }
.trust-item--logo { display: flex; align-items: center; justify-content: center; }

/* ── Service Cards ─────────────────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.service-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px 24px; transition: box-shadow 0.2s, transform 0.2s; }
.service-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.service-icon { width: 46px; height: 46px; background: rgba(200,146,58,0.1); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-icon svg { width: 22px; height: 22px; color: var(--c-accent); }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--c-text-mid); line-height: 1.65; }

/* ── Why Section ───────────────────────────────────────────────────────────── */
.why-section { background: var(--c-bg-dark); padding: 88px 24px; }
.why-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-section h2 { color: var(--c-text-light); margin-bottom: 16px; }
.why-section p { color: #9B9B97; font-size: 17px; line-height: 1.7; }
.why-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #C8D0C0; }
.check-dot { width: 20px; height: 20px; min-width: 20px; background: rgba(200,146,58,0.15); border: 1px solid rgba(200,146,58,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.check-dot svg { width: 10px; height: 10px; color: var(--c-accent); }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.testimonial-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px; }
.testimonial-card blockquote { font-size: 15px; color: var(--c-text-mid); line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.testimonial-card cite { font-size: 13px; font-weight: 500; color: var(--c-text); font-style: normal; display: block; }
.testimonial-card cite span { color: var(--c-text-muted); font-weight: 400; }

/* ── CTA Band ──────────────────────────────────────────────────────────────── */
.cta-band { background: var(--c-accent); padding: 72px 24px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 480px; margin: 0 auto 36px; }

/* ── Page Hero (inner pages) ───────────────────────────────────────────────── */
.page-hero { background: var(--c-bg-dark); padding: 72px 24px; }
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb { font-size: 12px; color: #8A8A85; margin-bottom: 18px; }
.breadcrumb a { color: var(--c-accent); }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { color: var(--c-text-light); max-width: 600px; }
.page-hero .hero-sub { color: #9B9B97; margin-top: 14px; font-size: 17px; max-width: 520px; }

/* ── Services Page ─────────────────────────────────────────────────────────── */
.services-section { max-width: var(--max-w); margin: 0 auto; }
.service-block { padding: 64px 0; border-bottom: 1px solid var(--c-border); }
.service-block:last-child { border-bottom: none; }
.service-block-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-block-inner.reverse { direction: rtl; }
.service-block-inner.reverse > * { direction: ltr; }
.service-block h2 { font-size: clamp(22px, 3vw, 34px); margin-bottom: 16px; }
.service-block p { color: var(--c-text-mid); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.service-block .photo-slot { aspect-ratio: 4/3; }

/* ── Portfolio ─────────────────────────────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.portfolio-item .photo-slot--light { aspect-ratio: 4/3; }
.portfolio-caption { font-size: 12px; color: var(--c-text-muted); margin-top: 8px; padding: 0 2px; }

/* ── Contact ───────────────────────────────────────────────────────────────── */
.contact-layout { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 72px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.form-group input,
.form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--r-sm); font-family: var(--f-body); font-size: 15px; color: var(--c-text); background: var(--c-white); transition: border-color 0.2s; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--c-accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13px; color: var(--c-text-muted); margin-top: 12px; }
.contact-details h3 { font-family: var(--f-heading); font-size: 24px; margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-item svg { width: 20px; height: 20px; color: var(--c-accent); min-width: 20px; margin-top: 3px; }
.contact-item strong { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: 3px; }
.contact-item p { font-size: 15px; color: var(--c-text-mid); }
.trust-strip { background: var(--c-bg-warm); border-top: 1px solid var(--c-border); padding: 20px 24px; text-align: center; }
.trust-strip p { font-size: 13px; color: var(--c-text-muted); letter-spacing: 0.3px; }

/* ── About ─────────────────────────────────────────────────────────────────── */
.about-layout { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.credentials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cred-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 28px; }
.cred-icon { width: 48px; height: 48px; background: rgba(200,146,58,0.1); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cred-icon svg { width: 24px; height: 24px; color: var(--c-accent); }
.cred-card h3 { font-size: 18px; margin-bottom: 8px; }
.cred-card p { font-size: 14px; color: var(--c-text-mid); line-height: 1.65; }
.expect-list { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.expect-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--c-text-mid); }
.expect-dot { width: 20px; height: 20px; min-width: 20px; background: rgba(200,146,58,0.1); border: 1px solid rgba(200,146,58,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.expect-dot svg { width: 10px; height: 10px; color: var(--c-accent); }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--c-bg-footer); padding: 56px 24px 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { font-family: var(--f-heading); font-size: 16px; color: var(--c-text-light); display: block; margin-bottom: 14px; }
.footer-logo em { color: var(--c-accent); font-style: normal; }
.footer-brand p { font-size: 13px; color: #8A8A85; line-height: 1.65; max-width: 240px; }
.footer-col h4 { font-size: 10px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: #8A8A85; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: #888880; transition: color 0.2s; }
.footer-col a:hover { color: var(--c-text-light); }
.footer-bottom { max-width: var(--max-w); margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; color: #8A8A85; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-block-inner { grid-template-columns: 1fr; direction: ltr !important; }
  .about-layout { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 20px; }
  .hero { padding: 64px 20px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-checks { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-cta { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--c-bg-dark); padding: 20px 24px 28px; border-top: 1px solid rgba(255,255,255,0.06); gap: 18px; }
}

@media (max-width: 520px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

.footer-badges {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
  opacity: 0.9;
}
.trust-item--logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Portfolio image hover ─────────────────────────────────────────────────── */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,28,26,0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item:hover::after { background: rgba(28,28,26,0.38); }
.zoom-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.zoom-icon svg { width: 36px; height: 36px; color: #fff; }
.portfolio-item:hover .zoom-icon { opacity: 1; }

/* ── Sticky Call Button (mobile only) ─────────────────────────────────────── */
.sticky-call {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 998;
  background: var(--c-accent);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  font-family: var(--f-body);
  box-shadow: 0 4px 20px rgba(200,146,58,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.sticky-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,146,58,0.55);
  color: #fff;
}
@media (min-width: 769px) { .sticky-call { display: none !important; } }

/* ── Back to top ───────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 22px;
  z-index: 997;
  width: 42px;
  height: 42px;
  background: var(--c-bg-dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 768px) {
  .back-to-top { bottom: 86px; right: 20px; }
}

/* ── Form success state ────────────────────────────────────────────────────── */
.form-success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--r-md);
  padding: 28px;
  text-align: center;
  display: none;
}
.form-success.visible { display: block; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; color: #166534; }
.form-success p { color: #166534; font-size: 15px; }


/* 9 Sep 2026 — tap targets. Measured at 375px: menu links 17px tall, lightbox close 19x32.
   Apple and Google both ask for 44-48px. Three rules, no layout change on desktop. */
.nav-links.open a { display: block; padding: 10px 0; }
.lightbox-close { padding: 10px 14px; }
footer a { display: inline-block; padding: 4px 0; }

/* Contact form: shown when the enquiry could not be sent (added for DigitalOcean hosting) */
.form-error {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #b3261e;
  border-left-width: 4px;
  border-radius: 6px;
  background: #fdecea;
  color: #5f1410;
  font-size: 15px;
  line-height: 1.5;
}
.form-error a { color: #5f1410; font-weight: 500; text-decoration: underline; }
.form-submit:disabled { opacity: .6; cursor: wait; }
