/* ══════════════════════════════════════
   SA WEBSITE DESIGNER — SHARED STYLES
══════════════════════════════════════ */

/* RESET & VARIABLES */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root {
  --cobalt:    #1845A4;
  --cobalt-d:  #0D2B6E;
  --amber:     #FCA311;
  --amber-d:   #E8930A;
  --white:     #FFFFFF;
  --surface:   #F0F5FF;
  --ink:       #0A1628;
  --muted:     #64748B;
  --border:    #DDE6FF;
  --hero-grad: linear-gradient(135deg, #1845A4 0%, #0D2B6E 100%);
  --head:      'Outfit', sans-serif;
  --body:      'Plus Jakarta Sans', sans-serif;
  --max-w:     1200px;
  --px:        clamp(20px, 5vw, 80px);
  --radius:    12px;
}
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
section { padding: clamp(64px, 9vw, 104px) 0; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-family: var(--head); font-weight: 700; font-size: .92rem;
  cursor: pointer; border: none; transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 4px 20px rgba(252,163,17,.3); }
.btn-amber:hover { background: var(--amber-d); box-shadow: 0 8px 32px rgba(252,163,17,.45); }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.btn-outline { background: transparent; color: var(--cobalt); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--cobalt); background: var(--surface); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: .84rem; }

/* SECTION LABELS & HEADINGS */
.stag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cobalt);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 14px;
}
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
h2.heading {
  font-family: var(--head); font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800; color: var(--ink); line-height: 1.18; margin-bottom: 14px;
}
h2.heading em { font-style: normal; color: var(--cobalt); }
.section-sub { font-size: 1rem; color: var(--muted); max-width: 560px; line-height: 1.72; }

/* ══ NAV ══ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.nav-logo { font-family: var(--head); font-weight: 800; font-size: 1.08rem; color: var(--cobalt); white-space: nowrap; flex-shrink: 0; }
.nav-logo em { font-style: normal; color: var(--amber); }
.nav-links { display: flex; gap: 26px; flex: 1; }
.nav-links a { font-size: .86rem; font-weight: 600; color: var(--muted); letter-spacing: .03em; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--cobalt); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-wa { display: flex; align-items: center; gap: 7px; font-family: var(--head); font-size: .82rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-wa:hover { color: #25D366; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.mobile-nav { display: none; flex-direction: column; gap: 0; border-top: 1px solid var(--border); background: var(--white); }
.mobile-nav a { padding: 14px var(--px); font-size: .9rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--border); display: block; transition: background .2s; }
.mobile-nav a:hover { background: var(--surface); }
.mobile-nav.open { display: flex; }

/* ══ PAGE HERO (inner pages) ══ */
.page-hero {
  background: var(--hero-grad); color: var(--white);
  padding: clamp(48px, 7vh, 80px) 0; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 50%, rgba(252,163,17,.12), transparent 55%);
}
.page-hero-inner { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; font-size: .78rem; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb-sep { opacity: .4; }
.page-hero h1 { font-family: var(--head); font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; margin-bottom: 12px; line-height: 1.15; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.04rem; max-width: 520px; line-height: 1.72; }

/* ══ STATS BAR ══ */
.stats-bar { border-bottom: 1px solid var(--border); background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 30px 20px; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--head); font-size: 2.1rem; font-weight: 800; color: var(--cobalt); line-height: 1; margin-bottom: 5px; }
.stat-num sup { font-size: 1.1rem; color: var(--amber); }
.stat-label { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* ══ PROCESS ══ */
.process { background: var(--surface); }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; position: relative; }
.process-grid::before {
  content: ''; position: absolute;
  top: 34px; left: calc(16.6% + 14px); right: calc(16.6% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--cobalt) 0%, var(--amber) 50%, var(--cobalt) 100%);
  opacity: .2;
}
.process-card { background: var(--white); border-radius: 18px; padding: 34px 26px; border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.process-card:hover { box-shadow: 0 16px 48px rgba(24,69,164,.1); transform: translateY(-4px); }
.process-num { width: 54px; height: 54px; border-radius: 14px; background: var(--hero-grad); color: var(--white); font-family: var(--head); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.process-card h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.process-card p { font-size: .88rem; color: var(--muted); line-height: 1.68; }

/* ══ SERVICES CARDS (homepage grid) ══ */
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.service-card:hover { box-shadow: 0 14px 48px rgba(24,69,164,.1); transform: translateY(-4px); border-color: rgba(24,69,164,.25); }
.service-card.featured { background: var(--hero-grad); border-color: transparent; }
.svc-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.service-card.featured .svc-icon { background: rgba(255,255,255,.15); }
.svc-badge { display: inline-block; font-size: .7rem; font-weight: 700; background: rgba(252,163,17,.15); color: var(--amber-d); border-radius: 6px; padding: 3px 10px; letter-spacing: .06em; text-transform: uppercase; align-self: flex-start; }
.service-card.featured .svc-badge { background: rgba(255,255,255,.15); color: var(--white); }
.service-card h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.service-card.featured h3 { color: var(--white); }
.svc-price { font-family: var(--head); font-size: 1.5rem; font-weight: 800; color: var(--cobalt); }
.svc-price sub { font-size: .78rem; color: var(--muted); font-weight: 500; }
.service-card.featured .svc-price { color: var(--amber); }
.service-card.featured .svc-price sub { color: rgba(255,255,255,.55); }
.service-card p { font-size: .86rem; color: var(--muted); line-height: 1.65; flex: 1; }
.service-card.featured p { color: rgba(255,255,255,.7); }

/* ══ WHY SECTION ══ */
.why-section { background: var(--surface); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-wrap { border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 28px 70px rgba(24,69,164,.18); }
.why-img-wrap img { width: 100%; height: 500px; object-fit: cover; display: block; }
.why-img-badge { position: absolute; bottom: 24px; left: 24px; background: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: 0 10px 32px rgba(0,0,0,.16); }
.why-img-badge strong { display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 800; color: var(--cobalt); }
.why-img-badge span { font-size: .76rem; color: var(--muted); }
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.why-item h4 { font-family: var(--head); font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.why-item p { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ══ TESTIMONIALS ══ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .2s, transform .2s; }
.testi-card:hover { box-shadow: 0 14px 48px rgba(24,69,164,.1); transform: translateY(-3px); }
.testi-stars { color: var(--amber); font-size: .95rem; letter-spacing: 3px; }
.testi-quote { font-size: .9rem; color: var(--ink); line-height: 1.72; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.testi-av { width: 42px; height: 42px; border-radius: 50%; background: var(--hero-grad); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: .88rem; color: var(--white); flex-shrink: 0; }
.testi-name { font-family: var(--head); font-size: .88rem; font-weight: 700; color: var(--ink); }
.testi-co { font-size: .76rem; color: var(--muted); }

/* ══ CTA BAND ══ */
.cta-band { background: var(--hero-grad); color: var(--white); padding: clamp(64px, 9vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 85% 50%, rgba(252,163,17,.17), transparent 55%); }
.cta-band-inner { text-align: center; position: relative; }
.cta-band h2 { font-family: var(--head); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.cta-band p { font-size: 1.04rem; color: rgba(255,255,255,.72); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ══ CONTACT SECTION ══ */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info .section-sub { margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.crow { display: flex; align-items: center; gap: 14px; }
.crow-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.crow-text strong { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.crow-text a, .crow-text span { font-size: .92rem; color: var(--ink); font-weight: 500; }
.crow-text a:hover { color: var(--cobalt); }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: var(--white); padding: 13px 24px; border-radius: 8px; font-family: var(--head); font-weight: 700; font-size: .88rem; transition: background .2s, transform .18s; }
.wa-btn:hover { background: #20bd5a; transform: translateY(-2px); }
.quote-form { display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg label { display: block; font-size: .76rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; letter-spacing: .05em; text-transform: uppercase; }
.fg input, .fg textarea, .fg select { width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: 10px; font-family: var(--body); font-size: .9rem; color: var(--ink); background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(24,69,164,.1); }
.fg textarea { resize: vertical; min-height: 108px; }
.form-submit { background: var(--cobalt); color: var(--white); padding: 14px 24px; border: none; border-radius: 10px; font-family: var(--head); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .18s, transform .18s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { background: var(--cobalt-d); transform: translateY(-2px); }

/* ══ FOOTER ══ */
footer { background: var(--ink); color: var(--white); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 48px; }
.footer-brand-name { font-family: var(--head); font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.footer-brand-name em { font-style: normal; color: var(--amber); }
.footer-desc { font-size: .84rem; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-family: var(--head); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-col a { display: block; font-size: .87rem; color: rgba(255,255,255,.55); margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .79rem; color: rgba(255,255,255,.3); }
.footer-rating { display: flex; align-items: center; gap: 7px; font-size: .79rem; color: rgba(255,255,255,.45); }
.footer-stars { color: var(--amber); letter-spacing: 2px; }

/* ══ SERVICES DETAIL PAGE ══ */
.svc-detail-section { padding: clamp(52px, 7vw, 80px) 0; }
.svc-detail-section:nth-child(even) { background: var(--surface); }
.svc-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.svc-detail-inner.rev { direction: rtl; }
.svc-detail-inner.rev > * { direction: ltr; }
.svc-visual { background: var(--hero-grad); border-radius: 20px; padding: 52px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 320px; }
.svc-visual-icon { font-size: 3.5rem; margin-bottom: 20px; }
.svc-visual h3 { font-family: var(--head); font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.svc-visual-price { font-family: var(--head); font-size: 2.4rem; font-weight: 800; color: var(--amber); line-height: 1; margin-bottom: 4px; }
.svc-visual-price sub { font-size: 1rem; color: rgba(255,255,255,.55); font-weight: 500; }
.svc-visual p { color: rgba(255,255,255,.65); font-size: .88rem; margin-top: 8px; }
.svc-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0 28px; }
.svc-features li { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.svc-features li::before { content: '✓'; width: 22px; height: 22px; border-radius: 50%; background: rgba(24,69,164,.1); color: var(--cobalt); font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.svc-features li strong { color: var(--ink); font-weight: 600; }

/* ══ ABOUT PAGE ══ */
.about-bio { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: 520px; object-fit: cover; border-radius: 20px; box-shadow: 0 28px 70px rgba(24,69,164,.18); }
.about-photo-badge { position: absolute; bottom: 24px; right: -16px; background: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.16); }
.about-photo-badge strong { display: block; font-family: var(--head); font-size: 1.4rem; font-weight: 800; color: var(--cobalt); }
.about-photo-badge span { font-size: .76rem; color: var(--muted); }
.about-text h2 { font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--ink); line-height: 1.2; margin-bottom: 20px; }
.about-text h2 em { font-style: normal; color: var(--cobalt); }
.about-text p { font-size: .95rem; color: var(--muted); line-height: 1.78; margin-bottom: 16px; }
.about-text p strong { color: var(--ink); }

/* ══ PORTFOLIO ══ */
.pf-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.pf-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pf-card:hover { box-shadow: 0 16px 48px rgba(24,69,164,.12); transform: translateY(-5px); }
.pf-browser { background: #1a1a2e; height: 30px; display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.pf-dot { width: 9px; height: 9px; border-radius: 50%; }
.pf-dot-r { background: #ff5f57; }
.pf-dot-y { background: #ffbd2e; }
.pf-dot-g { background: #28c840; }
.pf-url-bar { flex: 1; background: rgba(255,255,255,.08); border-radius: 4px; height: 14px; margin-left: 10px; }
.pf-img { height: 185px; overflow: hidden; }
.pf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pf-card:hover .pf-img img { transform: scale(1.05); }
.pf-body { padding: 18px 20px; border-top: 1px solid var(--border); }
.pf-body h3 { font-family: var(--head); font-size: .96rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.pf-meta { display: flex; align-items: center; justify-content: space-between; }
.pf-tag { display: inline-block; font-size: .7rem; font-weight: 700; background: var(--surface); color: var(--cobalt); border-radius: 6px; padding: 3px 9px; border: 1px solid var(--border); }
.pf-live { font-size: .7rem; color: #22c55e; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.pf-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; display: inline-block; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .why-inner { grid-template-columns: 1fr; }
  .why-img-wrap { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-bio { grid-template-columns: 1fr; }
  .about-photo { display: none; }
  .svc-detail-inner { grid-template-columns: 1fr; }
  .svc-detail-inner.rev { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .pf-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
