/* hyundaipap.gr: one stylesheet. Tokens measured on the old Avada site (source/design.json, screenshots). */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/roboto-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF, U+1F00-1FFF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/roboto-latin.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; }

:root {
  /* palette of the old site */
  --blue: #0065ad;         /* page background (71% of the painted area) */
  --navy: #11466c;         /* header, panels, cards, footer bar */
  --sky: #5ecfff;          /* accent: headings on panels, links, rules and outlines */
  --white: #fff;           /* text */
  --font: "Roboto", Arial, sans-serif;
  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --measure: 40rem;        /* text column */
  --wide: 1100px;          /* old content width */
  --gutter: 30px;
  --radius: 5px;
}
@media (max-width: 640px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--white); background: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-underline-offset: 3px; }
a:hover { color: var(--sky); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3 { font-weight: 300; line-height: 1.3; margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: var(--s2); z-index: 30; padding: var(--s2) var(--s4); background: var(--white); color: var(--navy); }
.skip:focus { left: var(--gutter); }
.wrap { max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.site-header { background: var(--navy); border-top: 3px solid var(--sky); }
.topbar { border-bottom: 1px solid rgba(94, 207, 255, .35); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.topbar__phone { color: var(--sky); text-decoration: none; font-size: .9375rem; display: inline-flex; align-items: center; min-height: 44px; }
.social { display: flex; align-items: center; gap: var(--s1); }
.social-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--sky); }
.social-link:hover { color: var(--white); }
.icon { width: 20px; height: 20px; fill: currentColor; }
.header-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); padding-block: var(--s4); }
.brand img { width: 300px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: var(--s1); }
.nav-link { display: flex; align-items: center; min-height: 44px; padding: 0 var(--s3); font: 700 .875rem/1 var(--font); text-transform: uppercase; color: var(--white); text-decoration: none; background: none; border: 0; border-top: 3px solid transparent; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current], .has-sub:has([aria-current]) > .nav-sub-toggle { color: var(--sky); }
.nav > ul > li > .nav-link[aria-current], .has-sub:has([aria-current]) > .nav-sub-toggle { border-top-color: var(--sky); }
.has-sub { position: relative; }
.nav-sub-toggle::after { content: ""; width: 6px; height: 6px; margin-left: var(--s2); border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.sub { position: absolute; top: 100%; left: 0; z-index: 20; min-width: 220px; padding: var(--s2) 0 !important; background: var(--navy); border-top: 3px solid var(--sky); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); display: none; }
.sub .nav-link { padding: 0 var(--s4); border-top: 0; }
.has-sub.open .sub, .has-sub:hover:not(.dismissed) .sub, .has-sub:focus-within:not(.dismissed) .sub { display: block; }
.nav-toggle { display: none; }
@media (max-width: 1000px) {
  .brand img { width: 220px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; color: var(--white); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 3px; background: currentColor; position: relative; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -8px; } .nav-toggle__bars::after { top: 8px; }
  .nav { display: none; flex-basis: 100%; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-top: 1px solid rgba(94, 207, 255, .35); }
  .nav-link { width: 100%; min-height: 48px; border-top: 0; }
  .nav > ul > li > .nav-link[aria-current] { border-top-color: transparent; }
  .sub { position: static; display: none; box-shadow: none; border-top: 0; min-width: 0; padding: 0 0 var(--s2) var(--s4) !important; }
  .has-sub:hover:not(.open) .sub, .has-sub:focus-within:not(.open) .sub { display: none; }
  .has-sub.open .sub { display: block; }
}

/* ---------- hero photo (the client's files carry their own blue tint; etaireia's is untinted), booking box overlapping its foot ---------- */
.hero { position: relative; height: clamp(220px, 34vw, 460px); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-follow { position: relative; margin-top: calc(-1 * var(--s8)); }
.booking { padding: var(--s6) var(--s5); background: var(--navy); border-bottom: 3px solid var(--sky); border-radius: var(--radius) var(--radius) 0 0; text-align: center; }
.booking__title { font-size: 1.1875rem; font-weight: 400; margin-bottom: var(--s3); }
.booking__line { margin: 0 0 var(--s2); font-size: 1.125rem; }
.booking__line:last-child { margin-bottom: 0; }
.booking__icon { display: inline-block; margin-right: var(--s2); vertical-align: -4px; }
.booking a { text-decoration: none; }
.booking a:hover { text-decoration: underline; }

/* ---------- shared blocks ---------- */
main > .wrap, main.wrap { padding-bottom: var(--s8); }
main > .hero-follow { padding-bottom: 0; }
.panel { margin-top: var(--s7); padding: var(--s6); background: var(--navy); border-bottom: 3px solid var(--sky); }
.panel--outline { background: transparent; border: 2px solid var(--sky); border-radius: var(--radius); }
@media (max-width: 640px) { .panel { padding: var(--s5) var(--s4); } }
.panel__title { font-size: 1.5rem; color: var(--sky); margin-bottom: var(--s4); }
.panel--outline .panel__title { color: var(--white); }
.panel__title--rule { padding-bottom: var(--s3); border-bottom: 1px solid var(--sky); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 700; color: var(--sky); text-decoration: none; text-transform: uppercase; }
.more:hover { color: var(--white); text-decoration: underline; }

.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 var(--s4); }
.prose h2 { font-size: 1.5rem; color: var(--sky); margin: var(--s6) 0 var(--s3); }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 var(--s4); padding-left: 1.25em; }
.prose li { margin-bottom: var(--s2); }
.prose li::marker { color: var(--sky); }
.prose a { color: var(--sky); }
.prose a:hover { color: var(--white); }
.prose em { font-style: italic; }
.prose ul.checks { list-style: none; padding-left: 0; }
.prose ul.checks li { position: relative; padding-left: 32px; }
.prose ul.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 26px; height: 20px; background: url("/images/site/Vector-3-1.webp") no-repeat center / contain; }
.prose .media img { margin-bottom: var(--s4); }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-top: var(--s7); background: var(--navy); border-bottom: 3px solid var(--sky); overflow: hidden; }
.split__text { padding: var(--s6); }
.split__media { position: relative; min-height: 320px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split--narrow-media { grid-template-columns: 2fr 1fr; }
@media (max-width: 800px) {
  .split, .split--narrow-media { grid-template-columns: 1fr; }
  .split__text { padding: var(--s5) var(--s4); }
  .split__media { min-height: 0; }
  .split__media img { position: static; height: auto; }
  .split--media-first .split__media { order: -1; }
}

.intro { display: flex; gap: var(--s5); align-items: flex-start; }
.intro__icon { flex: none; width: 80px; height: auto; }
.intro__lead { font-size: 1.375rem; margin-bottom: var(--s4); }
.intro__lead:only-child { margin-bottom: 0; }
.intro .prose { max-width: var(--measure); font-size: .9375rem; }
.intro .prose strong { font-weight: 400; }
.intro:not(:has(.prose)) { align-items: center; }
@media (max-width: 640px) { .intro { flex-direction: column; } .intro__icon { width: 96px; } .intro:not(:has(.prose)) { text-align: center; } }

.wide-image { margin-top: var(--s7); }
.wide-image img { width: 100%; }
@media (max-width: 640px) { .wide-image img { height: 240px; object-fit: cover; } }

.gallery { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6) var(--s5); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 382 / 284; object-fit: cover; }
.gallery figcaption { margin-top: var(--s3); font-size: .9375rem; font-weight: 500; }
.gallery .lightbox { display: block; }
.gallery .lightbox:hover img { opacity: .9; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s4); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

/* lightbox (site.js); without JavaScript the photo link opens the image */
.lb { padding: 0; border: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lb::backdrop { background: rgba(0, 20, 40, .88); }
.lb img { max-width: 92vw; max-height: 82vh; width: auto; margin-inline: auto; }
.lb p { margin: var(--s2) 0 0; text-align: center; }
.lb__close { position: absolute; top: 0; right: 0; min-width: 48px; min-height: 48px; font: 700 1.5rem/1 var(--font); color: var(--white); background: var(--navy); border: 0; cursor: pointer; }

/* ---------- home ---------- */
.home-hero { position: relative; padding-bottom: var(--s2); background: linear-gradient(to bottom, transparent 0 62%, var(--blue) 62%); }
.slider { position: absolute; inset: 0 0 38% 0; overflow: hidden; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.slide:first-child, .slide.is-active { opacity: 1; }
.slider.is-running .slide:first-child:not(.is-active) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }
.espa { position: relative; z-index: 2; display: block; width: min(420px, 100%); margin-left: auto; background: var(--white); }
.home-hero__text { position: relative; z-index: 2; padding-block: var(--s8) var(--s7); text-align: center; }
.home-hero__title { max-width: 34rem; margin-inline: auto; font-size: 1.5rem; font-weight: 400; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.home-hero__sub { max-width: 30rem; margin: var(--s4) auto 0; font-size: 2rem; font-weight: 700; line-height: 1.4; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.cards { position: relative; z-index: 2; display: grid; gap: var(--s5); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; margin: 0; padding: var(--s5); background: var(--navy); border-bottom: 3px solid var(--sky); }
.card__icon, .card__logo { align-self: flex-start; margin-bottom: var(--s4); }
.card__icon { width: auto; max-height: 85px; }
.card__logo { width: auto; max-height: 85px; }
.card__title { font-size: 1.5rem; color: var(--sky); margin-bottom: var(--s3); }
.card__text { margin: 0 0 var(--s4); flex: 1; }
.card--outline { background: transparent; border: 2px solid var(--sky); border-radius: var(--radius); }
.brands { margin-top: var(--s7); }
.brands__intro { justify-content: center; text-align: center; font-size: 1.375rem; font-weight: 300; line-height: 1.45; }
.booking--row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s5); align-items: start; margin-top: var(--s7); text-align: left; background: transparent; border: 2px solid var(--sky); border-radius: var(--radius); }
.booking--row .booking__title { font-size: 1.125rem; font-weight: 700; margin: 0; }
.booking--row .booking__line { margin: 0; font-size: 1rem; }
.video { margin-top: var(--s7); aspect-ratio: 2 / 1; max-height: 480px; width: 100%; } /* band no taller than the old one (0.65 of the content width) */
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0 0 var(--s4); font-size: 1.125rem; font-weight: 300; }
.testimonial footer { display: flex; align-items: center; gap: var(--s2); font-size: .9375rem; }
.testimonial footer img { width: 18px; }
@media (max-width: 800px) {
  .cards--3, .booking--row { grid-template-columns: 1fr; }
  .espa { margin-inline: auto; }
  .home-hero__text { padding-block: var(--s7) var(--s6); }
  .home-hero__sub { font-size: 1.625rem; }
  /* as on the old mobile page: a tall photo with the text centred on it, then the cards below the photo */
  .home-hero { display: grid; grid-template-columns: 100%; background: var(--blue); }
  .slider { position: relative; inset: auto; grid-area: 1 / 1 / 3 / 2; }
  .espa { grid-area: 1 / 1; }
  .home-hero__text { grid-area: 2 / 1; width: 100%; display: flex; flex-direction: column; justify-content: center; min-height: 34rem; padding-block: var(--s9); }
  .home-hero .cards { grid-area: 3 / 1; margin-top: var(--s8); }
}

/* ---------- contact, jobs, news, post, our company ---------- */
.map { margin-top: var(--s7); aspect-ratio: 11 / 6; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map { aspect-ratio: auto; height: 600px; } }
.contact__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s6); }
.contact__lines { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.contact__lines li { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s4); }
.contact__lines img { flex: none; width: 24px; height: auto; margin-top: 3px; }
.contact__lines a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; }
.contact__lines span { min-width: 0; }
.contact__lines li { align-items: center; }
@media (max-width: 800px) { .contact__grid { grid-template-columns: 1fr; } }
.jobs__text { max-width: var(--measure); margin: 0 auto; }
.jobs .cms-form { margin-inline: auto; }

.post-list { list-style: none; margin: var(--s7) 0 0; padding: 0; }
.post-card { padding-bottom: var(--s4); }
.post-card__title { font-size: 1.25rem; font-weight: 400; margin-bottom: var(--s3); }
.post-card__title a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.post-card__more { float: right; color: var(--white); }
.post-meta { margin: 0; padding: var(--s2) 0; border-block: 1px solid rgba(255, 255, 255, .35); font-size: .9375rem; }
.post-meta a { min-height: 44px; display: inline-flex; align-items: center; }
.post { padding-top: var(--s7); }
.post .prose { max-width: var(--measure); }
.post__title { font-size: 1.75rem; margin-bottom: var(--s4); }
.post .prose img { width: 100%; max-width: 700px; }
.post .post-meta { margin-top: var(--s5); }
.share-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s6); padding: var(--s4) var(--s5); background: var(--navy); }
.share-box__title { font-size: 1.125rem; font-weight: 700; }
.share { display: flex; list-style: none; margin: 0; padding: 0; gap: var(--s1); }
.share a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--sky); }
.share svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 640px) { .share { flex-wrap: wrap; } }
.about-author { margin-top: var(--s6); }
.about-author__title { display: flex; align-items: center; gap: var(--s3); font-size: 1.125rem; font-weight: 700; margin-bottom: var(--s5); }
.about-author__title::after { content: ""; flex: 1; border-top: 3px double rgba(255, 255, 255, .5); }
.about-author__avatar { display: block; width: 72px; height: 72px; }

.our-company { padding-top: var(--s7); }
.espa--inline { width: min(420px, 100%); margin-inline: auto; }
.espa { min-height: 44px; }
.our-company__photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); margin-block: var(--s6); }
.our-company__photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.our-company .prose { max-width: var(--measure); }
.our-company__contact { list-style: none; margin: var(--s5) 0 0; padding: 0; }
.our-company__contact li { margin-bottom: var(--s2); }
@media (max-width: 640px) { .our-company__photos { grid-template-columns: 1fr; } }
.not-found { padding-block: var(--s8); text-align: center; }
.not-found h1 { font-size: 2rem; margin-bottom: var(--s4); }

/* 390: as on the old mobile pages, navy blocks, photos, the map and the booking box run edge to edge; outlined boxes keep the inset */
@media (max-width: 640px) {
  .split, .card:not(.card--outline), .panel:not(.panel--outline), .map, .wide-image, .hero-follow .booking { margin-inline: calc(-1 * var(--gutter)); }
  .hero-follow .booking { border-radius: 0; }
  .video { margin-inline: calc(-1 * var(--gutter)); width: auto; aspect-ratio: 16 / 9; }
  main > .wrap:not(:last-child) { padding-bottom: 0; } /* home: the video band keeps the old mobile height */
  /* home below the hero: the old mobile page insets every block by the same margin, navy cards and photos too */
  .home > .wrap .card:not(.card--outline), .home > .wrap .split, .home .video { margin-inline: 0; }
}

/* native form (markup by the build, behaviour by /assets/cms-form.js) */
.cms-form { max-width: var(--measure); }
.cms-form__field { margin-bottom: var(--s4); }
.cms-form__field label { display: block; margin-bottom: var(--s1); font-weight: 500; }
.cms-form input:not([type="checkbox"]), .cms-form textarea, .cms-form select { width: 100%; min-height: 48px; padding: var(--s2) var(--s3); font: inherit; color: #222; border: 1px solid var(--sky); border-radius: var(--radius); background: var(--white); }
.cms-form textarea { min-height: 160px; resize: vertical; }
.cms-form [data-invalid] :is(input, textarea, select) { border: 2px solid #ffb4b4; }
.cms-form__error { margin: var(--s1) 0 0; color: #ffd2d2; font-weight: 500; }
.cms-form__error:empty { margin: 0; }
.cms-form__req { color: var(--sky); font-weight: 400; }
.cms-form__note { margin: 0 0 var(--s4); }
.cms-form__submit { min-height: 48px; padding: 0 var(--s6); font: 700 .9375rem/1 var(--font); text-transform: uppercase; color: var(--navy); background: var(--sky); border: 0; border-radius: var(--radius); cursor: pointer; }
.cms-form__submit:hover { background: var(--white); }
.cms-form__submit:disabled { opacity: .6; cursor: progress; }
.cms-form__status { margin: var(--s4) 0 0; }
.cms-form__status:empty { margin: 0; }
.cms-form__status[data-state="success"] { color: var(--sky); font-weight: 500; }
.cms-form__status[data-state="error"] { color: #ffd2d2; font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { margin-top: 0; border-top: 3px solid var(--sky); }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s6); padding-block: var(--s7); }
.footer-logo img { width: 250px; }
.footer-lines { list-style: none; margin: var(--s5) 0 var(--s4); padding: 0; font-size: .9375rem; }
.footer-lines li { margin-bottom: var(--s1); }
.footer-lines a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-lines li:not(:has(a)) { padding-block: var(--s3); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); padding-top: var(--s8); }
.footer-nav ul { list-style: none; margin: 0; padding: var(--s3) 0 0; border-top: 2px solid var(--sky); }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; font-size: .9375rem; }
.footer-nav a:hover, .footer-lines a:hover { text-decoration: underline; color: var(--white); }
.footer-bar { background: var(--navy); padding-block: var(--s4); font-size: .8125rem; color: var(--sky); }
.footer-bar p { margin: 0 0 var(--s2); }
.footer-copy { text-align: center; }
@media (max-width: 640px) { .footer-disclaimer { text-align: center; } }
.footer-copy a { color: var(--sky); display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { padding-top: 0; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .footer-nav { grid-template-columns: 1fr; } }
