/* ===== FONTS (served from this site, see /fonts) ===== */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/playfair-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('/fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/playfair-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/fonts/playfair-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FAFAF8;
  --dark: #1A1A1A;
  --accent: #C9A96E;
  --light: #FAFAF8;
  --muted: #6B7280;
  --subtle: #9CA3AF;
  --sans: 'Inter', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
section[id] { scroll-margin-top: 64px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all 0.4s;
}
.navbar.scrolled {
  background: rgba(250,250,248,0.95); backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.05); padding: 12px 0;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 40px; width: auto; transition: 0.3s; }
.nav-logo .logo-dark { display: none; }
.navbar.scrolled .nav-logo .logo-white { display: none; }
.navbar.scrolled .nav-logo .logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a {
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s; color: rgba(255,255,255,0.9);
}
.navbar.scrolled .nav-links > a { color: var(--dark); }
.nav-links > a:hover { color: var(--accent); }
.lang-switch {
  display: flex; align-items: center; gap: 4px; margin-left: 12px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 4px 8px;
}
.navbar.scrolled .lang-switch { border-color: rgba(0,0,0,0.1); }
.lang-btn {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 2px 6px; color: rgba(255,255,255,0.5);
  transition: 0.2s;
}
.lang-btn:hover { color: var(--accent); }
.navbar.scrolled .lang-btn { color: var(--muted); }
.lang-btn.active { color: var(--accent) !important; }
.lang-sep { color: rgba(255,255,255,0.2); font-size: 11px; }
.navbar.scrolled .lang-sep { color: rgba(0,0,0,0.1); }

.hamburger { display: none; color: white; }
.navbar.scrolled .hamburger { color: var(--dark); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--dark); flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
}
.mobile-menu-header img { height: 40px; width: auto; }
.mobile-menu-close { color: white; font-size: 28px; }
.mobile-menu-links {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu-links > a {
  color: white; font-family: var(--serif); font-size: 28px;
  font-weight: 300; letter-spacing: 0.02em; transition: 0.2s;
}
.mobile-menu-links > a:hover { color: var(--accent); }
.mobile-lang-switch { display: flex; gap: 16px; margin-top: 20px; }
.mobile-lang-switch .lang-btn { color: rgba(255,255,255,0.4); font-size: 14px; }

/* ===== HERO ===== */
.hero {
  height: 100vh; min-height: 600px; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--dark); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.5), rgba(0,0,0,0.2));
}
.hero-content {
  position: relative; z-index: 2; max-width: 1280px;
  margin: 0 auto; padding: 0 24px; width: 100%;
}
.hero-label {
  color: var(--accent); font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px); color: white;
  line-height: 1.1; margin-bottom: 32px; max-width: 640px;
}
.hero h1 .line1 { font-family: var(--serif); font-weight: 300; font-style: italic; }
.hero h1 .line2 { font-family: var(--sans); font-weight: 700; }
.hero-cta {
  display: inline-block; background: var(--accent); color: white;
  padding: 16px 32px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; transition: 0.3s;
}
.hero-cta:hover { background: #b8945a; }
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center; color: rgba(255,255,255,0.5);
}
.scroll-indicator span {
  display: block; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 8px;
}
.scroll-indicator svg { animation: bounce 1.5s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ===== SECTIONS COMMON ===== */
.section { padding: 96px 0; }
.section-white { background: white; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-label {
  color: var(--accent); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 4vw, 48px); line-height: 1.2; margin-bottom: 16px;
}
.section-title b { font-family: var(--sans); font-weight: 700; }
.section-title i { font-style: italic; }

/* ===== INTRO ===== */
.intro-title { max-width: 640px; margin-bottom: 48px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tab-buttons { display: flex; gap: 0; border-bottom: 1px solid #e5e7eb; margin-bottom: 32px; }
.tab-btn {
  padding: 12px 24px; font-size: 14px; font-weight: 600;
  color: var(--muted); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: 0.2s;
}
.tab-btn.active { color: var(--accent); border-color: var(--accent); }
.tab-text { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.more-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--dark); transition: 0.2s;
}
.more-link:hover { color: var(--accent); }
.tab-image {
  height: 320px; border-radius: 16px; overflow: hidden; background: #e5e7eb;
}
.tab-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 48px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; border-top: 1px solid #f3f4f6; }
.stat-value { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: var(--dark); }
.stat-label { font-size: 14px; color: var(--subtle); margin-top: 4px; }
.about-image {
  height: 500px; border-radius: 16px; overflow: hidden;
  position: relative; background: #e5e7eb;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}

/* ===== SERVICES ===== */
.services { background: var(--dark); }
.services .section-title { color: white; max-width: 540px; }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
  border-radius: 16px; overflow: hidden;
}
.service-card {
  background: var(--dark); padding: 32px;
  border: 1px solid transparent; transition: 0.3s;
}
.service-card:hover { background: #222; border-color: rgba(201,169,110,0.3); }
.service-icon { color: var(--accent); margin-bottom: 24px; }
.service-card h3 {
  color: white; font-size: 18px; font-weight: 600;
  margin-bottom: 12px; transition: 0.2s;
}
.service-card:hover h3 { color: var(--accent); }
.service-card p { color: var(--subtle); font-size: 14px; line-height: 1.7; }

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.portfolio-card {
  position: relative; border-radius: 16px; overflow: hidden;
  height: 224px; background: #e5e7eb;
}
.portfolio-card.large { grid-column: span 2; height: 320px; }
.portfolio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1), transparent);
  transition: 0.3s;
}
.portfolio-card:hover .overlay { background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent); }
.portfolio-card .label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  color: white; font-weight: 600; font-size: 15px;
}
.portfolio-card.large .label { padding: 24px; font-size: 18px; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.process-left { position: sticky; top: 128px; }
.steps { display: flex; flex-direction: column; list-style: none; }
.step { display: flex; gap: 24px; padding-bottom: 40px; position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; left: 20px; top: 48px;
  bottom: 0; width: 1px; background: #f3f4f6;
}
.step-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 700;
  color: var(--accent); background: white; z-index: 1;
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== PARTNERS ===== */
.partner-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.partner-tab {
  padding: 8px 16px; font-size: 14px; font-weight: 500;
  border-radius: 20px; transition: 0.2s;
  background: white; color: var(--muted); border: 1px solid #e5e7eb;
}
.partner-tab.active { background: var(--accent); color: white; border-color: var(--accent); }
.partner-names { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.partner-names span {
  font-size: 17px; font-weight: 500; color: var(--subtle);
  letter-spacing: 0.02em; transition: 0.2s;
}
.partner-names span:hover { color: var(--accent); }

/* ===== CTA ===== */
.cta {
  position: relative; padding: 128px 0; overflow: hidden; text-align: center;
}
.cta-bg { position: absolute; inset: 0; background: var(--dark); }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.65); }
.cta-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; padding: 0 24px; }
.cta h2 {
  font-size: clamp(32px, 5vw, 56px); color: white;
  line-height: 1.15; margin-bottom: 24px;
}
.cta p { color: rgba(255,255,255,0.7); font-size: 18px; margin-bottom: 48px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; transition: 0.3s;
}
.cta-btn.primary { background: var(--accent); color: white; }
.cta-btn.primary:hover { background: #b8945a; }
.cta-btn.secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.4); }
.cta-btn.secondary:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: var(--light); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
.footer-desc { color: var(--subtle); font-size: 14px; line-height: 1.7; }
.footer h3 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--subtle); margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer li a { color: rgba(250,250,248,0.7); font-size: 14px; transition: 0.2s; }
.footer li a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(250,250,248,0.7); font-size: 14px; margin-bottom: 12px;
}
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,250,248,0.6); transition: 0.2s;
}
.social-link:hover { color: var(--accent); border-color: rgba(201,169,110,0.4); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center; color: var(--subtle); font-size: 12px;
}

/* ===== 404 ===== */
.not-found {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 24px; padding: 48px 24px; text-align: center;
  background: var(--dark); color: white;
}
.not-found img { height: 64px; width: auto; }
.not-found p { color: var(--subtle); }
.not-found .hero-cta { margin-top: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .intro-grid, .about-grid, .process-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card.large { grid-column: span 1; height: 240px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .service-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card, .portfolio-card.large { height: 200px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-image { height: 300px; }
  .tab-image { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-indicator svg { animation: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
