:root {
  color-scheme: light;
  --ink: #072b63;
  --ink-muted: #3f5f8d;
  --sand: #f4f9ff;
  --mist: #e0ecff;
  --accent: #0f63db;
  --accent-dark: #0a4398;
  --blue: #0d4fb8;
  --gold: #f2c200;
  --white: #ffffff;
  --bg-orb-yellow: #f2c200;
  --bg-orb-blue: #0f63db;
  --bg-gradient-start: #ffffff;
  --bg-gradient-end: #edf4ff;
  --shadow: 0 24px 60px rgba(7, 43, 99, 0.14);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top right,
      color-mix(in srgb, var(--bg-orb-yellow) 24%, transparent) 0%,
      transparent 48%
    ),
    radial-gradient(
      circle at 15% 20%,
      color-mix(in srgb, var(--bg-orb-blue) 14%, transparent) 0%,
      transparent 56%
    ),
    linear-gradient(165deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  min-height: 100vh;
}

body.cookie-modal-open {
  overflow: hidden;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 20px;
  z-index: 10;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 67, 152, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.brand {
  display: grid;
  grid-template-columns: auto;
  grid-template-areas:
    "mark"
    "name"
    "tag";
  row-gap: 2px;
  align-items: start;
  justify-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  grid-area: mark;
  width: 235px;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  overflow: hidden;
  padding: 0;
  margin-top: 0;
}

.brand-mark a {
  display: block;
  width: 100%;
  line-height: 0;
}

.brand-mark img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transform: none;
  display: block;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
}

.brand .brand-name {
  grid-area: name;
  font-size: 15px;
  text-align: center;
  line-height: 1.1;
}

.brand-tag {
  font-size: 12px;
  color: var(--ink-muted);
}

.brand .brand-tag {
  grid-area: tag;
  max-width: 190px;
  text-align: center;
  line-height: 1.25;
}

.nav {
  display: flex;
  gap: 10px;
  font-size: 13px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 6px 6px;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.site-header .header-actions .button {
  white-space: nowrap;
  padding: 11px 18px;
}

.lang-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 67, 152, 0.16);
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.lang-select-wrap {
  display: none;
}

.lang-select-mobile {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(15, 99, 219, 0.35);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(15, 99, 219, 0.42);
}

.button.ghost {
  border: 1px solid rgba(10, 67, 152, 0.22);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 78vh;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-top: 32px;
  background: url('../images/porto.jpg') center 35% / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 43, 99, 0.82) 0%,
    rgba(7, 43, 99, 0.45) 50%,
    rgba(7, 43, 99, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 720px;
  padding: 56px 52px;
}

.hero-content h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  margin: 12px 0 16px;
  color: #fff;
  line-height: 1.18;
}

.hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 18px;
}

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: inline-block;
  backdrop-filter: blur(4px);
}

.button.ghost-white {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.button.ghost-white:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-badges span {
  background: var(--mist);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

@keyframes pillar-flow-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  margin-top: 80px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  max-width: 680px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.icon-card {
  position: relative;
  padding-top: 18px;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(130deg, rgba(15, 99, 219, 0.18), rgba(242, 194, 0, 0.28));
  border: 1px solid rgba(10, 67, 152, 0.16);
  margin-bottom: 10px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card-header .card-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.card-header h3 {
  margin: 0;
}

.card h3 {
  margin-top: 0;
  font-weight: 700;
}

.card p {
  color: var(--ink-muted);
  line-height: 1.6;
}

.service ul {
  list-style: none;
  padding-left: 0;
  color: var(--ink-muted);
  line-height: 1.7;
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.service ul li {
  position: relative;
  padding: 7px 10px 7px 34px;
  border-radius: 12px;
  border: 1px solid rgba(10, 67, 152, 0.14);
  background: rgba(224, 236, 255, 0.33);
}

.service ul li::before,
.expectations li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 99, 219, 0.16);
}

.service ul li::after,
.expectations li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(-45deg);
}

.service p {
  color: var(--ink-muted);
  line-height: 1.7;
  margin-top: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat {
  padding: 22px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-dark);
}

.stat-value-pillars {
  font-size: 16px;
  line-height: 1.35;
}

.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 8px;
}

.timeline {
  display: grid;
  gap: 20px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  background: rgba(255, 255, 255, 0.8);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.step-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.promise-card {
  background: linear-gradient(120deg, rgba(7, 43, 99, 0.96), rgba(13, 79, 184, 0.9));
  color: var(--white);
  padding: 40px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.promise-card h2 {
  margin-top: 0;
  font-weight: 700;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
}

.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.promise-list span {
  background: rgba(255, 255, 255, 0.14);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
}

.highlight {
  margin-top: 32px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}

.highlight h3 {
  margin-top: 0;
  font-weight: 700;
}

.place {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.place img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.place-body {
  padding: 20px 22px 24px;
}

.place .tag {
  display: inline-flex;
  margin-top: 16px;
  padding: 6px 12px;
  background: var(--mist);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-muted);
}

.news .news-date {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--accent-dark);
  margin: 0 0 8px;
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.faq details {
  background: rgba(255, 255, 255, 0.85);
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin-bottom: 0;
  color: var(--ink-muted);
  line-height: 1.7;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-muted);
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(10, 67, 152, 0.18);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
}

.contact-form button {
  border: none;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.8;
  cursor: wait;
}

.contact-form-note {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-note.is-success {
  color: var(--accent-dark);
}

.contact-form-note.is-error {
  color: #b42318;
}

.contact-form .fine {
  margin-bottom: 0;
}

.contact-panel h3 {
  margin-top: 0;
  font-weight: 700;
}

.contact-social {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.contact-social-group {
  display: grid;
  gap: 8px;
}

.contact-social h4 {
  margin: 0;
  font-size: 14px;
  color: var(--accent-dark);
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-social-link {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(10, 67, 152, 0.14);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-social-link:hover {
  border-color: rgba(15, 99, 219, 0.45);
  transform: translateY(-1px);
}

.contact-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--accent-dark);
  flex: 0 0 32px;
}

.contact-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-social-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.contact-social-link.is-disabled {
  opacity: 0.65;
  pointer-events: none;
}

.social-icons-only .contact-social-link {
  grid-template-columns: auto;
  padding: 8px;
}

.social-icons-only .contact-social-text {
  display: none;
}

.expectations-title {
  margin: 20px 0 10px;
  font-size: 1rem;
  font-weight: 700;
}

.expectations {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--ink-muted);
  line-height: 1.7;
  display: grid;
  gap: 8px;
}

.expectations li {
  position: relative;
  padding: 7px 10px 7px 34px;
  border-radius: 12px;
  border: 1px solid rgba(10, 67, 152, 0.14);
  background: rgba(224, 236, 255, 0.26);
}

.consultation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.consultation-card {
  background: rgba(255, 255, 255, 0.86);
  padding: 28px;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.price {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-dark);
}

.price-note {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 18px;
}

.fine {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-muted);
}

.cta-card {
  background: linear-gradient(130deg, rgba(15, 99, 219, 0.2), rgba(242, 194, 0, 0.28));
  padding: 40px;
  border-radius: 26px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin-top: 0;
  font-weight: 700;
}

.site-footer {
  margin-top: 80px;
  display: grid;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.legal-page .site-header {
  position: static;
}

.legal {
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.legal h1 {
  margin-top: 0;
  font-weight: 700;
}

.legal h2 {
  margin-top: 28px;
  font-weight: 700;
}

.legal p,
.legal li {
  color: var(--ink-muted);
  line-height: 1.7;
}

.legal-meta {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.footer-cookie-button {
  border: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  padding: 16px;
  display: grid;
  place-items: center;
  background: rgba(7, 43, 99, 0.35);
  backdrop-filter: blur(2px);
}

.cookie-modal-card {
  width: min(560px, 100%);
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(10, 67, 152, 0.2);
  border-radius: 18px;
  box-shadow: 0 24px 52px rgba(7, 43, 99, 0.26);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.cookie-modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.cookie-modal-body {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}

.cookie-modal-link {
  font-size: 13px;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
}

.cookie-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-modal-btn {
  border: 1px solid rgba(10, 67, 152, 0.2);
  border-radius: 999px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  touch-action: manipulation;
}

.cookie-modal-btn.accept {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cookie-modal-btn.reject {
  background: rgba(255, 255, 255, 0.92);
}

.footer-note {
  font-size: 12px;
  color: var(--ink-muted);
}

.footer-legal {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

.admin-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: grid;
  gap: 20px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 24px;
}

.admin-login {
  max-width: 420px;
}

.admin-login form,
.admin-controls {
  display: grid;
  gap: 12px;
}

.admin-controls {
  grid-template-columns: 1fr 1fr auto auto auto;
  align-items: end;
}

.admin-login label,
.admin-controls label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-muted);
}

.admin-shell input,
.admin-shell select,
.admin-shell textarea {
  border-radius: 12px;
  border: 1px solid rgba(10, 67, 152, 0.2);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.admin-help {
  font-size: 13px;
  color: var(--ink-muted);
}

.admin-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
}

.admin-image-panel,
.admin-color-panel,
.admin-social-panel {
  border: 1px solid rgba(10, 67, 152, 0.16);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.96);
  margin-bottom: 14px;
}

.admin-image-panel h3,
.admin-color-panel h3,
.admin-social-panel h3 {
  margin: 0 0 8px;
}

.admin-image-grid,
.admin-color-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 10px;
}

.admin-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.admin-social-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
}

.admin-image-item,
.admin-color-item {
  border: 1px solid rgba(10, 67, 152, 0.15);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.98);
  overflow: hidden;
}

.admin-image-label,
.admin-color-label {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

.admin-image-preview {
  width: 100%;
  height: 78px;
  border-radius: 8px;
  border: 1px solid rgba(10, 67, 152, 0.2);
  object-fit: cover;
  background: #f2f6ff;
}

.admin-shell input.admin-image-upload {
  padding: 8px;
}

.admin-image-actions,
.admin-color-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-social-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-color-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-shell input.admin-color-picker {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 44px;
  min-width: 44px;
  width: 44px;
  max-width: 44px;
  display: block;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(10, 67, 152, 0.2);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.admin-shell input.admin-color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.admin-shell input.admin-color-picker::-webkit-color-swatch {
  border: 0;
  border-radius: 7px;
}

.admin-shell input.admin-color-picker::-moz-color-swatch {
  border: 0;
  border-radius: 7px;
}

.admin-shell input.admin-color-value {
  flex: 1;
  min-width: 0;
}

.admin-color-reset {
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.admin-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-section {
  border: 1px solid rgba(10, 67, 152, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.admin-section-title {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--accent-dark);
}

.admin-section-items {
  display: grid;
  gap: 10px;
}

.admin-item {
  border: 1px solid rgba(10, 67, 152, 0.15);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.96);
}

.admin-item-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.admin-item-meta {
  display: grid;
  gap: 4px;
}

.admin-item code {
  font-size: 12px;
  color: var(--accent-dark);
}

.admin-item-english {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.admin-ai-button {
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.admin-floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.admin-floating-language {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(10, 67, 152, 0.2);
  background: rgba(255, 255, 255, 0.97);
}

.admin-floating-language span {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-floating-language select {
  min-width: 92px;
  padding: 6px 8px;
  font-size: 13px;
}

.admin-floating-save {
  box-shadow: 0 12px 28px rgba(15, 99, 219, 0.35);
}

.admin-item textarea {
  min-height: 64px;
  resize: vertical;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-ui-language {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(10, 67, 152, 0.2);
  background: rgba(255, 255, 255, 0.97);
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-ui-language select {
  min-width: 136px;
  padding: 6px 8px;
  font-size: 13px;
}

.admin-link {
  text-decoration: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    position: static;
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 88px;
    height: auto;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 24px 16px 40px;
  }

  .site-header {
    position: relative;
    gap: 14px;
    padding-top: 48px;
  }

  .site-header .button {
    width: 100%;
  }

  .site-header .header-actions .button {
    white-space: normal;
  }

  .lang-switch {
    display: none;
  }

  .lang-select-mobile {
    display: block;
    position: absolute;
    top: 10px;
    right: 12px;
    min-width: 76px;
    padding: 6px 28px 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(10, 67, 152, 0.22);
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
  }

  .brand-mark {
    width: 144px;
    height: auto;
  }

  .brand {
    column-gap: 10px;
  }

  .brand .brand-name {
    font-size: 13px;
  }

  .brand .brand-tag {
    font-size: 11px;
    max-width: 180px;
  }

  .cookie-modal-overlay {
    padding: 12px;
  }

  .cookie-modal-card {
    padding: 16px;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal-btn {
    width: 100%;
  }

  .hero {
    margin-top: 24px;
    min-height: 65vh;
    border-radius: 18px;
  }

  .hero-content {
    padding: 36px 28px;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .stats {
    text-align: left;
  }

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

  .highlight {
    flex-direction: column;
    align-items: flex-start;
  }

  .place img {
    height: 160px;
  }

  .consultation-card {
    text-align: left;
  }

  .cta-card,
  .promise-card {
    padding: 28px;
  }

  .legal {
    padding: 28px;
  }

  .admin-shell {
    padding: 24px 16px 40px;
  }

  .admin-controls {
    grid-template-columns: 1fr;
  }

  .admin-image-actions,
  .admin-color-actions,
  .admin-social-actions {
    flex-direction: column;
  }

  .admin-color-controls {
    flex-wrap: wrap;
  }

  .admin-color-reset {
    width: 100%;
  }

  .admin-item-head {
    flex-direction: column;
  }

  .admin-ai-button {
    width: 100%;
  }

  .admin-floating-actions {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-floating-language {
    width: 100%;
  }

  .admin-floating-save {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-pillar {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   FULL-WIDTH LAYOUT OVERRIDES
   (these override the original floating-card header + hero)
   ============================================================ */

/* Reset body padding — sections control their own spacing */
body {
  padding: 0;
}

/* Flat sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  height: 76px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(7, 43, 99, 0.1);
  border-radius: 0;
  border: none;
  backdrop-filter: none;
}

/* Page containers (constrained width) */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* ===== HERO: full-width banner image, text below ===== */

.hero {
  display: block;
  margin-top: 0;
  border-radius: 0;
  min-height: auto;
  background: none;
  position: static;
  overflow: visible;
}

.hero-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: block;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

.hero-below {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 40px 64px;
}

.hero-pin {
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.hero-below .eyebrow {
  color: var(--ink-muted);
  margin-bottom: 14px;
  display: block;
}

.hero-below h1 {
  font-weight: 700;
  font-size: clamp(2.4rem, 3.6vw, 3.6rem);
  margin: 0 0 18px;
  color: var(--ink);
  line-height: 1.18;
}

.hero-below p {
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 660px;
  margin: 0 0 28px;
}

.hero-below .hero-actions {
  margin-top: 0;
  margin-bottom: 18px;
}

.hero-below .hero-note {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-muted);
}

/* ===== STATS BAR: full-width strip ===== */

.stats-bar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 24px rgba(7, 43, 99, 0.08);
  border-top: 1px solid rgba(10, 67, 152, 0.08);
  border-bottom: 1px solid rgba(10, 67, 152, 0.08);
  padding: 36px 40px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

/* ===== SPLIT SECTIONS: full-width alternating layout ===== */

.split-section {
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.split-dark {
  background: var(--ink);
}

.split-light {
  background: #eef4fb;
}

.split-white {
  background: #fff;
  border-top: 1px solid rgba(10, 67, 152, 0.08);
  border-bottom: 1px solid rgba(10, 67, 152, 0.08);
}

.split-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: stretch;
  position: relative;
}

/* Reverse column order for "Why Portugal" section */
.split-inner-reverse {
  direction: rtl;
}

.split-inner-reverse > * {
  direction: ltr;
}

/* Image column */
.split-media {
  position: relative;
  overflow: hidden;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  min-height: 480px;
}

/* Image extends upward into the dark background (overlap effect) */
.split-media-overlap {
  margin-top: -40px;
  margin-bottom: 0;
}

/* Image column in the light section */
.split-media-right {
  position: relative;
}

/* Text/card column — dark section: white card */
.split-card-white {
  background: #fff;
  margin: 48px 56px 48px 0;
  box-shadow: var(--shadow);
}

/* Text/card column — white section: no background contrast needed */
.split-card-plain {
  background: #fff;
  margin: 48px 56px 48px 0;
}

.split-card-plain h2 {
  color: var(--ink);
}

.split-card-plain > p {
  color: var(--ink-muted);
}

/* Consultation price block inside split card */
.consult-price-block {
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--sand);
  border: 1px solid rgba(10, 67, 152, 0.12);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.consult-price-block .price {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-dark);
}

.consult-price-block .price-note {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.consult-price-block .fine {
  margin-top: 4px;
}

/* Tram image (portrait) on the right — fill the text card height */
#why .split-media {
  overflow: hidden;
}

#why .split-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 20%;
}

#consultation .split-inner {
  min-height: unset;
  max-height: 813px;
}

#why-portugal .split-inner,
#why .split-inner,
#consultation .split-inner {
  max-width: 100%;
}

#consultation .split-card-plain-left {
  margin-top: 8px;
}

#consultation .split-media {
  overflow: hidden;
  min-height: 400px;
}

#consultation .split-media img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* White card on the left (used inside split-inner-reverse) */
.split-card-plain-left {
  background: #fff;
  margin: 48px 0 48px 56px;
}

.split-card-plain-left h2 {
  color: var(--ink);
}

.split-card-plain-left > p {
  color: var(--ink-muted);
}

/* Text/card column — light section: dark navy card */
.split-card-dark {
  background: var(--ink);
  margin: 48px 0 48px 56px;
}

.split-body {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.split-body h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 16px;
}

.split-card-white h2 {
  color: var(--ink);
}

.split-card-dark h2 {
  color: #fff;
}

.split-body > p {
  line-height: 1.7;
  margin: 0 0 10px;
}

.split-card-white > p {
  color: var(--ink-muted);
}

.split-card-dark > p {
  color: rgba(255, 255, 255, 0.85);
}

/* Bullet list inside split sections */
.split-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 28px;
  display: grid;
  gap: 8px;
}

.split-list li {
  position: relative;
  padding: 8px 12px 8px 36px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.split-list-dark li {
  background: rgba(224, 236, 255, 0.35);
  border: 1px solid rgba(10, 67, 152, 0.18);
  color: var(--ink);
}

.split-list-light li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

.split-list li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 99, 219, 0.18);
}

.split-list li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 5px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-68%) rotate(-45deg);
}

.split-list-light li::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 194, 0, 0.22);
}

/* Decorative gold circle on the light split section */
.split-decor {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.88;
  top: -60px;
  right: -60px;
  z-index: 2;
  pointer-events: none;
}

/* ===== RESPONSIVE OVERRIDES ===== */

@media (max-width: 1024px) {
  .split-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  #consultation .split-inner {
    max-height: none;
  }

  #consultation .split-media {
    order: -1;
  }

  .split-inner-reverse {
    direction: ltr;
  }

  .split-media-overlap {
    margin-top: 0;
  }

  .split-media img {
    min-height: 300px;
    height: 340px;
  }

  .split-card-white,
  .split-card-dark {
    margin: 0;
  }

  .split-body {
    padding: 48px 40px;
  }

  .split-decor {
    width: 140px;
    height: 140px;
    top: -40px;
    right: -30px;
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 24px;
    position: static;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image {
    height: 340px;
  }

  .hero-below {
    padding: 36px 24px 48px;
  }

  .stats-bar {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
    gap: 14px;
    padding-top: 48px;
  }

  .hero-image {
    height: 260px;
  }

  .hero-below {
    padding: 28px 16px 40px;
  }

  .hero-below .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-below .hero-actions .button {
    width: 100%;
  }

  .stats-bar {
    padding: 24px 16px;
  }

  .split-body {
    padding: 36px 24px;
  }

  .page {
    padding: 0 16px 40px;
  }
}
