.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: clamp(4rem, 10vw, 7.5rem) 0;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.section-contrast {
  background: var(--bg-contrast);
}

.section-primary {
  background: linear-gradient(180deg, var(--bg) 0%, #E5ECE8 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.site-header.is-scrolled {
  background: rgba(45, 57, 56, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: var(--font-section);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-inverse);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--secondary-accent);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(241, 245, 243, 0.85);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-desktop a:hover {
  color: #fff;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 1002;
  position: relative;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-inverse);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(45, 57, 56, 0.97);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  overflow-x: hidden;
  max-width: 100%;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-section);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  color: var(--text-inverse);
  padding: 1rem 2rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  transition: color var(--transition), transform var(--transition);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-nav.is-open a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav.is-open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav a:hover {
  color: var(--accent);
}

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2D3938 0%, #55646B 50%, #617D70 100%);
  z-index: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-h) + 3rem) 0 clamp(3rem, 8vw, 6rem);
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--text-inverse);
  max-width: 14ch;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(241, 245, 243, 0.85);
  max-width: 42ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.editorial-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.editorial-text .label {
  color: var(--secondary);
  margin-bottom: 1rem;
  display: block;
}

.editorial-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}

.editorial-text p {
  color: var(--text-light);
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}

.editorial-text p:last-child {
  margin-bottom: 0;
}

.editorial-visual {
  position: relative;
}

.editorial-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.editorial-visual::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--secondary-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.signature {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.signature-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 70vh;
}

.signature-image {
  position: relative;
  min-height: 50vh;
}

.signature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.signature-content {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.signature-content .label {
  color: var(--secondary-accent);
  margin-bottom: 1.5rem;
}

.signature-content h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.5rem;
}

.signature-content p {
  color: rgba(241, 245, 243, 0.8);
  font-size: 1.0625rem;
  max-width: 50ch;
  margin-bottom: 2rem;
}

.signature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 1rem;
}

.stat-item .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: rgba(241, 245, 243, 0.65);
}

.showcase {
  position: relative;
}

.showcase-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.showcase-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.showcase-header p {
  color: var(--text-light);
  max-width: 55ch;
  font-size: 1.0625rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.showcase-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-contrast);
  transition: transform var(--transition), box-shadow var(--transition);
}

.showcase-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.showcase-item.featured {
  grid-row: span 1;
}

.showcase-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.showcase-item-body {
  padding: 1.5rem;
}

.showcase-item .label {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.showcase-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.showcase-item p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.6;
}

.pov-block {
  background: var(--bg-contrast);
}

.pov-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.pov-main h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.pov-main .lead {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 2rem;
  font-weight: 500;
}

.pov-main p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.pov-sidebar {
  border-left: none;
  padding-left: 0;
}

.pov-sidebar blockquote {
  font-family: var(--font-hero);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

.pov-sidebar cite {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.services-block h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.services-block .intro {
  color: var(--text-light);
  max-width: 55ch;
  margin-bottom: 3rem;
  font-size: 1.0625rem;
}

.services-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-contrast);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.services-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.services-table th,
.services-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--bg-contrast);
  font-size: 0.9375rem;
}

.services-table th {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--bg);
}

.services-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.services-table tr:last-child td {
  border-bottom: none;
}

.services-table .check {
  color: var(--secondary);
  font-family: var(--font-mono);
}

.services-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--natural) 100%);
  color: var(--text-inverse);
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  opacity: 0.9;
  line-height: 1.6;
}

.timeline {
  position: relative;
}

.timeline-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.timeline-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.timeline-header p {
  color: var(--text-light);
  max-width: 50ch;
}

.timeline-track {
  position: relative;
  padding-left: 2rem;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--secondary) 50%, var(--natural) 100%);
}

.timeline-step {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  transform: translateX(-4px);
}

.timeline-step .step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-step p {
  color: var(--text-light);
  font-size: 0.9375rem;
  max-width: 55ch;
}

.social-proof {
  background: var(--bg-dark);
  color: var(--text-inverse);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}

.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 123, 82, 0.3);
}

.testimonial p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(241, 245, 243, 0.85);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author .author-info span {
  display: block;
}

.testimonial-author .name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-author .role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(241, 245, 243, 0.5);
  margin-top: 0.25rem;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  padding: 2rem 0;
  opacity: 0.4;
}

.logo-text {
  font-family: var(--font-section);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-inverse);
}

.case-mini {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 1rem;
}

.case-mini h4 {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-accent);
  margin-bottom: 0.5rem;
}

.case-mini p {
  font-size: 0.875rem;
  color: rgba(241, 245, 243, 0.65);
  line-height: 1.6;
}

.cta-block {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-inverse);
  overflow-x: hidden;
  max-width: 100%;
}

.cta-block h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.cta-block p {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 45ch;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-item .label {
  color: var(--secondary);
}

.contact-item a,
.contact-item span {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--text);
}

.contact-form {
  background: #fff;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-contrast);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--bg-contrast);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(97, 125, 112, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(241, 245, 243, 0.65);
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 30ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  color: var(--secondary-accent);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(241, 245, 243, 0.7);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(241, 245, 243, 0.4);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(241, 245, 243, 0.5);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--accent);
}

.marquee-section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  background: var(--bg);
  overflow: hidden;
  max-width: 100vw;
}

.js-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  max-width: 100vw;
}

.js-mq-row {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.js-mq-row span {
  font-family: var(--font-section);
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.12;
  color: var(--primary);
  padding: 0 2rem;
}

.js-mq-row.fwd {
  animation: marquee-fwd 40s linear infinite;
}

.js-mq-row.rev {
  animation: marquee-rev 45s linear infinite;
}

@keyframes marquee-fwd {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-rev {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 6vw, 4rem);
  background: linear-gradient(135deg, #2D3938 0%, #55646B 60%, #617D70 100%);
  color: var(--text-inverse);
  overflow-x: hidden;
  max-width: 100%;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 55ch;
  line-height: 1.65;
}

.page-content {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.content-block {
  margin-bottom: 3rem;
}

.content-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}

.content-block h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.content-block p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.content-block ul {
  margin: 1rem 0 1.5rem 1.25rem;
  list-style: disc;
}

.content-block li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--bg-contrast);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.faq-item {
  border-bottom: 1px solid var(--bg-contrast);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
  color: var(--text);
  background: transparent;
  transition: background var(--transition);
  min-height: 56px;
}

.faq-question:hover {
  background: var(--bg);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform var(--transition);
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  aspect-ratio: 16/9;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--bg);
}

.thanks-inner {
  max-width: 520px;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--natural) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thanks-icon svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.thanks-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.thanks-page p {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.legal-page {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-page h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.legal-page ul, .legal-page ol {
  margin: 0.75rem 0 1.25rem 1.5rem;
  list-style: disc;
}

.legal-page li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translateY(0); }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .burger {
    display: none;
  }

  .editorial-block {
    grid-template-columns: 1fr 1fr;
  }

  .editorial-block.reverse {
    direction: rtl;
  }

  .editorial-block.reverse > * {
    direction: ltr;
  }

  .signature-inner {
    grid-template-columns: 1.2fr 1fr;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-item.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }

  .showcase-item.featured img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
  }

  .pov-layout {
    grid-template-columns: 2fr 1fr;
  }

  .pov-sidebar {
    border-left: 1px solid rgba(85, 100, 107, 0.2);
    padding-left: 2.5rem;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .services-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) {
  .hero-img {
    transition: transform 0.1s linear;
  }
}

@media (hover: hover) and (pointer: fine) {
  .tilt-card {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
  }
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
