:root {
  --navy: #071a33;
  --deep-blue: #0d2d57;
  --blue: #1f66d1;
  --blue-soft: #6aa8ff;
  --ice: #eaf4ff;
  --ice-2: #f6fbff;
  --white: #ffffff;
  --text: #14314f;
  --muted: #657b94;
  --line: rgba(31, 102, 209, 0.14);
  --shadow: 0 24px 60px rgba(7, 26, 51, 0.14);
  --shadow-soft: 0 14px 32px rgba(7, 26, 51, 0.09);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(106, 168, 255, 0.28), transparent 30%),
    radial-gradient(circle at 88% 16%, rgba(31, 102, 209, 0.14), transparent 26%),
    linear-gradient(180deg, var(--ice-2), var(--white) 42%, var(--ice));
  overflow-x: hidden;
}

/* Header + icerik + footer: kisa sayfalarda footer ekranin en altinda */
.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  z-index: 1;
}
.site-shell > main {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}
.site-shell > .footer {
  flex-shrink: 0;
  margin-top: auto;
}

a { color: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }

.ambient {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.ambient-one { top: 110px; left: -130px; background: var(--blue-soft); animation: float-one 14s ease-in-out infinite; }
.ambient-two { right: -120px; bottom: 60px; background: var(--blue); animation: float-two 16s ease-in-out infinite; }
@keyframes float-one { 50% { transform: translateY(-26px) translateX(18px); } }
@keyframes float-two { 50% { transform: translateY(28px) translateX(-14px); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand strong { color: var(--blue); }
.brand-logo {
  width: 148px;
  height: 66px;
  display: block;
  object-fit: contain;
  transform: translateY(1px);
  filter:
    drop-shadow(0 12px 20px rgba(31, 102, 209, 0.18))
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.46));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.025);
  filter:
    drop-shadow(0 18px 26px rgba(31, 102, 209, 0.22))
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.5));
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(106, 168, 255, 0.24), transparent 28%),
    linear-gradient(180deg, #ffffff, #eaf4ff);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  display: grid;
  place-items: center;
  gap: 20px;
  padding: 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.loader-logo {
  width: min(310px, 70vw);
  height: auto;
  filter:
    drop-shadow(0 24px 44px rgba(31, 102, 209, 0.25))
    drop-shadow(0 4px 0 rgba(255, 255, 255, 0.5));
  animation: loader-pulse 1.25s ease-in-out infinite;
}

.loader-line {
  width: 170px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 102, 209, 0.12);
}

.loader-line::before {
  content: "";
  display: block;
  width: 46%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  animation: loader-line 1s ease-in-out infinite;
}

@keyframes loader-pulse {
  50% { transform: scale(1.04); filter: drop-shadow(0 18px 28px rgba(31, 102, 209, 0.24)); }
}

@keyframes loader-line {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(230%); }
}
.chef-hat {
  position: relative;
  width: 42px;
  height: 34px;
  display: inline-block;
  flex: 0 0 42px;
}
.chef-hat::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 3px;
  height: 19px;
  border-radius: 9px 9px 7px 7px;
  background: linear-gradient(145deg, var(--blue), var(--blue-soft));
  box-shadow: 0 12px 24px rgba(31, 102, 209, 0.26);
}
.chef-hat::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 36px;
  height: 23px;
  border-radius: 18px 18px 12px 12px;
  background:
    radial-gradient(circle at 20% 48%, var(--blue-soft) 0 9px, transparent 10px),
    radial-gradient(circle at 50% 32%, var(--blue) 0 12px, transparent 13px),
    radial-gradient(circle at 80% 48%, var(--blue-soft) 0 9px, transparent 10px);
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(145deg, var(--deep-blue), var(--blue));
  box-shadow: 0 12px 24px rgba(31, 102, 209, 0.28);
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 22px);
  padding: 0;
  margin: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: 0.22s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-bottom-color: var(--blue-soft); }

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 15px;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 243, 255, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.nav-toggle-label span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 750;
  transition: 0.28s ease;
  white-space: nowrap;
}
.nav-cta {
  padding: 11px 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep-blue), var(--blue));
  box-shadow: 0 12px 26px rgba(31, 102, 209, 0.22);
}
.btn { padding: 13px 20px; }
.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--deep-blue), var(--blue), var(--blue-soft));
  box-shadow: 0 16px 34px rgba(31, 102, 209, 0.28);
}
.btn.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
}
.btn:hover, .nav-cta:hover { transform: translateY(-2px); }

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(7, 26, 51, 0.88), rgba(13, 45, 87, 0.7) 48%, rgba(31, 102, 209, 0.28)),
    url("https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.14) 50%, transparent 72%);
  animation: sweep 8s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes sweep { 0%, 100% { transform: translateX(-32%); } 50% { transform: translateX(32%); } }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 42px;
  color: var(--white);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow.blue {
  color: var(--blue);
  background: rgba(31, 102, 209, 0.09);
  border-color: rgba(31, 102, 209, 0.16);
}
.hero h1 {
  margin: 20px 0 16px;
  max-width: 780px;
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}
.hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-weight: 750;
  font-size: 0.9rem;
}
.hero-panel { position: relative; min-height: 380px; perspective: 1000px; }
.glass-card {
  position: absolute;
  right: 0;
  top: 28px;
  width: min(360px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  transform: rotateY(-10deg) rotateX(5deg);
}
.glass-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--blue-soft));
  font-size: 1.45rem;
}
.glass-card h2 { margin: 24px 0 10px; font-size: 1.75rem; }
.glass-card p { color: rgba(255, 255, 255, 0.82); }
.floating-stat {
  position: absolute;
  left: 0;
  bottom: 34px;
  width: 180px;
  padding: 20px;
  border-radius: 24px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}
.floating-stat strong { display: block; font-size: 2.2rem; color: var(--blue); }

.section { position: relative; z-index: 1; padding: 88px 0; }
.section.soft { background: rgba(234, 244, 255, 0.66); }
.section-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.section-text {
  margin: 18px 0 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.78;
}
.intro-grid, .services-grid, .references-grid { display: grid; gap: 18px; }
.intro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .service-card, .reference-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.feature-card::before, .service-card::before, .reference-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(106, 168, 255, 0.2), transparent 32%);
  pointer-events: none;
}
.feature-card:hover, .service-card:hover, .reference-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 102, 209, 0.26);
  box-shadow: 0 24px 52px rgba(7, 26, 51, 0.14);
}
.feature-card i, .service-card i {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(145deg, var(--deep-blue), var(--blue-soft));
  box-shadow: 0 14px 28px rgba(31, 102, 209, 0.24);
  font-size: 1.3rem;
}
.feature-card h2, .service-card h2, .reference-card h2 {
  position: relative;
  margin: 20px 0 8px;
  color: var(--navy);
  font-size: 1.22rem;
}
.feature-card p, .service-card p, .reference-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.feature-card.feature-visual {
  padding: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 255, 0.88));
  box-shadow: 0 22px 48px rgba(7, 26, 51, 0.13);
}
.feature-photo {
  position: relative;
  height: 175px;
  overflow: hidden;
  background: var(--deep-blue);
}
.feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.35), transparent 22%),
    linear-gradient(180deg, transparent 38%, rgba(7, 26, 51, 0.62));
}
.feature-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.feature-card.feature-visual:hover .feature-photo img {
  transform: scale(1.08);
}
.feature-body {
  position: relative;
  z-index: 2;
  margin: -34px 16px 16px;
  padding: 22px;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 243, 255, 0.88));
  box-shadow: 0 18px 38px rgba(7, 26, 51, 0.13);
  backdrop-filter: blur(14px);
}
.feature-body i {
  margin-top: -48px;
  border: 5px solid rgba(255, 255, 255, 0.96);
}
.feature-body h2 {
  margin-top: 16px;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.feature-body p {
  color: #36536f;
  font-weight: 600;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 36px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(234, 244, 255, 0.72));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.metric-grid div {
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.metric-grid strong { display: block; color: var(--blue); font-size: 2rem; }
.metric-grid span { color: var(--muted); font-weight: 700; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.footer {
  position: relative;
  z-index: 1;
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, var(--navy), var(--deep-blue));
}
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer strong { color: var(--white); }
.footer p { margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); font-weight: 700; }
.reveal { animation: reveal 0.75s ease both; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1080px) {
  .nav {
    min-height: 68px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .nav-toggle-label {
    display: inline-flex;
    margin-left: auto;
  }
  .nav-links {
    order: 10;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
    margin-top: 8px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: visible;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: flex;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border-bottom: 0;
    background: rgba(234, 244, 255, 0.58);
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--deep-blue), var(--blue));
    border-bottom-color: transparent;
  }
  .nav-cta {
    order: 11;
    display: none;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  .nav-toggle:checked ~ .nav-links {
    display: grid;
  }
  .nav-toggle:checked ~ .nav-cta {
    display: inline-flex;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-panel { min-height: 270px; }
  .glass-card { left: 0; right: auto; }
  .intro-grid, .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand {
    font-size: 0.95rem;
  }
  .brand-logo {
    width: 124px;
    height: 54px;
  }
  .chef-hat,
  .brand-mark {
    transform: scale(0.86);
    transform-origin: left center;
  }
  .hero { min-height: auto; padding: 72px 0 54px; }
  .hero h1 { font-size: clamp(2.2rem, 14vw, 3.45rem); }
  .hero-panel { display: none; }
  .section { padding: 66px 0; }
  .intro-grid, .services-grid, .references-grid, .contact-panel { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}
.page-hero {
  position: relative;
  z-index: 1;
  padding: 74px 0 46px;
}
.page-card {
  padding: clamp(26px, 4vw, 44px);
  border-radius: 30px;
  background: radial-gradient(circle at top right, rgba(106, 168, 255, 0.22), transparent 34%), rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.page-title {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.page-lead {
  margin: 18px 0 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.78;
}
.services-grid {
  margin-top: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card.wide { grid-column: 1 / -1; }
.references-grid {
  margin-top: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.reference-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  color: var(--navy);
}
.social-panel, .contact-panel {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
.instagram-link, .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
  font-size: 1.1rem;
}
.instagram-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  border-radius: 28px;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(234, 244, 255, 0.86));
  border: 2px dashed rgba(31, 102, 209, 0.22);
}
.contact-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-panel > * {
  min-width: 0;
}
.contact-box {
  padding: 26px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-box h2 {
  margin: 0 0 12px;
}
.contact-box p {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.contact-box i {
  color: var(--blue);
  line-height: inherit;
}
.contact-box a {
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 1080px) { .references-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .page-hero { padding: 42px 0 28px; }
  .services-grid, .references-grid, .contact-panel { grid-template-columns: 1fr; }
  .instagram-iframe { min-height: 420px; }
  .service-card.wide { grid-column: auto; }
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 26px;
  align-items: stretch;
}

.visual-split-single {
  grid-template-columns: 1fr;
  max-width: 840px;
  margin-inline: auto;
}

.instagram-embed-shell {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.92);
}

.instagram-iframe {
  width: 100%;
  border: 0;
  display: block;
  min-height: 520px;
}

.instagram-embed-caption {
  padding: 10px 16px 16px;
  text-align: center;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.98);
}

.instagram-embed-caption a {
  color: var(--blue);
  font-weight: 850;
}

.page-card .btn.primary {
  margin-top: 22px;
}

.image-panel {
  min-height: 360px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: var(--deep-blue);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 26, 51, 0.62));
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
}

.image-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: var(--white);
}

.image-caption strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.image-caption span {
  color: rgba(255, 255, 255, 0.82);
}

.detail-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.detail-item i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(145deg, var(--deep-blue), var(--blue-soft));
}

.detail-item h3 {
  margin: 0 0 5px;
  color: var(--navy);
}

.detail-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.gallery-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  background: var(--deep-blue);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(7, 26, 51, 0.04) 12%, rgba(7, 26, 51, 0.22) 44%, rgba(7, 26, 51, 0.9));
}

.gallery-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: var(--white);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(7, 26, 51, 0.52);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  font-weight: 850;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.map-card {
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: 0;
  box-shadow: var(--shadow);
  background: var(--deep-blue);
}

.map-card .map-embed {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  filter: saturate(1.05) contrast(1.03);
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(7, 26, 51, 0.05) 15%,
      rgba(7, 26, 51, 0.38) 45%,
      rgba(7, 26, 51, 0.88) 100%
    );
}

.map-overlay .map-content {
  position: relative;
  inset: auto;
  color: var(--white);
  pointer-events: none;
}

.map-overlay .map-content strong {
  display: block;
  font-size: 1.38rem;
  margin-bottom: 8px;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.map-overlay .map-content span {
  display: block;
  line-height: 1.55;
  opacity: 0.92;
}

.map-linkout {
  align-self: flex-start;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--deep-blue);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.map-linkout:focus-visible {
  outline: 2px solid rgba(106, 168, 255, 0.95);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .visual-split {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .image-panel {
    min-height: 260px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.service-visual-grid {
  align-items: stretch;
}

.service-card.service-visual {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(240, 247, 255, 0.9));
  box-shadow: 0 24px 54px rgba(7, 26, 51, 0.14);
}

.service-card.service-visual::before {
  z-index: 1;
}

.service-photo {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: var(--deep-blue);
}

.service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.38), transparent 22%),
    linear-gradient(180deg, transparent 35%, rgba(7, 26, 51, 0.68));
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card.service-visual:hover .service-photo img {
  transform: scale(1.08);
}

.service-body {
  position: relative;
  z-index: 2;
  margin: -38px 18px 18px;
  padding: 24px;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(231, 243, 255, 0.9));
  box-shadow: 0 20px 42px rgba(7, 26, 51, 0.14);
  backdrop-filter: blur(16px);
}

.service-body i {
  margin-top: -52px;
  border: 5px solid rgba(255, 255, 255, 0.96);
}

.service-card.service-visual h2 {
  margin-top: 16px;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.service-card.service-visual p {
  color: #36536f;
  font-weight: 600;
}

.service-card.service-visual.service-wide {
  grid-column: 1 / -1;
  min-height: 320px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.service-card.service-visual.service-wide .service-photo {
  height: 100%;
  min-height: 320px;
}

.service-card.service-visual.service-wide .service-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 28px;
  padding: 34px;
}

@media (max-width: 900px) {
  .service-card.service-visual.service-wide {
    display: flex;
  }

  .service-card.service-visual.service-wide .service-photo {
    height: 190px;
    min-height: 190px;
  }
}

.contact-form {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.contact-form h2 {
  margin: 0;
  color: var(--navy);
}

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

.form-grid-contact {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  outline: none;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 102, 209, 0.12);
}

.contact-form button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  box-shadow: 0 14px 28px rgba(31, 102, 209, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-message.success { color: #138a4d; }
.form-message.success.muted-mail-hint { color: #6b577a; font-weight: 750; }
.form-message.error { color: #c43b3b; }

.reference-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.references-live.references-grid {
  margin-top: 28px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.references-live .reference-card {
  min-height: 118px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  text-align: left;
  justify-content: flex-start;
  gap: 16px;
  padding: 20px 22px;
}

.references-live .reference-card .ref-card-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--deep-blue), var(--blue-soft));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(31, 102, 209, 0.22);
  font-size: 1rem;
}

.references-live .reference-card .ref-card-body {
  flex: 1;
  display: grid;
  gap: 6px;
  align-content: center;
}

.references-live .reference-card strong {
  font-size: 1.06rem;
  line-height: 1.38;
}

.references-live .reference-card .ref-cat {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 102, 209, 0.14);
  color: var(--blue);
}

@media (max-width: 1080px) {
  .references-live.references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .references-live.references-grid {
    grid-template-columns: 1fr;
  }

  .map-card .map-embed {
    min-height: 300px;
  }

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

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