:root{
  --primary:#0b5f73;
  --dark:#082b36;
  --accent:#10a37f;
  --soft:#eef8f7;
  --text:#1f2937;
  --muted:#6b7280;
  --white:#fff;
  --border:#e5e7eb;
  --shadow:0 18px 50px rgba(8,43,54,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,'Times New Roman',sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.65;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.navbar{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:12px 7%;
  min-height:74px;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  box-shadow:0 1px 0 var(--border);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.brand-mark{
  width:44px;
  height:44px;
  min-width:44px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:800;
}

.brand-logo{
  width:auto;
  height:48px;
  max-width:180px;
  object-fit:contain;
  display:block;
  background:#fff;
  padding:3px;
  border-radius:12px;
}

.brand strong{
  display:block;
  color:var(--dark);
  font-size:16px;
  line-height:1.2;
  white-space:nowrap;
}

.brand small{
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:1px;
  line-height:1.2;
}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
}

.nav-links a{
  font-weight:600;
  font-size:14px;
  color:#334155;
  white-space:nowrap;
}

.nav-links a.active,
.nav-links a:hover{color:var(--primary)}

.nav-cta{
  background:var(--primary);
  color:#fff!important;
  padding:9px 15px;
  border-radius:999px;
}

.menu-toggle{
  display:none;
  border:0;
  background:var(--primary);
  color:#fff;
  border-radius:10px;
  padding:8px 12px;
  font-size:20px;
  cursor:pointer;
}

.hero{
  padding:92px 7%;
  background:linear-gradient(135deg,#eaf9f7,#fff 55%,#e8f2ff);
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:36px;
  align-items:center;
}

.badge{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:#dff5f0;
  color:var(--primary);
  font-weight:700;
  font-size:13px;
}

.hero h1{
  font-size:48px;
  line-height:1.12;
  margin:16px 0;
  color:var(--dark);
}

.hero p{
  font-size:18px;
  color:#475569;
  max-width:720px;
}

.buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

.btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:12px;
  font-weight:700;
  border:1px solid var(--primary);
  cursor:pointer;
}

.btn.primary{background:var(--primary);color:#fff}
.btn.secondary{color:var(--primary);background:#fff}
.btn.danger{background:#ef4444;color:#fff;border-color:#ef4444}

.hero-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  padding:28px;
  box-shadow:var(--shadow);
}

.stat-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.stat{
  padding:20px;
  border-radius:18px;
  background:var(--soft);
}

.stat b{
  font-size:28px;
  color:var(--primary);
  display:block;
}

.stat span{
  color:#475569;
  font-size:14px;
}

.section{padding:70px 7%}
.section.soft{background:#f8fafc}

.section-head{
  max-width:760px;
  margin-bottom:30px;
}

.section h2{
  font-size:34px;
  color:var(--dark);
  margin:0 0 10px;
  line-height:1.2;
}

.section p{color:#64748b}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 28px rgba(2,8,23,.05);
}

.card h3{
  color:var(--dark);
  margin-top:0;
  line-height:1.25;
}

.icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:var(--soft);
  display:grid;
  place-items:center;
  font-size:24px;
  margin-bottom:14px;
}

.page-hero{
  padding:66px 7%;
  background:linear-gradient(135deg,var(--dark),var(--primary));
  color:#fff;
}

.page-hero h1{
  font-size:42px;
  margin:0;
  line-height:1.2;
}

.page-hero p{
  max-width:780px;
  color:#d8f3f0;
}

.content{
  padding:60px 7%;
  max-width:1200px;
  margin:auto;
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:start;
}

.list{padding-left:18px}
.list li{margin-bottom:10px}

.contact-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.form input,
.form textarea{
  width:100%;
  padding:13px 14px;
  margin-bottom:12px;
  border:1px solid var(--border);
  border-radius:12px;
  font:inherit;
}

.form button{
  cursor:pointer;
  border:0;
}

.footer{
  background:#061f28;
  color:#dbeafe;
  padding:48px 7% 18px;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.4fr;
  gap:24px;
}

.footer a{
  display:block;
  color:#cbd5e1;
  margin:8px 0;
}

.copy{
  text-align:center;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:18px;
  margin-top:28px;
  color:#94a3b8;
}

/* Management */
.management-hero{
  text-align:center;
}

.management-hero p{
  margin-left:auto;
  margin-right:auto;
}

.management-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:26px;
}

.management-card{
  position:relative;
  background:#fff;
  border:1px solid rgba(226,232,240,.9);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(8,43,54,.10);
  transform:translateY(35px);
  opacity:0;
  transition:
    opacity .7s ease var(--delay),
    transform .7s ease var(--delay),
    box-shadow .3s ease;
}

.management-card.show{
  opacity:1;
  transform:translateY(0);
}

.management-card:hover{
  transform:translateY(-8px);
  box-shadow:0 25px 70px rgba(8,43,54,.18);
}

.management-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(16,163,127,.12),rgba(11,95,115,.05));
  pointer-events:none;
  z-index:1;
}

.management-photo{
  position:relative;
  height:310px;
  background:#eef8f7;
  overflow:hidden;
}

.management-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .55s ease;
}

.management-card:hover .management-photo img{
  transform:scale(1.07);
}

.management-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#0b5f73,#10a37f);
  color:#fff;
  font-size:82px;
  font-weight:800;
}

.management-info{
  position:relative;
  z-index:2;
  padding:22px;
  text-align:center;
}

.management-role{
  display:inline-block;
  background:#eef8f7;
  color:#0b5f73;
  padding:7px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  margin-bottom:12px;
}

.management-info h3{
  margin:0 0 10px;
  color:#082b36;
  font-size:22px;
  line-height:1.25;
}

.management-info p{
  margin:0;
}

.management-info a{
  color:#64748b;
  font-weight:600;
  word-break:break-word;
}

.management-info a:hover{
  color:#10a37f;
}

/* Login */
.login-wrap{
  min-height:80vh;
  display:grid;
  place-items:center;
  background:#f8fafc;
  padding:30px;
}

.login-card{
  width:100%;
  max-width:420px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
}

.login-card input{
  width:100%;
  padding:13px 14px;
  margin:8px 0 12px;
  border:1px solid var(--border);
  border-radius:12px;
}

/* Admin */
.admin-bar{
  padding:18px 7%;
  background:#082b36;
  color:white;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
}

.admin-panel{padding:35px 7%}

.admin-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.admin-grid.two{
  grid-template-columns:1.3fr .7fr;
  align-items:start;
}

.admin-card-wide{min-width:0}

.admin-form{
  display:grid;
  gap:14px;
  margin-top:16px;
}

.admin-form label{
  font-weight:700;
  color:#14213d;
  display:grid;
  gap:7px;
}

.admin-form small{
  font-weight:500;
  color:#64748b;
}

.admin-form input,
.admin-form textarea,
.admin-form select{
  width:100%;
  padding:12px 14px;
  border:1px solid #dbe3ef;
  border-radius:12px;
  font:inherit;
  background:#fff;
  outline:none;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus{
  border-color:#1479ff;
  box-shadow:0 0 0 4px rgba(20,121,255,.10);
}

.admin-logo-preview{
  width:110px;
  height:110px;
  border-radius:22px;
  object-fit:contain;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  padding:6px;
}

.alert{
  padding:12px 14px;
  border-radius:12px;
  margin:12px 0;
  font-weight:700;
}

.alert.success{
  background:#e9fbe9;
  color:#176b27;
  border:1px solid #b9efc1;
}

.alert.error{
  background:#fff1f2;
  color:#be123c;
  border:1px solid #fecdd3;
}

.note-box{
  background:#f8fafc;
  border:1px dashed #cbd5e1;
  border-radius:14px;
  padding:14px;
  margin-top:15px;
  color:#475569;
}

.admin-gallery .gallery-item{
  background:#fff;
  border:1px solid #e2e8f0;
  padding:12px;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}

.admin-gallery .gallery-item img{
  height:140px;
  width:100%;
  object-fit:cover;
  border-radius:14px;
}

/* Tablet */
@media(max-width:1100px){
  .nav-links{gap:12px}
  .nav-links a{font-size:13px}
  .brand-logo{
    height:44px;
    max-width:160px;
  }
  .hero h1{font-size:42px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .admin-grid{grid-template-columns:repeat(2,1fr)}
}

/* Mobile */
@media(max-width:900px){
  .navbar{
    padding:10px 5%;
    min-height:64px;
  }

  .menu-toggle{display:block}

  .nav-links{
    display:none;
    position:absolute;
    top:64px;
    left:0;
    right:0;
    background:#fff;
    flex-direction:column;
    align-items:flex-start;
    padding:18px 5%;
    box-shadow:var(--shadow);
    gap:12px;
  }

  .nav-links.show{display:flex}

  .nav-links a{
    width:100%;
    padding:8px 0;
    font-size:15px;
  }

  .nav-cta{
    width:auto!important;
    padding:10px 16px!important;
  }

  .brand-logo{
    height:40px;
    max-width:135px;
    border-radius:10px;
  }

  .brand-mark{
    width:40px;
    height:40px;
    min-width:40px;
    border-radius:12px;
  }

  .brand strong{font-size:14px}
  .brand small{font-size:11px}

  .hero,
  .two-col,
  .contact-box{
    grid-template-columns:1fr;
  }

  .hero{
    padding:58px 5%;
    gap:26px;
  }

  .hero h1{
    font-size:34px;
  }

  .hero p{
    font-size:16px;
  }

  .hero-card{
    padding:22px;
    border-radius:22px;
  }

  .section{
    padding:50px 5%;
  }

  .section h2{
    font-size:28px;
  }

  .grid,
  .footer-grid,
  .admin-grid,
  .admin-grid.two{
    grid-template-columns:1fr;
  }

  .management-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .management-photo{
    height:270px;
  }

  .management-info h3{
    font-size:20px;
  }

  .page-hero{
    padding:48px 5%;
  }

  .page-hero h1{
    font-size:32px;
  }

  .content{
    padding:45px 5%;
  }

  .admin-bar{
    padding:15px 5%;
    flex-direction:column;
    align-items:flex-start;
  }

  .admin-panel{
    padding:28px 5%;
  }
}

/* Small Mobile */
@media(max-width:480px){
  .navbar{
    min-height:60px;
  }

  .nav-links{
    top:60px;
  }

  .brand{
    gap:8px;
  }

  .brand-logo{
    height:34px;
    max-width:112px;
    padding:2px;
  }

  .brand-mark{
    width:36px;
    height:36px;
    min-width:36px;
    border-radius:10px;
  }

  .brand strong{
    font-size:13px;
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .brand small{
    display:none;
  }

  .hero{
    padding:45px 5%;
  }

  .hero h1{
    font-size:29px;
  }

  .buttons{
    flex-direction:column;
  }

  .btn{
    width:100%;
    text-align:center;
  }

  .stat-grid{
    grid-template-columns:1fr;
  }

  .management-photo{
    height:245px;
  }

  .management-card{
    border-radius:22px;
  }

  .card{
    padding:20px;
    border-radius:18px;
  }

  .footer{
    padding:38px 5% 16px;
  }

  .login-card{
    padding:22px;
  }
}