/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #d4930a;
  --gold-light: #f5b732;
  --gold-bg: rgba(212, 147, 10, 0.08);
  --dark: #0f172a;
  --dark-light: #1e293b;
  --white: #ffffff;
  --body-bg: #ffffff;
  --section-alt: #f7f8fa;
  --border: rgba(226, 232, 240, 0.8);
  --border-solid: #e2e8f0;
  --text: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 1140px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-mid);
  background: var(--body-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- OVERLAY --- */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1500;
}

.overlay.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.6rem; letter-spacing: -0.02em; }
h2 { font-size: 1.85rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* --- HEADER --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 42px;
  border-radius: 6px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

nav a:hover,
nav a.active {
  color: var(--gold);
}

/* --- HAMBURGER --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s;
}

/* --- SIDEBAR (MOBILE) --- */
.sidebar {
  display: none;
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  padding: 0;
  transition: right 0.3s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  flex-direction: column;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.sidebar-header img {
  height: 36px;
  width: auto;
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.2s;
}

.sidebar-close:hover {
  background: #f1f5f9;
  color: var(--gold);
}

.sidebar-menu {
  padding: 16px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  margin-bottom: 4px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.25s;
}

.sidebar-menu a i {
  color: var(--gold);
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: var(--gold-bg);
  transform: translateX(4px);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--gold);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 147, 10, 0.25);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 20px rgba(212, 147, 10, 0.25);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-light);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

/* --- HERO (SPLIT LAYOUT — Salvo Style) --- */
.hero {
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 50px;
  padding-top: 8px;
  padding-bottom: 40px;
}

.hero-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  color: var(--text);
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  color: #555;
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.hero-buttons .btn {
  min-width: 170px;
  text-align: center;
}

.hero-buttons .btn + .btn {
  margin-left: 0;
}

.hero-image {
  flex: 1;
  min-width: 0;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  background: var(--white);
  border: 1px solid #eee;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-buttons-overlay {
  display: none;
}

/* --- SECTION HEADERS --- */
.section-header {
  margin-bottom: 44px;
}

.section-header h2 {
  margin-bottom: 10px;
  color: var(--text);
}

.section-header p {
  color: #555;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-divider {
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: 16px 0 22px;
  border-radius: 3px;
}

/* --- CARDS --- */
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.25s;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  border-color: rgba(212, 147, 10, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
  color: var(--gold);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  color: #555;
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Card grid */
.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* --- WHAT WE DO SECTION --- */
.what-we-do {
  background: var(--white);
}

/* --- THE DIFFERENCE / WHY CHOOSE US --- */
.difference {
  background: var(--section-alt);
}

.difference-list {
  list-style: none;
  padding: 0;
  margin-top: 28px;
}

.difference-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-solid);
  font-size: 0.95rem;
  line-height: 1.7;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.difference-list li:last-child {
  border-bottom: none;
}

.difference-list li i {
  color: var(--gold);
  font-size: 15px;
  margin-top: 4px;
  flex-shrink: 0;
}

.difference-list strong {
  color: var(--text);
}

/* --- ABOUT SECTION (on homepage) --- */
.about-brief {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-grid p {
  color: #555;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.about-highlight-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.about-highlight-item i {
  color: var(--gold);
  font-size: 13px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.about-highlight-item span {
  font-size: 0.92rem;
  color: var(--text-mid);
}

/* Mission/Vision box */
.mv-box {
  background: rgba(212, 147, 10, 0.04);
  border: 1px solid rgba(212, 147, 10, 0.12);
  border-radius: var(--radius);
  padding: 28px;
}

.mv-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text);
}

.mv-box h4 i {
  color: var(--gold);
  font-size: 15px;
}

.mv-box p {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 0;
}

.mv-box + .mv-box {
  margin-top: 14px;
}

/* ============================================
   PROJECTS SECTION — SIDE-BY-SIDE LAYOUT
   ============================================ */
.projects-section {
  background: var(--section-alt);
}

/* Horizontal project card */
.project-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: stretch;
}

/* Image/preview on the left */
.project-preview {
  width: 45%;
  min-height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--section-alt);
  flex-shrink: 0;
}

.project-preview iframe {
  width: 200%;
  height: 200%;
  border: none;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
}

/* Details on the right */
.project-body {
  flex: 1;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.project-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 4px 10px;
  border-radius: 50px;
}

.project-body h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.project-body p {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 18px;
  line-height: 1.7;
}

.project-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  margin-top: auto;
}

.project-link:hover {
  gap: 10px;
}

/* Projects list — vertical stack of horizontal cards */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Coming soon card */
.project-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 45%;
  min-height: 260px;
  background: var(--section-alt);
  color: var(--text-light);
  flex-shrink: 0;
}

.project-coming i {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--border-solid);
}

.project-coming span {
  font-size: 0.88rem;
  font-weight: 500;
}

/* ============================================
   ALL PROJECTS PAGE — same side-by-side style
   ============================================ */
.all-projects {
  background: var(--white);
}

.all-projects-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Browser bar for project preview */
.browser-bar {
  background: #f1f5f9;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-solid);
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }

.browser-url {
  background: var(--white);
  border: 1px solid var(--border-solid);
  border-radius: 4px;
  padding: 3px 12px;
  font-size: 11px;
  color: var(--text-light);
  margin-left: 8px;
  flex-grow: 1;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iframe-wrap {
  width: 100%;
  flex: 1;
  overflow: hidden;
  position: relative;
  background: var(--section-alt);
  min-height: 200px;
}

.iframe-wrap iframe {
  width: 200%;
  height: 200%;
  border: none;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
}

/* Project preview with browser chrome */
.project-preview-browser {
  width: 45%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee;
}

.project-preview-browser .iframe-wrap {
  flex: 1;
}

/* --- PRICING SECTION --- */
.pricing-section {
  background: var(--white);
}

.pricing-group {
  margin-bottom: 50px;
}

.pricing-group h3 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.35rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.pricing-card.featured {
  border-color: rgba(212, 147, 10, 0.45);
  box-shadow: 0 18px 42px rgba(212, 147, 10, 0.14);
  background: #fff;
  position: relative;
}

.pricing-card-header {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  position: relative;
}

.pricing-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.pricing-card-header h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.pricing-amount span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-desc {
  font-size: 0.86rem;
  color: #555;
  margin-bottom: 16px;
  text-align: center;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
  flex: 1;
}

.pricing-features li {
  padding: 5px 0;
  font-size: 0.88rem;
  color: #555;
  padding-left: 22px;
  position: relative;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--section-alt);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.popular-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--gold);
  padding: 3px 8px;
  border-radius: 50px;
  margin-left: 6px;
  vertical-align: middle;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background: var(--section-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  align-items: start;
}

.contact-info-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.contact-info-box h3 {
  color: var(--text);
  margin-bottom: 8px;
}

.contact-info-box > p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail i {
  color: var(--gold);
  font-size: 15px;
  margin-top: 3px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.contact-detail .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-detail .value {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}

.contact-detail a {
  color: var(--text);
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--gold);
}

.contact-form-box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.contact-form-box h3 {
  margin-bottom: 6px;
}

.contact-form-box > p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  transition: all 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 147, 10, 0.08);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.service-option input { display: none; }

.service-option label {
  display: block;
  padding: 9px 10px;
  background: var(--section-alt);
  border: 1px solid var(--border-solid);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.2s;
}

.service-option input:checked + label {
  background: var(--gold-bg);
  border-color: var(--gold);
  color: var(--text);
}

.service-option label:hover {
  border-color: var(--gold);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 147, 10, 0.25);
}

/* --- FOOTER --- */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand img {
  height: 38px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-col p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.footer-col i {
  color: var(--gold-light);
  margin-right: 10px;
  font-size: 12px;
  width: 14px;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.footer-social a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 147, 10, 0.3);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--dark);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  font-size: 1.8rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto 24px;
  font-size: 0.95rem;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* --- SCROLL ANIMATIONS --- */
.anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }

/* --- SUBPAGE HERO (Salvo style — matches homepage hero) --- */
.subpage-hero {
  margin-top: var(--header-height);
  background: #fff;
  padding: 0;
  position: relative;
}

.subpage-hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.subpage-hero .banner-text {
  flex: 1;
  min-width: 0;
}

.subpage-hero .banner-text .subtitle {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.subpage-hero .banner-text h1 {
  font-size: 2.8rem;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.15;
  display: inline-block;
  background: rgba(15, 23, 42, 0.08);
  padding: 12px 18px;
  border-radius: 16px;
}

.subpage-hero .banner-text p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 500px;
}

.subpage-hero .banner-img {
  flex: 1;
  min-width: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  background: var(--white);
  border: 1px solid #eee;
}

.subpage-hero .banner-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* --- PAGE-SPECIFIC: SERVICES --- */
.services-detail-section {
  background: var(--white);
}

.service-detail-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-solid);
}

.service-detail-card:last-child {
  border-bottom: none;
}

.service-detail-card .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.service-detail-card > div:last-child p {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 12px;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  font-size: 0.86rem;
  color: #555;
  padding: 4px 0;
  padding-left: 22px;
  position: relative;
}

.service-detail-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Process section */
.process-section {
  background: var(--section-alt);
}

.process-section h2 {
  text-align: center;
  margin-bottom: 8px;
}

.process-section > .container > p {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.process-step {
  text-align: center;
  padding: 28px 18px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  transition: all 0.25s;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.step-number {
  width: 36px;
  height: 36px;
  background: var(--gold-bg);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.process-step h4 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.84rem;
  color: #555;
  margin-bottom: 0;
}

/* --- ABOUT PAGE --- */
.about-content-section {
  background: var(--white);
}

.about-content-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.about-content-card h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.about-content-card h2 i {
  color: var(--gold);
  font-size: 18px;
}

.about-content-card p {
  color: #555;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.about-content-card p:last-child {
  margin-bottom: 0;
}

/* About mission/vision grid */
.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.about-mv-card {
  background: rgba(212, 147, 10, 0.04);
  border: 1px solid rgba(212, 147, 10, 0.12);
  border-radius: var(--radius);
  padding: 32px;
}

.about-mv-card i {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
}

.about-mv-card h3 {
  margin-bottom: 10px;
}

.about-mv-card p {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 0;
}

/* About values grid */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.about-value-item {
  background: var(--section-alt);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 26px;
}

.about-value-item i {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}

.about-value-item h4 {
  margin-bottom: 8px;
}

.about-value-item p {
  font-size: 0.84rem;
  color: #555;
  margin-bottom: 0;
}

/* --- ALTERNATING SECTIONS --- */
.section-alt {
  background: var(--section-alt);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- TABLET (max 900px) --- */
@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .hero .container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-left {
    align-items: center;
    width: 100%;
    display: contents;
  }

  .hero-content {
    order: 1;
    width: 100%;
  }

  .hero-image {
    order: 2;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-buttons {
    display: none;
  }

  .hero-buttons-overlay {
    display: flex;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    gap: 10px;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 8px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  }

  .hero-buttons-overlay .btn {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
  }

  .hero-buttons-overlay .btn-overlay {
    background: var(--gold);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(212, 147, 10, 0.4);
  }

  .hero-buttons-overlay .btn-overlay:hover {
    background: var(--gold-light);
  }

  .hero-buttons-overlay .btn-overlay-outline {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .hero-buttons-overlay .btn-overlay-outline:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #ffffff;
  }

  .hero-image {
    position: relative;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Project cards stack vertically on tablet */
  .project-card {
    flex-direction: column;
  }

  .project-preview,
  .project-coming,
  .project-preview-browser {
    width: 100%;
    min-height: 220px;
  }

  .project-preview-browser {
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .featured-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-mv-grid {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subpage-hero .container {
    flex-direction: column;
    gap: 32px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .subpage-hero .banner-text h1 {
    font-size: 2.2rem;
  }

  .subpage-hero .banner-img {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .subpage-hero .banner-text {
    text-align: center;
  }

  .subpage-hero .banner-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- MOBILE (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  section { padding: 50px 0; }

  .container { padding: 0 18px; }

  nav ul { display: none; }
  .menu-toggle { display: flex; }
  .sidebar { display: flex; }

  .hero {
    margin-top: var(--header-height);
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero .container {
    padding-top: 28px;
    padding-bottom: 28px;
    gap: 30px;
  }

  .subpage-hero {
    margin-top: var(--header-height);
  }

  .subpage-hero .container {
    padding-top: 24px;
    padding-bottom: 24px;
    gap: 24px;
  }

  .subpage-hero .banner-text h1 {
    font-size: 1.9rem;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid-2 {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    flex-direction: column;
    gap: 28px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    flex-direction: column;
    gap: 14px;
  }

  .contact-info-box,
  .contact-form-box {
    padding: 24px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .cta-banner {
    padding: 48px 0;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* --- SMALL MOBILE (max 480px) --- */
@media (max-width: 480px) {
  :root {
    --header-height: 56px;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }

  .container { padding: 0 16px; }

  section { padding: 40px 0; }

  .hero {
    margin-top: calc(var(--header-height) + 10px);
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero .container {
    padding-top: 22px;
    padding-bottom: 22px;
    gap: 24px;
  }

  .hero-buttons {
    display: none;
  }

  .subpage-hero {
    margin-top: var(--header-height);
  }

  .subpage-hero .banner-text h1 {
    font-size: 1.7rem;
  }

  .subpage-hero .banner-text p {
    font-size: 0.9rem;
  }

  .subpage-hero .container {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 20px;
  }

  .service-options {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }

  .section-header {
    margin-bottom: 26px;
  }

  .section-label {
    font-size: 0.68rem;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .pricing-amount {
    font-size: 1.5rem;
  }

  .cta-banner {
    padding: 40px 0;
  }

  .cta-banner h2 {
    font-size: 1.35rem;
  }

  .cta-banner p {
    font-size: 0.9rem;
  }

  footer {
    padding: 40px 0 0;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .about-content-card {
    padding: 24px;
  }

  .project-body {
    padding: 22px 20px;
  }
}

/* --- VERY SMALL MOBILE (max 360px) --- */
@media (max-width: 360px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .subpage-hero .banner-text h1 {
    font-size: 1.5rem;
  }

  .container { padding: 0 12px; }

  .logo img {
    height: 34px;
  }

  .sidebar {
    width: 280px;
    right: -280px;
  }
}
