:root {
  /* Premium Palette */
  --bg: #ffffff;
  --surface: #f9f9f9;
  --text: #111111;
  --text-muted: #666666;
  --accent: #af9475;
  --accent-light: #c5b39b;
  --border: #eeeeee;
  
  /* Typography */
  --font-display: 'Bahnschrift', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Bahnschrift', 'Segoe UI', Arial, sans-serif;
  
  /* Spacing */
  --section-padding: 120px;
  --container-width: 1440px;
  --nav-height: 90px;
  
  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font-family: var(--font-body);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  height: 70px;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 60px;
}

.logo img {
  height: 45px;
  width: auto;
  transition: var(--transition-smooth);
}

nav.scrolled .logo img {
  height: 35px;
}

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

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-contact {
  display: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.lang-toggle a {
  color: var(--text-muted);
}

.lang-toggle a.active {
  color: var(--text);
}

.lang-toggle .divider {
  color: var(--border);
}

.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-split {
  width: 100%;
  height: 100%;
  position: relative;
  background: var(--bg);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 56px 0 88px;
  z-index: 2;
  position: relative;
  width: min(560px, 34vw);
  height: 100%;
}

.hero-tagline {
  font-family: var(--font-display);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.2vw, 6.4rem);
  line-height: 0.95;
  margin-bottom: 30px;
  animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-description {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 40px;
  animation: revealUp 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 24%;
  z-index: 0;
  overflow: hidden;
  background: var(--surface);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0.62) 70%, rgba(255, 255, 255, 0) 100%);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  transform: none;
  animation: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 120px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollAnim 2s infinite;
}

/* --- Philosophy --- */
.philosophy {
  padding: 120px 0;
  background:
    linear-gradient(90deg, rgba(175, 148, 117, 0.08) 0 1px, transparent 1px) 0 0 / 80px 80px,
    #f7f7f5;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(480px, 1fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: center;
}

.philosophy-text h2 {
  font-size: clamp(2.6rem, 4.1vw, 4.3rem);
  margin-bottom: 30px;
  max-width: 620px;
}

.philosophy-text p {
  font-size: 24px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 0;
}

.philosophy-services {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px 0 18px 44px;
  width: 100%;
  min-width: 0;
}

.philosophy-services::before {
  content: '';
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 13px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 30px 34px;
  width: 100%;
  min-width: 0;
  background: rgba(247, 247, 245, 0.74);
  border: 1px solid rgba(175, 148, 117, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(17, 17, 17, 0.025);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.service-row > div {
  width: 100%;
  min-width: 0;
}

.service-row::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 38px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px #f7f7f5;
}

.service-row:hover {
  transform: translateX(10px);
  background: rgba(247, 247, 245, 0.9);
  border-color: rgba(175, 148, 117, 0.34);
}

.service-row h3 {
  font-size: 34px;
  margin-bottom: 10px;
}

.service-row p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
  max-width: 620px;
  white-space: normal;
}

/* --- Projects --- */
.projects {
  padding: 120px 0;
  background: var(--bg);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 48px;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 360px;
  gap: 22px;
  align-items: stretch;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  cursor: pointer;
  border-radius: 8px;
  background: var(--surface);
  isolation: isolate;
}

.project-card:nth-child(n) {
  min-height: 0;
}

.project-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.project-grid .project-card:nth-child(n+4) {
  display: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.22) 46%, transparent 78%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
  opacity: 1;
  transition: var(--transition-smooth);
}

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

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 0;
  max-width: 12ch;
}

.project-info span {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

/* --- Data Section --- */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--text);
  color: white;
  text-align: left;
}

.cta-content {
  max-width: 800px;
  margin: 0;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 56px;
  margin-bottom: 30px;
}

.cta-content p {
  font-size: 20px;
  color: #999;
  margin-bottom: 40px;
  max-width: 680px;
}

.btn-premium {
  display: inline-block;
  padding: 18px 45px;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.btn-premium:hover {
  background: white;
  color: var(--text);
  transform: scale(1.05);
}

/* --- Footer --- */
footer {
  padding: 100px 0 40px;
  background: #fdfdfd;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 30px;
}

.footer-about {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 25px;
  color: var(--text);
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  column-gap: 34px;
  row-gap: 12px;
  align-items: start;
}

.footer-links.contact-links {
  grid-template-rows: repeat(4, auto);
}

.footer-links.follow-links {
  column-gap: 58px;
}

.footer-links.contact-links a[href^="tel:"] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: 0;
  white-space: nowrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-links.contact-links a[href^="tel:"]:hover {
  padding-left: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: #aaa;
}

/* --- Animations --- */
@keyframes revealUp {
  0% { transform: translateY(50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes imageZoom {
  0% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes scrollAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { padding: 0 40px; width: min(560px, 50vw); }
  .hero-image { left: 34%; }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 260px);
  }
  .project-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    margin-top: 0;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .nav-container { padding: 0 20px; }
  .logo,
  .mobile-menu-btn {
    position: relative;
    z-index: 1002;
  }
  .mobile-menu-btn {
    display: flex;
    border: 0;
    background: transparent;
  }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 6rem 2rem;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    overflow-y: auto;
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links a,
  .lang-toggle a,
  .mobile-contact a {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
  }
  .lang-toggle {
    margin-top: 1rem;
    margin-left: 0;
  }
  .mobile-contact { display: block; }
  .mobile-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(320px, calc(100vw - 4rem));
    min-height: 56px;
    padding: 1rem 1.5rem;
    color: var(--bg);
    background: var(--text);
    border-radius: 4px;
  }
  .mobile-contact a::after {
    display: none;
  }
  .philosophy {
    padding: 80px 0;
    background: #f7f7f5;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .philosophy-text h2 {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }
  .philosophy-text p {
    font-size: 18px;
  }
  .philosophy-services {
    padding: 4px 0 4px 30px;
  }
  .philosophy-services::before {
    left: 8px;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px;
  }
  .service-row::before {
    left: -27px;
    top: 30px;
    width: 10px;
    height: 10px;
  }
  .service-row h3 {
    font-size: 26px;
  }
  .service-row p {
    font-size: 15px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 24px;
  }
  .project-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
    margin-top: 0;
  }
  .hero {
    height: auto;
    min-height: 0;
    padding-top: var(--nav-height);
    background: var(--bg);
  }
  .hero-split {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .hero-content {
    width: 100%;
    height: auto;
    min-height: 440px;
    justify-content: center;
    padding: 72px 24px 48px;
    background: linear-gradient(180deg, #fff 0%, #fff 76%, rgba(255,255,255,0.9) 100%);
  }
  .hero-image {
    position: relative;
    inset: auto;
    left: auto;
    height: 360px;
  }
  .hero-image::before {
    display: none;
  }
  .hero-image img {
    object-position: 58% center;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 5rem);
    line-height: 0.92;
    margin-bottom: 24px;
  }
  .hero-description {
    max-width: 32rem;
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 32px;
  }
  .hero-actions .btn-premium {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .scroll-indicator {
    display: none;
  }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 42px clamp(28px, 8vw, 56px);
  }

  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
  }
}

@media (max-width: 560px) {
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }
}
