:root {
  --bg: #f6f2eb;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --text: #1f1a17;
  --muted: #6c625a;
  --line: rgba(31, 26, 23, 0.12);
  --accent: #b08a63;
  --accent-dark: #8f6a45;
  --shadow: 0 20px 50px rgba(22, 18, 14, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(176, 138, 99, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(124, 142, 165, 0.12), transparent 20%),
    linear-gradient(180deg, #fbf9f5 0%, var(--bg) 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(251, 249, 245, 0.74);
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--text);
}

.header-cta,
.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: white;
  box-shadow: 0 12px 24px rgba(31, 26, 23, 0.16);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(31, 26, 23, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.94);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

main {
  overflow: clip;
}

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 68px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.eyebrow {
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  margin-bottom: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  margin: 0 0 16px;
  text-wrap: balance;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.6vw, 4.35rem);
  letter-spacing: -0.03em;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
}

.lead {
  font-size: 1.14rem;
  max-width: 700px;
}

.hero {
  padding: 54px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.panel,
.card,
.info-box,
.form-panel,
.cta-panel,
.confirm-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-copy {
  padding: 48px;
}

.hero-copy p {
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.language-line {
  margin: 18px 0 0;
  font-size: 0.96rem;
  color: var(--text);
}

.form-language {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(31, 26, 23, 0.08);
  font-weight: 700;
}

.page-hero h1 {
  font-size: clamp(2.05rem, 3.7vw, 3.55rem);
}


.hero-visual {
  min-height: 100%;
  position: relative;
  overflow: hidden;
  padding: 36px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background:
    linear-gradient(180deg, rgba(18, 17, 14, 0.08), rgba(18, 17, 14, 0.35)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.32), transparent 32%),
    linear-gradient(135deg, #7e8a94 0%, #b8b2a7 36%, #7a6959 100%);
}

 .hero-overlay {
  color: rgba(255, 255, 255, 0.94);
  max-width: 360px;
}

.hero-visual,
.visual-panel {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home {
  background-image:
    linear-gradient(180deg, rgba(18, 17, 14, 0.08), rgba(18, 17, 14, 0.5)),
    url("../images/site/hero-home.webp");
  background-position: center center;
}

.hero-overlay p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

.hero-highlights {
  padding-top: 8px;
}

.compact-header {
  max-width: 640px;
  margin-bottom: 22px;
}

.highlight-grid {
  align-items: stretch;
}

.highlight-card {
  padding: 24px 26px;
}

.highlight-card h3 {
  margin-bottom: 8px;
}

.highlight-card p {
  margin: 0;
  font-size: 0.98rem;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.panel,
.info-box,
.form-panel,
.cta-panel,
.confirm-panel {
  padding: 30px;
}

.card p:last-child,
.panel p:last-child,
.info-box p:last-child,
.cta-panel p:last-child,
.confirm-panel p:last-child {
  margin-bottom: 0;
}

.card-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(176, 138, 99, 0.16);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

.feature-list,
.inline-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.inline-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li::before,
.inline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.visual-panel {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: var(--shadow);
}

.visual-panel.coverage {
  background-image:
    linear-gradient(180deg, rgba(15, 14, 12, 0.10), rgba(15, 14, 12, 0.42)),
    url("../images/site/coverage-home.webp");
  background-position: center center;
}

.visual-panel.tivat {
  background-image:
    linear-gradient(180deg, rgba(15, 14, 12, 0.08), rgba(15, 14, 12, 0.38)),
    url("../images/site/tivat-marina.webp");
  background-position: center center;
}

.visual-panel.kotor {
  background-image:
    linear-gradient(180deg, rgba(15, 14, 12, 0.12), rgba(15, 14, 12, 0.46)),
    url("../images/site/kotor-door.webp");
  background-position: center center;
}

.visual-panel.owners {
  background-image:
    linear-gradient(180deg, rgba(15, 14, 12, 0.08), rgba(15, 14, 12, 0.46)),
    url("../images/site/owners-arches.webp");
  background-position: center center;
}

.visual-content {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: rgba(255,255,255,0.95);
}

.visual-content h3,
.hero-overlay h3 {
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.visual-content p,
.hero-overlay p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 0;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 12px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(176, 138, 99, 0.16);
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 18px;
}

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.form-panel form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(31, 26, 23, 0.12);
  background: rgba(255,255,255,0.88);
  padding: 0 14px;
  color: var(--text);
}

textarea {
  min-height: 138px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(176, 138, 99, 0.28);
  border-color: rgba(176, 138, 99, 0.4);
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-meta {
  display: grid;
  gap: 16px;
}

.contact-meta .info-box {
  padding: 22px 24px;
}

.centered {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 220px);
}

.confirm-panel {
  max-width: 720px;
  text-align: center;
  padding: 48px;
}

.page-hero {
  padding: 44px 0 16px;
}

.page-hero .panel {
  padding: 42px;
}

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.kicker {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(176, 138, 99, 0.12);
  color: var(--text);
  font-size: 0.92rem;
}

.site-footer {
  padding: 30px 0 38px;
  border-top: 1px solid rgba(31, 26, 23, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-note,
.footer-copy {
  color: var(--muted);
}

.footer-copy {
  font-size: 0.92rem;
}

.footer-social {
  margin: 14px 0 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--text);
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .form-layout,
  .footer-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav,
  .header-cta-wrap {
    display: none;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-cta-wrap {
    display: flex;
    width: 100%;
  }

  .site-header.is-open .header-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 14px 0 18px;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .site-header.is-open .site-nav a.active::after,
  .site-header.is-open .site-nav a:hover::after {
    bottom: -4px;
  }

  .hero-copy,
  .hero-visual,
  .panel,
  .card,
  .info-box,
  .form-panel,
  .cta-panel,
  .confirm-panel,
  .page-hero .panel {
    padding: 28px;
  }

  .hero-grid,
  .split,
  .grid-4,
  .grid-3,
  .grid-2,
  .metric-row,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .section {
    padding: 72px 0;
  }

  .cta-panel {
    align-items: flex-start;
  }
}

.cf-turnstile {
  margin-top: 2px;
}

.form-message {
  min-height: 1.4em;
  margin: -4px 0 0;
  font-size: 0.92rem;
}

.form-message.is-success {
  color: #2f6b43;
}

.form-message.is-error {
  color: #9a3c2f;
}

button[disabled],
.btn[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}


@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header {
    backdrop-filter: blur(10px);
  }

  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    max-width: calc(100% - 60px);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .brand-tag {
    display: none;
  }

  h1 {
    font-size: clamp(1.95rem, 10vw, 2.55rem);
    letter-spacing: -0.03em;
  }

  h2 {
    font-size: clamp(1.55rem, 7.6vw, 2rem);
  }

  h3 {
    font-size: 1.08rem;
  }

  p,
  .lead,
  .hero-copy p {
    font-size: 1rem;
  }

  .hero {
    padding: 18px 0 28px;
  }

  .hero-copy,
  .hero-visual,
  .panel,
  .card,
  .info-box,
  .form-panel,
  .cta-panel,
  .confirm-panel,
  .page-hero .panel {
    padding: 22px;
    border-radius: 20px;
  }

  .hero-actions,
  .cta-panel {
    gap: 12px;
  }

  .hero-actions .btn,
  .cta-panel .btn,
  .form-panel button.btn,
  .form-panel .btn-primary {
    width: 100%;
  }

  .hero-visual,
  .visual-panel {
    min-height: 250px;
  }

  .visual-content,
  .hero-visual {
    padding: 22px;
  }

  .visual-content p,
  .hero-overlay p {
    font-size: 0.96rem;
  }

  .section {
    padding: 54px 0;
  }

  .section-tight {
    padding: 42px 0;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .page-hero {
    padding: 22px 0 8px;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.45rem);
  }

  .card,
  .panel,
  .info-box {
    padding: 22px;
  }

  .form-grid {
    gap: 12px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
  }

  .cf-turnstile {
    overflow-x: auto;
  }

  .footer-grid {
    gap: 20px;
  }
}

@media (max-width: 420px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .hero-copy,
  .hero-visual,
  .panel,
  .card,
  .info-box,
  .form-panel,
  .cta-panel,
  .confirm-panel,
  .page-hero .panel {
    padding: 18px;
  }

  .hero-actions .btn,
  .btn,
  button.btn {
    min-height: 46px;
    padding: 0 18px;
  }

  .visual-panel,
  .hero-visual {
    min-height: 220px;
  }

  .eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    margin-bottom: 10px;
  }

  .lead {
    font-size: 0.98rem;
  }
}
