:root {
  --navy: #0d2e4f;
  --navy-soft: #12385f;
  --stone: #f7f9fb;
  --stone-deep: #e7edf2;
  --white: #ffffff;
  --ink: #1f2a37;
  --muted: #647181;
  --gold: #2f6f8f;
  --gold-soft: #dceaf1;
  --line: rgba(24, 49, 79, 0.14);
  --shadow: 0 18px 50px rgba(13, 46, 79, 0.13);
  --radius: 8px;
  --hero-image: url("https://images.unsplash.com/photo-1744731711634-0bf382a442f5?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=72&w=1800");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(13, 46, 79, 0.08);
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  left: 0;
  min-height: 76px;
  padding: 14px max(20px, calc((100vw - 1120px) / 2));
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--gold-soft);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.04em;
  width: 42px;
}


.brand-mark img {
  display: block;
  height: 34px;
  width: 34px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  margin-left: auto;
  order: 2;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.91rem;
  font-weight: 700;
  opacity: 0.8;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
  opacity: 1;
}

.language-switch {
  align-items: center;
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  gap: 2px;
  order: 3;
  padding: 3px;
}

.language-switch button,
.language-switch a {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  min-height: 32px;
  min-width: 38px;
  padding: 6px 8px;
}

.language-switch button.is-active,
.language-switch a.is-active {
  background: var(--navy);
  color: var(--gold-soft);
}

.nav-toggle {
  align-items: center;
  background: var(--navy);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 4px;
  height: 42px;
  justify-content: center;
  order: 4;
  width: 42px;
}

.nav-toggle span:not(.sr-only) {
  background: var(--white);
  display: block;
  height: 2px;
  width: 18px;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 96px;
}

.compact-section {
  padding: 64px 0;
}

.section-stone {
  background: var(--stone);
}

.section-navy,
.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-heading {
  margin-bottom: 38px;
  max-width: 760px;
}

.section-heading h2,
.two-column h2,
.calculator-grid h2,
.quote-panel h2,
.contact-grid h2,
.travel-layout h2 {
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0 0 16px;
}

.section-heading p,
.two-column p,
.calculator-grid p,
.quote-panel p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.section-navy .section-heading p,
.section-dark p,
.section-contact p,
.quote-panel p,
.calculator-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.eyebrow {
  color: var(--gold) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 14px !important;
  text-transform: uppercase;
}

.hero {
  background-image: linear-gradient(90deg, rgba(13, 46, 79, 0.92), rgba(13, 46, 79, 0.7), rgba(13, 46, 79, 0.28)), var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
  padding: 64px 0 40px;
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, transparent, rgba(13, 46, 79, 0.7));
  bottom: 0;
  content: "";
  height: 28%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 850px;
}

.hero h1 {
  font-size: clamp(2.55rem, 6vw, 4.9rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  max-width: 900px;
}

.hero-text {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  margin: 22px 0 0;
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: var(--navy);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--navy);
  max-width: 420px;
  padding: 22px;
}

.hero-panel p {
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.stat-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
}

.stat-row span {
  color: var(--muted);
}

.benefit-grid,
.card-grid,
.tier-grid,
.portfolio-grid,
.faq-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.benefit-grid article,
.service-card,
.pricing-card,
.tier-card,
.portfolio-card,
.faq-grid details,
.calculator-card,
.contact-form,
.expansion-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(13, 46, 79, 0.08);
}

.benefit-grid article,
.service-card,
.pricing-card,
.tier-card,
.portfolio-card,
.faq-grid details {
  padding: 24px;
}

.benefit-grid span {
  color: var(--gold);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 18px;
}

h3 {
  color: var(--navy);
  font-size: 1.17rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.benefit-grid p,
.service-card p,
.pricing-card p,
.tier-card p,
.portfolio-card p,
.faq-grid p {
  color: var(--muted);
  margin: 0;
}

.featured-card {
  background: var(--navy);
  color: var(--white);
}

.featured-card h3,
.featured-card p {
  color: inherit;
}

.featured-card p {
  opacity: 0.78;
}

.two-column {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.included-layout {
  display: grid;
  gap: 18px;
}

.included-list {
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--white);
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.included-list div {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
  min-height: 58px;
  padding: 16px 18px;
}

.included-dot {
  background: var(--gold);
  border-radius: 50%;
  flex: 0 0 8px;
  height: 8px;
  width: 8px;
}

.expansion-card {
  background: var(--stone);
  padding: 22px;
}

.tag {
  color: var(--gold) !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px !important;
  text-transform: uppercase;
}

.expansion-card ul {
  color: var(--ink);
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

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

.pricing-table-wrap {
  min-width: 0;
}

.pricing-table-wrap h3 {
  color: var(--white);
  margin-bottom: 14px;
}

.table-scroll {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow-x: auto;
}

.pricing-table {
  border-collapse: collapse;
  color: var(--white);
  min-width: 560px;
  width: 100%;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  text-align: left;
}

.pricing-table th {
  color: var(--gold-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.pricing-table td {
  color: rgba(255, 255, 255, 0.82);
}

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

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

.price-list li {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding-bottom: 10px;
}

.price-list span {
  color: var(--muted);
}

.price-list strong,
.tier-card strong {
  color: var(--navy);
}

.tier-card strong {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.travel-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.travel-table {
  background: var(--stone);
  border-radius: var(--radius);
  overflow: hidden;
}

.travel-table div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 18px;
}

.travel-table div:last-child {
  border-bottom: 0;
}

.calculator-grid,
.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.calculator-card,
.contact-form {
  padding: 24px;
}

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

label {
  color: inherit;
  display: grid;
  font-size: 0.88rem;
  font-weight: 800;
  gap: 7px;
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid rgba(13, 46, 79, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.calculator-card label,
.addons legend {
  color: var(--navy);
}

.addons {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
}

.addons legend {
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0 8px;
}

.addons label {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-weight: 700;
  gap: 10px;
}

.addons input {
  accent-color: var(--gold);
  min-height: auto;
  width: auto;
}

.estimate-panel {
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--white);
  display: grid;
  overflow: hidden;
}

.estimate-panel div {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 15px 16px;
}

.estimate-panel div:last-child {
  background: rgba(47, 111, 143, 0.16);
  border-bottom: 0;
}

.estimate-panel span {
  color: rgba(255, 255, 255, 0.72);
}

.estimate-panel strong {
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.calculator-note {
  color: var(--muted) !important;
  font-size: 0.9rem !important;
  margin-top: 12px !important;
}

.embed-placeholder {
  align-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(13, 46, 79, 0.88), rgba(18, 56, 95, 0.8)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 36px);
  border-radius: var(--radius);
  color: var(--gold-soft);
  display: flex;
  font-weight: 900;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
  padding: 20px;
  text-align: center;
}

.portfolio-showcase .section-heading {
  max-width: 860px;
}

.portfolio-featured {
  grid-column: span 2;
}

.portfolio-featured .embed-placeholder {
  aspect-ratio: 16 / 8;
}

.quote-panel {
  align-items: start;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.quote-list {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.quote-list div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 4px;
  padding: 18px;
}

.quote-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-list strong {
  color: var(--white);
  line-height: 1.35;
}

.quote-list .button {
  border-radius: 0;
  min-height: 62px;
  width: 100%;
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 12px;
}

.process-list div {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  padding: 16px;
}

.process-list span {
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--gold-soft);
  display: inline-flex;
  flex: 0 0 42px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.process-list p {
  font-weight: 800;
  margin: 0;
}

.faq-grid details {
  box-shadow: none;
}

.faq-grid summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.faq-grid p {
  margin-top: 12px;
}

.section-contact {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--white);
}

.contact-form label {
  color: var(--navy);
}

.full-span {
  grid-column: 1 / -1;
}

.contact-note {
  border-left: 3px solid var(--gold);
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding-left: 18px;
}

.contact-note span {
  color: rgba(255, 255, 255, 0.72);
}

.form-status {
  color: var(--navy);
  font-weight: 800;
  margin: 0;
  min-height: 24px;
}

.site-footer {
  background: #081d31;
  color: rgba(255, 255, 255, 0.76);
  padding: 24px 0;
}

.footer-grid {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--gold-soft);
  font-weight: 800;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}

@media (max-width: 920px) {
  .site-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    align-content: start;
    background: #ffffff;
    border-left: 1px solid var(--line);
    bottom: 0;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0;
    padding: 88px 22px 22px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 220ms ease;
    width: min(360px, 86vw);
    z-index: 45;
    isolation: isolate;
    opacity: 1;
  }

  .language-switch {
    margin-left: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .two-column,
  .pricing-split,
  .hosting-grid,
  .travel-layout,
  .calculator-grid,
  .quote-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    padding: 78px 0 42px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .price-list li,
  .travel-table div,
  .estimate-panel div {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .portfolio-featured {
    grid-column: auto;
  }

  .portfolio-featured .embed-placeholder {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .language-switch {
    gap: 1px;
    padding: 2px;
  }

  .language-switch button,
.language-switch a {
    font-size: 0.68rem;
    min-width: 31px;
    padding-inline: 5px;
  }

  .language-switch button[data-lang="sl"],
.language-switch a[data-lang="sl"] {
    min-width: 38px;
  }

  .brand small {
    display: none;
  }
}

@media (max-width: 470px) {
  .brand-mark {
    height: 38px;
    width: 38px;
  }

  .brand strong {
    display: none;
  }

  .site-header {
    gap: 8px;
    padding-inline: 10px;
  }
}


.portfolio-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

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

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

.portfolio-media {
  margin: -24px -24px 20px;
}

.portfolio-media iframe,
.portfolio-media img,
.portfolio-media .embed-placeholder {
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  height: 220px;
  width: 100%;
}

.portfolio-media img {
  object-fit: cover;
}

.portfolio-page-heading h1 {
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  margin: 0 0 18px;
}

.portfolio-pagination {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 36px;
}

.portfolio-pagination span {
  color: var(--navy);
  font-weight: 800;
}

.button-secondary-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  transform: none;
}

.portfolio-empty {
  grid-column: 1 / -1;
  text-align: center;
}

@media (max-width: 1100px) {
  .portfolio-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .portfolio-grid-page,
  .portfolio-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .portfolio-grid-page,
  .portfolio-grid-home {
    grid-template-columns: 1fr;
  }
}


/* Subtle portfolio hover feedback */
.portfolio-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  border-color: rgba(47, 111, 143, 0.42);
  box-shadow: 0 14px 34px rgba(13, 46, 79, 0.12);
  transform: translateY(-3px);
}

.portfolio-media iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-card {
    transition: none;
  }

  .portfolio-card:hover,
  .portfolio-card:focus-within {
    transform: none;
  }
}


/* Client-ready legal, footer and privacy elements */
[hidden] { display: none !important; }
.contact-note { display:grid; gap:4px; margin-top:24px; }
.contact-note a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.privacy-consent { display:flex; align-items:flex-start; gap:10px; font-weight:500; }
.privacy-consent input { flex:0 0 auto; min-height:auto; margin-top:5px; width:auto; }
.privacy-consent a { text-decoration:underline; text-underline-offset:3px; }
.footer-grid { align-items:flex-start; gap:20px; }
.footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px 18px; }
.cookie-notice { position:fixed; inset:auto 16px 16px; z-index:100; }
.cookie-notice-inner { align-items:center; background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); display:flex; gap:18px; justify-content:space-between; margin:auto; max-width:900px; padding:16px 18px; }
.cookie-notice p { color:var(--ink); margin:0; }
.cookie-notice a { text-decoration:underline; text-underline-offset:3px; }
.cookie-notice .button { flex:0 0 auto; min-height:42px; padding:9px 16px; }
.legal-main { background:var(--stone); min-height:70vh; padding:72px 0; }
.legal-document { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 28px rgba(7,27,45,.08); margin:auto; max-width:900px; padding:clamp(24px,5vw,56px); }
.legal-document h1 { color:var(--navy); font-size:clamp(2rem,4vw,3.4rem); line-height:1.05; margin:0 0 20px; }
.legal-document h2 { color:var(--navy); margin-top:34px; }
.legal-document p,.legal-document li { color:var(--muted); }
.legal-document a { color:var(--navy); text-decoration:underline; text-underline-offset:3px; }
.legal-meta { border-bottom:1px solid var(--line); margin-bottom:28px; padding-bottom:20px; }
@media (max-width:720px){.cookie-notice-inner{align-items:stretch;flex-direction:column}.footer-links{justify-content:flex-start}.footer-grid{display:grid}.legal-main{padding:36px 0}}


.footer-business {
  margin: 6px 0 0;
  font-size: 0.86rem;
  opacity: 0.78;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* Footer spacing and legal-link separation */
.site-footer {
  padding: 30px 0;
}

.footer-grid > div:first-child {
  display: grid;
  gap: 7px;
}

.footer-business {
  line-height: 1.45;
  margin: 0;
}

.footer-links {
  align-items: center;
  column-gap: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: 8px;
  row-gap: 8px;
}

.footer-links a {
  display: inline-flex;
  line-height: 1.4;
  padding-right: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a + a::before {
  color: rgba(255, 255, 255, 0.42);
  content: "•";
  margin-right: 14px;
  text-decoration: none;
}

.brand-mark img {
  display: block;
  height: 30px;
  width: 30px;
}

@media (max-width: 720px) {
  .site-footer {
    padding: 26px 0;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-links a {
    padding-right: 0;
  }

  .footer-links a + a::before {
    content: none;
  }
}

/* iPhone-safe mobile navigation override */
@media (max-width: 920px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1002;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 1003;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    min-height: calc(100vh - 76px);
    padding: 22px 24px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: #ffffff !important;
    background-image: none !important;
    opacity: 1 !important;
    isolation: isolate;
    box-shadow: none;
    border: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 220ms ease, visibility 0s linear 220ms;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-nav::before {
    content: "";
    position: fixed;
    inset: 76px 0 0;
    z-index: -1;
    background: #ffffff;
    opacity: 1;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 220ms ease, visibility 0s;
  }

  .site-nav a {
    display: block;
    width: 100%;
    color: var(--navy);
    background: #ffffff;
    font-size: 1.05rem;
    opacity: 1;
    padding: 18px 0;
  }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 470px) {
  .site-nav {
    top: 66px;
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    min-height: calc(100vh - 66px);
  }

  .site-nav::before {
    inset: 66px 0 0;
  }
}

/* Final mobile navigation: fully opaque, closable full-screen panel */
@media (max-width: 920px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-toggle {
    position: relative !important;
    z-index: 10002 !important;
    flex: 0 0 42px;
  }

  .site-nav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10001 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 92px 24px 32px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(100%) !important;
    transition: transform 220ms ease, visibility 0s linear 220ms !important;
    border: 0 !important;
    box-shadow: none !important;
    isolation: isolate !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-nav::before,
  .site-nav::after {
    display: none !important;
    content: none !important;
  }

  .site-nav.is-open {
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    transition: transform 220ms ease, visibility 0s !important;
  }

  .site-nav a {
    position: relative;
    z-index: 1;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 2px !important;
    color: var(--navy) !important;
    background: #ffffff !important;
    opacity: 1 !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 1.05rem !important;
  }

  body.nav-open {
    overflow: hidden !important;
    touch-action: none;
  }

  /* Turn hamburger into a clear close icon while open */
  .nav-toggle span:not(.sr-only) {
    transition: transform 180ms ease, opacity 180ms ease;
    transform-origin: center;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 470px) {
  .site-nav {
    padding-top: 82px !important;
  }
}

/* Wider desktop spacing for footer legal links */
@media (min-width: 721px) {
  .footer-links {
    column-gap: 28px;
  }

  .footer-links a {
    padding-right: 0;
  }

  .footer-links a + a::before {
    margin-left: 0;
    margin-right: 28px;
  }
}


/* Definitive footer legal-link spacing */
.footer-links {
  align-items: center !important;
  column-gap: 16px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  row-gap: 8px !important;
}

.footer-links a {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links a + a::before,
.footer-links a::before {
  content: none !important;
}

.footer-link-separator {
  color: rgba(255, 255, 255, 0.5);
  display: inline-block;
  flex: 0 0 auto;
  line-height: 1;
}

@media (max-width: 720px) {
  .footer-links {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .footer-link-separator {
    display: none !important;
  }
}


/* Portfolio coming-soon curtain */
.portfolio-coming-soon-section {
  min-height: calc(100vh - 170px);
  display: grid;
  align-items: center;
}

.portfolio-curtain {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 48px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(13, 46, 79, 0.96), rgba(18, 56, 95, 0.92)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  text-align: center;
}

.portfolio-curtain::before,
.portfolio-curtain::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 25, 44, 0.85), rgba(5, 25, 44, 0));
}

.portfolio-curtain::before { left: 0; }
.portfolio-curtain::after { right: 0; transform: scaleX(-1); }

.portfolio-curtain-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.portfolio-curtain h1 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1.02;
}

.portfolio-curtain p:not(.eyebrow) {
  margin: 0 auto 30px;
  max-width: 650px;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
}

@media (max-width: 720px) {
  .portfolio-coming-soon-section { min-height: auto; }
  .portfolio-curtain { min-height: 430px; padding: 40px 20px; }
  .portfolio-curtain::before, .portfolio-curtain::after { width: 12%; }
}

/* Photography vs 3D comparison */
.comparison-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.comparison-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(13, 46, 79, 0.06);
  padding: 28px;
}
.comparison-card-featured {
  background: var(--stone);
  border-color: rgba(47, 111, 143, 0.38);
}
.comparison-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}
.comparison-card li { color: var(--muted); padding-left: 4px; }
.comparison-card-featured li::marker { color: var(--gold); }
.comparison-note {
  color: var(--muted);
  margin: 24px 0 0;
  max-width: 860px;
}
@media (max-width: 760px) {
  .comparison-grid { grid-template-columns: 1fr; }
  .comparison-card { padding: 22px; }
}


/* Direct contact options */
.direct-contact {
  margin-top: 28px;
}

.direct-contact-title {
  color: var(--navy) !important;
  font-size: 0.9rem !important;
  font-weight: 800;
  margin: 0 0 12px !important;
}

.direct-contact-actions {
  display: grid;
  gap: 10px;
}

.direct-contact-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.direct-contact-button:hover,
.direct-contact-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.direct-contact-icon {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 1rem;
  font-weight: 900;
  height: 38px;
  justify-content: center;
}

.direct-contact-button span:last-child {
  display: grid;
  min-width: 0;
}

.direct-contact-button small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
}

.direct-contact-button strong {
  color: var(--white);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .direct-contact {
    margin-bottom: 8px;
  }
}

/* Direct contact: always stack actions vertically */
.direct-contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
}

.direct-contact-button {
  width: 100%;
}

/* ADRIASPACE mobile polish pass — 2026-07 */
@media (max-width: 920px) {
  .site-header {
    min-height: 68px !important;
    gap: 10px !important;
    padding: 10px max(12px, env(safe-area-inset-left)) 10px max(12px, env(safe-area-inset-right)) !important;
  }

  .brand {
    gap: 9px;
    min-width: 0;
  }

  .brand-mark {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
  }

  .brand-mark img {
    height: 26px;
    width: 26px;
  }

  .brand strong {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .brand small {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .language-switch {
    flex: 0 1 auto;
    margin-left: auto;
    min-width: 0;
    overflow: hidden;
  }

  .language-switch button,
.language-switch a {
    min-height: 34px;
    min-width: 32px;
    padding: 5px 6px;
  }

  .nav-toggle {
    flex: 0 0 40px !important;
    height: 40px;
    width: 40px;
  }

  .site-nav {
    padding-top: calc(82px + env(safe-area-inset-top)) !important;
    padding-right: max(22px, env(safe-area-inset-right)) !important;
    padding-bottom: max(28px, env(safe-area-inset-bottom)) !important;
    padding-left: max(22px, env(safe-area-inset-left)) !important;
  }

  .site-nav a {
    min-height: 58px;
    display: flex !important;
    align-items: center;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 32px, 1120px);
  }

  .section {
    padding: 54px 0;
    scroll-margin-top: 78px;
  }

  .compact-section {
    padding: 44px 0;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2,
  .two-column h2,
  .calculator-grid h2,
  .quote-panel h2,
  .contact-grid h2,
  .travel-layout h2 {
    font-size: clamp(1.85rem, 8.2vw, 2.55rem);
    line-height: 1.08;
    margin-bottom: 13px;
    overflow-wrap: anywhere;
  }

  .section-heading p,
  .two-column p,
  .calculator-grid p,
  .quote-panel p,
  .contact-grid p {
    font-size: 1rem;
  }

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

  .hero {
    min-height: auto;
    padding: 52px 0 36px;
    background-position: 58% center;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.45rem);
    line-height: 0.99;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .hero-text {
    font-size: 1.04rem;
    line-height: 1.55;
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .button {
    min-height: 52px;
    width: 100%;
  }

  .hero-panel {
    max-width: none;
    padding: 18px;
    width: 100%;
  }

  .stat-row {
    min-height: 50px;
    padding: 11px 0;
  }

  .benefit-grid,
  .card-grid,
  .tier-grid,
  .portfolio-grid,
  .faq-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .benefit-grid article,
  .service-card,
  .pricing-card,
  .tier-card,
  .portfolio-card,
  .faq-grid details {
    padding: 20px;
  }

  .comparison-grid {
    gap: 14px;
  }

  .comparison-card {
    padding: 20px;
  }

  .comparison-card ul {
    gap: 9px;
    margin-top: 14px;
  }

  .comparison-note {
    margin-top: 18px;
  }

  .included-list div {
    min-height: 54px;
    padding: 14px 16px;
  }

  .expansion-card,
  .calculator-card,
  .contact-form {
    padding: 20px;
  }

  .quote-panel,
  .contact-grid,
  .two-column {
    gap: 28px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 50px;
  }

  textarea {
    min-height: 120px;
  }

  .contact-form .button,
  .direct-contact-button {
    min-height: 54px;
    width: 100%;
  }

  .direct-contact {
    margin-top: 22px;
  }

  .direct-contact-actions {
    gap: 10px;
  }

  .direct-contact-button {
    padding: 11px 13px;
  }

  .site-footer {
    padding-top: 32px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-grid p,
  .footer-business {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .footer-links {
    align-items: flex-start;
    gap: 12px !important;
  }

  .footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 0.92rem;
    padding: 0 !important;
  }

  .cookie-notice {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 7px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .brand-mark {
    flex-basis: 36px;
    height: 36px;
    width: 36px;
  }

  .brand-mark img {
    height: 23px;
    width: 23px;
  }

  .brand > span:last-child {
    display: none;
  }

  .language-switch {
    padding: 2px;
  }

  .language-switch button,
.language-switch a {
    font-size: 0.64rem;
    min-height: 32px;
    min-width: 28px;
    padding-inline: 4px;
  }

  .language-switch button[data-lang="sl"],
.language-switch a[data-lang="sl"] {
    min-width: 34px;
  }

  .nav-toggle {
    flex-basis: 38px !important;
    height: 38px;
    width: 38px;
  }

  .container {
    width: min(100% - 26px, 1120px);
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 11.5vw, 2.9rem);
  }
}

@media (max-width: 350px) {
  .language-switch button,
.language-switch a {
    min-width: 25px;
    padding-inline: 3px;
  }

  .language-switch button[data-lang="sl"],
.language-switch a[data-lang="sl"] {
    min-width: 31px;
  }
}

/* Villa Dora live portfolio */
.portfolio-card-live {
  overflow: hidden;
}
.portfolio-card-live .portfolio-media {
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 20px;
  overflow: hidden;
}
.portfolio-card-live .portfolio-media iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.portfolio-location {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 8px !important;
}

/* ===== Portfolio sizing upgrade ===== */

/* Give the portfolio page more breathing room than standard content pages. */
.portfolio-page-section .container,
.portfolio-page-section .section-inner,
.portfolio-page-section .portfolio-wrap {
  max-width: 1480px;
}

/* Future layout: three projects across on large screens. */
.portfolio-grid,
[data-portfolio-page] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  align-items: start;
}

/* Normal future project proportions. */
.portfolio-card-live .portfolio-media,
.portfolio-card .portfolio-media {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

/* While there is only one published project, make it a featured project. */
.portfolio-grid > .portfolio-card:only-child,
.portfolio-future-content .portfolio-card:only-child {
  grid-column: span 2;
  max-width: 980px;
}

/* Make the active tour substantially larger. */
.portfolio-card-live:only-child .portfolio-media,
.portfolio-future-content .portfolio-card:only-child .portfolio-media {
  aspect-ratio: 16 / 9;
  min-height: 500px;
}

.portfolio-card-live .portfolio-media iframe,
.portfolio-card .portfolio-media iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  display: block;
}

/* Tablet */
@media (max-width: 1100px) {
  .portfolio-grid,
  [data-portfolio-page] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid > .portfolio-card:only-child,
  .portfolio-future-content .portfolio-card:only-child {
    grid-column: 1 / -1;
    max-width: 900px;
  }

  .portfolio-card-live:only-child .portfolio-media,
  .portfolio-future-content .portfolio-card:only-child .portfolio-media {
    min-height: 460px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .portfolio-grid,
  [data-portfolio-page] {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-grid > .portfolio-card:only-child,
  .portfolio-future-content .portfolio-card:only-child {
    grid-column: auto;
    max-width: none;
  }

  .portfolio-card-live:only-child .portfolio-media,
  .portfolio-future-content .portfolio-card:only-child .portfolio-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}


/* =========================================================
   ADRIASPACE PREMIUM DESIGN SYSTEM — v40
   ========================================================= */
:root {
  --navy: #0D2E4F;
  --navy-soft: #12385F;
  --accent: #2F6F8F;
  --accent-soft: #DCEAF1;
  --surface: #F7F9FB;
  --surface-2: #EDF2F6;
  --white: #FFFFFF;
  --ink: #1F2A37;
  --muted: #687786;
  --line: rgba(13, 46, 79, 0.12);
  --line-strong: rgba(13, 46, 79, 0.20);
  --shadow-soft: 0 12px 36px rgba(13, 46, 79, 0.08);
  --shadow-card: 0 22px 60px rgba(13, 46, 79, 0.11);
  --shadow-float: 0 28px 80px rgba(13, 46, 79, 0.18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --max-width: 1240px;
}

html {
  scroll-padding-top: 104px;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.006em;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
}

h1, h2, h3 {
  color: var(--navy);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 7vw, 6.6rem);
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.2vw, 4.35rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 650;
}

.eyebrow {
  align-items: center;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 1px;
  width: 30px;
}

/* Header */
.site-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(13,46,79,0.08);
  min-height: 86px;
  padding: 14px max(24px, calc((100vw - var(--max-width)) / 2));
  box-shadow: 0 8px 30px rgba(13,46,79,0.035);
}

.brand {
  gap: 13px;
}

.brand-mark {
  background: var(--navy);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(13,46,79,0.17);
  height: 46px;
  width: 46px;
}

.brand strong {
  color: var(--navy);
  font-size: 1.02rem;
  letter-spacing: 0.13em;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.site-nav {
  margin-left: auto;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.91rem;
  font-weight: 650;
  padding: 9px 4px;
  position: relative;
}

.site-nav a::after {
  background: var(--accent);
  bottom: 2px;
  content: "";
  height: 1px;
  left: 4px;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
  width: calc(100% - 8px);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 2px;
  padding: 4px;
}

.language-switch a,
.language-switch button {
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  min-width: 34px;
  padding: 7px 8px;
  transition: .2s ease;
}

.language-switch a:hover,
.language-switch button:hover,
.language-switch .is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 3px 12px rgba(13,46,79,.09);
}

/* Hero */
.hero {
  background:
    linear-gradient(90deg, rgba(7,29,49,.94) 0%, rgba(7,29,49,.83) 42%, rgba(7,29,49,.38) 72%, rgba(7,29,49,.12) 100%),
    var(--hero-image) center/cover no-repeat;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  min-height: min(790px, calc(100vh - 40px));
  overflow: hidden;
  padding: clamp(90px, 12vw, 160px) 0 clamp(72px, 10vw, 130px);
  position: relative;
}

.hero::after {
  background: linear-gradient(180deg, transparent 70%, rgba(7,29,49,.24));
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  align-items: end;
  gap: clamp(40px, 8vw, 110px);
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .7fr);
}

.hero h1,
.hero .eyebrow,
.hero-text {
  color: var(--white);
}

.hero-copy {
  max-width: 830px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 26px;
  text-wrap: balance;
}

.hero-text {
  color: rgba(255,255,255,.82);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  max-width: 700px;
}

.hero-panel {
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 80px rgba(0,0,0,.12);
  padding: 30px;
}

.hero-panel > p {
  color: rgba(255,255,255,.62);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.stat-row {
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.72);
  gap: 16px;
  padding: 17px 0;
}

.stat-row strong {
  color: var(--white);
  font-weight: 650;
}

.button {
  border-radius: 999px;
  font-size: .91rem;
  font-weight: 750;
  min-height: 52px;
  padding: 14px 24px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
}

.section:not(.section-dark) .button-primary,
.section-contact .button-primary,
.portfolio-page-section .button-primary {
  background: var(--navy);
  color: var(--white);
}

.section {
  padding: clamp(88px, 10vw, 150px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 700px;
}

.section-stone {
  background: var(--surface);
}

.section-navy {
  background: var(--navy);
}

.section-navy h2,
.section-dark h2,
.section-navy h3,
.section-dark h3 {
  color: var(--white);
}

/* Cards / grids */
.card-grid,
.services-grid,
.benefit-grid,
.comparison-grid {
  gap: 22px;
}

.service-card,
.featured-card,
.comparison-card,
.expansion-card,
.quote-panel,
.contact-form,
.direct-contact-button {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card,
.featured-card,
.comparison-card,
.expansion-card {
  background: var(--white);
  padding: clamp(28px, 3.2vw, 42px);
}

.service-card:hover,
.featured-card:hover,
.comparison-card:hover,
.expansion-card:hover {
  border-color: rgba(47,111,143,.28);
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.comparison-card-featured {
  background: var(--navy);
  border-color: var(--navy);
  color: rgba(255,255,255,.82);
}

.comparison-card-featured h3 {
  color: var(--white);
}

.included-layout,
.two-column {
  gap: clamp(40px, 7vw, 90px);
}

.included-list {
  gap: 14px;
}

.included-list li {
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px 18px;
}

.included-dot {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(47,111,143,.10);
}

/* Process */
.process-list {
  counter-reset: process;
  gap: 0;
}

.process-list > * {
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
}

/* FAQ */
.faq-grid {
  gap: 12px;
}

.faq-grid details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
}

.faq-grid summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
  padding: 22px 0;
}

/* Contact */
.section-contact {
  background: var(--surface);
}

.contact-grid {
  align-items: start;
  gap: clamp(40px, 7vw, 90px);
}

.contact-grid > div:first-child {
  position: sticky;
  top: 120px;
}

.contact-note {
  border-left: 2px solid var(--accent);
  margin: 30px 0;
  padding-left: 18px;
}

.direct-contact {
  margin-top: 34px;
}

.direct-contact-actions {
  display: grid;
  gap: 12px;
}

.direct-contact-button {
  align-items: center;
  background: rgba(255,255,255,.72);
  display: flex;
  gap: 16px;
  padding: 16px 18px;
}

.direct-contact-button:hover {
  background: var(--white);
  border-color: rgba(47,111,143,.35);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.direct-contact-icon {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.contact-form {
  background: var(--white);
  box-shadow: var(--shadow-card);
  gap: 20px;
  padding: clamp(28px, 4vw, 46px);
}

.contact-form label {
  color: var(--navy);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .02em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1rem;
  margin-top: 8px;
  outline: none;
  padding: 14px 15px;
  transition: .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(47,111,143,.10);
}

/* Footer */
.site-footer {
  background: #081f35;
  color: rgba(255,255,255,.68);
  padding: 58px 0;
}

.site-footer a {
  color: var(--white);
}

.footer-grid {
  align-items: end;
  gap: 34px;
}

.footer-business {
  color: rgba(255,255,255,.60);
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-link-separator {
  color: rgba(255,255,255,.34);
}

/* Portfolio */
.portfolio-page-section {
  background: var(--surface);
  min-height: 70vh;
  padding: clamp(76px, 8vw, 120px) 0 130px;
}

.portfolio-page-section .section-heading {
  max-width: 900px;
}

.portfolio-card-live {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 12px 12px 28px;
}

.portfolio-card-live .portfolio-media {
  border-radius: 20px;
  margin-bottom: 26px;
  overflow: hidden;
}

.portfolio-card-live h3,
.portfolio-card-live > p {
  margin-left: 16px;
  margin-right: 16px;
}

.portfolio-location {
  color: var(--muted);
  font-size: .93rem;
}

/* Legal pages */
.legal-main {
  background: var(--surface);
  min-height: 70vh;
  padding: 90px 0 120px;
}

.legal-document {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-inline: auto;
  max-width: 900px;
  padding: clamp(34px, 6vw, 72px);
}

.legal-document h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  margin-bottom: 28px;
}

.legal-document h2 {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -.02em;
  margin-top: 42px;
}

/* Cookie consent */
.cookie-banner {
  background: rgba(8,31,53,.97);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  bottom: 22px;
  box-shadow: var(--shadow-float);
  color: rgba(255,255,255,.78);
  left: 22px;
  max-width: 560px;
  padding: 24px;
  position: fixed;
  right: 22px;
  z-index: 9999;
}

.cookie-banner h2 {
  color: var(--white);
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}

.cookie-banner p {
  font-size: .9rem;
  margin: 0;
}

.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.cookie-button {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 750;
  min-height: 42px;
  padding: 10px 16px;
}

.cookie-button-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.cookie-button-secondary {
  background: transparent;
  color: var(--white);
}

.cookie-modal-backdrop {
  align-items: center;
  background: rgba(4,17,29,.62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 10000;
}

.cookie-modal {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-float);
  max-height: min(760px, calc(100vh - 40px));
  max-width: 620px;
  overflow: auto;
  padding: clamp(26px, 5vw, 42px);
  width: 100%;
}

.cookie-modal h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  margin: 0 0 12px;
}

.cookie-category {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr auto;
  padding: 20px 0;
}

.cookie-category p {
  color: var(--muted);
  font-size: .9rem;
  grid-column: 1 / -1;
  margin: 0;
}

.cookie-toggle {
  accent-color: var(--accent);
  height: 20px;
  width: 20px;
}

.cookie-preferences-link {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 680px;
  }

  .contact-grid > div:first-child {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .site-header {
    min-height: 72px;
    padding: 10px 16px;
  }

  .brand small {
    display: none;
  }

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

  .language-switch {
    gap: 0;
    padding: 3px;
  }

  .language-switch a,
  .language-switch button {
    font-size: .68rem;
    min-width: 31px;
    padding: 6px 5px;
  }

  .hero {
    border-radius: 0 0 24px 24px;
    padding: 84px 0 72px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .hero-panel {
    padding: 22px;
  }

  .section {
    padding: 80px 0;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 20px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* ===== Wider featured portfolio project ===== */
.portfolio-page-section .container {
  max-width: 1480px;
}

.portfolio-future-content .portfolio-card:only-child,
.portfolio-grid > .portfolio-card:only-child {
  grid-column: 1 / -1;
  width: min(100%, 1220px);
  max-width: 1220px;
}

.portfolio-future-content .portfolio-card:only-child .portfolio-media,
.portfolio-grid > .portfolio-card:only-child .portfolio-media {
  aspect-ratio: auto;
  min-height: 600px;
  height: 600px;
}

.portfolio-future-content .portfolio-card:only-child .portfolio-media iframe,
.portfolio-grid > .portfolio-card:only-child .portfolio-media iframe {
  height: 600px;
  width: 100%;
}

@media (max-width: 1100px) {
  .portfolio-future-content .portfolio-card:only-child,
  .portfolio-grid > .portfolio-card:only-child {
    width: 100%;
    max-width: none;
  }

  .portfolio-future-content .portfolio-card:only-child .portfolio-media,
  .portfolio-grid > .portfolio-card:only-child .portfolio-media,
  .portfolio-future-content .portfolio-card:only-child .portfolio-media iframe,
  .portfolio-grid > .portfolio-card:only-child .portfolio-media iframe {
    height: 460px;
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .portfolio-future-content .portfolio-card:only-child .portfolio-media,
  .portfolio-grid > .portfolio-card:only-child .portfolio-media,
  .portfolio-future-content .portfolio-card:only-child .portfolio-media iframe,
  .portfolio-grid > .portfolio-card:only-child .portfolio-media iframe {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}


/* =========================================================
   ADRIASPACE v44 — service card + premium contact fixes
   ========================================================= */

/* Fix the Luxury Villas card: older featured-card rules left white text
   after the redesign changed the background back to white. */
.services-grid .service-card.featured-card {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.services-grid .service-card.featured-card h3 {
  color: var(--navy);
}

.services-grid .service-card.featured-card p {
  color: var(--muted);
  opacity: 1;
}

/* Premium dark contact section */
.section-contact {
  background:
    radial-gradient(circle at 88% 12%, rgba(47,111,143,.32), transparent 34%),
    linear-gradient(135deg, #0D2E4F 0%, #12385F 58%, #0A2744 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.section-contact::before {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
  height: 420px;
  pointer-events: none;
  position: absolute;
  right: -170px;
  top: -210px;
  width: 420px;
}

.section-contact .contact-grid {
  position: relative;
  z-index: 1;
}

.section-contact h2,
.section-contact .eyebrow {
  color: var(--white);
}

.section-contact .eyebrow {
  color: #9CC5D8 !important;
}

.section-contact .contact-grid > div:first-child > p:not(.eyebrow),
.section-contact .contact-note span {
  color: rgba(255,255,255,.74);
}

.section-contact .contact-note {
  border-left-color: #72A8C1;
}

.section-contact .contact-note strong {
  color: var(--white);
}

.section-contact .direct-contact-title {
  color: rgba(255,255,255,.82);
}

.section-contact .direct-contact-button {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.section-contact .direct-contact-button small {
  color: rgba(255,255,255,.62);
}

.section-contact .direct-contact-button strong {
  color: var(--white);
}

.section-contact .direct-contact-button:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.26);
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}

.section-contact .direct-contact-icon {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
}

/* Keep the form bright and legible against the dark section */
.section-contact .contact-form {
  background: rgba(255,255,255,.985);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 28px 80px rgba(3,20,35,.26);
}

.section-contact .contact-form label {
  color: var(--navy);
}

.section-contact .contact-form input,
.section-contact .contact-form textarea,
.section-contact .contact-form select {
  background: #F5F8FA;
  border-color: rgba(13,46,79,.08);
  color: var(--ink);
}

.section-contact .contact-form input:focus,
.section-contact .contact-form textarea:focus,
.section-contact .contact-form select:focus {
  background: var(--white);
  border-color: var(--accent);
}

.section-contact .contact-form .button-primary {
  background: var(--navy);
  color: var(--white);
}

@media (max-width: 720px) {
  .section-contact {
    background:
      radial-gradient(circle at 100% 0%, rgba(47,111,143,.28), transparent 26%),
      linear-gradient(155deg, #0D2E4F 0%, #12385F 100%);
  }

  .section-contact .contact-form {
    margin-top: 8px;
  }
}


/* =========================================================
   ADRIASPACE FINAL POLISH — v50
   ========================================================= */

/* Overall rhythm */
body {
  overflow-x: hidden;
}

main {
  position: relative;
}

.section {
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(13,46,79,.055);
}

.section-dark + .section,
.section-navy + .section,
.section-contact + .section {
  border-top: 0;
}

.section-heading h2 {
  text-wrap: balance;
}

.section-heading p {
  text-wrap: pretty;
}

/* Consistent cards */
.services-grid,
.benefit-grid,
.comparison-grid,
.card-grid {
  align-items: stretch;
}

.service-card,
.featured-card,
.comparison-card,
.expansion-card {
  height: 100%;
}

.service-card h3,
.featured-card h3,
.comparison-card h3,
.expansion-card h3 {
  text-wrap: balance;
}

.service-card p,
.featured-card p,
.comparison-card p,
.expansion-card p {
  color: var(--muted);
}

/* Prevent legacy featured-card white text on light service cards */
.services-grid .featured-card,
.services-grid .featured-card h3,
.services-grid .featured-card p {
  opacity: 1;
}

.services-grid .featured-card h3 {
  color: var(--navy);
}

.services-grid .featured-card p {
  color: var(--muted);
}

/* Subtle editorial section accents */
.section-stone::before {
  background: linear-gradient(90deg, transparent, rgba(47,111,143,.14), transparent);
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(72%, 920px);
}

.section-navy {
  overflow: hidden;
}

.section-navy::after {
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
  content: "";
  height: 520px;
  pointer-events: none;
  position: absolute;
  right: -220px;
  top: -270px;
  width: 520px;
}

/* Buttons and keyboard accessibility */
.button,
.direct-contact-button,
.site-nav a,
.language-switch a,
.cookie-button,
.cookie-preferences-link {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(47,111,143,.42);
  outline-offset: 4px;
}

.button-primary:hover {
  box-shadow: 0 16px 38px rgba(13,46,79,.18);
}

.section-dark .button-primary:hover,
.hero .button-primary:hover {
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
}

/* Header refinement */
.site-header {
  transition: box-shadow .25s ease, background .25s ease;
}

.site-nav {
  gap: clamp(15px, 2vw, 27px);
}

.site-nav a {
  white-space: nowrap;
}

/* Hero finishing */
.hero-copy .hero-actions {
  margin-top: 34px;
}

.hero-panel {
  transform: translateY(8px);
}

.hero-panel .stat-row:last-child {
  border-bottom: 0;
}

.hero::before {
  background: radial-gradient(circle at 74% 24%, rgba(106,174,205,.16), transparent 26%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

/* Comparison section */
.comparison-grid {
  align-items: stretch;
}

.comparison-card {
  display: flex;
  flex-direction: column;
}

.comparison-note {
  border-left: 2px solid var(--accent);
  color: var(--muted);
  margin-top: 32px;
  padding-left: 18px;
}

/* Included list */
.included-list li {
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.included-list li:hover {
  background: var(--white);
  border-color: rgba(47,111,143,.24);
  transform: translateX(3px);
}

/* Process */
.process-list > * {
  transition: padding-left .22s ease;
}

.process-list > *:hover {
  padding-left: 8px;
}

/* FAQ */
.faq-grid details {
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-grid details[open] {
  border-color: rgba(47,111,143,.24);
  box-shadow: 0 12px 32px rgba(13,46,79,.06);
}

.faq-grid summary::marker {
  color: var(--accent);
}

/* Contact final */
.section-contact .contact-grid > div:first-child {
  align-self: start;
}

.section-contact .contact-form {
  border-radius: 24px;
}

.section-contact .contact-form textarea {
  min-height: 164px;
  resize: vertical;
}

.section-contact .contact-form input::placeholder,
.section-contact .contact-form textarea::placeholder {
  color: #7B8792;
  opacity: 1;
}

.section-contact .direct-contact-actions {
  max-width: 520px;
}

.section-contact .direct-contact-button {
  min-height: 72px;
}

/* Portfolio final */
.portfolio-page-section {
  background:
    radial-gradient(circle at 88% 6%, rgba(47,111,143,.07), transparent 25%),
    var(--surface);
}

.portfolio-page-section .section-heading {
  margin-bottom: 52px;
}

.portfolio-page-section .section-heading h1,
.portfolio-page-section .section-heading h2 {
  max-width: 980px;
}

.portfolio-page-section .portfolio-card-live {
  width: min(100%, 1220px);
}

.portfolio-card-live {
  transition: transform .25s ease, box-shadow .25s ease;
}

.portfolio-card-live:hover {
  box-shadow: 0 30px 80px rgba(13,46,79,.14);
  transform: translateY(-3px);
}

.portfolio-card-live .portfolio-media {
  background: #091f34;
}

.portfolio-card-live .portfolio-media iframe {
  min-height: 600px;
}

.portfolio-card-live h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  margin-bottom: 8px;
}

.portfolio-card-live > p {
  margin-bottom: 4px;
}

.portfolio-location {
  align-items: center;
  display: flex;
  gap: 7px;
}

.portfolio-location::before {
  content: "•";
  color: var(--accent);
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-links a,
.cookie-preferences-link {
  transition: opacity .2s ease;
}

.footer-links a:hover,
.cookie-preferences-link:hover {
  opacity: .72;
}

/* Cookie UI polish */
.cookie-banner {
  max-width: 590px;
}

.cookie-modal {
  border: 1px solid rgba(13,46,79,.08);
}

.cookie-category strong {
  color: var(--navy);
}

.cookie-toggle {
  cursor: pointer;
}

/* Long-language resilience */
html[lang="de"] .service-card h3,
html[lang="de"] .comparison-card h3,
html[lang="de"] .direct-contact-title {
  hyphens: auto;
}

html[lang="it"] .service-card h3,
html[lang="sl"] .service-card h3,
html[lang="hr"] .service-card h3 {
  text-wrap: balance;
}

/* 1440–1920 desktop */
@media (min-width: 1440px) {
  :root {
    --max-width: 1320px;
  }

  .hero-grid {
    gap: 120px;
  }

  .section {
    padding-block: 138px;
  }

  .portfolio-page-section .container {
    max-width: 1480px;
  }
}

/* Compact desktop/tablet */
@media (max-width: 1180px) {
  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: .84rem;
  }

  .hero-grid {
    gap: 50px;
  }
}

/* Mobile final pass */
@media (max-width: 720px) {
  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: 15.5px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 78px;
  }

  .hero h1 {
    margin-bottom: 20px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-panel {
    margin-top: 6px;
    transform: none;
  }

  .service-card,
  .featured-card,
  .comparison-card,
  .expansion-card {
    padding: 25px 22px;
  }

  .included-list li {
    padding: 15px 16px;
  }

  .section-contact .contact-grid {
    gap: 34px;
  }

  .section-contact .direct-contact-button {
    min-height: 64px;
  }

  .section-contact .contact-form {
    border-radius: 20px;
  }

  .portfolio-page-section {
    padding-top: 68px;
  }

  .portfolio-page-section .section-heading {
    margin-bottom: 34px;
  }

  .portfolio-card-live {
    border-radius: 20px;
    padding: 8px 8px 24px;
  }

  .portfolio-card-live .portfolio-media {
    border-radius: 14px;
    margin-bottom: 20px;
  }

  .portfolio-card-live .portfolio-media iframe {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
  }

  .portfolio-card-live h3,
  .portfolio-card-live > p {
    margin-left: 12px;
    margin-right: 12px;
  }

  .cookie-modal {
    border-radius: 20px;
    padding: 26px 20px;
  }
}

/* Narrow phones */
@media (max-width: 430px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand strong {
    font-size: .92rem;
  }

  .language-switch a,
  .language-switch button {
    min-width: 29px;
    padding-inline: 4px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 16px;
  }
}

/* Very narrow phones */
@media (max-width: 360px) {
  .brand strong {
    letter-spacing: .08em;
  }

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

  .language-switch {
    transform: scale(.94);
    transform-origin: right center;
  }
}
