/* ==========================================================================
   Iran Paad — English site design system
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* Brand */
  --navy-950:#070f22;
  --navy-900:#0b1830;
  --navy-800:#13264a;
  --navy-700:#1b2a4e;
  --navy-600:#26386b;
  --sky-600:#2f9fd1;
  --sky-500:#49b9e9;
  --sky-400:#7fd0f2;
  --sky-100:#eaf7fd;
  --gold-600:#a9822f;
  --gold-500:#c9a24b;
  --gold-100:#f6ecd6;

  /* Neutrals */
  --gray-950:#0c0e13;
  --gray-900:#15181f;
  --gray-700:#3d4451;
  --gray-600:#5b6272;
  --gray-500:#7a8194;
  --gray-400:#9aa3b8;
  --gray-300:#c6cbd6;
  --gray-200:#dfe3ea;
  --gray-100:#eef1f5;
  --gray-50:#f7f8fa;
  --white:#ffffff;

  /* Type */
  --font-display:'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max:1180px;
  --radius-sm:6px;
  --radius-md:12px;
  --radius-lg:20px;
  --shadow-sm:0 1px 2px rgba(11,24,48,.06), 0 1px 1px rgba(11,24,48,.04);
  --shadow-md:0 8px 24px rgba(11,24,48,.10);
  --shadow-lg:0 20px 48px rgba(11,24,48,.16);
  --header-h:84px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  color:var(--gray-900);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:700;line-height:1.2;margin:0 0 .5em;color:var(--navy-900);}
p{margin:0 0 1.1em;}
button{font-family:inherit;}
.container{max-width:var(--container-max);margin:0 auto;padding:0 24px;}

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--sky-600);
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--gold-500);display:inline-block;}
.section{padding:76px 0;}
.section--tight{padding:52px 0;}
.section--alt{background:var(--gray-50);}
.section--navy{background:var(--navy-900);color:var(--gray-200);}
.section--navy h2, .section--navy h3{color:var(--white);}
.section-head{max-width:760px;margin:0 0 40px;}
.section-head.center{margin-inline:auto;text-align:center;}
.section-head h2{font-size:clamp(1.7rem,2.6vw,2.4rem);}
.section-head p{color:var(--gray-600);font-size:1.05rem;}
.section--navy .section-head p{color:var(--gray-300);}
.text-center{text-align:center;}
.mt-0{margin-top:0;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 24px;border-radius:999px;
  font-weight:600;font-size:.95rem;
  border:1px solid transparent;cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn svg{width:16px;height:16px;flex:none;}
.btn-primary{background:var(--sky-500);color:var(--navy-950);}
.btn-primary:hover{background:var(--sky-400);transform:translateY(-1px);box-shadow:var(--shadow-md);}
.btn-outline{background:transparent;border-color:rgba(255,255,255,.35);color:var(--white);}
.btn-outline:hover{background:rgba(255,255,255,.1);}
.btn-navy{background:var(--navy-800);color:var(--white);}
.btn-navy:hover{background:var(--navy-700);}
.btn-gold{background:var(--gold-500);color:var(--navy-950);}
.btn-gold:hover{background:var(--gold-600);color:var(--white);}
.btn-sm{padding:9px 18px;font-size:.85rem;}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(11,24,48,.94);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header .container{
  display:flex;align-items:center;justify-content:space-between;
  height:var(--header-h);
}
.brand{display:flex;align-items:center;gap:12px;color:var(--white);}
.brand img{height:46px;width:auto;}
.brand-text{font-family:var(--font-display);font-weight:700;font-size:1.25rem;letter-spacing:.02em;}
.brand-text small{display:block;font-family:var(--font-body);font-weight:500;font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;color:var(--sky-400);}

.main-nav{display:flex;align-items:center;gap:6px;}
.main-nav > ul{display:flex;align-items:center;gap:4px;}
.main-nav a, .main-nav .nav-label{
  display:flex;align-items:center;gap:6px;
  padding:10px 16px;border-radius:999px;
  color:var(--gray-200);font-weight:600;font-size:.92rem;
  transition:background .15s ease,color .15s ease;
  cursor:pointer;white-space:nowrap;
}
.main-nav a:hover, .main-nav a.active, .main-nav .nav-label:hover{background:rgba(29,36,115,.50);color:var(--white);}
.nav-item{position:relative;}
.nav-item.has-dropdown > .nav-label::after{
  content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);margin-top:-4px;opacity:.7;
}
.dropdown{
  position:absolute;top:calc(100% + 8px);left:0;min-width:280px;
  background:var(--white);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);
  padding:10px;opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.dropdown a{color:var(--navy-800);padding:11px 14px;border-radius:var(--radius-sm);font-weight:500;}
.dropdown a:hover{background:var(--sky-100);color:var(--navy-900);}

.header-actions{display:flex;align-items:center;gap:14px;}
.social-mini{display:flex;gap:8px;}
.social-mini a{
  width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);color:var(--gray-200);transition:background .15s ease,color .15s ease;
}
.social-mini a:hover{background:var(--sky-500);color:var(--navy-950);}
.social-mini svg{width:16px;height:16px;}

.nav-toggle{
  display:none;width:42px;height:42px;border-radius:50%;
  background:rgba(255,255,255,.08);border:0;align-items:center;justify-content:center;color:var(--white);
  cursor:pointer;
}
.nav-toggle svg{width:20px;height:20px;}

@media (max-width:960px){
  .main-nav{
    position:fixed;top:var(--header-h);right:0;bottom:0;left:0;width:auto;height:auto;
    z-index:99;background:var(--navy-900);
    flex-direction:column;align-items:stretch;padding:18px;overflow-y:auto;
    transform:translateX(100%);transition:transform .25s ease;
  }
  .main-nav.open{transform:translateX(0);}
  .main-nav > ul{flex-direction:column;align-items:stretch;gap:2px;}
  .main-nav a, .main-nav .nav-label{width:100%;padding:14px 16px;}
  .dropdown{
    position:static;box-shadow:none;background:rgba(255,255,255,.04);opacity:1;visibility:visible;
    transform:none;display:none;margin-top:2px;
  }
  .nav-item.has-dropdown.open .dropdown{display:block;}
  .dropdown a{color:var(--gray-200);}
  .dropdown a:hover{background:rgba(255,255,255,.08);color:var(--white);}
  .header-actions .social-mini{display:none;}
  .nav-toggle{display:flex;}
}

/* ==========================================================================
   Hero / Page title
   ========================================================================== */
.hero{
  position:relative;color:var(--white);
  background:linear-gradient(160deg,var(--navy-900) 0%, var(--navy-950) 100%);
  overflow:hidden;
}
.hero-slides{position:absolute;inset:0;}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;background-size:cover;background-position:center;}
.hero-slide.active{opacity:1;}
.hero-slides::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(7,15,34,.55) 0%, rgba(7,15,34,.88) 100%);
}
.hero-inner{position:relative;padding:120px 0 96px;text-align:center;}
.hero-kicker{
  display:inline-flex;align-items:center;gap:10px;padding:7px 16px;border-radius:999px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);
  font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--sky-400);
  margin-bottom:26px;
}
.hero h1{color:var(--white);font-size:clamp(2.1rem,5vw,3.6rem);max-width:820px;margin:0 auto 22px;}
.hero p.lead{max-width:640px;margin:0 auto 34px;color:var(--gray-300);font-size:1.15rem;}
.hero-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

.page-title{
  position:relative;color:var(--white);padding:64px 0 54px;text-align:center;
  background:linear-gradient(160deg,var(--navy-900) 0%, var(--navy-950) 100%);
}
.page-title h1{color:var(--white);font-size:clamp(1.9rem,3.6vw,2.7rem);margin-bottom:10px;}
.breadcrumbs{display:flex;gap:8px;justify-content:center;color:var(--gray-400);font-size:.85rem;margin-bottom:14px;flex-wrap:wrap;}
.breadcrumbs a{color:var(--sky-400);}
.breadcrumbs span{opacity:.5;}
.page-title p.lead{color:var(--gray-300);max-width:640px;margin:0 auto;}

/* ==========================================================================
   Cards
   ========================================================================== */
.grid{display:grid;gap:28px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}
@media (max-width:900px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);}}
@media (max-width:620px){.grid-3,.grid-4,.grid-2{grid-template-columns:1fr;}}

.value-card{
  background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-lg);
  padding:32px 26px;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.value-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:transparent;}
.value-icon{
  width:54px;height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:var(--sky-100);color:var(--sky-600);margin-bottom:20px;
}
.value-icon svg{width:26px;height:26px;}
.value-card h3{font-size:1.15rem;margin-bottom:10px;}
.value-card p{color:var(--gray-600);font-size:.95rem;margin-bottom:0;}
.value-card .btn{margin-top:16px;}

.news-card{
  display:flex;flex-direction:column;background:var(--white);border:1px solid var(--gray-200);
  border-radius:var(--radius-lg);overflow:hidden;transition:transform .18s ease, box-shadow .18s ease;
}
.news-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.news-card .thumb{aspect-ratio:16/10;overflow:hidden;background:var(--gray-100);}
.news-card .thumb img{width:100%;height:100%;object-fit:cover;}
.news-card .body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1;}
.news-date{font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--sky-600);}
.news-card h3{font-size:1.08rem;line-height:1.4;margin:0;}
.news-card h3 a:hover{color:var(--sky-600);}
.news-excerpt{color:var(--gray-600);font-size:.9rem;flex:1;}
.read-more{font-weight:700;font-size:.85rem;color:var(--navy-800);display:inline-flex;align-items:center;gap:6px;margin-top:auto;}
.read-more svg{width:14px;height:14px;}

.team-card{text-align:center;}
.team-card .photo{
  width:132px;height:132px;border-radius:50%;overflow:hidden;margin:0 auto 16px;
  border:3px solid var(--sky-100);
}
.team-card .photo img{width:100%;height:100%;object-fit:cover;}
.team-card h3{font-size:1.02rem;margin-bottom:4px;}
.team-card p{color:var(--gray-500);font-size:.85rem;margin:0;}

/* ==========================================================================
   News listing (merged, no pagination)
   ========================================================================== */
.news-list{display:flex;flex-direction:column;gap:18px;}
.news-row{
  display:grid;grid-template-columns:120px 1fr auto;gap:22px;align-items:center;
  background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius-md);
  padding:16px 20px;transition:box-shadow .15s ease, border-color .15s ease;
}
.news-row:hover{box-shadow:var(--shadow-sm);border-color:var(--sky-400);}
.news-row .thumb{width:120px;height:80px;border-radius:8px;overflow:hidden;background:var(--gray-100);flex:none;}
.news-row .thumb img{width:100%;height:100%;object-fit:cover;}
.news-row .thumb.placeholder{display:flex;align-items:center;justify-content:center;color:var(--sky-500);}
.news-row .thumb.placeholder svg{width:26px;height:26px;}
.news-row h3{font-size:1.02rem;margin:0 0 6px;line-height:1.4;}
.news-row .news-date{display:block;margin-bottom:6px;}
.news-row .arrow{color:var(--sky-600);flex:none;}
.news-row .arrow svg{width:20px;height:20px;}
@media (max-width:640px){
  .news-row{grid-template-columns:84px 1fr;}
  .news-row .arrow{display:none;}
}
.list-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;flex-wrap:wrap;gap:12px;}
.count-pill{
  background:var(--sky-100);color:var(--navy-800);font-weight:700;font-size:.82rem;
  padding:6px 14px;border-radius:999px;
}

/* ==========================================================================
   Article page
   ========================================================================== */
.article-wrap{padding:64px 0 90px;}
.article-shell{max-width:800px;margin:0 auto;}
.article-meta{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:18px;}
.category-badge{
  display:inline-block;background:var(--gold-100);color:var(--gold-600);
  font-weight:700;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;
  padding:6px 14px;border-radius:999px;
}
.article-shell h1{font-size:clamp(1.7rem,3.4vw,2.5rem);margin-bottom:6px;}
.article-date{color:var(--gray-500);font-size:.9rem;}
.article-hero-img{border-radius:var(--radius-lg);overflow:hidden;margin:26px 0 34px;box-shadow:var(--shadow-md);}
.article-hero-img img{width:100%;}
.article-body{font-size:1.08rem;color:var(--gray-700);line-height:1.85;}
.article-body p{margin-bottom:1.3em;}
.article-body h2{font-size:1.4rem;margin-top:1.6em;}
.article-body h3{font-size:1.2rem;margin-top:1.4em;}
.article-body img{border-radius:var(--radius-md);margin:1.6em 0;box-shadow:var(--shadow-sm);}
.article-body a{color:var(--sky-600);text-decoration:underline;text-decoration-color:var(--sky-400);text-underline-offset:3px;}
.article-body .video-embed{position:relative;aspect-ratio:16/9;margin:1.8em 0;border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-sm);}
.article-body .video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.article-body blockquote{
  margin:1.8em 0;padding:18px 24px;border-left:4px solid var(--sky-500);
  background:var(--sky-100);border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  font-style:italic;color:var(--navy-800);
}
.article-body ul,.article-body ol{margin:0 0 1.3em;padding-left:1.4em;}
.article-body li{margin-bottom:.5em;}
.article-footer{
  margin-top:52px;padding-top:26px;border-top:1px solid var(--gray-200);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;
}

/* ==========================================================================
   Static page prose (about, security, regime-change, welfare-state, statutes doc)
   ========================================================================== */
.prose-wrap{padding:64px 0 90px;}
.prose-shell{max-width:800px;margin:0 auto;font-size:1.08rem;color:var(--gray-700);line-height:1.85;}
.prose-shell h2{font-size:1.5rem;margin-top:1.5em;}
.prose-shell h3{font-size:1.2rem;margin-top:1.3em;}
.prose-shell ol,.prose-shell ul{padding-left:1.4em;margin-bottom:1.3em;}
.prose-shell li{margin-bottom:.5em;}
.prose-shell blockquote{
  margin:1.8em 0;padding:18px 24px;border-left:4px solid var(--gold-500);
  background:var(--gold-100);border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--navy-800);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq{max-width:820px;margin:0 auto;}
.faq-item{border:1px solid var(--gray-200);border-radius:var(--radius-md);margin-bottom:12px;overflow:hidden;background:var(--white);}
.faq-q{
  width:100%;text-align:left;background:none;border:0;padding:18px 22px;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  font-weight:700;font-size:1rem;color:var(--navy-900);cursor:pointer;
}
.faq-q::after{
  content:"+";font-size:1.4rem;font-weight:400;color:var(--sky-600);flex:none;transition:transform .2s ease;
}
.faq-item.open .faq-q::after{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;}
.faq-item.open .faq-a{max-height:900px;}
.faq-a-inner{padding:0 22px 20px;color:var(--gray-600);}
.faq-a-inner p{margin-bottom:1em;}

/* ==========================================================================
   Video grid
   ========================================================================== */
.video-card{background:var(--navy-800);border-radius:var(--radius-lg);overflow:hidden;}
.video-card .frame{aspect-ratio:16/9;}
.video-card .frame iframe{width:100%;height:100%;border:0;display:block;}
.video-card h4{color:var(--white);font-family:var(--font-body);font-weight:600;font-size:.95rem;padding:14px 18px;margin:0;}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
@media (max-width:900px){.gallery-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:600px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}
.gallery-item{position:relative;border-radius:var(--radius-md);overflow:hidden;aspect-ratio:1/1;cursor:zoom-in;background:var(--gray-100);}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease;}
.gallery-item:hover img{transform:scale(1.06);}
.lightbox{
  position:fixed;inset:0;background:rgba(7,15,34,.92);z-index:1000;
  display:none;align-items:center;justify-content:center;padding:40px;
}
.lightbox.open{display:flex;}
.lightbox img{max-width:min(92vw,1100px);max-height:88vh;border-radius:var(--radius-sm);}
.lightbox-close{
  position:absolute;top:26px;right:30px;width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.1);border:0;color:var(--white);font-size:1.4rem;cursor:pointer;
}

/* ==========================================================================
   Statutes / documents index
   ========================================================================== */
.doc-list{display:flex;flex-direction:column;gap:14px;}
.doc-row{
  display:flex;align-items:center;gap:18px;background:var(--white);
  border:1px solid var(--gray-200);border-radius:var(--radius-md);padding:20px 22px;
  transition:box-shadow .15s ease, border-color .15s ease;
}
.doc-row:hover{box-shadow:var(--shadow-sm);border-color:var(--sky-400);}
.doc-icon{
  width:46px;height:46px;border-radius:12px;background:var(--gold-100);color:var(--gold-600);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.doc-icon svg{width:22px;height:22px;}
.doc-row h3{font-size:1.02rem;margin:0 0 4px;}
.doc-row p{margin:0;color:var(--gray-500);font-size:.85rem;}
.doc-row .arrow{margin-left:auto;color:var(--sky-600);flex:none;}
.doc-row .arrow svg{width:20px;height:20px;}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{background:var(--navy-950);color:var(--gray-400);padding:64px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding-bottom:48px;}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr;}}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.footer-brand img{height:40px;}
.footer-brand span{font-family:var(--font-display);font-weight:700;color:var(--white);font-size:1.1rem;}
.site-footer p{font-size:.9rem;line-height:1.7;color:var(--gray-500);}
.footer-col h4{color:var(--white);font-family:var(--font-body);font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px;}
.footer-col ul{display:flex;flex-direction:column;gap:10px;}
.footer-col a{font-size:.9rem;color:var(--gray-400);transition:color .15s ease;}
.footer-col a:hover{color:var(--sky-400);}
.footer-social{display:flex;gap:10px;margin-top:18px;}
.footer-social a{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;color:var(--gray-300);
}
.footer-social a:hover{background:var(--sky-500);color:var(--navy-950);}
.footer-social svg{width:17px;height:17px;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);padding:22px 0;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
  font-size:.82rem;color:var(--gray-500);
}
.footer-bottom a{color:var(--gray-400);}

/* ==========================================================================
   Misc
   ========================================================================== */
.divider{height:1px;background:var(--gray-200);margin:56px 0;}
.skip-link{
  position:absolute;left:-9999px;top:auto;background:var(--sky-500);color:var(--navy-950);
  padding:10px 16px;border-radius:0 0 8px 0;z-index:1000;font-weight:700;
}
.skip-link:focus{left:0;top:0;}
::selection{background:var(--sky-400);color:var(--navy-950);}
