/*
Theme Name: Constructo Child Theme
Theme URI: https://anpsthemes.com/constructo-landing-page/
Description: Constructo Child Theme
Author: AnpsThemes
Author URI: https://themeforest.net/user/Anps/portfolio
Template: constructo
Version: 1.0.0
*/

@import url("../constructo/style.css");

/* ================================================
   CHILD THEME OVERRIDES
   ================================================ */

:root {
  --terracotta: #c0522a;
  --terracotta-dark: #9c3e1e;
  --wood: #3d2b1f;
}

/* ── Γενικά ──────────────────────────────────── */
body {
  font-size: 16px !important;
  background: #fff !important;
}

/* ── Ενιαιο μεγεθος κειμενων σε ολο το site ── */
body p,
body li,
body span,
body a,
.wpb_wrapper p,
.wpb_wrapper li,
.wpb_wrapper span,
.vc_column_text p,
.vc_column_text li,
.f-content__content,
.hp-card-body p,
.hp-section-sub,
.hp-lead,
.hp-cta p,
.hp-why-list span,
.hp-why-list strong,
.erga-grid-list li,
.erga-list li,
.erga-regions,
.ct-footer-brand p,
.ct-footer-links a,
.ct-contact-text a,
.ct-contact-text span,
.ct-footer-company-name,
.ct-footer-cards p,
.ct-map-link,
.site-footer-bottom .footer-inner p {
  font-size: 16px !important;
}
:root { --anps-container-width: 1400px !important; }
@media (min-width: 1200px) {
  .container { width: 1400px !important; max-width: 95vw !important; }
  .site-header-layout-normal .nav-bar-wrapper { width: 1430px !important; max-width: 95vw !important; }
}

/* Homepage full-width sections */
.home .vc_row .container {
  width: 100% !important;
  max-width: 1400px !important;
  padding-left: 3% !important;
  padding-right: 3% !important;
}

/* ── Navbar ──────────────────────────────────── */
.site-header {
  background: #fff !important;
  box-shadow: 0 1px 8px rgba(0,0,0,.07) !important;
}
.site-header-style-boxed,
.site-header-style-full-width,
.site-header-style-normal .nav-wrap {
  background-color: #fff !important;
}
.site-header-style-boxed .nav-bar-wrapper,
.site-header-style-full-width .header-wrap {
  background-color: #fff !important;
}
.site-navigation a,
.home .site-header-sticky-active .site-navigation .menu-item-depth-0 > a {
  color: #444 !important;
  font-size: 14px !important;
}
.site-navigation a:hover,
.site-navigation a:focus {
  color: var(--terracotta) !important;
}
.site-navigation .current-menu-item > a {
  color: var(--terracotta) !important;
}
.top-bar {
  display: none !important;
}

/* ── Buttons ─────────────────────────────────── */
.btn, .wpcf7-submit, button.single_add_to_cart_button {
  font-size: 14px !important;
  padding: 10px 22px !important;
  border-radius: 3px !important;
  background-color: var(--terracotta) !important;
}
.btn:hover, .wpcf7-submit:hover {
  background-color: var(--terracotta-dark) !important;
}
.btn.style-1 {
  background-color: var(--terracotta) !important;
  color: #fff !important;
}
.btn.style-1:hover {
  background-color: var(--terracotta-dark) !important;
  color: #fff !important;
}

/* ── Headings ────────────────────────────────── */
h1 { font-size: 28px !important; }
h2 { font-size: 22px !important; }
h3 { font-size: 18px !important; }
h4 { font-size: 16px !important; }
h5 { font-size: 15px !important; }

/* ── Accent color (κίτρινο → τερακότα) ──────── */
.heading-left span:before,
.heading-middle span:before,
.recent-portfolio__title::after,
.portfolio-modern__title::after,
.rp-modern__header::after,
.f-content__icon,
.f-content__divider,
.icon-m__media {
  background-color: var(--terracotta) !important;
}
a:hover, a:focus,
.page-numbers.current,
.star-rating {
  color: var(--terracotta) !important;
}
.mini-cart-wrap .cart-contents > span,
.form-submit #submit,
.progress-bar,
.menu-button {
  background-color: var(--terracotta) !important;
}

/* ── Service cards (anps_featured) ──────────── */
.f-content {
  border: 1px solid #e8e8e8 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.05) !important;
  transition: transform .3s, box-shadow .3s !important;
}
.f-content:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.1) !important;
}
.f-content__image img {
  height: 200px !important;
  width: 100% !important;
  object-fit: cover !important;
}
.f-content__title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--wood) !important;
}
.f-content__content {
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.f-content__icon { background-color: var(--terracotta) !important; }
.f-content__divider { background-color: var(--terracotta) !important; }

/* Equal height cards on ΥΠΗΡΕΣΙΕΣ */
.vc_custom_srv1 > .container > .row,
.vc_custom_srv2 > .container > .row,
.vc_custom_srv3 > .container > .row,
.vc_custom_srv1 .row,
.vc_custom_srv2 .row,
.vc_custom_srv3 .row {
  display: flex !important;
  flex-wrap: wrap !important;
}
.vc_custom_srv1 .wpb_column,
.vc_custom_srv2 .wpb_column,
.vc_custom_srv3 .wpb_column {
  display: flex !important;
  flex-direction: column !important;
}
.vc_custom_srv1 .f-content,
.vc_custom_srv2 .f-content,
.vc_custom_srv3 .f-content {
  flex: 1 !important;
}

/* ================================================
   CUSTOM FOOTER — Child Theme Override
   ================================================ */
/* Hide the parent theme footer */
.site-footer { display: none !important; }

/* PRE-FOOTER CTA */
.ct-prefooter {
  background: linear-gradient(135deg, rgba(30,15,5,.92), rgba(60,30,15,.85)),
              url('/wp-content/uploads/2017/12/keramoskepes_20060830_0180.jpg') center/cover;
  padding: 50px 5%;
  text-align: center;
  color: #fff;
  border-bottom: 3px solid var(--terracotta);
}
.ct-prefooter-inner { max-width: 680px; margin: 0 auto; }
.ct-prefooter h2 {
  font-weight: 800 !important;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem) !important;
  color: #fff !important;
  margin-bottom: .6rem !important;
}
.ct-prefooter p {
  color: rgba(255,255,255,.8) !important;
  font-size: .95rem;
  margin-bottom: 1.4rem;
}
.ct-prefooter-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ct-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
}
.ct-btn-primary {
  background: var(--terracotta) !important;
  color: #fff !important;
}
.ct-btn-primary:hover {
  background: var(--terracotta-dark) !important;
  color: #fff !important;
}
.ct-btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.5);
  padding: 10px 26px;
}
.ct-btn-outline:hover {
  background: #fff !important;
  color: var(--wood) !important;
  border-color: #fff !important;
}

/* MAIN FOOTER */
.ct-footer {
  background: #fff;
  background-image:
    linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.96)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M0 20 L20 0 L40 20 L20 40 Z" fill="none" stroke="%23c0522a" stroke-width=".5" opacity=".15"/></svg>');
  padding: 60px 5% 30px;
  border-top: 4px solid var(--terracotta);
}
.ct-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 45px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Brand column */
.ct-footer-brand .ct-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ct-logo svg { flex-shrink: 0; }
.ct-logo-text h3 {
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  color: var(--wood) !important;
  letter-spacing: .5px;
  margin: 0 !important;
}
.ct-logo-text span {
  font-size: 1rem;
  color: var(--terracotta);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.ct-footer-brand p {
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
  color: #777 !important;
  margin: 0;
}

/* Column titles */
.ct-footer-col h4 {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--wood) !important;
  margin: 0 0 18px 0 !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--terracotta);
  display: inline-block;
}

/* Link lists */
.ct-footer-links { list-style: none; padding: 0; margin: 0; }
.ct-footer-links li { margin-bottom: 8px; }
.ct-footer-links a {
  color: #777 !important;
  text-decoration: none !important;
  font-size: 1.05rem;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ct-footer-links a::before {
  content: '›';
  color: var(--terracotta);
  font-weight: 700;
  transition: transform .2s;
}
.ct-footer-links a:hover { color: var(--terracotta) !important; }
.ct-footer-links a:hover::before { transform: translateX(3px); }

/* Contact column */
.ct-footer-company-name {
  font-size: 1.1rem !important;
  color: var(--wood) !important;
  font-weight: 700 !important;
  margin: 0 0 10px 0 !important;
}
.ct-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  align-items: flex-start;
}
.ct-contact-icon {
  width: 26px; height: 26px;
  min-width: 26px;
  background: rgba(192,82,42,.1);
  color: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  margin-top: 2px;
}
.ct-contact-text a,
.ct-contact-text span {
  font-size: 1.05rem;
  color: #777 !important;
  text-decoration: none !important;
  line-height: 1.4;
}
.ct-contact-text a:hover { color: var(--terracotta) !important; }
.ct-multi { display: block; }

/* Map link */
.ct-map-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 5px 12px 5px 8px;
  background: rgba(192,82,42,.08);
  color: var(--terracotta) !important;
  border-radius: 20px;
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all .2s;
}
.ct-map-link:hover {
  background: var(--terracotta);
  color: #fff !important;
}
.ct-map-link svg { flex-shrink: 0; }

/* Social icons */
.ct-social { display: flex; gap: 10px; margin-top: 12px; }
.ct-social-icon {
  width: 44px; height: 44px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta) !important;
  text-decoration: none !important;
  font-size: .9rem;
  transition: all .25s;
}
@media (hover: hover) {
  .ct-social-icon:hover {
    background: var(--terracotta);
    color: #fff !important;
    border-color: var(--terracotta);
  }
}

/* Cards accepted strip */
.ct-footer-cards {
  text-align: center;
  padding: 14px 5%;
  border-top: 1px solid #eee;
  margin-top: 20px;
}
.ct-footer-cards p {
  margin: 0 !important;
  font-size: 1.05rem !important;
  color: #999 !important;
  letter-spacing: .5px;
}

/* Copyright bar — Smart Support Group */
.site-footer-bottom {
  background: #ebebeb;
  padding: 18px 12px;
  border-top: 1px solid #ddd;
}
.site-footer-bottom .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.site-footer-bottom .footer-inner p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #777;
}
.site-footer-bottom .footer-inner a {
  color: var(--terracotta) !important;
  text-decoration: none !important;
  font-weight: 600;
}
.site-footer-bottom .footer-inner a:hover { color: var(--terracotta-dark) !important; }
@media (max-width: 768px) {
  .site-footer-bottom .footer-inner p { font-size: 12px; }
}

/* Responsive */
@media (max-width: 900px) {
  .ct-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .ct-footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }
  .ct-footer-brand .ct-logo { justify-content: center; }
  .ct-contact-item { justify-content: flex-start; text-align: left; }
  .ct-footer-col h4 { display: block; }
  .ct-prefooter { padding: 40px 20px; }
  .ct-prefooter-cta .ct-btn { width: 100%; }
}

/* ── Contact Form 7 styling ──────────────────── */
.ct-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ct-form-row input[type="text"],
.ct-form-row input[type="email"],
.ct-form-row input[type="tel"],
.ct-form-row textarea {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  background: #f9f9f9 !important;
  transition: border-color .2s, box-shadow .2s !important;
  box-sizing: border-box !important;
}
.ct-form-row input:focus,
.ct-form-row textarea:focus {
  border-color: var(--terracotta) !important;
  box-shadow: 0 0 0 3px rgba(192,82,42,.12) !important;
  background: #fff !important;
  outline: none !important;
}
.ct-form-row textarea {
  min-height: 140px !important;
  resize: vertical !important;
}
.ct-form-row input[type="submit"],
.wpcf7-submit {
  width: 100% !important;
  padding: 14px 24px !important;
  background: var(--terracotta) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background .2s !important;
}
.ct-form-row .wpcf7-submit:hover {
  background: var(--terracotta-dark) !important;
}
.wpcf7-response-output {
  border-radius: 6px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  margin-top: 10px !important;
}
.wpcf7-not-valid-tip {
  color: #d32f2f !important;
  font-size: 14px !important;
  margin-top: 4px !important;
}
/* CAPTCHA quiz */
.ct-form-captcha {
  background: #f0ebe8 !important;
  border: 1px solid #e0d5cc !important;
  border-radius: 6px !important;
  padding: 14px 16px !important;
}
.ct-captcha-label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--wood) !important;
  margin-bottom: 8px !important;
}
.ct-form-captcha .wpcf7-quiz-label {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--terracotta) !important;
  margin-right: 8px !important;
}
.ct-form-captcha input[type="text"] {
  width: 80px !important;
  text-align: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 8px !important;
  border: 2px solid var(--terracotta) !important;
  border-radius: 6px !important;
  background: #fff !important;
}
.ct-form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ── Old Footer (hidden) ─────────────────────── */
.site-footer {
  background: #f5f5f5 !important;
  border-top: 3px solid var(--terracotta) !important;
}
.site-footer, .site-footer h3, .site-footer h4,
.site-wrap .site-footer span, .site-wrap .site-footer cite,
.site-wrap .site-footer p, .site-wrap .site-footer li,
.site-wrap .site-footer strong {
  color: #777 !important;
}
.site-footer a { color: #777 !important; text-decoration: none !important; }
.site-footer a:hover, .site-footer a:focus { color: var(--terracotta) !important; }
.site-footer .copyright-footer {
  background: #ebebeb !important;
  color: #999 !important;
  border-top: 1px solid #ddd !important;
}
.site-footer .copyright-footer a { color: #999 !important; }
.site-footer .copyright-footer a:hover { color: var(--terracotta) !important; }
.site-footer .row a:hover,
.site-footer .row a:focus {
  color: var(--terracotta) !important;
}
.site-footer .row .widget-title {
  color: #444 !important;
  font-size: 15px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-bottom: 2px solid var(--terracotta) !important;
  padding-bottom: 8px !important;
  margin-bottom: 14px !important;
}
/* Remove dark style-4 overrides from theme */
.site-footer.style-4 .menu-item,
.site-footer.style-4 .tagcloud a {
  border-color: #e0e0e0 !important;
  color: #777 !important;
}
.site-footer.style-4 .widget-title::after {
  background-color: var(--terracotta) !important;
}
.site-footer.style-4 .social a,
.site-footer.style-4 .socialize a {
  color: var(--terracotta) !important;
}
/* Copyright bar */
footer.site-footer .copyright-footer > .container::before {
  background: #ddd !important;
}
/* Nav menu items in footer */
.site-footer .menu li a {
  font-size: 15px !important;
  line-height: 2 !important;
  color: #777 !important;
}
.site-footer .menu li a:hover { color: var(--terracotta) !important; }

/* ── Homepage Hero ───────────────────────────── */
.hp-hero-row,
.hp-hero-row .vc_column-inner,
.hp-hero-col .vc_column-inner,
.hp-hero-row .wpb_wrapper,
.hp-hero-row .wpb_column,
.hp-hero-row .vc_column_container {
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Force full-width breakout */
.hp-hero-row.vc_row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.hp-hero {
  position: relative;
  min-height: 88vh;
  /* Break out of WPBakery .container */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: url('/wp-content/uploads/2017/12/keramoskepes_20060830_0180.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30,18,10,.48);
  pointer-events: none;
}
.hp-hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 8% 8rem;
  max-width: 580px;
}
.hp-badge {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  font-weight: 700;
}
.hp-h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.2 !important;
  margin-bottom: .8rem !important;
}
.hp-h1 span { color: #ffd28a; }
.hp-lead {
  color: rgba(255,255,255,.85) !important;
  font-size: 1.35rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}
.hp-btns { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hp-btn-ghost {
  display: inline-block;
  padding: .65rem 1.6rem;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,.6);
  color: #fff !important;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-decoration: none;
  transition: all .2s;
}
.hp-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
  color: #fff !important;
}
.hp-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.94);
  display: flex;
  justify-content: center;
  border-top: 3px solid var(--terracotta);
  z-index: 1;
  flex-wrap: wrap;
}
.hp-stat {
  padding: .9rem 2.5rem;
  text-align: center;
  border-right: 1px solid #e8e8e8;
}
.hp-stat:last-child { border-right: none; }
.hp-stat strong {
  display: block;
  color: var(--terracotta);
  font-size: 1.7rem;
  font-weight: 800;
}
.hp-stat span {
  color: #888;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Homepage commons ────────────────────────── */
.hp-label {
  display: inline-block;
  color: var(--terracotta);
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .6rem;
}
.hp-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 800 !important;
  color: var(--wood) !important;
  line-height: 1.25 !important;
  margin-bottom: .8rem !important;
}
.hp-section-sub {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 1.8rem;
}
.hp-section-header .hp-section-sub { margin-left: auto; margin-right: auto; }

/* ── Service cards (homepage) ────────────────── */
.hp-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.hp-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
}
.hp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.hp-card-img { height: 200px; overflow: hidden; }
.hp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.hp-card:hover .hp-card-img img { transform: scale(1.06); }
.hp-card-body { padding: 1.1rem 1.2rem 1.4rem; }
.hp-card-body h3 {
  font-size: .95rem !important;
  font-weight: 700 !important;
  color: var(--wood) !important;
  margin-bottom: .5rem !important;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hp-card-body p { color: #555; font-size: .95rem; line-height: 1.7; margin: 0; }
.hp-card-link {
  display: inline-block;
  margin-top: .8rem;
  margin-bottom: .4rem;
  color: var(--terracotta) !important;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 2;
}

/* ── Portfolio grid (homepage) ───────────────── */
.hp-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto;
}
.hp-pitem { position: relative; overflow: hidden; border-radius: 3px; cursor: pointer; }
.hp-pitem-big { grid-column: span 2; grid-row: span 2; }
.hp-pitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.hp-pitem:hover img { transform: scale(1.07); }
.hp-poverlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,15,5,.75), transparent 55%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 1rem;
}
.hp-pitem:hover .hp-poverlay { opacity: 1; }
.hp-poverlay span {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Why us (homepage) ───────────────────────── */
.hp-why-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.hp-why-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid #e8e8e8;
}
.hp-why-list li:last-child { border-bottom: none; }
.hp-why-icon {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
}
.hp-why-list strong { display: block; font-size: .95rem; color: var(--wood); margin-bottom: .2rem; }
.hp-why-list span { font-size: .95rem; color: #555; line-height: 1.7; }

/* ── CTA section (homepage) ──────────────────── */
.hp-cta-row .vc_column-inner { padding: 0 !important; }
.hp-cta {
  background: url('/wp-content/uploads/2017/12/keramoskepes_20060830_0180.jpg') center/cover no-repeat;
  position: relative;
  text-align: center;
  padding: 70px 5%;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.hp-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(30,15,5,.72);
}
.hp-cta > * { position: relative; z-index: 1; }
.hp-cta h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: .8rem !important;
}
.hp-cta p { color: rgba(255,255,255,.75); margin-bottom: 1.6rem; font-size: 1rem; line-height: 1.7; }
.hp-cta-phone {
  display: inline-block;
  color: #ffd28a !important;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}

/* ── ΕΡΓΑ page title ─────────────────────────── */
.erga-page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.erga-page-title h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem) !important;
  font-weight: 900 !important;
  color: var(--wood) !important;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1 !important;
  white-space: nowrap;
  position: relative;
}
.erga-page-title h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--terracotta);
  margin: 10px auto 0;
  border-radius: 2px;
}
.erga-page-title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e0e0);
  max-width: 120px;
}
.erga-page-title-line:last-child {
  background: linear-gradient(to left, transparent, #e0e0e0);
}
@media (max-width: 767px) {
  .erga-page-title h1 { white-space: normal; font-size: 1.5rem !important; }
  .erga-page-title-line { max-width: 30px; }
}

/* ── ΕΡΓΑ category title (without banner) ────── */
.erga-cat-title {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: var(--wood) !important;
  margin: 0 0 20px !important;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--terracotta);
  display: inline-block;
}
.erga-cat-title span {
  font-size: .95rem;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: .5px;
}

/* ── ΕΡΓΑ page — category cards ───────────────── */
.erga-category {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  border: 1px solid #eee;
}
.erga-banner {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
}
.erga-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,15,5,.85) 0%, rgba(30,15,5,.55) 60%, rgba(30,15,5,.25) 100%);
}
.erga-banner-overlay {
  position: relative;
  z-index: 1;
  padding: 35px 45px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.erga-banner-label {
  display: inline-block;
  color: #ffd28a;
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .4rem;
}
.erga-banner-title {
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 .3rem !important;
  line-height: 1.2 !important;
}
.erga-banner-count {
  font-size: 1rem !important;
  color: rgba(255,255,255,.8) !important;
  margin: 0 !important;
  font-weight: 600;
}
.erga-body {
  padding: 32px 45px 40px;
}
.erga-grid-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
}
.erga-grid-list li {
  padding: 10px 0 10px 22px !important;
  position: relative !important;
  font-size: 1rem !important;
  border-bottom: 1px solid #f0f0f0 !important;
  color: #555 !important;
  line-height: 1.4 !important;
}
.erga-grid-list li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 17px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background-color: var(--terracotta) !important;
}
.erga-regions {
  font-size: 1rem !important;
  line-height: 2 !important;
  color: #666 !important;
  background: #f9f9f9;
  padding: 16px 20px;
  border-left: 3px solid var(--terracotta);
  border-radius: 4px;
  margin: 0 !important;
}

/* Mobile erga */
@media (max-width: 767px) {
  .erga-banner { height: 150px; }
  .erga-banner-overlay { padding: 20px 24px; }
  .erga-banner-title { font-size: 1.3rem !important; }
  .erga-body { padding: 24px 20px; }
  .erga-grid-list { grid-template-columns: 1fr; }
  .erga-grid-list li { font-size: .88rem !important; padding: 9px 0 9px 20px !important; }
  .erga-grid-list li::before { top: 16px !important; }
}

/* ── ΕΠΙΣΚΕΥΕΣ gallery ───────────────────────── */
.ep-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.ep-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.ep-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ep-gallery-item:hover img {
  transform: scale(1.07);
}
.ep-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(192,82,42,0);
  transition: background .3s;
}
.ep-gallery-item:hover::after {
  background: rgba(192,82,42,.18);
}
@media (max-width: 991px) {
  .ep-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .ep-gallery { grid-template-columns: 1fr 1fr; gap: 6px; }
}

/* ── Erga list ───────────────────────────────── */
.erga-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.erga-list li {
  padding: 6px 0 6px 18px !important;
  position: relative !important;
  font-size: 15px !important;
  border-bottom: 1px solid #f0f0f0 !important;
  color: #444 !important;
}
.erga-list li:last-child {
  border-bottom: none !important;
}
.erga-list li::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 14px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background-color: var(--terracotta) !important;
}

/* ── Erga section headings ───────────────────── */
.erga-list + * .content_heading,
.content_heading {
  font-size: 15px !important;
  color: var(--wood) !important;
  margin-bottom: 12px !important;
}

/* ================================================
   RESPONSIVE — TABLET LANDSCAPE (max 1024px)
   ================================================ */
@media (max-width: 1024px) {
  .hp-services-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px 200px;
  }
  .hp-pitem-big { grid-column: span 2; grid-row: span 1; }
}

/* ================================================
   RESPONSIVE — TABLET (max 991px)
   ================================================ */
@media (max-width: 991px) {
  body { font-size: 15px !important; }
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  h3 { font-size: 17px !important; }

  .hp-hero { min-height: 75vh; }
  .hp-hero-content { padding: 4rem 6% 8rem; }
  .hp-h1 { font-size: 2rem !important; }
  .hp-stat { padding: .8rem 1.8rem; }

  /* ALL 2-col WPBakery rows → stack at tablet */
  .vc_custom_hp_video .wpb_column.vc_col-sm-6,
  .vc_custom_hp_why .wpb_column.vc_col-sm-6 {
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }
  .vc_custom_hp_video_txt { padding-right: 0 !important; margin-bottom: 2rem !important; }
  .vc_custom_hp_why_col  { padding-left: 0 !important; margin-top: 2rem !important; }

  .vc_custom_hp_services,
  .vc_custom_hp_portfolio,
  .vc_custom_hp_video,
  .vc_custom_hp_why {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

/* ================================================
   RESPONSIVE — MOBILE (max 767px)
   ================================================ */
@media (max-width: 767px) {

  /* ── Base ── */
  html, body { overflow-x: hidden !important; }
  body { font-size: 15px !important; }
  h1 { font-size: 22px !important; }
  h2 { font-size: 19px !important; }
  h3 { font-size: 16px !important; }
  h4 { font-size: 15px !important; }

  /* ── WPBakery: ALL columns → full width + stack ── */
  .wpb_column[class*="vc_col-sm-"] {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* ── Container ── */
  .container,
  .vc_row > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ── Sections spacing ── */
  .vc_row.wpb_row {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .vc_custom_hp_hero_row { padding-top: 0 !important; padding-bottom: 0 !important; }

  /* ── Hero ── */
  .hp-hero {
    min-height: 100vh;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
  }
  .hp-hero::before { background: rgba(30,18,10,.58) !important; }
  .hp-hero-content {
    padding: 90px 20px 130px !important;
    max-width: 100% !important;
  }
  .hp-badge { font-size: .7rem; }
  .hp-h1 { font-size: 1.75rem !important; line-height: 1.2 !important; }
  .hp-lead { font-size: .95rem; }
  .hp-btns {
    flex-direction: column;
    gap: .6rem;
    margin-top: 1.2rem;
  }
  .hp-btns .btn,
  .hp-btns .hp-btn-ghost {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 14px 20px !important;
    font-size: .85rem !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  /* Stats: 2×2 */
  .hp-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    position: relative;
    width: 100% !important;
  }
  .hp-stat { border-right: none !important; border-bottom: 1px solid #e8e8e8 !important; padding: .8rem 1rem !important; }
  .hp-stat:nth-child(odd)  { border-right: 1px solid #e8e8e8 !important; }
  .hp-stat:nth-child(3),
  .hp-stat:nth-child(4)    { border-bottom: none !important; }
  .hp-stat strong { font-size: 1.4rem !important; }
  .hp-stat span   { font-size: .7rem !important; }

  /* ── Section headings ── */
  .hp-section-title { font-size: 1.35rem !important; }
  .hp-section-sub   { font-size: .9rem; }
  .hp-label         { font-size: .7rem; }

  /* ── Services: 1 column ── */
  .hp-services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .hp-card-img { height: 210px; }
  .hp-card-body h3 { font-size: 1rem !important; }
  .hp-card-body p  { font-size: .9rem; }

  /* ── Portfolio: 2 col equal ── */
  .hp-portfolio-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(3, 140px) !important;
    gap: 4px !important;
  }
  .hp-pitem-big {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* ── Video section ── */
  .vc_custom_hp_video_txt { padding-right: 0 !important; margin-bottom: 1.5rem !important; }
  .vc_custom_hp_video video,
  .hp-video-wrap video {
    width: 100% !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.1) !important;
  }

  /* ── Why us ── */
  .vc_custom_hp_why_col { padding-left: 0 !important; margin-top: 1.5rem !important; }
  .hp-why-list li { gap: .6rem; }
  .hp-why-list strong { font-size: .9rem; }
  .hp-why-list span   { font-size: .85rem; }

  /* ── CTA ── */
  .hp-cta {
    padding: 50px 20px !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
  }
  .hp-cta h2 { font-size: 1.3rem !important; }
  .hp-cta p  { font-size: .9rem; }
  .hp-cta .btn {
    display: inline-block !important;
    width: auto !important;
    min-width: 200px !important;
  }
  .hp-cta-phone { font-size: 1.3rem !important; }

  /* ── ΕΡΓΑ page columns ── */
  .vc_custom_erga1 .vc_single_image-wrapper img,
  .vc_custom_erga2 .vc_single_image-wrapper img,
  .vc_custom_erga3 .vc_single_image-wrapper img {
    max-height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    margin-bottom: 1rem !important;
  }

  /* ── Buttons ── */
  .btn {
    min-height: 48px !important;
    font-size: .85rem !important;
    padding: 12px 20px !important;
    line-height: 1.4 !important;
  }

  /* ── Forms ── */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
  }
  textarea         { min-height: 120px !important; }
  .wpcf7-submit    { width: 100% !important; min-height: 52px !important; font-size: .9rem !important; }

  /* ── Nav logo ── */
  .nav-logo img,
  .site-logo img   { max-height: 44px !important; }

  /* ── Small text bump on mobile ── */
  .f-content__title { font-size: 14px !important; }
  .f-content__content { font-size: 13px !important; }
  .ct-footer-col h4 { font-size: .85rem !important; }
  .ct-map-link { font-size: .78rem !important; }
  .ct-contact-text a,
  .ct-contact-text span { font-size: .85rem !important; }

  /* ── Page header banner ── */
  .page-heading    { padding: 30px 20px !important; }
  .page-heading h1 { font-size: 20px !important; line-height: 1.3 !important; }

  /* ── Footer ── */
  .site-footer .container { padding: 30px 20px !important; }
  .site-footer .col-md-3,
  .site-footer .col-md-4,
  .site-footer .col-sm-6,
  .site-footer [class*="col-"] {
    width: 100% !important;
    float: none !important;
    margin-bottom: 1.5rem !important;
    text-align: left !important;
  }
  .site-footer .copyright-footer { padding: 12px 20px !important; font-size: .8rem !important; }

  /* ── No horizontal overflow ── */
  img, video, iframe, table { max-width: 100% !important; }
  .vc_row-full-width { overflow: hidden !important; }
}

/* ================================================
   RESPONSIVE — SMALL PHONE (max 420px)
   ================================================ */
@media (max-width: 420px) {
  .hp-h1    { font-size: 1.5rem !important; }
  .hp-lead  { font-size: .88rem; }
  .hp-stat strong { font-size: 1.2rem !important; }
  .hp-portfolio-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(5, 160px) !important;
  }
  .hp-card-img { height: 190px; }
  .hp-cta h2 { font-size: 1.15rem !important; }
}

/* ================================================
   TOUCH — disable hover on touch screens
   ================================================ */
@media (hover: none) {
  .hp-card:hover       { transform: none !important; box-shadow: 0 1px 8px rgba(0,0,0,.05) !important; }
  .hp-card:hover .hp-card-img img { transform: none !important; }
  .hp-pitem:hover img  { transform: none !important; }
  .hp-pitem:hover .hp-poverlay { opacity: 0 !important; }
  .f-content:hover     { transform: none !important; box-shadow: 0 2px 10px rgba(0,0,0,.05) !important; }
}

/* ================================================
   REDUCED MOTION — accessibility
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
