/* URMO Services Ltd — site styles */

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/commissioner-latin-full-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/commissioner-latin-ext-full-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/commissioner-greek-full-normal.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
  --ink: #16283d;       /* text, footer */
  --navy: #2b4c72;      /* logo navy */
  --blue: #1e88d2;      /* logo blue: marks and focus only */
  --link: #15629e;      /* logo blue darkened for readable text */
  --mist: #edf2f6;      /* location band */
  --rule: #cfd9e3;
  --muted: #4f6077;
  --paper: #ffffff;
  --error: #b42318;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4.5rem, 9vw, 7.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Commissioner", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-variation-settings: "FLAR" 0, "VOLM" 0;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem;
}
.skip:focus { top: 1rem; }

/* Headings: Commissioner's flare axis gives the display type its own voice */
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 640;
  font-variation-settings: "FLAR" 60, "VOLM" 0;
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.9rem); line-height: 1.06; letter-spacing: -0.022em; max-width: 17ch; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.15; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 620; }
p { margin: 0 0 1em; }
h2 + p { margin-top: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.brand { display: block; line-height: 0; }
.logo { width: auto; height: 2.6rem; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--link); text-decoration: underline; }
.nav .lang { padding-left: 1.6rem; border-left: 1px solid var(--rule); }

/* Hero */
.hero { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 4.5rem); }
.lede { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 40em; margin: 1.6rem 0 2.2rem; }
.lede { max-width: 38rem; }

.button {
  display: inline-block;
  background: var(--navy); color: #fff;
  padding: 0.85rem 1.4rem;
  border-radius: 3px;
  font-weight: 560; text-decoration: none;
}
.button:hover { background: var(--ink); color: #fff; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem; margin: clamp(3.5rem, 7vw, 5.5rem) 0 0;
  padding-top: 1.4rem; border-top: 2px solid var(--ink);
}
.facts dt { color: var(--muted); font-size: 0.9375rem; }
.facts dd { margin: 0.2rem 0 0; font-size: 1.1875rem; font-weight: 560; font-variant-numeric: lining-nums tabular-nums; }

/* Sections: heading column on the left, content on the right */
.section { padding: var(--space) 0; border-top: 1px solid var(--rule); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 2rem;
  align-items: start;
}
.aside { color: var(--muted); margin-top: 1rem; max-width: 22rem; }
.prose p { max-width: 38rem; }
.prose p:first-child { font-size: 1.1875rem; line-height: 1.55; }

/* Services: a ruled two-column list, not cards */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
}
.services li { padding: 1.25rem 0 1.6rem; border-top: 1px solid var(--rule); }
.services li:nth-child(-n+2) { border-top: 2px solid var(--ink); }
.services h3 { margin-bottom: 0.45rem; }
.services p { margin: 0; color: var(--muted); }

/* Location */
.location { background: var(--mist); border-top: 0; }
.location .split { align-items: center; }
.addr-label { margin: 2rem 0 0.4rem; font-size: 1rem; color: var(--muted); font-weight: 500; font-variation-settings: "FLAR" 0; }
address { font-style: normal; font-size: 1.1875rem; line-height: 1.5; margin-bottom: 1.2rem; }
.map { margin: 0; }
.map svg { width: 100%; overflow: visible; }
.map .island { fill: var(--paper); stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; }
.map .pin { fill: var(--blue); }
.map .pin-ring { fill: none; stroke: var(--blue); stroke-width: 2; }
.map .pin-label { fill: var(--ink); font-family: "Commissioner", system-ui, sans-serif; font-size: 20px; font-weight: 600; }

/* Contact form */
.contact-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.5rem; max-width: 46rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
label { font-weight: 560; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], textarea {
  font: inherit; color: var(--ink);
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
  border: 1px solid #9aabbd; border-radius: 3px;
}
textarea { resize: vertical; min-height: 9rem; }
input:hover, textarea:hover { border-color: var(--navy); }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--navy); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error { margin: 0; color: var(--error); font-size: 0.9375rem; }

.check { display: grid; grid-template-columns: auto 1fr; column-gap: 0.7rem; align-items: start; }
.check input { width: 1.2rem; height: 1.2rem; margin: 0.2rem 0 0; accent-color: var(--navy); }
.check label { font-weight: 400; }
.check .error { grid-column: 2; }

.cf-turnstile { min-height: 65px; }

.actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
button[type="submit"] {
  font: inherit; font-weight: 560;
  background: var(--navy); color: #fff;
  border: 0; border-radius: 3px;
  padding: 0.85rem 1.6rem; cursor: pointer;
}
button[type="submit"]:hover { background: var(--ink); }
button[type="submit"][disabled] { opacity: 0.65; cursor: progress; }
.status { margin: 0; font-weight: 500; }
.status.ok { color: #19663a; }
.status.err { color: var(--error); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: #d7e0ea; padding: 3.5rem 0 3rem; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: 1.25rem; }
.footer-name { margin: 0; color: #fff; font-weight: 640; letter-spacing: 0.02em; }
.legal, .footer-links { list-style: none; margin: 0; padding: 0; }
.legal li + li, .footer-links li + li { margin-top: 0.35rem; }
.site-footer a { color: #fff; }

/* Privacy page */
.page { padding: clamp(3.5rem, 8vw, 6rem) 0 var(--space); }
.legal-page { max-width: 42rem; }
.legal-page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.legal-page h2 { font-size: 1.3rem; margin: 2.4rem 0 0.7rem; }
.updated { color: var(--muted); margin-top: 0.8rem; }
.back { margin-top: 3rem; }

/* Greek runs longer: give the headline more room */
html[lang="el"] h1 { max-width: 22ch; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }


/* Photo band */
.band { margin: 0; }
.band img { width: 100%; height: clamp(15rem, 36vw, 34rem); object-fit: cover; object-position: 50% 40%; }
.band figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem;
  padding-top: 0.7rem; padding-bottom: 0.7rem;
  font-size: 0.875rem; color: var(--muted);
}
.band .credit a { color: var(--muted); }
#about { border-top: 0; }

/* Reach map */
.reach { margin: clamp(3rem, 6vw, 5rem) 0 0; }
.reach svg { width: 100%; -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.reach .land { fill: #e4ebf2; }
.reach .cyprus { fill: var(--navy); }
.reach .route { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .reach .route { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.4, 0, .2, 1); }
.js .reach .route + .route { transition-delay: 0.25s; }
.js .reach.in .route { stroke-dashoffset: 0; }
.reach .end { fill: var(--paper); stroke: var(--blue); stroke-width: 2.5; }
.reach .origin { fill: var(--blue); stroke: var(--paper); stroke-width: 3; }
.reach .lbl { fill: var(--ink); font-family: "Commissioner", system-ui, sans-serif; font-size: 19px; font-weight: 540; }
.reach .lbl.strong { font-weight: 660; }
.reach figcaption { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); max-width: 44rem; }

/* Services cycle */
.cycle { margin: 2.5rem 0 0; max-width: 21rem; color: var(--blue); }
.cycle svg { width: 100%; overflow: visible; }
.cycle .ring { fill: none; stroke: var(--rule); stroke-width: 1; }
.cycle .seg { fill: none; stroke: currentColor; stroke-width: 2; }
.cycle .node { fill: var(--paper); stroke: var(--navy); stroke-width: 2; }
.cycle .node.first { fill: var(--navy); }
.cycle .clbl { fill: var(--ink); font-family: "Commissioner", system-ui, sans-serif; font-size: 21px; font-weight: 560; }
@media (min-width: 52.01rem) {
  #services .split > div:first-child { position: sticky; top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reach .route { transition: none; stroke-dashoffset: 0; }
}

/* Small screens */
@media (max-width: 52rem) {
  .split, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { max-width: none; }
  .location .map { margin-top: 0.5rem; }
}
@media (max-width: 40rem) {
  .reach .lbl { font-size: 40px; }
  .reach svg { -webkit-mask-image: none; mask-image: none; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .services li:nth-child(2) { border-top: 1px solid var(--rule); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .nav { gap: 0.25rem 1.1rem; }
  .nav .lang { padding-left: 0; border-left: 0; }
  .map .pin-label { font-size: 30px; }
  .logo { height: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
