@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800;900&display=swap");

:root {
  --gold: #f4bc16;
  --gold-dark: #d9a40d;
  --ink: #25282a;
  --text: #444444;
  --muted: #999999;
  --line: #e2e6e7;
  --soft: #f5f5f5;
  --white: #ffffff;
  --container: 1170px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: none; color: var(--gold-dark); }
p { margin: 0 0 1em; line-height: 1.7; color: var(--text); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: Raleway, Arial, sans-serif;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 16px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 80px 0; }
.section.soft { background: var(--soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-head p { color: var(--text); font-family: Raleway, Arial, sans-serif; font-size: 16px; line-height: 1.7; }

.box-header {
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 800;
}
.box-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 0;
}
.box-header.left { text-align: left; }
.box-header.left::after { margin-left: 0; width: 42px; }
.small-line::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: Raleway, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 0;
  border-radius: 30px;
  padding: 13px 28px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-outline:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* Top bar */
.topbar {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar-contact,
.topbar-social { display: flex; align-items: center; gap: 22px; }
.topbar-contact li,
.topbar-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.topbar-social a { width: 28px; height: 28px; justify-content: center; }
.topbar-social a:hover,
.topbar-contact a:hover { color: var(--gold); }
.icon { width: 16px; height: 16px; fill: currentColor; }

/* Header */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--line);
}
.site-header.stuck { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.header-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  height: 61px;
  width: auto;
  max-width: 480px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 10px 9px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active { color: var(--gold); }

/* Hero */
.hero {
  position: relative;
  height: 680px;
  overflow: hidden;
  background: #111;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 34%, rgba(255,255,255,0.82) 48%, rgba(255,255,255,0.28) 64%, rgba(255,255,255,0) 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-copy { max-width: 540px; }
.hero-copy h2 {
  font-size: 44px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ink);
}
.hero-copy p {
  font-family: Raleway, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
}
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-arrow:hover { background: var(--gold); color: var(--white); }
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #ddd;
  cursor: pointer;
}
.hero-dots button.active { background: var(--gold); }

/* Page header */
.page-header {
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.04);
  padding: 34px 0;
}
.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.page-header h1 {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  font-weight: 800;
}
.breadcrumb {
  color: var(--muted);
  font-family: Raleway, Arial, sans-serif;
  font-size: 13px;
}
.breadcrumb span { color: var(--muted); }
.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--gold); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service-card { text-align: center; }
.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin-bottom: 22px;
}
.service-card h3 {
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0;
}
.service-card h3.small-line { margin-bottom: 16px; }
.service-card p { font-size: 14px; line-height: 1.7; }

/* Projects */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}
.project-filters button {
  border: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 24px;
  cursor: pointer;
}
.project-filters button.active,
.project-filters button:hover {
  background: var(--gold);
  color: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.project-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
}
.project-card.hidden { display: none; }
.project-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.project-card .view {
  position: absolute;
  inset: 0;
  background: rgba(38,38,40,0.55);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 16px;
}
.project-card:hover img { transform: scale(1.06); }
.project-card:hover .view { opacity: 1; }
.project-card .view h3 {
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-card .view span {
  color: var(--gold);
  font-family: Raleway, Arial, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
}

/* About home */
.about-home {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}
.portrait {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0 18px; }
.about-points h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.about-points h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
}

.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin: 28px 0 18px; }
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 12px;
  font-family: Raleway, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.tabs button.active { color: var(--ink); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.icon-box { text-align: center; padding: 10px 16px; }
.icon-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.icon-circle svg { width: 30px; height: 30px; fill: currentColor; }
.icon-box h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Testimonials + partners */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.quote {
  font-family: Raleway, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  position: relative;
  padding-top: 20px;
}
.quote::before {
  content: "“";
  font-size: 64px;
  color: var(--gold);
  line-height: 0.6;
  display: block;
  margin-bottom: 16px;
}
.quote-author {
  margin-top: 22px;
  font-family: Raleway, Arial, sans-serif;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.quote-author span { display: block; color: var(--muted); font-weight: 500; margin-top: 4px; }
.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
.partner {
  min-height: 110px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5c5c5;
  font-family: Raleway, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
}
.partner:nth-child(3n) { border-right: 0; }
.partner svg { width: 92px; height: 36px; }

/* Contact strip */
.contact-strip {
  background: var(--gold);
  padding: 42px 0;
}
.contact-strip .grid-3 { align-items: center; }
.strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  justify-content: center;
}
.strip-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.strip-icon svg { width: 24px; height: 24px; fill: currentColor; }
.strip-item h4 {
  color: var(--white);
  margin: 0 0 4px;
  font-size: 15px;
}
.strip-item p { color: var(--white); margin: 0; opacity: 0.95; }

/* Footer */
.site-footer { background: var(--white); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h3 {
  font-size: 16px;
  text-transform: none;
  margin-bottom: 8px;
}
.site-footer h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 12px 0 20px;
}
.site-footer p, .site-footer li, .site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--gold); }
.footer-links li { margin-bottom: 8px; }
.footer-links li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
}
.footer-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cats a {
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text);
}
.footer-cats a:hover { border-color: var(--gold); color: var(--gold); }
.social-row { display: flex; gap: 6px; margin-top: 18px; }
.social-row a {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-row a:hover { background: var(--gold-dark); color: var(--white); }
.social-row svg { width: 14px; height: 14px; fill: currentColor; }
.latest-post {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.latest-post img { width: 70px; height: 70px; object-fit: cover; flex-shrink: 0; }
.latest-post h4 { font-size: 14px; margin: 0 0 6px; line-height: 1.4; }
.latest-post time { color: var(--muted); font-size: 12px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--gold); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font-family: Raleway, Arial, sans-serif;
  font-size: 14px;
  padding: 13px 14px;
  outline: none;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: Raleway, Arial, sans-serif;
  color: var(--ink);
  font-size: 13px;
}
.error { color: #c0392b; font-size: 12px; min-height: 16px; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 8px; }
.success-box {
  display: none;
  background: #fff8e1;
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 18px 20px;
  margin-bottom: 18px;
  font-family: Raleway, Arial, sans-serif;
  font-weight: 600;
}
.success-box.show { display: block; }

/* Calculator */
.calc-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.calc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.calc-tabs button {
  border: 0;
  background: var(--soft);
  color: var(--ink);
  border-radius: 24px;
  padding: 10px 16px;
  font-family: Raleway, Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}
.calc-tabs button.active { background: var(--gold); color: var(--white); }
.range-row { margin-bottom: 22px; }
.range-row label {
  display: flex;
  justify-content: space-between;
  font-family: Raleway, Arial, sans-serif;
  margin-bottom: 10px;
  color: var(--ink);
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  padding: 0;
  border: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}
.cost-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 8px 8px;
  margin: 10px 0 28px;
}
.cost-box strong {
  font-size: 28px;
  color: var(--gold);
  font-family: Raleway, Arial, sans-serif;
}
.side-photos { display: grid; gap: 16px; }
.side-photos img { width: 100%; height: 170px; object-fit: cover; }
.check-list li { margin-bottom: 10px; }
.check-list li::before { content: "✓ "; color: var(--gold); font-weight: 700; }

/* Team */
.team-card { text-align: center; }
.team-card img { width: 100%; height: 280px; object-fit: cover; object-position: top; margin-bottom: 20px; }
.team-card h3 { font-size: 16px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 4px; }
.team-card .role { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }

.skill { margin-bottom: 18px; }
.skill span { display: flex; justify-content: space-between; font-family: Raleway, Arial, sans-serif; margin-bottom: 8px; }
.bar { height: 6px; background: var(--soft); }
.bar i { display: block; height: 100%; background: var(--gold); }

/* About page extras */
.about-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
}
.checklist li { margin-bottom: 10px; padding-left: 22px; position: relative; }
.checklist li::before { content: "✓"; color: var(--gold); position: absolute; left: 0; font-weight: 700; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; margin-top: 50px; }
.counters strong {
  display: block;
  font-size: 42px;
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-family: Raleway, Arial, sans-serif;
  font-weight: 700;
  color: var(--ink);
}
.faq details[open] summary { color: var(--gold); }
.faq details p { margin-top: 10px; }

.contact-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.contact-form textarea { min-height: 220px; }
.contact-form input { margin-bottom: 8px; }

/* Legal / simple pages */
.prose { max-width: 860px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose h3 { font-size: 17px; margin-top: 24px; }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.narrow-form { max-width: 520px; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-card {
  background: var(--white);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  padding: 0;
}
.modal-card img { width: 100%; height: 280px; object-fit: cover; }
.modal-body { padding: 28px; }
.modal-close {
  float: right;
  border: 0;
  background: none;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .about-home, .about-hero, .calc-layout, .split { grid-template-columns: 1fr; }
  .about-points, .why-grid, .counters { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .header-inner { min-height: 88px; }
  .logo img { height: 61px; max-width: 280px; }
  .hero { height: 560px; }
  .hero-copy h2 { font-size: 30px; }
  .hero-slide::after {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 46%, rgba(255,255,255,0.55) 70%, rgba(255,255,255,0.1) 100%);
  }
  .grid-3, .grid-2, .grid-4, .form-grid, .page-header-inner, .footer-bottom, .topbar-inner { grid-template-columns: 1fr; display: flex; flex-direction: column; }
  .projects-grid { grid-template-columns: 1fr; }
  .topbar-social { display: none; }
}
