/* Inter font, stored with the site (no connection to Google) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext.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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  /* colors taken from the Forevia logo */
  --navy: #1e2b3a;
  --navy-2: #2c3e52;
  --accent: #f7890f;
  --accent-dark: #d9700a;
  --text: #1f2933;
  --muted: #5b6776;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --line: #e2e7ef;
  --radius: 14px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px;
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit;
  transition: background .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-call { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn-call:hover { background: var(--navy); color: #fff; }
.hero .btn-call { border-color: #fff; }

/* Contact: two big buttons */
.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.contact-actions .btn { padding: 18px 34px; font-size: 1.1rem; min-width: 240px; }
.contact-details { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; }
.contact-details a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-details a:hover { color: var(--accent-dark); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }

/* Call link in the header, between logo and menu */
.nav-call {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy);
  padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft);
  transition: border-color .15s, background .15s;
}
.nav-call:hover { border-color: var(--accent); background: #fff; }
.nav-call-icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); font-size: 1rem;
}
.nav-call-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-call-label { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.nav-call strong { font-size: .98rem; white-space: nowrap; }

/* Language bar */
.lang-bar { background: var(--navy); color: #dfe5ee; font-size: .85rem; }
.lang-inner { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 38px; }
.lang-inner label { margin: 0; color: #dfe5ee; font-weight: 500; font-size: .85rem; white-space: nowrap; }
#lang-select {
  width: auto; padding: 4px 30px 4px 10px; font-size: .85rem; border-radius: 8px; cursor: pointer;
  background-color: var(--navy-2); color: #fff; border: 1px solid rgba(255,255,255,.2);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23f7890f'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
#lang-select:focus { box-shadow: 0 0 0 3px rgba(247,137,15,.35); border-color: var(--accent); background-color: var(--navy-2); }
#lang-select option { color: var(--text); background: #fff; }
.logo { font-weight: 800; font-size: 1.4rem; color: var(--navy); text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--accent); }
.logo small { font-weight: 500; font-size: .75rem; color: var(--muted); margin-left: 4px; }
.logo-img { height: 52px; width: auto; }
.footer-logo { display: inline-block; background: #fff; padding: 8px 14px; border-radius: 12px; }
.footer-logo .logo-img { height: 44px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--accent-dark); }
.nav-links .btn { padding: 10px 18px; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--navy); cursor: pointer; }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 140px 0 120px;
  background:
    linear-gradient(100deg, rgba(30,43,58,.92) 0%, rgba(30,43,58,.7) 55%, rgba(30,43,58,.35) 100%),
    var(--hero-img, linear-gradient(135deg, #3b5998, #8aa4cf));
  background-size: cover; background-position: center;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); max-width: 760px; }
.hero p { font-size: 1.2rem; max-width: 600px; opacity: .92; }
.hero .price { color: var(--accent); white-space: nowrap; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 44px; font-size: .95rem; opacity: .9; }
.hero-badges span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Photo placeholders — replace with real photos (see comment in index.html) */
.photo {
  border-radius: var(--radius); min-height: 240px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #c9d4e6, #8ea2c4);
  background-size: cover; background-position: center;
}
.photo[data-label]:not([style*="background-image"])::after {
  content: "📷 " attr(data-label); position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--navy); font-weight: 600; font-size: .95rem; opacity: .75;
}

/* About */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.stats { display: flex; gap: 22px 32px; margin-top: 24px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 2.1rem; color: var(--navy); line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Cards */
.grid { display: grid; gap: 22px; margin-top: 40px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.location .photo { min-height: 240px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Amenities */
.amenities { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding: 0; list-style: none; }
.amenities li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
  font-weight: 500; font-size: .95rem;
}
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px;
  gap: 14px; margin: 40px 0 12px;
}
.g-item {
  padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: var(--bg-soft);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.g-item:hover img { transform: scale(1.05); }
.g-big { grid-column: span 2; grid-row: span 2; }

#lightbox {
  border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 90vh; cursor: zoom-out;
}
#lightbox::backdrop { background: rgba(10,20,40,.88); }
#lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 10px; }
.lb-close {
  position: fixed; top: 16px; right: 22px; color: #fff; font-size: 1.8rem;
}

/* Locations */
.location .photo { min-height: 170px; margin: -26px -26px 20px; border-radius: var(--radius) var(--radius) 0 0; }
.location { overflow: hidden; }
.tag {
  display: inline-block; background: #e7f6ec; color: #1f7a3d; font-size: .8rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}

/* FAQ */
.faq { max-width: 780px; margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; margin-top: 36px; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .item .icon { font-size: 1.4rem; }
.contact-info strong { display: block; color: var(--navy); }
form {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: var(--radius); padding: 32px; box-shadow: 0 10px 30px rgba(30,43,58,.08);
}
.form-title { margin: 0 0 4px; font-size: 1.35rem; }
.form-sub { color: var(--muted); font-size: .88rem; margin: 0 0 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label, .label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--bg-soft); color: var(--text);
  transition: border-color .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: #9aa5b3; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(247,137,15,.18);
}
textarea { resize: vertical; }

/* City choice as pill buttons */
.choice { display: flex; gap: 12px; flex-wrap: wrap; }
.choice label { margin: 0; flex: 1; min-width: 140px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: block; text-align: center; padding: 12px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-soft); font-weight: 600; color: var(--navy);
  transition: all .15s;
}
.choice span:hover { border-color: var(--accent); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(247,137,15,.35); }
.btn-block { width: 100%; padding: 16px; font-size: 1.05rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; font-size: .95rem; background: var(--bg-soft); color: var(--navy); }
.form-status.ok { background: #e7f6ec; color: #1f7a3d; font-weight: 600; }
.form-status.err { background: #fdecea; color: #a12a1c; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); font-weight: 400; }
.consent input { width: auto; margin-top: 4px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* Footer */
footer { background: var(--navy); color: #c8d2e3; padding: 48px 0 30px; font-size: .92rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--accent); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

/* Legal pages */
.legal { padding: 60px 0 90px; max-width: 800px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.placeholder { background: #fff4dd; padding: 0 4px; border-radius: 4px; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-5, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 20px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 150px; }
  .hero { padding: 100px 0 80px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  form { padding: 22px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .lang-inner { justify-content: space-between; }
  .contact-actions .btn { width: 100%; min-width: 0; }
  .nav-call { padding: 4px 10px 4px 4px; gap: 6px; }
  .nav-call-icon { width: 28px; height: 28px; font-size: .85rem; }
  .nav-call-label { display: none; }
  .nav-call strong { font-size: .85rem; }
  .logo-img { height: 42px; }
}
