:root{
  --bg:#ddd1c2;
  --card:#f4ece3;
  --primary:#3b1f05;
  --accent:#e67e00;
  --accentSoft:#f2a200;
  --border:rgba(59,31,5,0.15);
  --muted:#6b4a2e;

  --btnH:44px;
  --btnFont:14px;
  --btnRadius:10px;
}

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

body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--primary);
  min-height:100vh;
}

/* HEADER */
.header{
  width:100%;
  padding:25px 60px;
  display:flex;
  align-items:center;
  gap:25px;
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,0.35);
  backdrop-filter:blur(6px);
}

.header img{
  height:70px;
  object-fit:contain;
}

.brand{
  display:flex;
  flex-direction:column;
}

.brand-title{
  font-size:34px;
  font-weight:800;
}

.brand-tag{
  font-size:13px;
  color:var(--muted);
  margin-top:4px;
}

.header-spacer{
  flex:1;
}

.header-admin-link{
  height:var(--btnH);
  padding:0 16px;
  display:flex;
  align-items:center;
  border-radius:var(--btnRadius);
  border:1px solid var(--border);
  background:var(--card);
  color:var(--primary);
  font-weight:600;
  font-size:var(--btnFont);
  text-decoration:none;
  white-space:nowrap;
  transition:all .25s ease;
}

.header-admin-link:hover{
  background:linear-gradient(90deg,var(--accent),var(--accentSoft));
  color:#fff;
  border-color:transparent;
}

/* LAYOUT */
.container{
  display:grid;
  grid-template-columns:220px 1fr;
  min-height:calc(100vh - 120px);
}

/* SIDEBAR */
.sidebar{
  padding:30px 20px;
  border-right:1px solid var(--border);
  background:rgba(255,255,255,0.4);
}

.nav-group{
  margin-bottom:18px;
}

.sidebar button,
.sidebar a{
  width:100%;
  height:var(--btnH);
  padding:0 16px;
  display:flex;
  align-items:center;
  border-radius:var(--btnRadius);
  border:1px solid var(--border);
  background:var(--card);
  color:var(--primary);
  font-weight:600;
  font-size:var(--btnFont);
  cursor:pointer;
  text-align:left;
  text-decoration:none;
  transition:all .25s ease;
}

.sidebar button:hover,
.sidebar a:hover{
  background:linear-gradient(90deg,var(--accent),var(--accentSoft));
  color:#fff;
  border-color:transparent;
}

.nav-subnote{
  margin-top:6px;
  padding-left:10px;
  font-size:12px;
  color:var(--muted);
  line-height:1.35;
  border-left:3px solid rgba(230,126,0,0.55);
}

/* CONTENT */
.content{
  padding:60px;
}

/* CONTACT FORM */
.form-card{
  max-width:650px;
  margin:0 auto;
  background:var(--card);
  padding:40px;
  border-radius:14px;
  border:1px solid var(--border);
  box-shadow:0 6px 20px rgba(0,0,0,0.08);
}

.form-card h2{
  margin-bottom:8px;
}

.form-sub{
  font-size:13px;
  color:var(--muted);
  margin-bottom:30px;
}

.form-row{
  margin-bottom:18px;
  display:flex;
  flex-direction:column;
}

.form-row label{
  font-size:13px;
  margin-bottom:6px;
  font-weight:600;
}

.form-row input,
.form-row textarea{
  padding:12px 14px;
  border-radius:8px;
  border:1px solid var(--border);
  background:#fff;
  font-family:'Inter',sans-serif;
  font-size:14px;
  transition:0.2s;
}

.form-row input:focus,
.form-row textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(230,126,0,0.2);
}

.submit-btn{
  width:100%;
  height:44px;
  border:none;
  border-radius:10px;
  background:linear-gradient(90deg,var(--accent),var(--accentSoft));
  color:#fff;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition:0.25s;
}

.submit-btn:hover{
  opacity:0.9;
}

.submit-btn:disabled{
  opacity:0.7;
  cursor:not-allowed;
}

.form-status{
  margin-top:12px;
  min-height:20px;
  font-size:13px;
  color:var(--muted);
}

.form-status.is-success{
  color:#1f7a1f;
}

.form-status.is-error{
  color:#9a1b1b;
}

.hp-field{
  position:absolute;
  left:-9999px;
  opacity:0;
  pointer-events:none;
}

/* Banner (if you still use it on another page) */
.banner{
  height:350px;
  border-radius:18px;
  background:
    linear-gradient(rgba(255,255,255,0.3),rgba(0,0,0,0.15)),
    url("../images/iForenisBanner.jpg") center/cover no-repeat;
  margin-bottom:25px;
  border:1px solid var(--border);
}

.dev{
  font-size:14px;
  color:var(--muted);
  letter-spacing:1px;
}

.about-card{
  max-width:900px;
}

.about-copy p{
  margin-bottom:14px;
  line-height:1.65;
  text-align:justify;
}

.about-section-title{
  margin-top:14px;
  margin-bottom:12px;
  font-size:18px;
}

.principles-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.principle-card{
  background:rgba(255,255,255,0.45);
  border:1px solid var(--border);
  border-radius:10px;
  padding:14px;
}

.principle-card h4{
  margin-bottom:8px;
  font-size:15px;
}

.principle-card p{
  font-size:13px;
  color:var(--muted);
  line-height:1.55;
}

.legal-boundary{
  margin-top:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.35);
  border-radius:10px;
  padding:12px 14px;
  color:var(--muted);
  line-height:1.6;
  font-size:13px;
}

.about-page .content{
  padding:28px;
}

.about-page .form-card{
  padding:24px;
}

.about-page .form-sub{
  margin-bottom:14px;
}

.about-page .about-copy p{
  margin-bottom:10px;
  line-height:1.5;
  font-size:13px;
}

.about-page .about-section-title{
  margin-top:10px;
  margin-bottom:8px;
}

.about-page .principles-grid{
  gap:8px;
}

.about-page .principle-card{
  padding:10px;
}

.about-page .principle-card h4{
  margin-bottom:5px;
}

.about-page .principle-card p{
  font-size:12px;
  line-height:1.45;
}

.about-page .legal-boundary{
  margin-top:10px;
  padding:10px 12px;
  line-height:1.45;
  font-size:12px;
}

/* Responsive */
@media(max-width:900px){
  .container{grid-template-columns:1fr}
  .sidebar{
    border-right:none;
    border-bottom:1px solid var(--border);
  }
  .header{
    padding:18px;
  }
  .header-admin-link{
    margin-left:auto;
  }
  .content{
    padding:25px;
  }
  .about-page .content{
    padding:16px;
  }
  .banner{height:260px;}
  .principles-grid{grid-template-columns:1fr;}
}
