/* Italy Admissions — site styles */
:root {
  --green: #0e4d3a;
  --green-2: #146a50;
  --green-soft: #e3efe9;
  --terra: #c65d3b;
  --terra-soft: #f7e4dc;
  --cream: #faf6ef;
  --paper: #ffffff;
  --ink: #1b2430;
  --muted: #5b6573;
  --line: #e6dfd3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 36, 48, .06), 0 8px 24px rgba(27, 36, 48, .06);
  --max: 1160px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.urdu { font-family: var(--font-urdu); direction: rtl; line-height: 2.1; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 12px;
}
.lead { font-size: 1.12rem; color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); color: #fff; }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #188a4a; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { color: var(--terra); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; line-height: 1; }
.brand-name span { color: var(--terra); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem;
}
.nav-links a:hover { background: var(--green-soft); color: var(--green); }
.nav-links a[aria-current="page"] { background: var(--green-soft); color: var(--green); }
.nav-links a.btn { display: inline-flex; padding: 10px 18px; white-space: nowrap; }
.nav-links a.btn-wa:hover { background: #188a4a; color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 72px; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; display: none;
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 10px 0 0; width: 100%; }
}

/* Hero */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(198, 93, 59, .14), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .urdu { font-size: 1.35rem; color: var(--green); margin: 4px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .94rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--green-2); flex: none; }

.deadline-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 26px;
}
.deadline-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.deadline-card .small { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.deadline-list { list-style: none; margin: 0; padding: 0; }
.deadline-list li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-top: 1px dashed var(--line); }
.deadline-list li:first-child { border-top: 0; }
.date-chip {
  background: var(--green-soft); color: var(--green); border-radius: 12px; text-align: center; padding: 8px 4px; font-weight: 700; line-height: 1.1;
}
.date-chip small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.date-chip.terra { background: var(--terra-soft); color: var(--terra); }
.deadline-list strong { display: block; font-size: .98rem; }
.deadline-list span { color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) {
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 22px 18px; border-left: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.trust-item:first-child { border-left: 0; }
.trust-item strong { display: block; color: var(--ink); font-size: .98rem; }
.trust-item svg { width: 28px; height: 28px; color: var(--terra); flex: none; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }
}

/* Cards / grids */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 2px rgba(27,36,48,.04);
}
.section.alt .card { background: var(--cream); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 16px;
}
.card .icon.terra { background: var(--terra-soft); color: var(--terra); }
.card .icon svg { width: 24px; height: 24px; }
.stat { font-family: var(--font-head); font-size: 1.9rem; color: var(--green); font-weight: 600; line-height: 1; margin-bottom: 6px; }
.card .meta { color: var(--muted); font-size: .88rem; }

.level-card { position: relative; overflow: hidden; }
.level-card .tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.level-card ul, .check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.level-card li, .check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--muted); font-size: .95rem; }
.level-card li::before, .check-list li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--green-2); border-bottom: 2px solid var(--green-2); transform: rotate(-45deg);
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-head); font-size: 2.2rem; color: var(--terra); font-weight: 600;
}
.step::after { content: ""; position: absolute; top: 22px; left: 64px; right: -11px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Promise */
.promise { background: var(--green); color: #e8f1ec; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.promise h2 { color: #fff; }
.promise .eyebrow { color: #f3b8a3; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.promise li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.promise li svg { width: 24px; height: 24px; color: #f3b8a3; margin-top: 2px; }
.promise li strong { color: #fff; display: block; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Blog cards */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-card:hover { color: inherit; border-color: var(--green-2); }
.post-card .meta { margin-bottom: 8px; }
.post-card h3 { font-size: 1.2rem; }
.post-card .more { margin-top: auto; padding-top: 12px; color: var(--green-2); font-weight: 600; font-size: .94rem; }

/* CTA band */
.cta-band { background: var(--terra); color: #fff; border-radius: 24px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #fde9e1; }
.cta-band .urdu { color: #fff; font-size: 1.15rem; }
@media (max-width: 640px) { .cta-band { padding: 32px 24px; } }

/* Page header */
.page-hero { padding: 64px 0 40px; }
.page-hero .lead { max-width: 720px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* Services */
.service { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start; }
.service .price {
  text-align: right; font-family: var(--font-head); font-size: 1.15rem; color: var(--green); white-space: nowrap;
}
.service .price small { display: block; font-family: var(--font-body); font-size: .78rem; color: var(--muted); }
.service .check-list { grid-column: 1 / -1; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); margin-bottom: 10px; }
.badge.terra { background: var(--terra-soft); color: var(--terra); }
@media (max-width: 560px) { .service { grid-template-columns: 1fr; } .service .price { text-align: left; } }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--terra); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Team */
.person { text-align: left; }
.avatar {
  width: 88px; height: 88px; border-radius: 50%; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; margin-bottom: 16px; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .role { color: var(--terra); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }

/* Placeholder marker (things the owner still has to fill in) */
.todo {
  background: #fff7d6; border: 1px dashed #d4a72c; color: #7a5a00; border-radius: 6px; padding: 1px 6px; font-size: .9em;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-line { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line svg { width: 24px; height: 24px; color: var(--green-2); flex: none; }
.contact-line a { font-weight: 600; word-break: break-word; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green-2); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.form-note { color: var(--muted); font-size: .85rem; margin-top: 12px; }

/* Article */
.article { max-width: 780px; }
.article h2 { font-size: 1.7rem; margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .4em; }
.article .note { background: var(--terra-soft); border-left: 4px solid var(--terra); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.article .note p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 620px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--green-soft); color: var(--green); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.sources { font-size: .88rem; color: var(--muted); }
.sources a { word-break: break-word; }

/* Footer */
.site-footer { background: #10231c; color: #b9c7c0; padding: 64px 0 28px; margin-top: 80px; font-size: .94rem; }
.site-footer a { color: #e3ece7; text-decoration: none; }
.site-footer a:hover { color: #f3b8a3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #f3b8a3; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 22px 70px 0 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.wa-float:hover { color: #fff; background: #188a4a; }
.wa-float svg { width: 30px; height: 30px; }

.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
