/* =========================================================
   Μερεμέτης — Μικροεπισκευές σπιτιού
   Μονοσελιδο site με έμφαση στην επικοινωνία.
   Παλέτα: ατσάλι/γκρι + amber (ασφάλεια/εργαλεία), όχι η ίδια
   παλέτα με άλλα projects.
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  --color-bg: #f4f5f3;
  --color-card: #ffffff;
  --color-ink: #1b2326;
  --color-ink-soft: #4b565a;
  --color-steel: #2b4e5e;
  --color-steel-dark: #17323e;
  --color-amber: #f2a33b;
  --color-amber-dark: #c97e1c;
  --color-line: rgba(27, 35, 38, 0.14);
  --color-line-strong: rgba(27, 35, 38, 0.3);

  --font-display: "Rubik", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --container: 1100px;
  --radius: 4px;
  --shadow-soft: 0 14px 34px -20px rgba(23, 50, 62, 0.4);
}

*,
*::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;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-steel-dark);
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

p {
  margin: 0 0 1em;
  max-width: 60ch;
  color: var(--color-ink-soft);
}

.lede {
  font-size: 1.1rem;
}

section {
  padding: clamp(44px, 7vw, 84px) 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 2.2rem;
}

.section-head p {
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

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

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

.btn-steel:hover {
  background: var(--color-steel-dark);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

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

/* ---------- Call bar (πάντα ορατή επικοινωνία) ---------- */

.call-bar {
  background: var(--color-steel-dark);
  color: #f4f5f3;
  position: sticky;
  top: 0;
  z-index: 60;
  font-size: 0.9rem;
}

.call-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
}

.call-bar-msg {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.call-bar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.call-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 600;
  color: #f4f5f3;
  white-space: nowrap;
}

.call-bar-links a:hover {
  color: var(--color-amber);
}

.call-bar-links svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.call-bar-links .label {
  display: inline;
}

@media (max-width: 640px) {
  .call-bar-msg {
    display: none;
  }
  .call-bar-links .label {
    display: none;
  }
  .call-bar-links {
    gap: 20px;
  }
}

/* ---------- Header ---------- */

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
  position: sticky;
  top: 33px;
  z-index: 55;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 16px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--color-steel-dark);
  white-space: nowrap;
}

.logo span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--color-ink-soft);
  margin-top: 2px;
}

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

.nav-list {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--color-ink-soft);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-list a:hover {
  color: var(--color-steel-dark);
  border-color: var(--color-amber);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin-inline: auto;
  background: var(--color-ink);
}

@media (max-width: 780px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: relative;
  }

  .nav-list {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-card);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    min-width: 200px;
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-line);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .header-cta {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--color-steel-dark);
  color: #f4f5f3;
  padding-block: clamp(52px, 8vw, 96px);
}

.hero p {
  color: rgba(244, 245, 243, 0.82);
}

.hero-inner {
  max-width: 760px;
}

.hero h1 {
  color: #fff;
}

/* Τρία ισοδύναμα κουμπιά επικοινωνίας — το βασικό ζητούμενο */
.contact-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 2.2rem;
}

.contact-trio a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius);
  text-decoration: none;
  background: rgba(244, 245, 243, 0.06);
  border: 1px solid rgba(244, 245, 243, 0.22);
  color: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.contact-trio a:hover {
  border-color: var(--color-amber);
  background: rgba(244, 245, 243, 0.11);
  transform: translateY(-3px);
}

.contact-trio .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-amber);
  color: var(--color-steel-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-trio .icon-wrap svg {
  width: 20px;
  height: 20px;
}

.contact-trio .trio-label {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: none;
  color: rgba(244, 245, 243, 0.7);
}

.contact-trio .trio-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width: 720px) {
  .contact-trio {
    grid-template-columns: 1fr;
  }
}

.hero-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
}

.hero-note a {
  color: var(--color-amber);
  text-decoration: underline;
}

/* ---------- Services grid ---------- */

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

.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 24px;
}

.service-card .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(43, 78, 94, 0.09);
  color: var(--color-steel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-card .icon-wrap svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.35em;
}

.service-card p {
  font-size: 0.94rem;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- How we work (πραγματική ακολουθία -> αριθμημένα βήματα) ---------- */

.steps {
  background: var(--color-card);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.steps-list li {
  display: flex;
  gap: 16px;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--color-amber-dark);
  flex-shrink: 0;
  line-height: 1;
}

.steps-list h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3em;
}

.steps-list p {
  font-size: 0.93rem;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .steps-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Trust strip ---------- */

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.trust-list li {
  border-left: 2px solid var(--color-amber);
  padding-left: 16px;
}

.trust-list h3 {
  font-size: 1.02rem;
  margin-bottom: 0.3em;
}

.trust-list p {
  font-size: 0.93rem;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .trust-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact section ---------- */

.contact-section {
  background: var(--color-steel-dark);
  color: #f4f5f3;
}

.contact-section .section-head h2,
.contact-section .section-head p {
  color: #fff;
}

.contact-section .section-head p {
  color: rgba(244, 245, 243, 0.82);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: grid;
  gap: 14px;
  background: rgba(244, 245, 243, 0.06);
  border: 1px solid rgba(244, 245, 243, 0.2);
  border-radius: var(--radius);
  padding: 24px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(244, 245, 243, 0.85);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border-radius: var(--radius);
  border: 1px solid rgba(244, 245, 243, 0.3);
  background: rgba(244, 245, 243, 0.94);
  color: var(--color-ink);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.82rem;
  color: rgba(244, 245, 243, 0.7);
  margin-bottom: 0;
}

.contact-direct-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(244, 245, 243, 0.75);
  margin-bottom: 1rem;
}

.direct-trio {
  display: grid;
  gap: 12px;
}

.direct-trio a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(244, 245, 243, 0.06);
  border: 1px solid rgba(244, 245, 243, 0.22);
  text-decoration: none;
  color: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.direct-trio a:hover {
  border-color: var(--color-amber);
  background: rgba(244, 245, 243, 0.11);
}

.direct-trio .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-amber);
  color: var(--color-steel-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-trio .icon-wrap svg {
  width: 19px;
  height: 19px;
}

.direct-trio .direct-title {
  font-weight: 700;
  font-family: var(--font-display);
}

.direct-trio .direct-sub {
  font-size: 0.85rem;
  color: rgba(244, 245, 243, 0.68);
}

.contact-meta {
  margin-top: 20px;
  font-size: 0.88rem;
  color: rgba(244, 245, 243, 0.75);
}

.contact-meta p {
  margin-bottom: 0.3em;
  color: inherit;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding-block: 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-steel-dark);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.footer-social a:hover {
  border-color: var(--color-amber);
  background: var(--color-card);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-legal {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  margin-top: 20px;
  max-width: none;
}
