/*
Theme Name: Sinergi Amanah Stable v17 Copy Polished
Theme URI: https://sinergiamanah.id
Author: Sinergi Amanah
Description: Stable locked-layout WordPress theme for Corporate Agency Prudential Syariah / Sinergi Amanah. Text, button labels, brand colours, hero background colours and Supabase CRM forms are editable via Customize without breaking layout.
Version: 2.1.0
Text Domain: sinergi-amanah-stable
*/


:root{
  --sa-orange:#f97316;
  --sa-orange-dark:#ea6409;
  --sa-blue:#0b74b5;
  --sa-green:#16a34a;
  --sa-navy:#0f172a;
  --sa-text:#556270;
  --sa-heading:#1f2937;
  --sa-soft:#f6f9fc;
  --sa-line:#e3ebf3;
  --sa-white:#ffffff;
  --sa-shadow:0 20px 50px rgba(15,23,42,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:#fff;
  color:var(--sa-text);
  font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size:16px;
  line-height:1.7;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.container{width:min(1200px, calc(100% - 44px));margin:0 auto}

.topbar{
  background:#fff;
  border-bottom:1px solid var(--sa-line);
  color:#5d6b79;
  font-size:14px;
}
.topbar .container{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:16px;
}
.topbar a{
  color:var(--sa-orange);
  font-weight:700;
}

.header{
  background:#fff;
  border-bottom:1px solid var(--sa-line);
  position:sticky;
  top:0;
  z-index:50;
}
.header-inner{
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand{width:340px;flex:0 0 auto}
.brand img{width:280px;height:auto;margin-bottom:8px}
.brand small{
  display:block;
  color:var(--sa-orange);
  font-size:12px;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  line-height:1.3;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  color:#485667;
  font-size:16px;
  flex:1;
}
.nav a{
  padding:10px 0;
  transition:.18s ease;
  position:relative;
}
.nav a:hover,.nav a.active{color:var(--sa-orange)}
.nav a.active::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:2px;
  height:2px;
  background:var(--sa-orange);
}
.header-action{display:flex;align-items:center;gap:12px}
.btn,button.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border:1px solid var(--sa-orange);
  border-radius:10px;
  background:var(--sa-orange);
  color:#fff;
  font-size:15px;
  font-weight:700;
  transition:.18s ease;
  cursor:pointer;
}
.btn:hover{background:var(--sa-orange-dark);border-color:var(--sa-orange-dark)}
.btn.secondary{
  background:#fff;
  color:var(--sa-orange);
}
.btn.secondary:hover{
  background:var(--sa-orange);
  color:#fff;
}
.menu-toggle{
  display:none;
  min-height:46px;
  padding:0 14px;
  border:1px solid var(--sa-line);
  background:#fff;
  border-radius:10px;
  color:#263241;
  font-size:15px;
  font-weight:700;
}

.hero-wrap{
  padding:56px 0 82px;
  background:#fff;
}
.hero-card{
  min-height:560px;
  position:relative;
  overflow:hidden;
  border-radius:30px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 36%, var(--sa-hero-left) 64%, var(--sa-hero-right) 100%),
    url('img/hero-bg.jpg') center right/cover no-repeat,
    linear-gradient(135deg,var(--sa-hero-left),var(--sa-hero-right));
  box-shadow:var(--sa-shadow);
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:720px;
  padding:92px 60px;
}
.eyebrow{
  display:inline-block;
  color:var(--sa-orange);
  font-size:15px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:18px;
}
.hero-title{
  color:var(--sa-orange);
  margin:0;
  font-size:clamp(42px,5vw,62px);
  line-height:1.1;
  letter-spacing:-.03em;
  font-weight:800;
}
.hero-title.dark{color:var(--sa-heading)}
.hero-text{
  margin:20px 0 0;
  color:#4d5a68;
  max-width:680px;
  font-size:18px;
}
.hero-buttons,.actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}
.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.hero-points span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  background:#fff;
  border:1px solid var(--sa-line);
  border-radius:999px;
  color:#5f6c7a;
  font-size:14px;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}

.section{padding:78px 0}
.section.alt{background:var(--sa-soft)}
.section-head{
  text-align:center;
  max-width:920px;
  margin:0 auto 42px;
}
.section-head h2{
  margin:0;
  color:var(--sa-heading);
  font-size:clamp(30px,3vw,42px);
  line-height:1.2;
  letter-spacing:-.02em;
  font-weight:800;
}
.section-head p{
  margin:14px auto 0;
  max-width:760px;
  color:var(--sa-text);
  font-size:17px;
}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{
  background:#fff;
  border:1px solid var(--sa-line);
  border-radius:22px;
  padding:28px 24px;
  min-height:100%;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.card h3{
  margin:0;
  color:var(--sa-heading);
  font-size:21px;
  line-height:1.3;
  font-weight:800;
}
.card p{
  margin:12px 0 0;
  color:var(--sa-text);
  font-size:15px;
}
.icon{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:rgba(249,115,22,.12);
  color:var(--sa-orange);
  font-weight:800;
  font-size:18px;
  margin-bottom:18px;
}
.icon.blue{background:rgba(11,116,181,.12);color:var(--sa-blue)}
.icon.green{background:rgba(22,163,74,.12);color:var(--sa-green)}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px;
  align-items:center;
}
.statement h2{
  margin:0;
  color:var(--sa-heading);
  font-size:clamp(32px,3vw,48px);
  line-height:1.18;
  letter-spacing:-.03em;
  font-weight:800;
}
.statement p{
  margin-top:18px;
  font-size:17px;
  color:var(--sa-text);
}

.feature-list{display:grid;gap:16px}
.feature{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:14px;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--sa-line);
  border-radius:20px;
  padding:18px 18px 18px 16px;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.check{
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(22,163,74,.12);
  color:var(--sa-green);
  font-size:16px;
  font-weight:900;
  margin-top:2px;
}
.feature strong{
  display:block;
  color:var(--sa-heading);
  font-size:18px;
  font-weight:800;
  line-height:1.3;
}
.feature span{
  display:block;
  margin-top:4px;
  color:var(--sa-text);
  font-size:15px;
  line-height:1.6;
}

.cta-panel{
  background:linear-gradient(135deg,#0f2747,#163f6f);
  color:#fff;
  border-radius:28px;
  padding:42px 40px;
  box-shadow:var(--sa-shadow);
}
.cta-panel h2{
  margin:0;
  color:#fff;
  font-size:clamp(28px,3vw,40px);
  line-height:1.2;
  font-weight:800;
}
.cta-panel p{
  margin:16px 0 0;
  color:rgba(255,255,255,.78);
  font-size:17px;
  max-width:820px;
}
.info-grid{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}
.info{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  padding:16px 18px;
}
.info small{
  display:block;
  color:rgba(255,255,255,.64);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.info strong{
  display:block;
  color:#fff;
  margin-top:6px;
  font-size:16px;
  line-height:1.35;
}

/* less boxy briefing section */
.briefing-panel{
  background:#fff;
  border:1px solid var(--sa-line);
  border-radius:30px;
  padding:34px;
  box-shadow:var(--sa-shadow);
}
.briefing-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:26px;
}
.briefing-head h2{
  margin:0;
  color:var(--sa-heading);
  font-size:clamp(28px,3vw,40px);
  line-height:1.2;
  font-weight:800;
}
.briefing-head p{
  margin:12px 0 0;
  color:var(--sa-text);
  font-size:17px;
  max-width:760px;
}
.briefing-grid{
  margin-top:24px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}
.briefing-item{
  background:linear-gradient(180deg,#fff,#f8fbfe);
  border:1px solid var(--sa-line);
  border-radius:20px;
  padding:18px;
}
.briefing-item small{
  display:block;
  color:var(--sa-orange);
  font-size:11px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.briefing-item strong{
  display:block;
  margin-top:7px;
  color:var(--sa-heading);
  font-size:16px;
  line-height:1.4;
}

.form-shell{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:36px;
  background:#fff;
  border:1px solid var(--sa-line);
  border-radius:28px;
  padding:34px;
  box-shadow:var(--sa-shadow);
}
.form{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.field.full{grid-column:1/-1}
label{
  display:block;
  color:var(--sa-heading);
  font-size:14px;
  font-weight:700;
  margin-bottom:8px;
}
input,select,textarea{
  width:100%;
  min-height:50px;
  border:1px solid #d8e3ee;
  background:#fff;
  color:var(--sa-text);
  padding:12px 14px;
  font-size:15px;
  border-radius:14px;
}
textarea{min-height:118px;resize:vertical}
input:focus,select:focus,textarea:focus{
  outline:none;
  border-color:var(--sa-orange);
  box-shadow:0 0 0 4px rgba(249,115,22,.10);
}

.footer{
  background:var(--sa-navy);
  color:#fff;
  padding:58px 0 24px;
  margin-top:40px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr .95fr;
  gap:34px;
}
.footer-logo{
  width:250px;
  filter:brightness(0) invert(1);
  margin-bottom:14px;
}
.footer h4{
  margin:0 0 12px;
  font-size:20px;
  font-weight:800;
}
.footer p,.footer a{
  color:rgba(255,255,255,.72);
  font-size:15px;
  line-height:1.7;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:34px;
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.54);
  font-size:14px;
}
.wa-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:100;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:12px;
  background:#25D366;
  color:#fff;
  font-weight:800;
  box-shadow:0 18px 44px rgba(37,211,102,.30);
}

@media (max-width:1050px){
  .header-inner{min-height:96px}
  .brand{width:auto}
  .brand img{width:240px}
  .nav{
    display:none;
    position:absolute;
    left:0;right:0;top:96px;
    background:#fff;
    border-bottom:1px solid var(--sa-line);
    padding:18px 22px;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .header.open .nav{display:flex}
  .menu-toggle{display:inline-flex}
  .header-action .btn{display:none}
  .grid-3,.grid-4,.info-grid,.briefing-grid,.footer-grid{grid-template-columns:1fr 1fr}
  .split,.form-shell{grid-template-columns:1fr}
  .hero-content{padding:70px 40px}
}
@media (max-width:680px){
  .container{width:min(100% - 28px,1200px)}
  .topbar .container{display:block;padding:10px 0}
  .brand img{width:205px}
  .brand small{font-size:9px}
  .hero-wrap{padding:34px 0 54px}
  .hero-card{border-radius:24px;min-height:auto}
  .hero-content{padding:38px 22px}
  .hero-text{font-size:16px}
  .hero-buttons .btn,.actions .btn{width:100%}
  .section{padding:56px 0}
  .grid-3,.grid-4,.info-grid,.briefing-grid,.footer-grid,.form{grid-template-columns:1fr}
  .briefing-panel,.form-shell,.cta-panel{padding:24px}
  .wa-float{left:14px;right:14px}
}


/* WordPress stable theme fixes */
.nav ul,
.nav li {
  list-style:none;
  margin:0;
  padding:0;
}

body .entry-content {
  margin:0;
}

.admin-bar .header {
  top:32px;
}

@media(max-width:782px){
  .admin-bar .header {
    top:46px;
  }
}


/* v12 form submission state */
.form-status {
  grid-column: 1 / -1;
  display:none;
  padding:12px 14px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
}
.form-status.success {
  display:block;
  background:rgba(22,163,74,.10);
  color:var(--sa-green);
  border:1px solid rgba(22,163,74,.22);
}
.form-status.error {
  display:block;
  background:rgba(249,115,22,.10);
  color:var(--sa-orange);
  border:1px solid rgba(249,115,22,.22);
}

.lang-switcher{display:flex;align-items:center;gap:6px;margin-left:6px;font-size:13px;font-weight:800}
.lang-switcher a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:32px;border:1px solid var(--sa-line);border-radius:10px;color:var(--sa-text);background:#fff}
.lang-switcher a.active{background:var(--sa-orange);border-color:var(--sa-orange);color:#fff}
@media(max-width:1050px){.lang-switcher{margin-left:0}}
