/* Greson Easy Loo: shared styles for all pages.
   Colours, type, button styles, hover effects and icons follow the staging site's design system. */
/* Montserrat, served from this site (fonts/) so no visitor data goes to Google */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/montserrat-latin-500.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: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-ext-600.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat-latin-600.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: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat-latin-700.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: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat-latin-ext-800.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/montserrat-latin-800.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: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/montserrat-latin-ext-900.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Montserrat'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/montserrat-latin-900.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; }
/* Greek letters: Montserrat has none, so they come from Manrope (fonts/, self-hosted), one weight heavier than asked
   because Manrope is lighter than Montserrat at the same weight. Only downloaded when a page shows Greek. */
@font-face { font-family: 'GEL Greek'; font-style: normal; font-weight: 100 500; font-display: swap; src: url('../fonts/manrope-greek-600.woff2') format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: 'GEL Greek'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-greek-700.woff2') format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; }
@font-face { font-family: 'GEL Greek'; font-style: normal; font-weight: 700 900; font-display: swap; src: url('../fonts/manrope-greek-800.woff2') format('woff2'); unicode-range: U+0370-03FF, U+1F00-1FFF; }

:root {
  --navy: #2A378D;        /* primary */
  --navy-dark: #1B2460;   /* navy */
  --ink: #151A2E;
  --orange: #F05A28;      /* accent */
  --cyan: #00B0F0;        /* secondary */
  --grey: #565759;        /* body text */
  --muted: #6B7189;
  --line: #DCDEE6;
  --card-line: #E4E6EE;
  --bg: #FFFFFF;
  --bg-soft: #F2F2F2;
  --tile-hover: #E9EBF3;
  --radius: 0px;
  --radius-btn: 2px;
  --shadow: 0 6px 18px rgba(27, 36, 96, .08);
  --shadow-hover: 0 12px 30px rgba(27, 36, 96, .13);
  --font: 'Montserrat', 'GEL Greek', 'Segoe UI', Arial, sans-serif;  /* GEL Greek only draws Greek (Montserrat has none) */
  --head: var(--font);
  --body: var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-weight: 500; color: var(--grey); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; margin: 0; color: var(--navy); }
h1 { font-weight: 900; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 900; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 900; letter-spacing: -.02em; }
p { margin: 0; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -.125em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
section { padding-block: clamp(64px, 8vw, 100px); }
.soft { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.lead { color: var(--grey); font-size: 1.06rem; max-width: 62ch; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head .lead { margin-top: 14px; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head-row .sec-head { margin-bottom: 0; }

/* Buttons: square, uppercase, colour swap on hover */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; padding: 16px 22px; border-radius: var(--radius-btn); border: 2px solid transparent; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn .i { width: 14px; height: 14px; transition: transform .3s; }
.btn:hover .i { transform: translateX(3px); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); padding-block: 10px; transition: color .3s; }
.link-more .i { width: 12px; height: 12px; transition: transform .3s; }
a:hover .link-more, .link-more:hover { color: var(--orange); }
a:hover .link-more .i, .link-more:hover .i { transform: translateX(4px); }

/* Cards: lift, shadow and a slight image zoom on hover */
.card { position: relative; background: #fff; border: 1px solid var(--card-line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--navy); color: inherit; }
.card .media { overflow: hidden; }
.card .media img { transition: transform .35s; }
.card:hover .media img { transform: scale(1.03); }

/* Header */
.topbar { background: var(--navy-dark); color: rgba(255,255,255,.8); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 18px; padding-block: 8px; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .i { color: var(--cyan); width: 12px; height: 12px; }
.topbar a:hover { color: var(--cyan); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 80px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { font-weight: 700; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); padding: 12px 14px; transition: color .4s; }
.nav a:hover { color: var(--orange); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header-phone { font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.header-phone .i { width: 18px; height: 18px; color: var(--orange); }
.header-phone span { white-space: nowrap; }
.header-phone small { display: block; font-weight: 600; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.header-phone:hover { color: var(--orange); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; cursor: pointer; transition: background-color .3s; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px auto; transition: background-color .3s; }
.burger:hover { background: var(--navy); }
.burger:hover span { background: #fff; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 20px 20px; }
.mobile-nav a { display: block; padding: 14px 6px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav.open { display: block; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #fff; padding: 0; overflow: hidden; background: var(--ink); }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,26,46,.9) 0%, rgba(21,26,46,.65) 45%, rgba(21,26,46,.2) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: 120px 72px; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); color: #fff; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 20px; max-width: 58ch; font-size: 1.06rem; }
.hero .eyebrow { color: var(--cyan); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }


/* Paths: two white split cards, photo on one half and text on the other, alternating sides */
.paths { background: var(--bg-soft); }
.paths-title { max-width: 20ch; margin: 0 auto clamp(32px, 5vw, 60px); font-size: clamp(2.3rem, 4.8vw, 4.25rem); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; color: var(--ink); text-align: center; text-wrap: balance; }
.paths-title em { font-style: normal; color: var(--orange); }
.path-grid { display: grid; gap: 20px; max-width: 1080px; margin-inline: auto; }
.path { --accent: var(--orange); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(clamp(360px, 32vw, 460px), auto); overflow: hidden; border-radius: 26px; background: #fff; color: var(--ink); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s cubic-bezier(.2, .8, .2, 1); }
.path#construction { --accent: var(--navy); }
.path img { width: 100%; height: 0; min-height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), filter .6s ease; }
#events img { object-position: center 35%; }
#construction img { object-position: center 30%; }
.path:nth-child(even) img { order: 2; }
.path-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4.4vw, 64px); }
.path h3 { max-width: 13ch; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.path p { max-width: 38ch; margin: 16px 0 18px; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.path-cta { display: inline-flex; align-items: center; gap: 4px; font-size: 1.02rem; font-weight: 500; letter-spacing: -.01em; color: var(--accent); transition: color .3s ease; }
.path-cta > span { font-size: 1.3em; line-height: 1; transition: transform .3s; }
/* only the link reacts: no underline, it swaps to the card's hover colour and the arrow nudges forward */
.path-cta:hover { color: var(--accent-hover, var(--navy)); }
.path-cta:hover > span { transform: translateX(4px); }
.path-cta:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Product lineup: centred columns with a transparent product shot, like a model comparison */
.lineup { background: #fff; }
.lineup-title { max-width: 18ch; margin: 0 auto; font-size: clamp(2.3rem, 4.8vw, 4.25rem); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; color: var(--ink); text-align: center; text-wrap: balance; }
.lineup-title em { font-style: normal; color: var(--orange); }
.lineup-intro { max-width: 52ch; margin: 18px auto 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.45; color: var(--grey); text-align: center; }
.lineup-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(44px, 5vw, 64px) clamp(16px, 2.2vw, 32px); margin: clamp(44px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.lineup-item { display: flex; flex-direction: column; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); text-align: center; }
.lineup-img { display: flex; align-items: flex-end; justify-content: center; gap: 6px; width: 100%; height: clamp(150px, 13vw, 190px); margin-bottom: 22px; }
.lineup-img > a { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; }
.lineup-img.photo > a { display: block; }
.lineup-img img { width: auto; height: auto; max-width: 88%; max-height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.lineup-img.pair > a { max-width: 46%; }
.lineup-img.pair img { max-width: 46%; }
.lineup-img.pair > a img { max-width: 100%; }
.lineup-img.photo img { width: 100%; height: 100%; max-width: none; border-radius: 18px; object-fit: cover; }
.lineup-item:hover .lineup-img:not(.photo) img { transform: translateY(-5px); }
.lineup-tag { min-height: 1.35em; margin: 0 0 4px; font-size: .85rem; font-weight: 600; line-height: 1.35; color: var(--orange); }
.lineup-item h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.lineup-text { max-width: 26ch; margin: 10px 0 20px; font-size: .93rem; line-height: 1.45; color: var(--grey); }
.lineup-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: auto; }
.lineup-pill { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .9rem; font-weight: 600; transition: background-color .25s; }
.lineup-pill:hover { background: var(--navy-dark); color: #fff; }
.lineup-link { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 500; color: var(--navy); }
.lineup-link span { font-size: 1.3em; line-height: 1; transition: transform .25s; }
.lineup-link:hover span { transform: translateX(3px); }
.lineup-pill:focus-visible, .lineup-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Event services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc .media { aspect-ratio: 16 / 10; }
.svc .media img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 22px 24px 18px; }
.svc-body p { color: var(--grey); font-size: .93rem; margin-top: 8px; }

/* 360° drag-to-rotate viewer: hover and move the mouse left/right (or swipe) to turn the unit */
.spin { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.spin:focus-visible { box-shadow: inset 0 0 0 3px var(--cyan); }
.spin .spin-stage { position: relative; width: 100%; height: var(--spin-h, 240px); }
.spin .spin-stage img { position: absolute; left: 50%; bottom: 0; max-height: var(--spin-h, 240px); max-width: 80%; transform-origin: 50% 100%; translate: -50% 0; pointer-events: none; will-change: transform, opacity; -webkit-user-drag: none; }
.spin-badge { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: .68rem; letter-spacing: .06em; color: #fff; background: var(--navy); border-radius: var(--radius-btn); padding: 5px 8px 5px 6px; }
.spin-badge svg { width: 13px; height: 13px; }
.spin-hint { position: absolute; left: 50%; bottom: 12px; z-index: 2; transform: translate(-50%, 6px); display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(21,26,46,.88); border-radius: var(--radius-btn); padding: 7px 12px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; white-space: nowrap; }
.spin-hint svg { width: 16px; height: 16px; }
.spin.is-hover .spin-hint { opacity: 1; transform: translate(-50%, 0); }
.spin.is-hover.has-moved .spin-hint { opacity: 0; }
.spin-dots { position: absolute; top: 20px; left: 16px; z-index: 2; display: flex; gap: 5px; }
.spin-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .15s, transform .15s; }
.spin-dots i.on { background: var(--orange); transform: scale(1.25); }

/* Where we work: icon tiles that tint on hover */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { background: var(--bg-soft); padding: 32px 28px 34px; transition: background-color .3s; }
.use:hover { background: var(--tile-hover); }
.use .i { width: 46px; height: 46px; color: var(--navy); transition: color .3s, transform .3s; }
.use:hover .i { color: var(--orange); transform: translateY(-2px); }
.use h3 { color: var(--ink); font-weight: 800; margin-top: 18px; transition: color .3s; }
.use:hover h3 { color: var(--navy); }
.use p { color: var(--grey); font-size: .93rem; margin-top: 8px; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.why-photo { position: relative; overflow: hidden; }
.why-photo img { aspect-ratio: 4/3; width: 100%; object-fit: cover; transition: transform .6s; }
.why-photo:hover img { transform: scale(1.03); }
.why-photo .badge { position: absolute; left: 0; bottom: 0; background: var(--orange); color: #fff; padding: 18px 24px; display: flex; gap: 14px; align-items: center; }
.why-photo .badge strong { font-size: 1.8rem; font-weight: 900; line-height: 1; }
.why-photo .badge span { font-size: .78rem; font-weight: 600; line-height: 1.3; }
.why-list { display: grid; gap: 22px; margin-top: 30px; }
.why-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.why-item > .i { width: 34px; height: 34px; color: var(--navy); margin-top: 2px; transition: color .3s; }
.why-item:hover > .i { color: var(--orange); }
.why-item h3 { font-size: 1.02rem; color: var(--ink); font-weight: 800; }
.why-item p { color: var(--grey); font-size: .93rem; margin-top: 4px; }

/* Steps */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border-left: 3px solid var(--orange); padding: 32px 28px 34px; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step .num { font-weight: 900; font-size: 1.65rem; color: var(--line); line-height: 1; transition: color .3s; }
.step:hover .num { color: var(--orange); }
.step h3 { margin-top: 16px; }
.step p { color: var(--grey); font-size: .93rem; margin-top: 8px; }

/* Delivery */

/* Trust */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.certs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cert { border: 1px solid var(--card-line); background: #fff; color: var(--navy); padding: 12px 16px 12px 12px; font-weight: 900; font-size: .95rem; display: grid; grid-template-columns: 30px auto; column-gap: 10px; align-items: center; line-height: 1.15; transition: border-color .3s, transform .25s, box-shadow .25s; }
.cert:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cert .i { grid-row: span 2; width: 28px; height: 28px; color: var(--orange); }
.cert small { font-weight: 600; font-size: .7rem; color: var(--grey); }
.group { background: var(--bg-soft); padding: 30px; }
.group p { color: var(--grey); font-size: .93rem; margin-top: 10px; }
.group img { margin-top: 18px; width: 100%; max-width: 460px; }
.trust-grid > *, .quote-grid > *, .why-grid > * { min-width: 0; }

/* Quote */
.quote-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.quote-aside .contact-card { background: #fff; padding: 26px; border: 1px solid var(--card-line); margin-top: 26px; display: grid; gap: 14px; }
.contact-card div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .93rem; color: var(--grey); }
.contact-card .i { width: 17px; height: 17px; color: var(--orange); margin-top: 3px; }
.contact-card strong { color: var(--ink); font-weight: 800; }
form.quote-form { background: #fff; padding: 32px; border: 1px solid var(--card-line); box-shadow: var(--shadow); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--navy); margin-bottom: 20px; }
.seg label { text-align: center; padding: 12px; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); cursor: pointer; transition: background-color .3s, color .3s; }
.seg label:hover { background: var(--tile-hover); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label { background: var(--navy); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--cyan); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: .93rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; color: var(--ink); width: 100%; min-height: 48px; transition: border-color .3s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--cyan); outline-offset: -2px; border-color: var(--cyan); }
.field textarea { min-height: 96px; resize: vertical; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: .78rem; max-width: 40ch; }
.flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow); } 30% { box-shadow: 0 0 0 4px var(--cyan), var(--shadow-hover); } }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 110px; font-size: .9rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
footer a:hover { color: var(--cyan); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand img { height: 90px; width: auto; }
.foot-brand p { margin-top: 16px; max-width: 34ch; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: var(--radius-btn); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background-color .3s, transform .3s; }
.social a:hover { background: var(--cyan); color: #fff; transform: translateY(-2px); }
.social .i { width: 17px; height: 17px; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.5); }

/* Mobile action bar */
.action-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-dark); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; box-shadow: 0 -6px 24px rgba(0,0,0,.22); }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 10px; border-radius: var(--radius-btn); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.action-bar a.quote { background: var(--orange); border-color: var(--orange); }
.action-bar .i { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card .media img, .path img, .path-cta, .lineup-img img, .step, .cert, .why-photo img { transition: none; }
  .card:hover, .step:hover, .cert:hover { transform: none; }
  .card:hover .media img, .lineup-item:hover .lineup-img img, .why-photo:hover img { transform: none; }
}
@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 1100px) {
  .lineup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup-text { max-width: 34ch; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .trust-grid, .quote-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .header-phone { display: none; }
}
@media (max-width: 720px) {
  .wrap { width: min(1200px, 100% - 32px); }
  .topbar { display: none; }
  .header .wrap { height: 68px; gap: 12px; }
  .brand img { height: 46px; }
  .header-cta .btn { display: none; }
  .burger { display: block; }
  .hero { min-height: 0; }
  .hero .wrap { padding-block: 96px 44px; }
  .path-grid, .svc-grid, .use-grid, .step-grid, .field-grid, .foot-grid { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; grid-template-rows: auto auto; border-radius: 22px; }
  .path img, .path:nth-child(even) img { order: 0; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .path-body { padding: 28px 24px 32px; }
  .lineup-grid { gap: 40px 14px; }
  .lineup-img { height: 130px; margin-bottom: 16px; }
  .lineup-text { font-size: .85rem; }
  .lineup-pill { min-height: 34px; padding: 0 14px; font-size: .82rem; }
  .lineup-link { font-size: .82rem; }
  .action-bar { display: grid; }
  form.quote-form { padding: 22px; }
}

/* Product lineup: every card shares its row's tracks, so tags, titles, descriptions and buttons line up
   across the row even when a title wraps to two lines. The row gap moves onto the cards as a margin. */
@supports (grid-template-rows: subgrid) {
  .lineup-grid { --lineup-row-gap: clamp(44px, 5vw, 64px); row-gap: 0; }
  .lineup-item { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; justify-items: center; align-content: start; margin-bottom: var(--lineup-row-gap); }
  .lineup-item > * { align-self: start; }
  .lineup-item > .lineup-img { align-self: end; }
  .lineup-actions { align-self: end; margin-top: 0; }
}
@media (max-width: 720px) {
  .lineup-grid { --lineup-row-gap: 40px; }
}

/* Language switch (added by js/i18n.js) */
.lang-switch { display: inline-flex; flex: none; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-family: var(--font); font-size: .78rem; font-weight: 700; line-height: 1; letter-spacing: .02em; cursor: pointer; }
.lang-switch span { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; color: var(--muted); transition: background-color .25s, color .25s; }
.lang-switch span.on { background: var(--navy); color: #fff; }
.lang-switch:hover span:not(.on) { color: var(--navy); }
.lang-switch:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (max-width: 720px) { .lang-switch span { min-width: 30px; height: 28px; padding: 0 6px; } }
/* Greek labels are longer: give the quote button more of the phone action bar and keep every label on one line */
.lang-el .action-bar { grid-template-columns: 1fr 1fr 1.55fr; gap: 6px; }
.lang-el .action-bar a { gap: 5px; padding-inline: 6px; font-size: .8rem; white-space: nowrap; }

/* Page loader (js/loader.js): a faded grey logo, and the colour logo on top of it revealed from the bottom
   behind a moving wave, like water filling it. Drawn on <html> itself so it covers the page from the first paint. */
@property --gel-fill { syntax: '<number>'; inherits: false; initial-value: 0; }
@property --gel-wave { syntax: '<length>'; inherits: false; initial-value: 0px; }
html.gel-loading { --gel-h: clamp(140px, 30vh, 240px); --gel-w: calc(var(--gel-h) * 480 / 535); }
html.gel-loading::before, html.gel-loading::after { content: ""; position: fixed; z-index: 10000; pointer-events: none; }
html.gel-loading::before {
  inset: 0;
  background: linear-gradient(rgba(242, 242, 242, .8), rgba(242, 242, 242, .8)) center / var(--gel-w) var(--gel-h) no-repeat,
    url('../images/logo-greson-easyloo-colour.webp') center / var(--gel-w) var(--gel-h) no-repeat, var(--bg-soft);
  filter: grayscale(1);
  transition: opacity .45s ease .35s;
}
html.gel-loading::after {
  --wy: calc(var(--gel-h) * (1 - var(--gel-fill)) - 8px);
  left: 50%; top: 50%; width: var(--gel-w); height: var(--gel-h); transform: translate(-50%, -50%);
  background: url('../images/logo-greson-easyloo-colour.webp') center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 9' preserveAspectRatio='none'%3E%3Cpath d='M0 4.5Q12 0 24 4.5T48 4.5V9H0Z'/%3E%3C/svg%3E") var(--gel-wave) var(--wy) / 48px 9px repeat-x,
    linear-gradient(#000 0 0) 0 calc(var(--wy) + 8.5px) / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 9' preserveAspectRatio='none'%3E%3Cpath d='M0 4.5Q12 0 24 4.5T48 4.5V9H0Z'/%3E%3C/svg%3E") var(--gel-wave) var(--wy) / 48px 9px repeat-x,
    linear-gradient(#000 0 0) 0 calc(var(--wy) + 8.5px) / 100% 100% no-repeat;
  animation: gelWave 1.1s linear infinite;
  transition: --gel-fill 2.6s cubic-bezier(.15, .6, .3, 1), opacity .45s ease .35s;
}
html.gel-filling::after { --gel-fill: .82; }
html.gel-loaded::after { --gel-fill: 1.08; transition: --gel-fill .45s ease-in, opacity .45s ease .35s; }
html.gel-loaded::before, html.gel-loaded::after { opacity: 0; }
@keyframes gelWave { to { --gel-wave: 48px; } }
@media (prefers-reduced-motion: reduce) {
  html.gel-loading::after { --gel-fill: 1.08; animation: none; transition: opacity .3s ease; }
}
/* Top bar: with the phone added, narrow tablets drop the opening hours (still in the footer) to keep one line */
@media (max-width: 960px) { .topbar .wrap > span:nth-child(2) { display: none; } }
