/* restoration.css
   Restoration Portal — fresh design
   Fonts: Montserrat (headings), Open Sans (body)
*/

:root{
  --color-deep-blue: #003366;
  --color-forest-green: #228B22;
  --color-sunrise-gold: #FFD700;
  --color-neutral-100: #F5F5F5;
  --color-neutral-200: #E9ECEF;
  --color-text: #0B1A2B;
  --max-width: 1200px;
  --radius: 12px;
  --ease: cubic-bezier(.2,.9,.3,1);
  --shadow-soft: 0 8px 24px rgba(3,18,34,0.08);
  --shadow-subtle: 0 4px 12px rgba(3,18,34,0.06);
  --glass: rgba(255,255,255,0.6);
}

/* Base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color:var(--color-text);
  background:linear-gradient(180deg, #fbfdff 0%, var(--color-neutral-100) 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
  -webkit-tap-highlight-color: transparent;
}

/* Container */
.container{
  width:90%;
  max-width:var(--max-width);
  margin:0 auto;
  padding:48px 0;
}

/* Navigation as guided journey */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--color-deep-blue);
}
.brand .logo{
  width:44px;
  height:44px;
  border-radius:50%;
  background:conic-gradient(from 180deg at 50% 50%, var(--color-forest-green), var(--color-deep-blue), var(--color-sunrise-gold));
  box-shadow:var(--shadow-subtle);
  display:inline-block;
}
.brand h1{
  font-family: "Montserrat", sans-serif;
  font-size:18px;
  margin:0;
  letter-spacing:0.2px;
}

/* Hero */
.hero{
  position:relative;
  display:flex;
  align-items:center;
  min-height:64vh;
  border-radius:18px;
  overflow:hidden;
  margin-bottom:40px;
  background:
    radial-gradient(1200px 400px at 10% 20%, rgba(34,139,34,0.06), transparent 10%),
    linear-gradient(180deg, rgba(0,51,102,0.06), rgba(34,139,34,0.03));
  padding:64px 0;
}
.hero .left{
  flex:1;
  padding:48px;
}
.hero h2{
  font-family:"Montserrat", sans-serif;
  font-size:40px;
  line-height:1.02;
  margin:0 0 18px 0;
  color:var(--color-deep-blue);
  letter-spacing:-0.4px;
  transform:translateY(0);
  opacity:1;
  transition:all 600ms var(--ease);
}
.hero p.lead{
  margin:0 0 24px 0;
  font-size:18px;
  color:#123;
  max-width:720px;
}
.hero .cta{
  display:inline-flex;
  gap:12px;
  align-items:center;
}
.btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  transition:transform 220ms var(--ease), box-shadow 220ms var(--ease);
  box-shadow:var(--shadow-subtle);
}
.btn-primary{
  background:linear-gradient(90deg,var(--color-forest-green), #1f7a1f);
  color:white;
}
.btn-ghost{
  background:transparent;
  color:var(--color-deep-blue);
  border:2px solid rgba(0,51,102,0.06);
}

/* Hero visual column */
.hero .right{
  flex:1;
  padding:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}
.hero .orb{
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(255,215,0,0.12), rgba(34,139,34,0.06) 40%, rgba(0,51,102,0.02));
  box-shadow: 0 20px 60px rgba(3,18,34,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:visible;
}
.orb::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  border:4px dashed rgba(255,215,0,0.12);
  transform:rotate(12deg);
  top:50%;
  left:50%;
  transform-origin:center;
  transform:translate(-50%,-50%) rotate(12deg);
}

/* Two-column sections */
.section{
  padding:56px 0;
  display:flex;
  gap:32px;
  align-items:flex-start;
}
.section .col{
  flex:1;
  background:white;
  border-radius:14px;
  padding:28px;
  box-shadow:var(--shadow-soft);
}
.section.alt{
  background:linear-gradient(180deg, rgba(0,51,102,0.02), rgba(34,139,34,0.01));
  border-radius:16px;
}

/* Cards for protocols */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.card{
  background:linear-gradient(180deg, #fff, #fbfdff);
  border-radius:12px;
  padding:18px;
  box-shadow:var(--shadow-subtle);
  transition:transform 320ms var(--ease), box-shadow 320ms var(--ease);
  border:1px solid rgba(3,18,34,0.03);
}
.card:hover{
  transform:translateY(-8px);
  box-shadow:0 18px 40px rgba(3,18,34,0.09);
}
.card h3{
  margin:0 0 8px 0;
  font-family:"Montserrat",sans-serif;
  font-size:18px;
  color:var(--color-deep-blue);
}
.card p{margin:0;color:#234}

/* CTA band */
.cta-band{
  margin:48px 0;
  padding:28px;
  border-radius:14px;
  background:linear-gradient(90deg, rgba(34,139,34,0.06), rgba(0,51,102,0.04));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.cta-band .cta-text{max-width:70%}
.cta-band h4{margin:0;font-family:"Montserrat",sans-serif;color:var(--color-deep-blue)}
.cta-band p{margin:6px 0 0 0;color:#123}

/* Footer */
.footer{
  margin-top:64px;
  padding:36px 0;
  background:linear-gradient(180deg, rgba(0,51,102,0.02), transparent);
  border-top:1px solid rgba(3,18,34,0.03);
}
.footer .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.unity{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--color-deep-blue);
}
.unity .ring{
  width:48px;height:48px;border-radius:50%;
  background:conic-gradient(var(--color-forest-green), var(--color-deep-blue), var(--color-sunrise-gold));
  box-shadow:var(--shadow-subtle);
}

/* Animations */
.fade-up{
  opacity:0;
  transform:translateY(12px);
  transition:opacity 600ms var(--ease), transform 600ms var(--ease);
}
.fade-up.in-view{
  opacity:1;
  transform:translateY(0);
}

/* Responsive */
@media (max-width:980px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .section{flex-direction:column}
  .hero{min-height:56vh;padding:36px 0}
  .hero h2{font-size:32px}
}
@media (max-width:640px){
  .cards{grid-template-columns:1fr}
  .brand h1{font-size:16px}
  .hero{padding:28px 0}
  .hero .left{padding:20px}
  .hero .right{display:none}
  .container{width:94%}
}