/* One compact contact invitation, followed by the navy site directory. */
.contact.contact-compact {
  --focus: var(--blue);
  padding-block: 52px;
  background: var(--paper);
  color: var(--ink);
}

.contact-compact .contact-inner {
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 40px;
}

.contact-compact h2 {
  font-size: clamp(30px,3vw,40px);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.contact-compact .contact-inner > div > p {
  max-width: 55ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.contact-compact .button { margin: 0; }

.site-footer {
  --footer-soft: #c0cbdc;
  --footer-rule: rgba(255,255,255,.18);
  --focus: var(--yellow);
  padding: 0;
  background: var(--ink);
  color: var(--white);
}

.site-footer .footer-directory {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.1fr 1.15fr;
  align-items: start;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.site-footer .footer-directory > * { min-width: 0; }
.site-footer .footer-brand .brand { padding-block: 10px; }
.site-footer .footer-brand .brand img { width: 230px; max-width: 100%; height: auto; }
.site-footer .footer-brand > p {
  max-width: 36ch;
  margin-top: 22px;
  color: var(--footer-soft);
  font-size: 14px;
  line-height: 1.8;
}

.site-footer .footer-bottom-links {
  display: flex;
  flex: 1 1 520px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0 20px;
}

.site-footer .footer-bottom-links a,
.site-footer .footer-bottom-links button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: var(--footer-soft);
  font-size: 13px;
}

.site-footer .footer-column h3 {
  min-height: 44px;
  margin: 0 0 9px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.015em;
}

.site-footer .footer-column h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-size: 16px;
}

.site-footer .footer-column ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-column li { margin: 0; }
.site-footer .footer-column li a,
.site-footer .footer-contact > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: 9px;
  color: var(--footer-soft);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer .footer-contact h3 { display: flex; align-items: center; }
.site-footer .footer-contact > .footer-phone { color: var(--white); font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.site-footer .footer-contact address {
  margin-top: 18px;
  color: var(--footer-soft);
  font-size: 13px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 0;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--footer-rule);
  color: var(--footer-soft);
  font-size: 12px;
}

.site-footer .footer-bottom > p { margin: 0; }
.site-footer .footer-bottom-links a,
.site-footer .footer-bottom-links button { font-size: 12px; }

.site-footer .back-top {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  margin-left: 0;
  padding: 10px 0;
  color: var(--white);
  font-size: 12px;
}

.site-footer .back-top .icon { width: 17px; height: 17px; }
.site-footer a,
.site-footer button { transition: color .2s ease; }
.site-footer a { overflow-wrap: anywhere; }
.site-footer a:hover,
.site-footer button:hover,
.site-footer .footer-column a:hover,
.site-footer .footer-contact > a:hover,
.site-footer .footer-bottom-links a:hover,
.site-footer .footer-bottom-links button:hover { color: var(--yellow); }
.site-footer :is(a,button):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }

@media (max-width:1199px) {
  .site-footer .footer-directory { gap: 28px; grid-template-columns: 1.15fr 1fr 1.05fr 1.2fr; }
  .site-footer .footer-brand .brand img { width: 205px; }
  .site-footer .footer-contact > .footer-phone { font-size: 15px; }
}

@media (max-width:959px) {
  .site-footer .footer-directory { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 34px 48px; padding-block: 32px 40px; }
  .site-footer .footer-brand > p { max-width: 32ch; margin-top: 16px; }
  .site-footer .footer-contact > .footer-phone { font-size: 18px; }
  .site-footer .footer-bottom { gap: 8px 24px; }
}

@media (max-width:699px) {
  .contact.contact-compact { padding-block: 36px; }
  .contact-compact .contact-inner { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
  .contact-compact h2 { font-size: clamp(29px,7.8vw,35px); }
  .contact-compact .contact-inner > div > p { font-size: 14px; margin-top: 10px; }
  .site-footer .footer-directory { gap: 28px 24px; padding-top: 26px; padding-bottom: 34px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-brand .brand img { width: 205px; }
  .site-footer .footer-brand > p { max-width: 38ch; font-size: 13px; }
  .site-footer .footer-column h3 { margin-bottom: 5px; }
  .site-footer .footer-column li a { font-size: 12px; }
  .site-footer .footer-contact { grid-column: 1 / -1; }
  .site-footer .footer-contact > a { font-size: 14px; }
  .site-footer .footer-contact address { margin-top: 12px; font-size: 12px; }
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 20px; padding-bottom: 20px; font-size: 12px; }
  .site-footer .footer-bottom-links { flex: none; justify-content: flex-start; gap: 0 20px; }
  .site-footer .back-top { margin-left: 0; }
}

@media (max-width:359px) {
  .site-footer .footer-directory { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .site-footer .footer-brand,
  .site-footer .footer-contact { grid-column: auto; }
  .site-footer .footer-column li a { font-size: 13px; }
}

@media (prefers-reduced-motion:reduce) {
  .site-footer a,
  .site-footer button { transition: none; }
}

/* Tipografi tabanı: eylem metinleri küçük ekranda da okunur kalır. */
.site-footer .footer-bottom-links a, .site-footer .footer-bottom-links button, .site-footer .back-top, .site-footer .footer-column li a { font-size: 14px; }
