/* =========================================================
   MK TINOS — base stylesheet
   Extracted from the mk-athens.gr inline styles (which were
   duplicated in all 23 pages). Page-specific overrides live
   in each page's $page_css block, not here.
   ========================================================= */

:root{
  --bg:#f8fafc;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --dark:#0f172a;
  --soft:#f1f5f9;
  --green:#22c55e;
  --accent:#ea580c;
  --white:#ffffff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

.wrap{
  max-width:1140px;
  margin:0 auto;
  padding:0 24px;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

/* =========================
   1. HEADER / NAV
   ========================= */

header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
  z-index:1000;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  flex-shrink:0;
}

.brand:hover{opacity:.96}

.logo-img{
  width:52px;
  height:52px;
  object-fit:contain;
  border-radius:10px;
  display:block;
  transition:transform 0.2s ease;
}

.brand:hover .logo-img{transform:scale(1.03)}

.brand-text b{
  display:block;
  font-size:18px;
  line-height:1.1;
}

.brand-text span{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-top:2px;
}

.menu{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.menu a,
.menu .dropbtn{
  color:var(--text);
  text-decoration:none;
  font-size:14px;
  background:none;
  border:none;
  padding:0;
  margin:0;
  cursor:pointer;
  font-family:inherit;
  white-space:nowrap;
  line-height:1;
  display:inline-flex;
  align-items:center;
  height:24px;
}

.menu a:hover,
.menu .dropbtn:hover{color:var(--accent)}

.dropdown{
  position:relative;
  display:inline-flex;
  align-items:center;
  padding-bottom:0;
}

.dropdown-content{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:340px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 18px 40px rgba(15,23,42,.12);
  padding:8px 0;
  z-index:1001;
  margin-top:0;
}

.dropdown-content a{
  display:block;
  padding:12px 16px;
  font-size:14px;
  line-height:1.4;
  color:var(--text);
  text-decoration:none;
  white-space:nowrap;
  height:auto;
}

.dropdown-content a:hover{background:var(--soft)}
.dropdown:hover .dropdown-content{display:block}

/* =========================
   2. TYPOGRAPHY
   ========================= */

h1{
  font-size:38px;
  line-height:1.14;
  margin:0 0 18px;
}

h2{
  font-size:28px;
  line-height:1.24;
  margin:0 0 14px;
}

h3{
  font-size:22px;
  margin:0 0 10px;
}

p{
  color:var(--muted);
  margin:0 0 16px;
}

section{
  padding:56px 0;
  scroll-margin-top:110px;
}

/* =========================
   3. LAYOUT BLOCKS
   ========================= */

.hero{
  padding:64px 0 40px;
  background:linear-gradient(180deg,#fff,#f8fafc);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:32px;
  align-items:center;
}

.pill{
  display:inline-block;
  border:1px solid var(--line);
  background:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  margin-bottom:18px;
}

.lead{
  max-width:950px;
  font-size:17px;
}

.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:24px;
  box-shadow:0 18px 40px rgba(15,23,42,.08);
}

/* Neutral by default; index.php overrides this to the real dark panel. */
.dark-panel{
  background:#fff;
}

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

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

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
}

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

.grid-box{
  background:#f5f5f5;
  padding:24px;
  border-radius:18px;
  border:1px solid var(--line);
}

.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
}

/* =========================
   4. LISTS
   ========================= */

ul{
  padding-left:22px;
  margin:0;
}

ul, ol{
  padding-left:22px;
  margin:0;
}

li{
  margin:0 0 12px;
  color:var(--muted);
}

.list-clean{
  list-style:disc;
  padding-left:22px;
  margin:0;
}

.list-clean li{
  margin-bottom:12px;
  color:var(--muted);
}

/* =========================
   5. BUTTONS
   ========================= */

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.btn{
  display:inline-block;
  padding:14px 20px;
  border-radius:16px;
  text-decoration:none;
  font-weight:700;
  border:none;
  cursor:pointer;
  font-family:inherit;
  font-size:14px;
}

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

.btn-light{
  background:#fff;
  color:var(--text);
  border:1px solid var(--line);
}

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

/* =========================
   6. FORMS
   ========================= */

form{
  display:grid;
  gap:14px;
}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

input, select, textarea{
  width:100%;
  padding:14px 16px;
  border:1px solid #cbd5e1;
  border-radius:16px;
  font:inherit;
  background:#fff;
  color:var(--text);
}

textarea{
  resize:vertical;
  min-height:140px;
}

#contact-form .two{
  grid-template-columns:1fr;
}

#contact-form .panel{
  max-width:760px;
  margin:0 auto;
}

/* =========================
   7. MAP
   ========================= */

.map{
  width:100%;
  height:320px;
  border:0;
  border-radius:24px;
  margin-top:18px;
}

/* =========================
   8. FOOTER
   ========================= */

footer{
  padding:28px 0;
  border-top:1px solid var(--line);
  background:#fff;
  color:var(--muted);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:start;
}

.footer-grid p{
  margin:0 0 10px;
}

.legal-block{
  margin-top:30px;
  font-size:12px;
  color:#555;
}

.floating{
  position:fixed;
  right:22px;
  bottom:20px;
  display:inline-block;
  padding:14px 18px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
  z-index:900;
  font-size:14px;
  background:var(--green);
}

/* =========================
   9. RESPONSIVE
   Union of the per-page @media variants on mk-athens.
   ========================= */

@media (max-width:900px){
  .nav{
    flex-direction:column;
    align-items:flex-start;
  }

  .menu{gap:14px}

  .dropdown-content{min-width:260px}

  .two,
  .grid2,
  .cards,
  .footer-grid,
  .grid-3,
  .hero-grid,
  .career-grid{
    grid-template-columns:1fr;
  }

  h1{font-size:34px}
  h2{font-size:26px}

  .floating{right:14px}
}
