/* Your Handyman — Limassol
   Deep navy + amber on white. Mobile-first. Customer is the hero. */

:root {
  --navy: #0b1c32;
  --navy-2: #14304f;
  --navy-ink: #071320;
  --amber: #e8a31a;
  --amber-deep: #c8880d;
  --amber-soft: #fff6dc;
  --paper: #f5f1e8;
  --white: #ffffff;
  --ink: #1a2330;
  --muted: #5c6674;
  --line: #ddd6c8;
  --whatsapp: #128c7e;
  --whatsapp-deep: #0e7368;
  --shadow: 0 12px 40px rgba(11, 28, 50, 0.08);
  --radius: 14px;
  --header-h: 72px;
  --sticky-h: 72px;
  --max: 1120px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 8vw, 5.15rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.65rem); }
h3 { font-size: 1.25rem; font-family: var(--font-body); letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--amber);
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--navy);
  color: var(--white);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Mobile visual order: logo · Call/WhatsApp · menu */
.nav-toggle { order: 3; }
.header-cta { order: 2; margin-left: auto; }
.nav { order: 4; }

@media (min-width: 960px) {
  .nav-toggle { order: 0; }
  .header-cta { order: 0; margin-left: 0; }
  .nav { order: 0; margin-right: auto; margin-left: 0.5rem; }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--amber);
  color: var(--navy);
}

.nav-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--white);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle:focus-visible,
.nav a:focus-visible,
.btn:focus-visible,
.logo:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.nav-toggle-bars {
  width: 20px;
  height: 14px;
  position: relative;
}

.nav-toggle-bars span,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-toggle-bars span { top: 6px; }
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.nav {
  display: none;
}

.nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--navy-ink);
  padding: 1.25rem 1.25rem 6rem;
  gap: 0.35rem;
  overflow: auto;
}

.nav a {
  text-decoration: none;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.nav a[aria-current="page"] {
  color: var(--amber);
}

.nav.is-open .nav-cta {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.nav.is-open .nav-cta .btn {
  flex: 1;
}

body.nav-open .sticky-cta {
  visibility: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-cta {
  display: none;
}

.header-cta {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.header-cta .btn {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
}

/* On narrow phones, keep CTAs short; logo can shrink */
@media (max-width: 380px) {
  .logo { font-size: 0.92rem; gap: 0.4rem; }
  .header-cta .btn { padding: 0.4rem 0.65rem; font-size: 0.82rem; }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
}

.btn-amber:hover { background: #f0b02a; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover { background: var(--whatsapp-deep); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover { border-color: var(--white); }

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11, 28, 50, 0.22);
}

.btn-ghost-dark:hover { border-color: var(--navy); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-row > .btn {
  flex: 1 1 10rem;
}

@media (max-width: 520px) {
  .hero .btn-row > .btn,
  .page-hero .btn-row > .btn {
    flex: 1 1 100%;
  }
}

.phone-xl {
  display: inline-block;
  margin-top: 1.1rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.phone-xl:hover { color: var(--amber); }

/* ——— Hero ——— */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 3.2rem 0 4.2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 560;
  color: var(--amber);
}

.hero .lead {
  max-width: 36rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-aside {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 19, 32, 0.45);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.2rem;
}

.hero-aside h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.9rem;
}

.hero-aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.hero-aside li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
}

.hero-aside li:first-child { border-top: 0; }

.hero-aside li::before {
  content: counter(step);
  color: var(--amber);
  font-weight: 700;
}

.note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ——— Sections ——— */
.section {
  padding: 4.2rem 0;
}

.section-tight { padding: 3.2rem 0; }

.section-paper { background: var(--paper); }
.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ——— Cards ——— */
.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

a.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #cfc6b4;
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  color: var(--navy);
}

.card-icon svg {
  width: 42px;
  height: 42px;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.card-go::after {
  content: "→";
  color: var(--amber-deep);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.pills a,
.pills span {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.pills a:hover { background: #ffe7a8; }

/* ——— Split / about ——— */
.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.panel h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.facts {
  margin: 0;
}

.facts div {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.facts div:first-child { border-top: 0; padding-top: 0; }

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0;
  font-weight: 650;
}

.facts a { text-decoration: none; }
.facts a:hover { color: var(--amber-deep); }

/* ——— Trust bar + real reviews ——— */
.trust-bar {
  background: var(--amber-soft);
  color: var(--navy);
  border-bottom: 1px solid #edd9a0;
}

.trust-bar p {
  margin: 0;
  padding: 0.7rem 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
}

.trust-bar .stars {
  color: var(--amber-deep);
  letter-spacing: 0.08em;
}

.quotes {
  display: grid;
  gap: 1rem;
}

.quote {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.15rem;
}

.quote blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote figcaption {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

/* ——— FAQ ——— */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 0;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--amber-deep);
  font-weight: 700;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding-bottom: 1rem;
  color: var(--muted);
}

/* ——— Areas ——— */
.area-grid {
  display: grid;
  gap: 0.7rem;
}

.area-grid a,
.area-grid span {
  display: block;
  padding: 0.95rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 650;
}

.area-grid a:hover {
  border-color: var(--amber);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 7.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover { color: var(--amber); }

.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.8rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li { margin: 0.4rem 0; }

.fine {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.el {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ——— Sticky convert bar ——— */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(7, 19, 32, 0.94);
  backdrop-filter: blur(10px);
}

.sticky-cta .btn {
  min-height: 48px;
  width: 100%;
}

/* ——— Page hero compact ——— */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.6rem 0 2.8rem;
}

.page-hero .lead {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.12rem;
}

.list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.list li { margin: 0.4rem 0; }

.cta-band .btn-row { justify-content: center; }

/* ——— 404 ——— */
.hero-404 { min-height: 60vh; display: grid; align-items: center; }

@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.3fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    position: static;
    padding: 0;
    background: none;
    overflow: visible;
  }

  .nav a {
    padding: 0.45rem 0.7rem;
    border: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
  }

  .nav a:hover,
  .nav a[aria-current="page"] {
    color: var(--white);
  }

  .nav-cta,
  .nav.is-open .nav-cta {
    display: none;
  }

  .header-cta {
    gap: 0.5rem;
  }

  .header-cta .btn {
    min-height: 42px;
    padding: 0.45rem 0.95rem;
    font-size: 0.92rem;
  }

  .hero { padding: 5rem 0 5.4rem; }

  .hero-grid {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: end;
    gap: 3rem;
  }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }

  .sticky-cta { display: none; }

  .site-footer { padding-bottom: 3rem; }
}

@media print {
  .site-header,
  .sticky-cta,
  .btn-row { display: none !important; }
  body { color: #000; background: #fff; }
}


/* ——— Stock photos (trust / trade mood) ——— */
.hero-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy-ink);
  min-height: 220px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  max-height: 320px;
}

.hero-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(transparent, rgba(7, 19, 32, 0.85));
}

.photo-strip {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.photo-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

a.photo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #cfc6b4;
}

.photo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.photo-card .photo-card-body {
  padding: 1rem 1.1rem 1.15rem;
}

.photo-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.photo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.media-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  max-height: 360px;
}

.trust-visual {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.trust-visual .media-frame img {
  max-height: 280px;
  min-height: 200px;
}

.page-hero-photo {
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 28rem;
}

.page-hero-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

@media (min-width: 720px) {
  .photo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .photo-card img { height: 160px; }
  .trust-visual {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr 0.95fr;
    align-items: stretch;
  }
  .hero-photo {
    min-height: 100%;
  }
  .hero-photo img {
    min-height: 100%;
    max-height: none;
    height: 100%;
  }
}
