﻿@charset "utf-8";
:root {
  --paper: #ECEDE8;
  --card: #F7F7F4;
  --ink: #16222B;
  --muted: #4E5D63;
  --cobalt: #2743C9;
  --sun: #42F5A7;

  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 84rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
}
main { flex: 1; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

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

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem 1.5rem;
  padding-block: 1.25rem;
}
.brand { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; text-decoration: none; }
.top-right { display: flex; align-items: center; gap: 1.25rem; }
.nav a {
  font-weight: 600; text-decoration: none;
  border-bottom: 3px solid transparent; padding: .35rem 0;
}
.lang { display: flex; gap: .25rem; }
.lang a {
  font: 600 .95rem var(--body);
  text-decoration: none; color: var(--muted);
  border-bottom: 3px solid transparent;
  padding: .35rem .6rem;
}
.lang a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cobalt); }

/* hero */
.hero { padding-block: clamp(3rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.4rem, 10.5vw, 8em);
  line-height: .92; letter-spacing: -.01em;
  margin: 0 auto; max-width: 110ch;
  text-align: center;
  text-wrap: balance;
}
.hero .slogan {
  font-size: clamp(1.1rem, 2.3vw, 1.6rem);
  line-height: 1.4;
  color: var(--muted);
  max-width: 34ch;
  text-align: center;
  text-wrap: balance;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
}

/* offer */
.offer-head { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.offer-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.offer-head::before, .offer-head::after { content: ""; flex: 1; height: 4px; background: var(--sun); }

.cards {
  display: grid; gap: clamp(1.25rem, 3vw, 2.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.card { display: flex; flex-direction: column; background: var(--card); }
.card img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card .ph { aspect-ratio: 3 / 2; background: #C9D2D0; border-bottom: 6px solid var(--sun); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(2rem, 3.6vw, 2.6rem); }
.card h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.1; margin: 0; }
.card p { margin: .75rem 0 1.75rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.5; }
.price {
  margin-top: auto;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.5vw, 1rem); line-height: 1.1;
  color: var(--cobalt);
  margin-bottom: 1.1rem;
}
.btn {
  display: block; text-align: center; text-decoration: none;
  background: var(--ink); color: var(--paper);
  font: 600 1.15rem var(--body);
  padding: 1.05rem 1rem;
  width: 100%; border: 0; cursor: pointer;
  transition: background-color .15s;
}
.btn:hover { background: var(--cobalt); }
.btn.is-off { background: #D5DAD8; color: #6B787D; cursor: not-allowed; letter-spacing: .04em; }
.btn.is-off:hover { background: #D5DAD8; }

.status { grid-column: 1 / -1; padding: 2.5rem 0 3rem; max-width: 40rem; }
.status p { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.2; margin: 0 0 1.25rem; }
.status button {
  font: 600 1rem var(--body); background: var(--ink); color: var(--paper);
  border: 0; padding: .8rem 1.4rem; cursor: pointer;
}
.status button:hover { background: var(--cobalt); }

/* show only the text written for the current language */
html[lang="en"] [data-only="bg"], html[lang="bg"] [data-only="en"] { display: none; }

/* pop-up contact card */
.contact { background: var(--cobalt); color: var(--paper); padding-block: clamp(3rem, 8vw, 6rem); scroll-margin-top: 0; }
.contact :focus-visible { outline-color: var(--sun); }
.contact h2 { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.contact-list { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); margin: 0; }
.contact-list dt { color: #C9D3FF; font-size: .95rem; margin-bottom: .2rem; }
.contact-list dd { margin: 0; }
.contact-list a, .contact-list .val {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.5rem, 4.6vw, 2.8rem); line-height: 1.15;
  overflow-wrap: anywhere;
}
.contact-list a {
  text-decoration-thickness: 3px; text-underline-offset: .18em;
  text-decoration-color: var(--sun);
}
.contact-list a:hover { text-decoration-color: var(--paper); }

/* cards */
body:has(dialog[open]) { overflow: hidden; }
.contact-card {
  border: 0; padding: 0; margin: auto;
  width: min(30rem, calc(100% - 2rem));
  background: var(--card); color: var(--ink);
  border-top: 8px solid var(--sun);
}
.contact-card::backdrop { background: rgba(22, 34, 43, .65); }
.dlg-in { padding: 1.25rem 1.5rem 1.75rem; }
.dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.dlg-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 6vw, 2.2rem); line-height: 1.1; margin: .25rem 0 0; }
.dlg-close {
  flex: none; width: 2.75rem; height: 2.75rem; margin: -.4rem -.6rem 0 0;
  font: 400 2rem/1 var(--body); color: var(--ink);
  background: none; border: 0; cursor: pointer;
}
.dlg-close:hover { color: var(--cobalt); }
.dlg-price { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--cobalt); margin: .35rem 0 0; }
.contact-card .contact-list { margin-top: 1.5rem; gap: 1.25rem; grid-template-columns: 1fr; }
.contact-card .contact-list dt { color: var(--muted); }
.contact-card .contact-list a, .contact-card .contact-list .val { font-size: clamp(1.4rem, 6vw, 2rem); text-decoration-color: var(--sun); }
.contact-card .contact-list a:hover { text-decoration-color: var(--cobalt); }

/* footer */
.foot { background: var(--ink); color: #B7C3C7; margin-top: auto; font-size: clamp(.68rem, 3.2vw, 1rem); }
.foot :focus-visible { outline-color: var(--sun); }
.foot-in {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .6rem clamp(.6rem, 2.5vw, 2rem); padding-block: 1.75rem; padding-inline: clamp(1rem, 5vw, 4rem);
}
.foot-in > *, .foot a, .foot small { white-space: nowrap; }
.foot .brand { color: var(--paper); font-size: 1.25em; }
.foot nav { display: flex; gap: clamp(.6rem, 3vw, 1.5rem); }
.foot nav a { text-decoration: none; color: var(--paper); font-weight: 500; }
.foot nav a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.foot small { font-size: .9em; }
