/* ============================================================
   Dev Tech Services — Global Stylesheet
   Professional tech agency design (blue theme, Inter font)
   ============================================================ */

:root {
  --primary: #1152d4;
  --primary-dark: #0a3da0;
  --primary-light: #eaf1ff;
  --navy: #16233a;
  --navy-800: #202e47;
  --bg: #f6f6f8;
  --surface: #ffffff;
  --surface-alt: #eef1f6;
  --text: #1a2233;
  --text-muted: #5b6570;
  --border: #e3e7ee;
  --success: #16a34a;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(22, 35, 58, 0.08);
  --shadow-lg: 0 20px 45px rgba(22, 35, 58, 0.12);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }

.section { padding: 80px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; color: var(--navy); }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(17, 82, 212, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(17, 82, 212, 0.32); }
.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,0.2); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--text); transition: color 0.2s; position: relative; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px;
  background: var(--primary); border-radius: 3px;
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; color: var(--navy); }

.currency-wrap { display: flex; align-items: center; }
.currency-select-wrap { position: relative; display: inline-flex; align-items: center; }
.currency-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--primary-light);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 32px 7px 14px;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.currency-select:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(17, 82, 212, 0.12);
}
.currency-select:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17, 82, 212, 0.15);
}
.currency-select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  pointer-events: none;
}
@media (max-width: 768px) {
  .currency-select { font-size: 0.78rem; padding: 6px 30px 6px 12px; }
  .currency-select-wrap::after { right: 14px; width: 6px; height: 6px; margin-top: -2px; }
}
@media (max-width: 600px) {
  .header-actions { gap: 10px; }
  .currency-select { font-size: 0.75rem; padding: 6px 28px 6px 11px; }
  .currency-select-wrap::after { right: 13px; }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 12px 24px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; }
  .nav a.active::after { display: none; }
  .nav a.active { color: var(--primary); }
  .menu-toggle { display: block; }
  .nav .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 110px; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; top: -160px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(17,82,212,0.12), transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--navy); line-height: 1.08; margin: 18px 0 24px; }
.hero h1 .accent { color: var(--primary); }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero-badge { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow); }
.hero-badge .material-symbols-outlined { color: var(--primary); }
.hero-badge span span { display: block; font-weight: 800; font-size: 1.05rem; }
.hero-badge span small { color: var(--text-muted); font-size: 0.75rem; }
.hero-visual { position: relative; }
.hero-card-lg { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-card-lg img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-float {
  position: absolute; bottom: 18px; left: -22px; background: #fff; border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border);
}
.hero-float .ic { width: 46px; height: 46px; border-radius: 50%; background: #e8f7ef; color: var(--success); display: flex; align-items: center; justify-content: center; }
.hero-float strong { display: block; font-size: 1rem; }
.hero-float small { color: var(--text-muted); }

@media (max-width: 900px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-float { left: 10px; }
}

/* ---------- Logos / Marquee ---------- */
.logo-strip { padding: 40px 0; border-bottom: 1px solid var(--border); }
.logo-strip p { text-align: center; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 700; margin-bottom: 24px; }
.logo-gallery { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: 0.75; }
.logo-gallery span { font-weight: 800; font-size: 1.2rem; color: var(--text-muted); }

/* ---------- Service Cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 34px 30px;
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .ic { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); color: var(--primary); }
.service-card.featured { border-color: var(--primary); box-shadow: 0 20px 45px rgba(17,82,212,0.12); position: relative; }
.service-card .badge-pop { position: absolute; top: -12px; right: 22px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px; }
.service-card h3 { font-size: 1.35rem; color: var(--navy); }
.service-card .price { font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.service-card .price small { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.service-card ul { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; flex: 1; }
.service-card ul li { display: flex; gap: 10px; align-items: center; font-size: 0.92rem; color: var(--text-muted); }
.service-card ul li .material-symbols-outlined { color: var(--primary); font-size: 1.15rem; }
.service-card .btn { margin-top: 18px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Full services list ---------- */
.all-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-mini {
  background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--border);
  display: flex; gap: 14px; align-items: flex-start; transition: transform 0.2s, box-shadow 0.2s;
}
.service-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-mini .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.service-mini h4 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.service-mini p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 900px) { .all-services { grid-template-columns: 1fr; } }

/* ---------- Workflow ---------- */
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.workflow-step { text-align: center; }
.workflow-step .num { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--primary-light); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.workflow-step h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 6px; }
.workflow-step p { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 900px) { .workflow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .workflow-grid { grid-template-columns: 1fr; } }

/* ---------- Why choose / features ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-item { text-align: center; padding: 20px; }
.why-item .ic { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.why-item h4 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.why-item p { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Tech band ---------- */
.tech-band { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.tech-band .section-head h2, .tech-band .section-head p { color: #fff; }
.tech-band .eyebrow { background: rgba(255,255,255,0.16); color: #fff; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.tech-grid .ti { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); padding: 24px; }
.tech-grid .ti h4 { font-size: 1.15rem; margin-bottom: 6px; }
.tech-grid .ti p { font-size: 0.9rem; opacity: 0.85; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.chip { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
@media (max-width: 900px) { .tech-grid { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.project-thumb { position: relative; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.project-thumb .monogram { display: flex; flex-direction: column; align-items: center; color: #fff; }
.project-thumb .monogram img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 8px; filter: brightness(0) invert(1); }
.project-thumb .monogram span { font-weight: 800; font-size: 1.4rem; letter-spacing: 0.02em; }
.project-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45)); }
.project-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); color: #fff;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3);
}
.project-body { padding: 22px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.project-body h3 { font-size: 1.25rem; color: var(--navy); }
.project-body p { font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.project-links { display: flex; gap: 12px; margin-top: 10px; }
.project-links .btn { flex: 1; padding: 12px 14px; font-size: 0.9rem; }
.grad-1 { background: linear-gradient(135deg, #1152d4, #0a3da0); }
.grad-2 { background: linear-gradient(135deg, #0f766e, #045f5a); }
.grad-3 { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.grad-4 { background: linear-gradient(135deg, #d97706, #b45309); }
.grad-5 { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.grad-6 { background: linear-gradient(135deg, #dc2626, #991b1b); }
.grad-7 { background: linear-gradient(135deg, #2563eb, #1e40af); }
.grad-8 { background: linear-gradient(135deg, #475569, #1e293b); }
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ---------- Experience tags ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag { background: var(--surface); border: 1px solid var(--border); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--text-muted); transition: 0.2s; }
.tag:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ---------- Pricing / plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.plan {
  background: var(--surface); border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--border);
  display: flex; flex-direction: column; position: relative; transition: transform 0.25s, box-shadow 0.25s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.featured { border-color: var(--primary); box-shadow: 0 20px 45px rgba(17,82,212,0.14); }
.plan .badge-pop { position: absolute; top: -12px; right: 22px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; color: var(--navy); }
.plan .plan-price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin: 8px 0; }
.plan .plan-price small { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.plan p.desc { color: var(--text-muted); font-size: 0.92rem; }
.plan ul { margin: 18px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan ul li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text-muted); align-items: center; }
.plan ul li .material-symbols-outlined { color: var(--success); font-size: 1.1rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Pricing notes ---------- */
.pricing-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.pricing-item {
  background: var(--surface); border-radius: var(--radius); padding: 22px 26px; border: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.pricing-item h4 { color: var(--navy); font-size: 1.05rem; }
.pricing-item p { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }
.pricing-item .range { font-weight: 800; color: var(--primary); font-size: 1.05rem; white-space: nowrap; }
@media (max-width: 600px) { .pricing-item { flex-direction: column; align-items: flex-start; } }

/* ---------- About / mission ---------- */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.mission-flow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.flow-step { background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 0.85rem; padding: 10px 18px; border-radius: 12px; display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .val { font-size: 2.6rem; font-weight: 800; color: #fff; }
.stat .val span { color: #7fb0ff; }
.stat .lbl { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 6px; }

/* Our Mission section — stats sit on a light background; make numbers blue & labels dark for clear contrast */
.section-alt .stats-grid .stat .val { color: var(--primary); }
.section-alt .stats-grid .stat .val span { color: var(--primary); }
.section-alt .stats-grid .stat .lbl { color: var(--text-muted); }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-band p { opacity: 0.9; max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info .info-card { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.contact-info .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-info h4 { font-size: 1rem; color: var(--navy); margin-bottom: 2px; }
.contact-info p { color: var(--text-muted); font-size: 0.92rem; }
.contact-info a { color: var(--primary); font-weight: 600; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--navy); display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.social-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 2px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; background: var(--bg); transition: border-color 0.2s;
  color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; }
.form-success { background: #e8f7ef; color: var(--success); border-radius: 10px; padding: 14px; font-weight: 600; margin-bottom: 18px; display: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ---------- Hours ---------- */
.hours { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; margin-top: 26px; }
.hours h3 { color: var(--navy); margin-bottom: 16px; font-size: 1.2rem; }
.hours ul li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 0.95rem; }
.hours ul li:last-child { border-bottom: none; }
.hours ul li span:last-child { color: var(--navy); font-weight: 600; }
.hours ul li span.closed { color: var(--primary); font-weight: 700; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 80px 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; top: -120px; right: -100px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(17,82,212,0.45), transparent 65%); }
.page-hero .eyebrow { background: rgba(255,255,255,0.15); color: #fff; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); }
.footer-top { padding: 60px 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .about { font-size: 0.92rem; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul li { margin-bottom: 12px; font-size: 0.92rem; }
.footer ul a { transition: color 0.2s; }
.footer ul a:hover { color: #7fb0ff; }
.footer ul li.links { display: flex; gap: 12px; align-items: center; }
.footer ul li.links .material-symbols-outlined { color: var(--primary); font-size: 1.15rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.85rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.75); }
.footer-bottom a:hover { color: #7fb0ff; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 550px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.float-whatsapp {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px rgba(37,211,102,0.4);
}
.float-whatsapp:hover { transform: scale(1.06); }

/* ============================================================
   MOBILE RESPONSIVE — Comprehensive Breakpoints
   ============================================================ */

/* Global touch-friendly baseline */
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img { user-select: none; -webkit-user-drag: none; }
input, select, textarea, button { font-size: 16px !important; }

/* Tablets & smaller (900px and below) */
@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .page-hero { padding: 56px 0 48px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
  .section-head p { font-size: 1rem; }
  .logo-gallery { gap: 28px; }
  .logo-gallery span { font-size: 1rem; }
  .service-card { padding: 28px 24px; }
  .service-card .price { font-size: 1.6rem; }
  .service-card h3 { font-size: 1.2rem; }
  .service-card .ic { width: 52px; height: 52px; }
  .service-mini { padding: 18px; gap: 12px; }
  .service-mini .ic { width: 40px; height: 40px; }
  .service-mini h4 { font-size: 0.92rem; }
  .service-mini p { font-size: 0.78rem; }
  .plan { padding: 28px 24px; }
  .plan .plan-price { font-size: 1.8rem; }
  .form-card { padding: 26px 22px; }
  .contact-info .info-card { padding: 16px 18px; }
  .hours { padding: 24px 22px; }
  .mission-flow { gap: 10px; }
  .flow-step { font-size: 0.78rem; padding: 8px 14px; }
  .cta-band { padding: 56px 0 !important; }
  .cta-band p { font-size: 1rem; }
  .tag { padding: 8px 16px; font-size: 0.85rem; }
  .tech-grid .ti { padding: 20px; }
  .tech-grid .ti h4 { font-size: 1.05rem; }
  .tech-grid .ti p { font-size: 0.85rem; }
  .hero-float { left: 10px; bottom: 12px; padding: 12px 14px; }
  .hero-float .ic { width: 40px; height: 40px; }
  .hero-float strong { font-size: 0.9rem; }
  .hero-float small { font-size: 0.75rem; }
  .stat .val { font-size: 2rem; }
  .workflow-step .num { width: 54px; height: 54px; }
  .why-item .ic { width: 56px; height: 56px; }
  .project-thumb .monogram span { font-size: 1.15rem; }
  .project-thumb .monogram img { width: 44px; height: 44px; }
  .project-body { padding: 18px; }
  .project-body h3 { font-size: 1.1rem; }
  .project-body p { font-size: 0.84rem; }
}

/* Large phones (768px and below) */
@media (max-width: 768px) {
  .hero-grid { gap: 36px; }
  .hero-badges { gap: 10px; }
  .hero-badge { padding: 8px 12px; }
  .hero-badge span span { font-size: 0.92rem; }
  .hero-badge span small { font-size: 0.7rem; }
  .hero-badge .material-symbols-outlined { font-size: 1.3rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-top { gap: 28px; padding: 40px 0 28px; }
}

/* Small phones (600px and below) */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 44px 0; }
  .page-hero { padding: 48px 0 40px; }
  .hero { padding: 44px 0 52px; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .section-head p { font-size: 0.92rem; }
  .services-grid { gap: 20px; }
  .service-card { padding: 24px 20px; border-radius: 16px; }
  .service-card .price { font-size: 1.4rem; }
  .service-card h3 { font-size: 1.1rem; }
  .all-services { gap: 14px; }
  .service-mini { padding: 16px; border-radius: 12px; }
  .plans { gap: 20px; }
  .plan { padding: 24px 20px; border-radius: 16px; }
  .plan .plan-price { font-size: 1.6rem; }
  .pricing-item { padding: 18px 20px; }
  .pricing-item h4 { font-size: 0.95rem; }
  .pricing-item .range { font-size: 0.92rem; }
  .form-card { padding: 22px 18px; border-radius: 16px; }
  .btn-lg { padding: 14px 26px; font-size: 0.95rem; }
  .btn { padding: 12px 22px; font-size: 0.92rem; border-radius: 10px; }
  .contact-grid { gap: 32px; }
  .contact-info .info-card { padding: 14px 16px; gap: 12px; }
  .contact-info .ic { width: 42px; height: 42px; }
  .contact-info h4 { font-size: 0.92rem; }
  .contact-info p { font-size: 0.85rem; }
  .social-links { gap: 10px; }
  .social-links a { width: 42px; height: 42px; }
  .logo-gallery { gap: 18px; }
  .logo-gallery span { font-size: 0.85rem; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-item { padding: 16px 12px; }
  .why-item h4 { font-size: 1rem; }
  .why-item p { font-size: 0.88rem; }
  .workflow-grid { gap: 16px; }
  .workflow-step .num { width: 48px; height: 48px; border-width: 2px; }
  .workflow-step h4 { font-size: 0.92rem; }
  .workflow-step p { font-size: 0.8rem; }
  .stats-grid { gap: 20px; }
  .stat .val { font-size: 1.8rem; }
  .stat .lbl { font-size: 0.82rem; }
  .tech-grid { gap: 14px; margin-top: 28px; }
  .tech-grid .ti { padding: 18px; border-radius: 12px; }
  .chips { gap: 8px; }
  .chip { padding: 8px 14px; font-size: 0.8rem; }
  .tag-cloud { gap: 8px; }
  .tag { padding: 7px 14px; font-size: 0.8rem; border-radius: 999px; }
  .project-body { padding: 16px; }
  .project-body h3 { font-size: 1rem; }
  .project-links .btn { padding: 10px 12px; font-size: 0.85rem; }
  .cta-band { padding: 44px 0 !important; }
  .cta-actions { gap: 12px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .page-hero p { font-size: 0.95rem; }
  .mission-flow { gap: 8px; }
  .flow-step { font-size: 0.72rem; padding: 7px 12px; border-radius: 10px; }
  .footer-top { padding: 36px 0 24px; }
  .footer .brand span { font-size: 1.05rem; }
  .footer .about { font-size: 0.85rem; }
  .footer h4 { font-size: 0.92rem; margin-bottom: 14px; }
  .footer ul li { font-size: 0.85rem; margin-bottom: 10px; }
  .footer-bottom { padding: 18px 0; font-size: 0.78rem; flex-direction: column; text-align: center; }
}

/* Very small phones (400px and below — e.g. iPhone SE, older Androids) */
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .section { padding: 36px 0; }
  .page-hero { padding: 40px 0 34px; }
  .hero { padding: 36px 0 44px; }
  .hero h1 { font-size: 1.65rem; line-height: 1.12; }
  .hero-sub { font-size: 0.9rem; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .hero-badges { flex-direction: column; gap: 10px; }
  .hero-badge { width: 100%; }
  .hero-float { position: relative; left: 0; bottom: auto; margin-top: 14px; box-shadow: var(--shadow); }
  .brand span { font-size: 1.05rem !important; }
  .brand img { width: 36px; height: 36px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 1.3rem; }
  .services-grid { gap: 16px; }
  .service-card { padding: 20px 16px; }
  .service-card .price { font-size: 1.3rem; }
  .service-card ul { gap: 8px; }
  .service-card ul li { font-size: 0.85rem; }
  .service-mini { flex-direction: column; gap: 10px; }
  .service-mini .ic { width: 38px; height: 38px; }
  .plans { gap: 16px; }
  .plan { padding: 20px 16px; }
  .plan .plan-price { font-size: 1.4rem; }
  .plan ul { gap: 8px; }
  .plan ul li { font-size: 0.85rem; }
  .form-card { padding: 20px 14px; }
  .form-group input, .form-group select, .form-group textarea { padding: 12px 12px; }
  .pricing-list { gap: 12px; }
  .pricing-item { padding: 16px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .stats-grid { gap: 14px; }
  .stat .val { font-size: 1.5rem; }
  .why-item .ic { width: 48px; height: 48px; }
  .why-item .ic .material-symbols-outlined { font-size: 1.5rem; }
  .workflow-step .num { width: 42px; height: 42px; }
  .workflow-step .num .material-symbols-outlined { font-size: 1.2rem; }
  .workflow-step h4 { font-size: 0.82rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero p { font-size: 0.88rem; }
  .cta-band h2 { font-size: 1.4rem; }
  .cta-band p { font-size: 0.9rem; }
  .cta-actions { flex-direction: column; gap: 10px; }
  .cta-actions .btn { width: 100%; }
  .tag { padding: 6px 12px; font-size: 0.75rem; }
  .chip { padding: 7px 12px; font-size: 0.75rem; }
  .project-thumb .monogram span { font-size: 1rem; }
  .project-thumb .monogram img { width: 36px; height: 36px; }
  .project-body { padding: 14px; }
  .project-body h3 { font-size: 0.95rem; }
  .project-body p { font-size: 0.8rem; }
  .project-links { flex-direction: column; }
  .project-links .btn { padding: 12px; }
  .float-whatsapp { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .float-whatsapp img { width: 28px; height: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

/* Prevent hero decorative pseudo-element from causing horizontal scroll */
.hero { overflow: hidden; }

/* Prevent header from causing horizontal overflow */
.header { overflow: visible; }
.header-inner { overflow: visible; }

/* Ensure dropdown nav doesn't cause horizontal scroll */
@media (max-width: 900px) {
  .nav { max-width: 100%; overflow-y: auto; }
}

/* Touch-friendly minimum tap targets (44px) */
.nav a { min-height: 44px; display: flex; align-items: center; }
.btn { min-height: 44px; }
.footer ul a { min-height: 38px; display: inline-flex; align-items: center; }

/* ---------- Payable services ---------- */
.service-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: 14px; flex-wrap: wrap;
}
.price-tag {
  display: inline-flex; align-items: center;
  background: var(--primary-light); color: var(--navy);
  font-weight: 800; font-size: 1.05rem;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
}
.service-foot .btn-pay { padding: 8px 18px; font-size: 0.85rem; }

/* ---------- Checkout modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(22, 35, 58, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 20px;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  background: var(--surface); border-radius: var(--radius-lg);
  width: 100%; max-width: 420px; padding: 34px 30px 28px;
  box-shadow: var(--shadow-lg); text-align: center;
  transform: translateY(10px); transition: transform 0.25s;
  position: relative;
}
.modal.open .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--surface-alt);
  color: var(--text-muted); font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--primary-light); color: var(--primary); }
.modal-icon {
  width: 62px; height: 62px; margin: 0 auto 14px;
  border-radius: 50%; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
}
.modal-icon .material-symbols-outlined { font-size: 2rem; }
.modal-card h3 { font-size: 1.15rem; color: var(--navy); }
.modal-amount { font-size: 1.65rem; font-weight: 800; color: var(--primary); margin-top: 6px; }
.modal-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.modal-err {
  background: #fdecec; color: #b3261e; font-size: 0.86rem;
  padding: 10px 14px; border-radius: 10px; margin-top: 12px;
}
.modal-card .btn-pay-confirm { margin-top: 18px; }
.pay-form { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; text-align: left; }
.pay-form input, .pay-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 0.92rem;
  background: var(--surface); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pay-form textarea { resize: vertical; min-height: 68px; }
.pay-form input:focus, .pay-form textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.pay-form input:disabled, .pay-form textarea:disabled { background: var(--surface-alt); opacity: 0.7; }
.pay-trust {
  font-size: 0.74rem; color: var(--text-muted);
  margin-top: 12px; line-height: 1.5;
}

/* ---------- Payment success page ---------- */
.pay-success-section { padding: 70px 0; }
.pay-success {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 34px;
  box-shadow: var(--shadow);
}
.pay-success-icon {
  font-size: 3.4rem; color: var(--success);
  width: 84px; height: 84px; line-height: 84px;
  border-radius: 50%; background: #e8f7ee;
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
}
.pay-success h1 { font-size: 1.9rem; color: var(--navy); margin: 10px 0 8px; }
.pay-success p { color: var(--text-muted); }
.pay-success-ref {
  margin-top: 10px; font-size: 0.8rem; color: var(--text-muted);
  word-break: break-all;
}
.pay-success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  .header-inner { padding-top: env(safe-area-inset-top); }
  .footer-bottom { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
  .float-whatsapp { bottom: max(24px, calc(24px + env(safe-area-inset-bottom))); }
}

/* Ensure proper touch behavior on mobile */
@media (hover: none) {
  .service-card:hover,
  .project-card:hover,
  .plan:hover { transform: none; }
  .btn:hover { transform: none; }
  .tag:hover { border-color: var(--border); color: var(--text-muted); background: var(--surface); }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .page-hero { padding: 32px 0; }
  .hero { padding: 32px 0 40px; }
}

/* Print styles — hide interactive elements */
@media print {
  .header, .float-whatsapp, .cta-band, .form-card, .social-links { display: none !important; }
  .section { padding: 24px 0; }
  body { background: #fff; color: #000; }
  .footer { background: #fff; color: #333; border-top: 1px solid #ccc; }
  .footer h4 { color: #000; }
  .project-links { display: none; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
