﻿/*
Theme Name: ALCICEK HUKUK
Theme URI: https://example.com/
Author: Codex
Author URI: https://example.com/
Description: Premium corporate WordPress theme for ALCICEK HUKUK.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: alcicek-hukuk
*/

:root {
  --navy-950: #111933;
  --navy-900: #162042;
  --navy-850: #1a294c;
  --navy-800: #22345d;
  --navy-700: #2b4d81;
  --navy-500: #6f88b2;
  --accent-700: #9f111b;
  --accent-600: #b51621;
  --mist-50: #f6f8fb;
  --mist-100: #eef2f7;
  --mist-200: #dbe4ee;
  --mist-300: #c3d0de;
  --ink-900: #121d2e;
  --ink-700: #35465f;
  --ink-500: #4e627f;
  --white: #ffffff;
  --line: rgba(13, 27, 49, 0.12);
  --line-strong: rgba(13, 27, 49, 0.2);
  --shadow-xl: 0 34px 90px rgba(8, 20, 37, 0.18);
  --shadow-lg: 0 18px 44px rgba(8, 20, 37, 0.12);
  --shadow-md: 0 10px 28px rgba(8, 20, 37, 0.08);
  --radius-2xl: 34px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(159, 17, 27, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(22, 32, 66, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, #f3f6fa 55%, #edf2f7 100%);
  overflow-x: hidden;
  font-weight: 500;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(36px);
}

body::before {
  top: 90px;
  right: 5vw;
  width: 280px;
  height: 280px;
  background: rgba(159, 17, 27, 0.08);
}

body::after {
  bottom: 80px;
  left: 4vw;
  width: 220px;
  height: 220px;
  background: rgba(22, 32, 66, 0.08);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(159, 17, 27, 0.14);
}

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

img,
iframe {
  display: block;
  width: 100%;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.site-shell {
  width: min(var(--max-width), calc(100% - 28px));
  margin: 18px auto 32px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
}

.topbar,
.header-row,
.surface-card,
.service-card,
.feature-card,
.timeline-step,
.team-card,
.article-card,
.quick-card,
.contact-card,
.form-card,
.faq-item,
.legal-copy,
.cta-banner,
.map-frame,
.highlight-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px;
  border-radius: 22px;
}

.topbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  color: var(--ink-900);
  font-size: 0.92rem;
  font-weight: 600;
}

.topbar strong {
  color: var(--navy-900);
}

.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  padding: 18px 22px;
  border-radius: 26px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: clamp(72px, 9vw, 102px);
  height: clamp(72px, 9vw, 102px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: var(--navy-900);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-md);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong,
.footer-brand strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--navy-900);
}

.brand-copy span {
  color: var(--ink-700);
  font-size: 0.9rem;
}

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

.nav a {
  position: relative;
  color: var(--ink-700);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--navy-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--navy-900);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav a.button {
  color: var(--white);
}

.nav a.button::after {
  display: none;
}

.nav-services {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-services-trigger {
  padding-right: 18px;
}

.nav-services-trigger::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.7;
}

.nav-services-toggle {
  display: none;
}

.nav-services-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(420px, 74vw);
  max-height: min(70vh, 520px);
  overflow: auto;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, #9f111b 0%, #891019 100%);
  box-shadow: 0 24px 56px rgba(9, 18, 34, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 85;
}

.nav-services:hover .nav-services-panel,
.nav-services:focus-within .nav-services-panel,
.nav-services.is-open .nav-services-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-services-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.nav .nav-services-link {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.nav-services-link::after {
  display: none;
}

.nav .nav-services-link:hover,
.nav .nav-services-link:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lang-switch span {
  color: var(--ink-500);
  font-weight: 700;
}

.lang-link {
  color: var(--ink-700);
  font-weight: 800;
}

.lang-link.is-active {
  color: var(--navy-900);
}

.lang-link::after {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-900);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

main {
  padding-top: 26px;
}

.hero,
.page-hero,
.section,
.site-footer {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.6s ease forwards;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-banner {
  position: relative;
  border-radius: var(--radius-2xl);
}

.hero-banner img {
  width: 100%;
  height: clamp(360px, 56vw, 620px);
  object-fit: cover;
}

.hero-banner-watermark {
  position: absolute;
  inset: auto auto 28px 34px;
  z-index: 2;
  max-width: min(78%, 760px);
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(140deg, rgba(10, 17, 33, 0.68), rgba(10, 17, 33, 0.44));
  backdrop-filter: blur(1.5px);
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 10px 26px rgba(5, 10, 22, 0.56);
  pointer-events: none;
}

.hero-banner-watermark-name,
.hero-banner-watermark-tag {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-banner-watermark-name {
  font-size: clamp(1.35rem, 2.55vw, 2.45rem);
  line-height: 1.06;
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.56);
}

.hero-banner-watermark-tag {
  margin-top: 10px;
  font-size: clamp(0.74rem, 1.05vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(140deg, rgba(17, 25, 51, 0.98), rgba(22, 32, 66, 0.96)),
    var(--navy-950);
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 14, 30, 0.12), rgba(8, 14, 30, 0.42));
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.hero-panel > * {
  position: relative;
}

.page-hero,
.section-heading {
  max-width: 860px;
}

.page-hero {
  padding: 30px 0 6px;
}

.page-hero.service-hero {
  position: relative;
  max-width: none;
  padding: clamp(52px, 8vw, 86px) clamp(18px, 5vw, 54px);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
  background-image:
    linear-gradient(110deg, rgba(8, 18, 34, 0.62), rgba(8, 18, 34, 0.54)),
    var(--service-hero-image, none);
  background-size: cover;
  background-position: center;
}

.page-hero.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 27, 0.08), rgba(6, 13, 27, 0.24));
  z-index: -2;
}

.page-hero.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 13, 27, 0.12), rgba(6, 13, 27, 0.36)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  z-index: -1;
}

.page-hero.service-hero .eyebrow,
.page-hero.service-hero h1,
.page-hero.service-hero .lead {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-hero.service-hero .eyebrow {
  opacity: 0.96;
}

.page-hero.service-hero .lead {
  max-width: 920px;
  font-weight: 600;
}

.eyebrow,
.meta,
.card-kicker,
.info-label {
  margin: 0 0 14px;
  color: var(--accent-700);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.surface-card h2,
.cta-banner h2,
.team-card h3,
.article-card h2,
.contact-card h3,
.hero-visual-card h2,
.service-card h3,
.feature-card h3,
.timeline-step h3,
.legal-copy h2,
.quick-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  text-wrap: balance;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.92;
}

.hero-panel h1 {
  color: var(--white);
}

.hero p,
.page-hero p,
.section-heading p,
.surface-card p,
.service-card p,
.feature-card p,
.timeline-step p,
.team-card p,
.article-card p,
.contact-card p,
.faq-item p,
.legal-copy p,
.cta-banner p,
li {
  color: var(--ink-700);
  line-height: 1.8;
  font-weight: 500;
}

.hero-panel .lead {
  color: rgba(255, 255, 255, 0.94);
  max-width: 720px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.article-detail {
  margin-top: 10px;
  color: var(--ink-700);
  font-weight: 500;
}

.status-row,
.button-group,
.hero-point-grid,
.hero-signal-grid,
.service-grid,
.feature-grid,
.timeline,
.team-grid,
.blog-grid,
.article-grid,
.quick-grid,
.contact-grid,
.contact-stack,
.footer-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.status-row {
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  margin-bottom: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c6a164;
  box-shadow: 0 0 0 6px rgba(198, 161, 100, 0.16);
}

.button-group {
  grid-template-columns: repeat(2, max-content);
  gap: 14px;
  margin: 28px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: var(--white);
  box-shadow: 0 16px 32px rgba(159, 17, 27, 0.26);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button-light {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-900);
}

.button-tertiary {
  color: var(--navy-900);
}

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

.hero-point,
.hero-signal,
.quick-card,
.feature-card,
.timeline-step,
.team-card,
.article-card,
.service-card,
.contact-card,
.form-card,
.legal-copy,
.faq-item {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.hero-point {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.hero-point strong,
.hero-signal strong,
.service-card h3,
.feature-card h3,
.timeline-step h3,
.contact-card h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 1.42rem;
}

.hero-point strong {
  color: var(--white);
  font-size: 1.12rem;
  font-family: "Manrope", sans-serif;
}

.quick-card h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.team-card h3 {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 0.96;
}

.hero-point p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.hero-visual {
  display: grid;
  gap: 20px;
}

.illustration-frame {
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-lg);
}

.illustration-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at top right, rgba(93, 130, 177, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 251, 0.9));
}

.hero-visual-card::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(159, 17, 27, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.hero-visual-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  max-width: 420px;
}

.hero-signal-grid {
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.hero-signal {
  padding: 18px 20px;
  border: 1px solid rgba(13, 27, 49, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-signal strong {
  margin-bottom: 6px;
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
}

.highlight-card {
  display: grid;
  gap: 12px;
  padding: 24px 26px;
  border-radius: 24px;
}

.highlight-card strong {
  font-size: 1.05rem;
  color: var(--navy-900);
}

.highlight-card p {
  margin: 0;
}

.section {
  padding: 70px 0 4px;
}

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

.section-heading h2,
.surface-card h2,
.cta-banner h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.95;
}

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

.service-card {
  position: relative;
}

.service-card.featured {
  background:
    linear-gradient(160deg, rgba(17, 25, 51, 0.98), rgba(26, 41, 76, 0.95)),
    var(--navy-950);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li,
.service-card.featured .meta {
  color: var(--white);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--mist-100);
  color: var(--accent-700);
  font-size: 0.98rem;
  font-weight: 800;
}

.service-card.featured .service-index {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 22px;
}

.split-layout.visual {
  align-items: stretch;
}

.about-profile-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.about-profile-media {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 540px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.about-profile-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
}

.about-profile-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-profile-text h2 {
  text-transform: uppercase;
}

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

.surface-card {
  padding: 34px;
  border-radius: var(--radius-2xl);
}

.info-list,
.detail-list {
  margin: 20px 0 0;
  padding-left: 18px;
}

.info-list li,
.detail-list li {
  margin-bottom: 8px;
}

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

.timeline-step {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 251, 0.92));
}

.timeline-step .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--mist-100);
  color: var(--accent-700);
  font-weight: 800;
}

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

.team-card.lead {
  background:
    radial-gradient(circle at top right, rgba(93, 130, 177, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 250, 0.94));
}

.team-role {
  margin-bottom: 12px;
  color: var(--navy-500);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

.article-card.featured {
  background:
    linear-gradient(160deg, rgba(17, 25, 51, 0.98), rgba(26, 41, 76, 0.95)),
    var(--navy-950);
}

.article-card.featured h2,
.article-card.featured p,
.article-card.featured .meta,
.article-card.featured li {
  color: var(--white);
}

.article-card h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.95;
  margin-bottom: 14px;
}

.article-card .button-light {
  margin-top: 10px;
}

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

.quick-card {
  background: rgba(255, 255, 255, 0.82);
}

.quick-card:hover,
.quick-card:focus-visible,
.article-card:hover,
.service-card:hover,
.feature-card:hover,
.team-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.service-card,
.feature-card,
.team-card,
.article-card,
.quick-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  align-items: start;
}

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

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

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

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

.appointment-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--mist-300);
  border-radius: 16px;
  background: var(--mist-50);
  color: var(--ink-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: 0;
  border-color: rgba(36, 71, 115, 0.45);
  box-shadow: 0 0 0 4px rgba(36, 71, 115, 0.1);
  background: var(--white);
}

.form-feedback {
  min-height: 1.4em;
  margin: 0;
  color: var(--navy-700);
  font-weight: 700;
}

.contact-card {
  overflow: hidden;
}

.contact-card strong {
  color: var(--navy-900);
}

.map-frame {
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius-xl);
}

.map-frame iframe {
  min-height: 320px;
  height: 100%;
  border: 0;
}

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

.faq-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 250, 0.92));
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--navy-900);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-item p {
  margin: 14px 0 0;
}

.legal-copy {
  max-width: 980px;
}

.legal-copy h2 {
  margin-top: 24px;
  font-size: 2rem;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(145deg, rgba(17, 25, 51, 0.98), rgba(26, 41, 76, 0.95)),
    var(--navy-950);
}

.cta-banner h2,
.cta-banner p,
.cta-banner .eyebrow {
  color: var(--white);
}

.site-footer {
  padding-top: 54px;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr;
  padding: 32px;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 251, 0.92));
  box-shadow: var(--shadow-lg);
}

.footer-title {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid p,
.footer-grid a {
  color: var(--ink-900);
  font-weight: 500;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--navy-900);
}

.footer-note {
  margin-top: 6px;
  font-size: 0.92rem;
}

.whatsapp-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #128c55;
  color: var(--white);
  box-shadow: 0 18px 32px rgba(18, 140, 85, 0.25);
}

.whatsapp-button::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.whatsapp-button span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.whatsapp-button strong {
  display: block;
  font-size: 0.95rem;
}

.section-compact {
  padding-top: 52px;
}

.hero-corporate .button-group {
  margin-bottom: 20px;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-bar-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-bar-item span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.6;
}

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

.home-note {
  padding: 0;
}

.home-note h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  line-height: 0.96;
}

.home-note h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 0.98;
  color: var(--navy-900);
}

.home-note p {
  margin-top: 14px;
}

.home-practice-list,
.home-note-list,
.home-process-list {
  margin: 0;
}

.home-practice-list {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-practice-list li {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.5;
}

.home-process-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.home-process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy-900);
  font-weight: 600;
}

.home-process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mist-100);
  color: var(--accent-700);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.home-visual {
  margin-top: 20px;
  max-height: 340px;
}

.home-note-list {
  padding-left: 20px;
  margin-top: 16px;
}

.home-note-list li {
  margin-bottom: 8px;
}

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

.cta-contact {
  display: grid;
  gap: 12px;
  width: min(360px, 100%);
}

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

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1160px) {
  .service-grid,
  .blog-grid,
  .article-grid,
  .quick-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .split-layout,
  .about-profile-layout,
  .contact-grid,
  .timeline,
  .faq-grid,
  .home-columns,
  .home-split,
  .trust-bar {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 940px) {
  .site-header {
    top: 8px;
  }

  .topbar {
    display: none;
  }

  .site-shell {
    width: min(100% - 18px, var(--max-width));
    margin-top: 8px;
    margin-bottom: 22px;
  }

  .header-row {
    padding: 10px 12px;
    border-radius: 16px;
    gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: clamp(1.06rem, 3.4vw, 1.22rem);
    line-height: 1;
  }

  .brand-copy span {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-mark {
    width: 62px;
    height: 62px;
    min-width: 62px;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    grid-auto-flow: row;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    max-height: min(78dvh, 560px);
    overflow: auto;
    z-index: 65;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 11px 10px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .lang-switch {
    margin: 4px 0;
    justify-content: center;
    width: 100%;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a:focus-visible,
  .nav a.is-active {
    background: var(--mist-100);
  }

  .nav a.button {
    margin-top: 6px;
    text-align: center;
  }

  .nav-services {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
  }

  .nav-services-trigger {
    padding-right: 10px;
  }

  .nav-services-trigger::before {
    display: none;
  }

  .nav-services-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink-700);
    cursor: pointer;
  }

  .nav-services-toggle span {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
  }

  .nav-services.is-open .nav-services-toggle span {
    transform: rotate(-135deg) translateY(-1px);
  }

  .nav-services-panel {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: linear-gradient(160deg, #9f111b 0%, #891019 100%);
    box-shadow: 0 16px 34px rgba(9, 18, 34, 0.26);
    opacity: 1;
    visibility: hidden;
    transform: none;
    overflow: hidden;
  }

  .nav-services.is-open .nav-services-panel {
    max-height: 460px;
    margin: 4px 0 2px;
    padding: 6px 2px;
    visibility: visible;
  }

  .nav-services-list {
    gap: 6px;
  }

  .nav .nav-services-link {
    min-height: 42px;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 0.94rem;
  }

  .nav .nav-services-link:hover,
  .nav .nav-services-link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
  }

  .nav.is-open {
    display: grid;
  }

  main {
    padding-top: 18px;
  }

  .hero-banner img {
    height: clamp(220px, 52vw, 320px);
  }

  .hero-banner-watermark {
    inset: auto auto 20px 20px;
    max-width: 88%;
    padding: 12px 14px;
  }

  .hero-banner-watermark-name {
    letter-spacing: 0.08em;
  }

  .hero-banner-watermark-tag {
    margin-top: 7px;
    letter-spacing: 0.07em;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.05rem, 8.2vw, 3.1rem);
    line-height: 1.02;
  }

  .section-heading h2,
  .surface-card h2,
  .cta-banner h2 {
    font-size: clamp(1.78rem, 6.6vw, 2.45rem);
    line-height: 1.04;
  }

  .section {
    padding: 44px 0 4px;
  }

  .section-compact {
    padding-top: 34px;
  }

  .button {
    min-height: 50px;
    padding: 13px 18px;
  }

  .button-group,
  .status-row,
  .form-row,
  .info-grid.compact,
  .home-practice-list {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .hero-visual-card,
  .surface-card,
  .service-card,
  .feature-card,
  .timeline-step,
  .team-card,
  .article-card,
  .quick-card,
  .contact-card,
  .form-card,
  .faq-item,
  .legal-copy,
  .cta-banner {
    padding: 20px;
    border-radius: 18px;
  }

  .article-card h2 {
    font-size: clamp(1.45rem, 5.4vw, 2rem);
    line-height: 1.05;
  }

  .service-card h3,
  .feature-card h3 {
    font-size: clamp(1.28rem, 5vw, 1.8rem);
  }

  .home-note h3 {
    font-size: clamp(1.42rem, 5.5vw, 2rem);
  }

  .home-practice-list li {
    padding: 12px 14px;
  }

  .contact-grid {
    gap: 14px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 260px;
  }

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

  .about-profile-media {
    min-height: clamp(300px, 68vw, 520px);
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 12px, var(--max-width));
    margin-top: 6px;
  }

  .header-row {
    padding: 9px 10px;
  }

  .brand-copy span {
    display: none;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
  }

  .brand-copy strong {
    font-size: 1.02rem;
  }

  .brand-copy span {
    font-size: 0.74rem;
  }

  .hero-panel {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .hero h1,
  .page-hero h1,
  .section-heading h2,
  .cta-banner h2 {
    line-height: 1;
  }

  .hero-panel .lead,
  .surface-card p,
  .article-card p,
  .home-note p,
  li {
    line-height: 1.62;
    font-size: 0.98rem;
  }

  .status-pill {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .service-grid,
  .blog-grid,
  .article-grid,
  .article-grid.two-column,
  .quick-grid,
  .team-grid,
  .footer-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    max-height: min(82dvh, 520px);
  }

  .footer-grid {
    padding: 20px;
    border-radius: 18px;
  }

  .whatsapp-button {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 12px 14px;
    max-width: calc(100vw - 24px);
  }

  .whatsapp-button span {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-shell {
    width: calc(100% - 8px);
  }

  .header-row {
    padding: 8px 9px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .brand-copy strong {
    font-size: 0.94rem;
    letter-spacing: 0.01em;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .hero-banner img {
    height: 210px;
  }

  .hero-banner-watermark {
    inset: auto auto 14px 14px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .hero-banner-watermark-name {
    font-size: clamp(1rem, 5vw, 1.24rem);
    letter-spacing: 0.07em;
  }

  .hero-banner-watermark-tag {
    font-size: 0.67rem;
    margin-top: 5px;
    letter-spacing: 0.06em;
  }

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

  .section-heading h2,
  .surface-card h2,
  .cta-banner h2 {
    font-size: clamp(1.56rem, 7vw, 1.88rem);
  }

  .button {
    width: 100%;
  }

  .surface-card,
  .service-card,
  .feature-card,
  .team-card,
  .article-card,
  .quick-card,
  .faq-item,
  .cta-banner {
    padding: 16px;
    border-radius: 15px;
  }

  .whatsapp-button {
    left: 10px;
    right: 10px;
    justify-content: center;
  }

  .whatsapp-button::before {
    display: none;
  }
}

.page-hero.service-hero.service-hero-empty {
  min-height: clamp(320px, 48vw, 620px);
}

.page-hero.service-hero.service-hero-empty .eyebrow,
.page-hero.service-hero.service-hero-empty .lead {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

