/* ================================================
   FORTIS DESIGN + BUILD — Main Stylesheet
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

/* === VARIABLES === */
:root {
  --green: #1B6B2F;
  --green-dark: #124820;
  --green-light: #2a8c40;
  --dark: #0C0C0C;
  --mid-dark: #1E1E1E;
  --mid: #3a3a3a;
  --grey: #7a7a7a;
  --light-grey: #E8E8E8;
  --warm-white: #F7F5F1;
  --white: #FFFFFF;
  --nav-height: 85px;
  --section-pad: 120px;
  --container: 1320px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Jost', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === LOADER === */
#loader {
  position: fixed; inset: 0; background: var(--dark); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease 0.2s, visibility 0.7s ease 0.2s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-logo { width: 140px; animation: loaderPulse 1.6s ease forwards; }
.loader-bar { width: 120px; height: 1px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.loader-bar::after {
  content: ''; position: absolute; left: -100%; top: 0; width: 100%; height: 100%;
  background: var(--green); animation: loaderProgress 1.4s ease forwards 0.2s;
}
@keyframes loaderPulse { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; } }
@keyframes loaderProgress { 0% { left: -100%; } 100% { left: 0%; } }

/* === CUSTOM CURSOR === */
.cursor, .cursor-follower { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9000; transform: translate(-50%, -50%); }
.cursor { width: 7px; height: 7px; background: var(--green); transition: transform 0.08s ease; }
.cursor-follower { width: 30px; height: 30px; border: 1px solid rgba(27,107,47,0.5); transition: left 0.12s ease, top 0.12s ease, width 0.3s ease, height 0.3s ease; }
.cursor.hover { transform: translate(-50%,-50%) scale(2); }
.cursor-follower.hover { width: 48px; height: 48px; }
@media (max-width: 768px) { .cursor, .cursor-follower { display: none; } }

/* === CONTAINER === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 48px; }

/* === NAVIGATION === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); padding: 0 48px;
  display: flex; align-items: center;
  transition: background 0.5s ease, box-shadow 0.5s ease, height 0.4s ease;
}
nav.scrolled {
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07); height: 72px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--container); margin: 0 auto; }
.nav-logo img { height: 38px; width: auto; transition: filter 0.4s ease; }
nav.dark-nav .nav-logo img { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dark); position: relative; transition: color 0.3s ease;
}
nav.dark-nav .nav-links a { color: rgba(255,255,255,0.85); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--green); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--green); }
nav.dark-nav .nav-links a:hover { color: white; }
.nav-cta {
  background: var(--green) !important; color: white !important; padding: 10px 22px !important;
  font-size: 11px !important; letter-spacing: 0.14em !important;
  transition: background 0.3s ease !important; border-radius: 1px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-dark) !important; color: white !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 6px; z-index: 1001; }
.hamburger span { display: block; width: 26px; height: 1.5px; background: var(--dark); transition: all 0.35s ease; }
nav.dark-nav .hamburger span { background: white; }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--dark); z-index: 998;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0.45s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-links { text-align: center; display: flex; flex-direction: column; gap: 28px; }
.mobile-menu-links a {
  font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300;
  color: white; letter-spacing: 0.01em; transition: color 0.3s ease;
  display: block;
}
.mobile-menu-links a:hover { color: var(--green-light); }
.mobile-menu-contact { margin-top: 52px; text-align: center; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-menu-contact p { color: var(--grey); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.mobile-menu-contact a { display: block; color: rgba(255,255,255,0.65); font-size: 14px; font-weight: 300; margin-top: 6px; transition: color 0.3s ease; }
.mobile-menu-contact a:hover { color: var(--green-light); }

/* === FOOTER === */
footer { background: var(--dark); color: white; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.4); line-height: 1.8; margin-bottom: 28px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
  font-size: 11px; font-weight: 600; transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--green); border-color: var(--green); color: white; }
.footer-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 24px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 300; transition: color 0.3s ease; }
.footer-col a:hover { color: white; }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.9; font-weight: 300; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.3s ease; }
.footer-contact a:hover { color: var(--green-light); }
.footer-contact .accent { color: var(--green-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.05em; }

/* === TYPOGRAPHY === */
.display-xl { font-family: 'Cormorant Garamond', serif; font-size: clamp(52px, 7vw, 104px); font-weight: 300; line-height: 0.98; letter-spacing: -0.025em; }
.display-lg { font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 5vw, 76px); font-weight: 300; line-height: 1.03; letter-spacing: -0.015em; }
.display-md { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3.5vw, 52px); font-weight: 300; line-height: 1.1; }
.display-sm { font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 2.5vw, 34px); font-weight: 400; line-height: 1.2; }
.body-lg { font-size: 17px; line-height: 1.8; color: var(--grey); font-weight: 300; }
.body-md { font-size: 15px; line-height: 1.75; color: var(--grey); font-weight: 300; }

/* === SECTION LABEL === */
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--green); flex-shrink: 0; }
.section-label.light { color: rgba(255,255,255,0.55); }
.section-label.light::before { background: rgba(255,255,255,0.35); }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; font-family: 'Jost', sans-serif; font-size: 11px;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; border: none; transition: all 0.3s ease; border-radius: 1px;
}
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(27,107,47,0.25); }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid rgba(0,0,0,0.2); }
.btn-outline:hover { background: var(--dark); color: white; border-color: var(--dark); }
.btn-outline-white { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.35); }
.btn-outline-white:hover { background: white; color: var(--dark); }
.btn-arrow::after { content: '→'; transition: transform 0.3s ease; }
.btn-arrow:hover::after { transform: translateX(5px); }

/* === HERO === */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(165deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.8) 100%); }
.hero-grain { position: absolute; inset: 0; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; padding: 0 48px 90px; width: 100%; max-width: var(--container); margin: 0 auto; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-eyebrow .section-label { margin-bottom: 0; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(54px, 7.5vw, 108px); font-weight: 300; color: white; line-height: 0.97; letter-spacing: -0.025em; margin-bottom: 40px; max-width: 820px; }
.hero-title em { font-style: italic; color: rgba(255,255,255,0.65); }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,0.45); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; }
.hero-scroll-bar { width: 1px; height: 48px; background: rgba(255,255,255,0.25); position: relative; overflow: hidden; }
.hero-scroll-bar::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 50%; background: white; animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0% { top: -50%; } 100% { top: 150%; } }

/* === MARQUEE === */
.marquee-strip { background: var(--green); padding: 16px 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: marqueeRun 25s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 32px; padding-right: 32px; font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 400; color: rgba(255,255,255,0.85); letter-spacing: 0.05em; }
.marquee-sep { width: 3px; height: 3px; background: rgba(255,255,255,0.4); border-radius: 50%; flex-shrink: 0; }
@keyframes marqueeRun { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === SECTIONS === */
section { padding: var(--section-pad) 0; }
.section-header { margin-bottom: 64px; }
.section-header-split { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 64px; }

/* === SERVICE CARDS (Home) === */
.services-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--light-grey); margin-top: 60px; }
.svc-card { background: var(--white); padding: 44px 36px 48px; position: relative; overflow: hidden; cursor: pointer; transition: background 0.4s ease; }
.svc-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.svc-card:hover { background: var(--warm-white); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-num { font-family: 'Cormorant Garamond', serif; font-size: 12px; color: var(--green); letter-spacing: 0.1em; margin-bottom: 32px; display: block; }
.svc-icon { width: 40px; height: 40px; margin-bottom: 20px; }
.svc-icon svg { width: 100%; height: 100%; stroke: var(--green); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 500; color: var(--dark); margin-bottom: 10px; }
.svc-card p { font-size: 13px; color: var(--grey); line-height: 1.7; font-weight: 300; }
.svc-arrow { position: absolute; bottom: 22px; right: 22px; width: 30px; height: 30px; border: 1px solid var(--light-grey); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--grey); transition: all 0.35s ease; }
.svc-card:hover .svc-arrow { background: var(--green); border-color: var(--green); color: white; transform: rotate(-45deg); }

/* === WHY FORTIS === */
.why-section { background: var(--warm-white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.why-image-wrap { position: relative; }
.why-image-main { width: 100%; height: 600px; object-fit: cover; }
.why-accent-box { position: absolute; bottom: -24px; right: -24px; width: 180px; height: 180px; border: 2px solid var(--green); z-index: -1; }
.why-content { padding-right: 20px; }
.why-intro { font-size: 16px; color: var(--grey); line-height: 1.8; font-weight: 300; margin: 24px 0 40px; }
.why-list { border-top: 1px solid rgba(0,0,0,0.07); }
.why-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,0.07); transition: padding-left 0.3s ease; cursor: default; }
.why-item:hover { padding-left: 8px; }
.why-num { font-family: 'Cormorant Garamond', serif; font-size: 14px; color: var(--green); min-width: 24px; padding-top: 1px; font-weight: 400; }
.why-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 500; color: var(--dark); margin-bottom: 5px; transition: color 0.3s ease; }
.why-item:hover h4 { color: var(--green); }
.why-item p { font-size: 13px; color: var(--grey); line-height: 1.65; font-weight: 300; }

/* === PROJECT CARDS === */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card { position: relative; overflow: hidden; background: var(--dark); cursor: pointer; }
.proj-card-img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.7s ease, opacity 0.5s ease; display: block; }
.proj-card:hover .proj-card-img { transform: scale(1.07); opacity: 0.65; }
.proj-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); transform: translateY(8px); transition: transform 0.4s ease; }
.proj-card:hover .proj-card-body { transform: translateY(0); }
.proj-tag { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-light); font-weight: 600; margin-bottom: 7px; display: block; }
.proj-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: white; margin-bottom: 3px; }
.proj-card span { font-size: 12px; color: rgba(255,255,255,0.55); }
.proj-link { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; opacity: 0; transform: scale(0.7) rotate(45deg); transition: all 0.4s ease; }
.proj-card:hover .proj-link { opacity: 1; transform: scale(1) rotate(-45deg); }

/* === STATS === */
.stats-section { background: var(--mid-dark); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.05); }
.stat-cell { padding: 52px 40px; background: var(--mid-dark); text-align: center; }
.stat-val { font-family: 'Cormorant Garamond', serif; font-size: 68px; font-weight: 300; color: white; line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.stat-suf { color: var(--green-light); font-size: 48px; }
.stat-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-top: 10px; }

/* === CTA BANNER === */
.cta-banner { background: var(--green); padding: 110px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: 'FORTIS'; position: absolute; font-family: 'Cormorant Garamond', serif; font-size: 220px; font-weight: 700; color: rgba(255,255,255,0.05); top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; letter-spacing: 0.08em; pointer-events: none; }
.cta-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 5vw, 68px); font-weight: 300; color: white; margin-bottom: 20px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.72); max-width: 460px; margin: 0 auto 40px; line-height: 1.75; font-weight: 300; }

/* === PAGE HERO === */
.page-hero { padding-top: var(--nav-height); height: 65vh; min-height: 500px; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.2) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 0 48px 64px; width: 100%; max-width: calc(var(--container) + 96px); margin: 0 auto; }
.page-hero-content h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(44px, 6vw, 88px); font-weight: 300; color: white; letter-spacing: -0.02em; line-height: 1.0; max-width: 640px; margin-top: 12px; }

/* === ABOUT PAGE === */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.about-text p { font-size: 16px; color: var(--grey); line-height: 1.85; font-weight: 300; margin-bottom: 20px; }
.about-text p:first-child { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--dark); line-height: 1.6; margin-bottom: 24px; }
.about-img-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; }
.about-img-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-grid img:first-child { grid-row: span 2; }
.team-section { background: var(--warm-white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.team-card { }
.team-img { height: 300px; overflow: hidden; background: var(--light-grey); }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-img img { transform: scale(1.04); }
.team-info { padding: 20px 0; }
.team-info h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; color: var(--dark); margin-bottom: 4px; }
.team-info span { font-size: 12px; color: var(--green); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.values-section { }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--light-grey); margin-top: 56px; }
.val-card { background: var(--white); padding: 44px 28px; text-align: center; cursor: default; transition: background 0.4s ease; }
.val-card:hover { background: var(--green); }
.val-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; color: var(--light-grey); font-weight: 300; display: block; margin-bottom: 14px; transition: color 0.4s ease; }
.val-card:hover .val-num { color: rgba(255,255,255,0.2); }
.val-card h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; font-family: 'Jost', sans-serif; color: var(--dark); transition: color 0.4s ease; }
.val-card:hover h4 { color: white; }
.val-card p { font-size: 13px; color: var(--grey); line-height: 1.6; font-weight: 300; transition: color 0.4s ease; }
.val-card:hover p { color: rgba(255,255,255,0.8); }

/* === SERVICES PAGE === */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 88px 0; border-bottom: 1px solid var(--light-grey); }
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; }
.service-row.flip { direction: rtl; }
.service-row.flip > * { direction: ltr; }
.service-img-wrap { height: 500px; overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.service-row:hover .service-img-wrap img { transform: scale(1.04); }
.service-big-num { font-family: 'Cormorant Garamond', serif; font-size: 88px; color: var(--light-grey); font-weight: 300; line-height: 1; margin-bottom: 4px; }
.service-row-content h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3vw, 44px); font-weight: 400; color: var(--dark); margin-bottom: 18px; }
.service-row-content p { font-size: 15px; color: var(--grey); line-height: 1.82; font-weight: 300; margin-bottom: 24px; }
.service-features { border-top: 1px solid var(--light-grey); margin: 24px 0 32px; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.service-features li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--mid); }
.service-features li::before { content: ''; width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

/* === PORTFOLIO PAGE === */
.portfolio-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 52px; }
.filt-btn { padding: 9px 22px; font-size: 11px; font-family: 'Jost', sans-serif; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--light-grey); background: white; color: var(--grey); cursor: pointer; transition: all 0.3s ease; }
.filt-btn:hover, .filt-btn.active { background: var(--green); border-color: var(--green); color: white; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; gap: 16px; }
.port-item { position: relative; overflow: hidden; background: var(--dark); cursor: pointer; }
.port-item.tall { grid-row: span 2; }
.port-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, opacity 0.4s ease; display: block; }
.port-item:hover img { transform: scale(1.07); opacity: 0.6; }
.port-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 55%); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transition: opacity 0.4s ease; }
.port-item:hover .port-overlay { opacity: 1; }
.port-overlay .proj-tag { margin-bottom: 6px; }
.port-overlay h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: white; margin-bottom: 3px; }
.port-overlay p { font-size: 12px; color: rgba(255,255,255,0.55); }

/* === CAREERS PAGE === */
.careers-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.careers-text p { font-size: 16px; color: var(--grey); line-height: 1.85; font-weight: 300; margin-bottom: 20px; }
.careers-text p:first-child { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--dark); line-height: 1.6; }
.careers-img { height: 520px; overflow: hidden; }
.careers-img img { width: 100%; height: 100%; object-fit: cover; }
.perks-section { background: var(--warm-white); }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--light-grey); margin-top: 56px; }
.perk { background: var(--white); padding: 44px 36px; transition: background 0.4s ease; }
.perk:hover { background: var(--warm-white); }
.perk-icon { font-size: 28px; margin-bottom: 20px; display: block; }
.perk h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; color: var(--dark); margin-bottom: 10px; }
.perk p { font-size: 14px; color: var(--grey); line-height: 1.7; font-weight: 300; }
.positions-section { }
.position-list { border-top: 1px solid var(--light-grey); margin-top: 48px; }
.position-row { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; border-bottom: 1px solid var(--light-grey); cursor: pointer; transition: padding-left 0.3s ease; }
.position-row:hover { padding-left: 12px; }
.pos-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; color: var(--dark); margin-bottom: 6px; transition: color 0.3s ease; }
.position-row:hover .pos-title { color: var(--green); }
.pos-tags { display: flex; gap: 10px; }
.pos-tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); padding: 4px 10px; border: 1px solid var(--light-grey); }
.pos-arrow { font-size: 20px; color: var(--grey); transition: transform 0.3s ease, color 0.3s ease; }
.position-row:hover .pos-arrow { transform: rotate(-45deg); color: var(--green); }
.careers-cta { background: var(--dark); padding: 80px 0; text-align: center; }
.careers-cta h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 52px); font-weight: 300; color: white; margin-bottom: 16px; }
.careers-cta p { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 36px; font-weight: 300; }

/* === CONTACT PAGE === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.contact-info-panel h3 { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 300; color: var(--dark); margin-bottom: 10px; }
.contact-info-panel > p { font-size: 15px; color: var(--grey); font-weight: 300; line-height: 1.7; margin-bottom: 48px; }
.contact-details { display: flex; flex-direction: column; gap: 28px; margin-bottom: 48px; }
.contact-det { display: flex; gap: 18px; align-items: flex-start; }
.det-icon { width: 42px; height: 42px; background: var(--warm-white); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.det-text h5 { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.det-text p, .det-text a { font-size: 14px; color: var(--dark); line-height: 1.7; font-weight: 400; transition: color 0.3s ease; display: block; }
.det-text a:hover { color: var(--green); }
.contact-form-wrap { background: var(--warm-white); padding: 56px 52px; }
.contact-form-wrap h4 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 400; color: var(--dark); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 28px; }
.form-group label { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 9px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 0; border: none; border-bottom: 1px solid var(--light-grey);
  background: transparent; font-family: 'Jost', sans-serif; font-size: 15px; color: var(--dark);
  outline: none; font-weight: 300; transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { height: 90px; resize: none; }
.form-group select { appearance: none; cursor: pointer; }
.map-wrap { height: 380px; background: var(--light-grey); margin-top: 80px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
#form-success { display: none; text-align: center; padding: 40px 20px; }
#form-success h4 { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--green); margin-bottom: 10px; }
#form-success p { color: var(--grey); font-size: 15px; font-weight: 300; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  :root { --section-pad: 88px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .services-home-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .why-grid, .about-intro, .contact-grid, .careers-intro { grid-template-columns: 1fr; gap: 52px; }
  .why-image-main { height: 420px; }
  .careers-img { height: 380px; }
  .projects-grid, .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-auto-rows: 280px; }
  .port-item.tall { grid-row: span 1; }
  .service-row { grid-template-columns: 1fr; gap: 40px; }
  .service-row.flip { direction: ltr; }
  .service-img-wrap { height: 360px; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-height: 68px; --section-pad: 64px; }
  nav, .container, .page-hero-content, .hero-content { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding-bottom: 60px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .services-home-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .section-header-split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .values-grid, .team-grid { grid-template-columns: 1fr; }
  .mobile-menu-links a { font-size: 36px; }
}
