:root{
  --max-container: 1920px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  --font-body: "M PLUS 1", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;

  --h1-size: 80px; --h1-line: 107px; --h1-width: 1210px;
  --gap-top-header: 70px; --gap-before-image: 142px; --gap-after-image: 260px;
  --split-left-w: 516px; --split-right-w: 970px;

  --hero-h-desktop: 1285px;
  --hero-h-smalldesk: 900px;
  --hero-h-tablet: 700px;
  --hero-h-mobile: 500px;
}

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } *{ animation-duration:.01ms!important; transition-duration:.01ms!important; animation-iteration-count:1!important; } }
*{ box-sizing:border-box; }
body{ margin:0; color:#000; background:#fff; font:16px/1.7 var(--font-body); }
a{ color:inherit; text-underline-offset:.2em; }
:where(a,button,[tabindex]):focus-visible{ outline:3px solid #000; outline-offset:3px; }
.skip-link{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus{ position:fixed; left:1rem; top:1rem; padding:.5rem 1rem; background:#fff; border:2px solid #000; z-index:10000; }

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

/* Header */
.site-header{ padding-top: var(--gap-top-header); background:#000; color:#fff; }
.header-inner{ display:flex; align-items:center; justify-content:space-between; }
.brand img{ width:90px; height:auto; display:block; }
.header-right{ display:flex; align-items:center; gap:28px; }
.menu{ display:flex; gap:30px; list-style:none; padding:0; margin:0; font:20px/1 var(--font-head); font-weight:400; }
.site-nav a{ color:#fff; text-decoration:none; }
.btn.talk{ width:135px; height:35px; display:inline-flex; align-items:center; justify-content:center; border-radius:60px; background:#fff; border:2px solid #fff; color:#000; font:20px/35px var(--font-head); font-weight:400; text-decoration:none; }

/* Burger base */
.nav-toggle{ display:none; background:transparent; border:none; padding:0; color:#fff; }
.nav-toggle .bar{ display:none; }

/* Hero */
.section--black{ background:#000; color:#fff; }
.hero{ padding-top: 224px; padding-bottom: var(--gap-before-image); }
.hero-title{ font-family: var(--font-head); font-weight:300; font-size:var(--h1-size); line-height:var(--h1-line); max-width:var(--h1-width); margin:0; }

/* Hero image */
.hero-image{ position:relative; height: var(--hero-h-desktop); overflow:hidden; }
.parallax__bg{ position:absolute; inset:0; background-size:cover; background-position:center; background-image:var(--hero-bg, url('assets/hero.jpg')); }
@media (max-width: 1199px) and (min-width: 1024px){ .hero-image{ height: var(--hero-h-smalldesk); } }
@media (max-width: 1023px){ .hero-image{ height: var(--hero-h-tablet); } }
@media (max-width: 767px){ .hero-image{ height: var(--hero-h-mobile); } }
.hero-image + .intro{ margin-top: var(--gap-after-image); }

/* Intro */
.split{ display:flex; justify-content:space-between; gap:40px; }
.split-left{ flex: 0 0 var(--split-left-w); }
.split-right{ flex: 0 0 var(--split-right-w); font-family: var(--font-body); font-size:18px; line-height:30px; }
#intro-title{ font-family: var(--font-head); font-size:60px; font-weight:300; line-height:1.2; margin:0; }
.intro{ margin-bottom: 260px; }

/* Services */
.services{ padding:160px 0; background:#000; color:#fff; }
.eyebrow{ font-family: var(--font-head); font-size:20px; font-weight:400; margin:0; }
#services-title{ font-family: var(--font-head); font-size:60px; line-height:60px; max-width:385px; margin:16px 0 0 0; font-weight:300; padding-bottom:40px; }
.carousel{ position:relative; }
.carousel-controls{ position:absolute; top:-58px; right:0; display:flex; gap:.5rem; }
.carousel-btn{ background:#fff; color:#000; border:2px solid #fff; border-radius:8px; padding:.4rem .6rem; cursor:pointer; }
.carousel-viewport{ overflow:hidden; position:relative; width: calc(100% - 515px); margin-left: auto; }
/*.carousel-viewport.has-mask::before{ content:""; position:absolute; inset:0 auto 0 0; width:48px; pointer-events:none; mask-image:linear-gradient(to right, black, transparent); -webkit-mask-image:linear-gradient(to right, black, transparent); background:#000; opacity:0; transition:opacity .2s; }*/
.carousel-viewport.mask-active::before{ opacity:1; }
.carousel-track{ list-style:none; display:flex; gap:28px; padding:0; margin:0; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.carousel-track::-webkit-scrollbar{ display:none; }
.card{ flex: 0 0 660px; scroll-snap-align:start; background: transparent; color:#fff; }
.card-media{ width:660px; height:431px; overflow:hidden; }
.card-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.card article{ display:flex; flex-direction:column; }
.card-title{ font-family: var(--font-head); font-weight:300; font-size:40px; margin-top:30px; margin-bottom:5px; }
.card-desc{ font-family: var(--font-body); font-size:16px; line-height:21px; max-width:660px; }

/* Contact / CTA */
.cta{ padding:0; }
.cta > .container{ padding-top:186px; padding-bottom:0; }
#cta-title{ font-family: var(--font-head); font-weight:300; font-size:60px; line-height:90px; max-width:492px; text-align:left; margin:0 0 186px 0; }
.contact-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 32px; }
.contact-item-title{ font-family: var(--font-head); font-size:22px; margin:0 0 10px 0; }
.contact-item a{ text-decoration:none; }
.contact-item a:hover{ text-decoration:underline; }
.contact-item p{ margin:0; font-family: var(--font-body); font-size:16px; }
.contact-separator{ margin:32px 0 20px 0; border:0; border-top:1px solid #e5e5e5; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; color:#5C5C5C; font-family: var(--font-body); font-size:16px; margin-bottom:20px; }
.footer-bottom a{ color:#5C5C5C; text-decoration:none; }
.footer-bottom a:hover{ text-decoration:underline; }

/* Back to top */
.back-to-top{ position:fixed; right:20px; bottom:20px; width:40px; height:40px; border-radius:999px; background:#000; color:#fff; border:2px solid #000; display:grid; place-items:center; cursor:pointer; opacity:0; transform:translateY(10px); transition:opacity .2s, transform .2s; z-index:9999; }
.back-to-top.is-visible{ opacity:1; transform:translateY(0); }

/* Tablet */
@media (max-width: 1023px){
  .split{ flex-direction: column; }
  .split-right{ margin-top: 24px; }
  .contact-grid{ grid-template-columns:1fr; row-gap:28px; text-align:left !important; }
  .carousel-viewport{ width: 100%; }
  .hero-image{ height: var(--hero-h-tablet); }
}

/* Mobile — v26 LOCKED CHANGES */
@media (max-width: 767px){
  .container{ padding-inline: 20px; }

  /* Burger: show icon + panel */
  .site-nav, .header-right .btn.talk{ display:none; }
  .nav-toggle{ display:inline-grid; width:32px; height:24px; }
  .nav-toggle .bar{ display:block; width:28px; height:2.5px; background:#fff; border-radius:2px; }
  .nav-toggle .bar + .bar{ margin-top:5px; }
  .mobile-menu{ background:#000; color:#fff; padding:0 20px 70px 20px; border-top:1px solid #222; text-align:right; margin-top:20px; }
  .mobile-menu nav ul{ list-style:none; padding:20px 0 0 0; margin:0; display:flex; flex-direction:column; gap:14px; align-items:flex-end; }
  .mobile-menu a{ color:#fff; text-decoration:none; font-family: var(--font-head); font-size: 18px; }
  .mobile-menu a:hover{ text-decoration:underline; }
  .mobile-menu .btn.talk{ all: unset; display:block; cursor:pointer; font-family: var(--font-head); font-size:18px; color:#fff; padding:0; }
  body.has-mobile-menu #mobileMenu{ display:block; }
  body.has-mobile-menu #mobileMenu[hidden]{ display:block; }

  /* v26: hero title size */
  .hero-title{ font-size:36px; line-height:48px; }

  /* v26: intro spacing & paragraphs */
  #intro-title{ padding-top:60px; margin-bottom:20px; }
  .split-right{ font-size:16px; line-height:28px; }
  .intro{ margin-bottom:60px; }
}


/* === MOBILE-LOCK v27: requested mobile-only adjustments === */
@media (max-width: 767px) {
  /* All big headings smaller (including hero-title for consistency) */
  .hero-title,
  #intro-title,
  #cta-title,
  #services-title {
    font-size: 36px !important;
    line-height: 48px !important;
  }

  /* Hero top padding */
  .hero {
    padding-top: 140px !important;
  }

  /* Intro spacing + paragraphs */
  #intro-title {
    padding-top: 60px !important;
    margin-bottom: 20px !important;
  }
  .split-right {
    font-size: 16px !important;
    line-height: 28px !important;
  }
  .intro {
    margin-bottom: 60px !important;
  }

  /* Carousel card titles */
  .card-title {
    font-size: 30px !important;
    padding-bottom: 0 !important;
  }
}


/* === MOBILE-LOCK v28 === */
@media (max-width: 767px) {
  /* Mobile menu: white background full width, right aligned, white text */
  .mobile-menu {
    background:#fff !important;
    color:#fff !important;
    text-align:right;
    width:100%;
  }
  .mobile-menu a,
  .mobile-menu .btn.talk {
    color:#fff !important;
  }
}

/* Footer spacing & font size adjustments */
#cta-title {
  margin-bottom:60px !important;
}
.footer-bottom.top {
  font-size:14px !important;
  margin-bottom:10px;
}
.footer-bottom.bottom {
  font-size:14px !important;
}


/* === MOBILE-LOCK v29 === */
@media (max-width: 767px) {
  /* Mobile menu: white background full width, right aligned, black text */
  .mobile-menu {
    background:#fff !important;
    color:#000 !important;
    text-align:right;
    width:100%;
  }
  .mobile-menu a,
  .mobile-menu .btn.talk {
    color:#000 !important;
  }
}

/* Footer & intro adjustments */
#intro-title {
  padding-top:60px !important;
  margin-bottom:20px !important;
}
.split-right {
  font-size:16px !important;
}
.intro {
  margin-bottom:60px !important;
}
#cta-title {
  margin-top:60px !important;
  margin-bottom:60px !important;
}
.footer-bottom.top, .footer-bottom.bottom {
  font-size:14px !important;
}


/* === MOBILE-LOCK v30: open menu tweaks === */
@media (max-width: 767px) {
  /* Panel ξεκινά κάτω από το μαύρο header, full width λευκό */
  .mobile-menu {
    background: #fff !important;
    color: #000 !important;
    width: 100%;
    text-align: right;
    padding: 40px 20px 40px 20px; /* ίσο buffer πάνω/κάτω και δεξιά/αριστερά */
    margin-top: 0; /* να μην "σπρώχνει" το header */
    border-top: none; /* αφαιρούμε τη γραμμή αν υπήρχε */
  }

  /* Λίστα: ίσο κενό σε όλα τα items */
  .mobile-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px; /* ίσα διαστήματα */
  }

  /* Όλα τα links και το "Let’s talk" με underline και ίσο στυλ */
  .mobile-menu a,
  .mobile-menu .btn.talk {
    color: #000 !important;
    font-family: var(--font-head);
    font-size: 18px;
    text-decoration: underline;
  }
  .mobile-menu .btn.talk {
    all: unset;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 18px;
    color: #000 !important;
    text-decoration: underline;
  }
}


/* === MOBILE-LOCK v31: menu spacing & remove underline === */
@media (max-width: 767px) {
  .mobile-menu nav ul {
    gap: 14px !important; /* μικρότερο κενό μεταξύ items */
  }

  .mobile-menu a,
  .mobile-menu .btn.talk {
    text-decoration: none !important; /* χωρίς underline */
  }
}


/* === MOBILE-LOCK v32: intro title spacing & paragraph font size === */
@media (max-width: 767px) {
  #intro-title {
    padding-top: 60px !important;
    margin-bottom: 20px !important;
  }
  .split-right {
    font-size: 16px !important;
    line-height: 28px !important;
  }
}


/* === MOBILE-LOCK v33: spacing below hero image === */
@media (max-width: 767px) {
  .hero-image + .intro {
    margin-top: 60px !important;
  }
}


/* === MOBILE-LOCK v34: reduce spacing around intro title === */
@media (max-width: 767px) {
  .intro {
    margin-top: 60px !important;   /* πάνω από την intro */
    margin-bottom: 60px !important;/* κάτω από την intro */
  }

  #intro-title {
    padding-top: 0 !important;     /* χωρίς extra padding */
    margin-top: 0 !important;      /* χωρίς extra margin πάνω */
    margin-bottom: 20px !important;/* μόνο κάτω */
  }
}


/* === MOBILE-LOCK v35: aggressively trim intro title spacing === */
@media (max-width: 767px) {
  .intro .container {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  #intro-title {
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
  }
}


/* === MOBILE-LOCK v36: fix extra gap in intro (split) === */
@media (max-width: 767px) {
  /* Το μεγάλο κενό προερχόταν από το .split gap και το margin-top της .split-right από το tablet rule */
  .split { 
    gap: 0 !important;                /* μηδενίζουμε το gap για να μετρά μόνο το margin του τίτλου */
    flex-direction: column !important;
  }
  .split-left {
    flex: 0 0 auto !important;        /* όχι fixed flex-basis */
    width: 100% !important;
  }
  .split-right {
    margin-top: 0 !important;         /* override του tablet rule (24px) */
  }

  /* Κρατάμε μόνο το margin κάτω από τον τίτλο */
  #intro-title {
    margin-bottom: 20px !important;
  }
}


/* === MOBILE-LOCK v37: tighten space below intro text === */
@media (max-width: 767px) {
  /* Σπάμε πλήρως τα fixed flex-basis για το mobile */
  .split-right {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
  .split {
    align-items: stretch !important;
  }
  /* Μηδενίζουμε το κάτω περιθώριο του τελευταίου paragraph στην intro */
  .split-right p:last-child {
    margin-bottom: 0 !important;
  }
}


/* === MOBILE-LOCK v38: reduce top padding for CTA container === */
@media (max-width: 767px) {
  .cta > .container {
    padding-top: 40px !important; /* μειώθηκε από 186px σε 40px */
  }
}


/* === MOBILE-LOCK v39: align contact columns left === */
@media (max-width: 767px) {
  .contact-grid {
    text-align: left !important;
  }
  .contact-item {
    text-align: left !important;
  }
}


/* === v46: hero-title desktop vs mobile versions === */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 767px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }
}

/* Keep 60px ONLY on mobile */
@media (max-width: 767px) {
  #intro-title {
    padding-top: 60px !important;
    margin-bottom: 20px !important;
  }
}

/* Reset for tablet & desktop */
@media (min-width: 768px) {
  #intro-title {
    padding-top: 0 !important;   /* αφαιρεί το 60px στο desktop */
    margin-top: 0 !important;
  }
  .split {
    align-items: flex-start !important; /* ευθυγράμμιση τίτλου & κειμένου */
  }
  .split-right {
    margin-top: 0 !important;          /* ακύρωση τυχόν offset από tablet rule */
  }
  .split-right p:first-child {
    margin-top: 0 !important;          /* κόβει το default top margin του 1ου paragraph */
  }
}

/* Mobile μόνο */
@media (max-width: 767px) {
  .intro {
    margin-bottom: 60px !important;
  }
}

/* Desktop & πάνω */
@media (min-width: 1024px) {
  .intro {
    margin-bottom: 260px !important;
  }
}

/* Mobile: add black space below header */
@media (max-width: 767px) {
  .site-header {
    padding-bottom: 40px;
  }
}


/* Mobile: μικρότερο padding στο services */
@media (max-width: 767px) {
  .services {
    padding: 60px 0 !important;
  }
}

/* Carousel: scrollable + draggable */
.carousel-viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox hide */
}
.carousel-viewport::-webkit-scrollbar {
  display: none; /* Webkit hide */
}
.carousel-viewport .card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Mobile: φτιάξε πλάτος καρτών & media ώστε να μη κόβεται τίποτα */
@media (max-width: 767px){

  /* Λιγότερο κενό ανάμεσα στα items */
  .carousel-track{
    gap: 16px !important;
  }

  /* Κάθε κάρτα να χωράει στην οθόνη (όχι fixed 660px) */
  .card{
    flex: 0 0 90vw !important;   /* ~90% του viewport width */
    max-width: 420px !important; /* ταβάνι για μεγάλα mobiles */
  }

  /* Media πάνω από την κάρτα: κρατάμε αναλογία 660x431 */
  .card-media{
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 660 / 431;     /* κρατάει σωστή αναλογία */
    overflow: hidden;
  }
  .card-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;           /* γεμίζει χωρίς παραμόρφωση */
  }

  /* Λίγο πιο “σφιχτή” τυπογραφία για να μη σπάνε άσχημα οι γραμμές */
  .card-title{
    font-size: 28px !important;  /* πριν είχαμε 30px */
    line-height: 1.2 !important;
    margin-top: 20px !important;
    margin-bottom: 6px !important;
  }
  .card-desc{
    font-size: 15px !important;
    line-height: 22px !important;
    word-break: break-word;      /* αν υπάρχει πολύ μεγάλη λέξη */
    hyphens: auto;
    max-width: 100% !important;  /* όχι 660px */
  }

  /* Προαιρετικό: δείξε λίγο λιγότερο το επόμενο item */
  .carousel-viewport{
    padding-right: 10px;         /* μικρό buffer δεξιά */
  }
}
