:root {
  --ink: #20252b;
  --muted: #5b6570;
  --line: #e4e7eb;
  --paper: #ffffff;
  --soft: #f7f3ea;
  --accent: #2563eb;
  --accent-dark: #1747a6;
  --atica-red: #e53935;
  --atica-red-dark: #bd2625;
  --gold: #d99a2b;
  --sand: #fbf7ef;
  --charcoal: #18202a;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 8px clamp(18px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(228, 231, 235, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 145px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: var(--atica-red);
}

.whatsapp-cta,
.whatsapp-contact,
.floating-whatsapp {
  color: #fff;
  background: #16a34a;
}

.whatsapp-cta,
.whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
}

.whatsapp-cta {
  width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.24);
}

.whatsapp-contact {
  width: fit-content;
  color: #12813b;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.24);
  padding: 12px 16px;
}

.whatsapp-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: currentColor;
}

.whatsapp-cta:hover,
.whatsapp-contact:hover {
  color: #fff;
  background: #12813b;
}

.floating-whatsapp:hover {
  background: #12813b;
}

.button-primary:hover {
  background: var(--atica-red-dark);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.button-light {
  color: var(--ink);
  background: #f0e3c6;
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 136px 0 42px;
  color: var(--ink);
  background: #fff;
}

.hero-media,
.hero-shade {
  position: static;
  width: 100%;
  height: auto;
}

.hero-media {
  order: 2;
  height: 440px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 1;
  box-shadow: 0 20px 60px rgba(24, 32, 42, 0.14);
}

.hero-shade {
  display: none;
}

.hero-content {
  order: 1;
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--atica-red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.7rem, 8vw, 7rem);
  line-height: 0.92;
}

.hero h1 {
  font-weight: 900;
  line-height: 1.02;
}

.hero h1 span {
  display: block;
}

.hero-title-accent {
  color: var(--atica-red);
}

.hero .button-primary,
.nav-cta {
  background: var(--atica-red);
}

.hero .button-primary:hover,
.nav-cta:hover {
  background: var(--atica-red-dark);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-strip {
  order: 3;
  grid-column: 1 / -1;
  position: static;
  width: 100%;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(24, 32, 42, 0.1);
}

.hero-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong {
  display: block;
  color: var(--accent-dark);
  font-size: 1.75rem;
  line-height: 1;
}

.hero-strip span {
  color: var(--muted);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.page-hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
}

.page-hero img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(24, 32, 42, 0.14);
}

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

.seo-grid article,
.seo-panel,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.seo-grid article {
  padding: 24px;
}

.seo-grid article p,
.seo-panel p {
  color: var(--muted);
}

.seo-panel {
  padding: clamp(24px, 4vw, 40px);
}

.seo-panel + .seo-panel {
  margin-top: 20px;
}

.seo-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: start;
}

.seo-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.seo-list li {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.testimonial-hero {
  padding-bottom: 34px;
}

.testimonial-stats {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.testimonial-stats div,
.testimonial-card,
.source-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.testimonial-stats div {
  padding: 22px;
}

.testimonial-stats strong {
  display: block;
  color: var(--atica-red);
  font-size: 2rem;
  line-height: 1;
}

.testimonial-stats span {
  color: var(--muted);
}

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

.testimonial-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.stars {
  color: #f5b301;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
}

.testimonial-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.rating-pill,
.source-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-weight: 800;
}

.rating-pill {
  color: #fff;
  background: var(--atica-red);
}

.source-pill {
  color: #334155;
  background: #f4f7fb;
  border: 1px solid #dce5ef;
}

.source-note {
  margin-top: 26px;
  padding: 22px;
  color: var(--muted);
}

.testimonial-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.testimonial-toolbar p {
  margin: 0;
  color: var(--muted);
}

.testimonial-controls {
  display: inline-flex;
  gap: 8px;
}

.testimonial-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 850;
  cursor: pointer;
}

.testimonial-controls button:hover {
  color: #fff;
  background: var(--atica-red);
  border-color: var(--atica-red);
}

.split,
.course-layout,
.contact-section,
.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.split p,
.course-layout p,
.proof p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.campus-mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.campus-mini-gallery img,
.proof img,
.campus-grid img {
  border-radius: 8px;
  object-fit: cover;
}

.campus-mini-gallery img {
  width: 100%;
  height: 210px;
}

.band,
.campus-band {
  width: 100%;
  max-width: none;
  padding: 96px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--sand);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.feature-grid article {
  min-height: 240px;
  padding: 28px;
  background: #fff;
}

.feature-grid span {
  color: var(--gold);
  font-weight: 850;
}

.feature-grid p,
.course-list span,
.campus-grid p {
  color: var(--muted);
}

.course-list {
  display: grid;
  gap: 12px;
}

.course-list div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.course-list strong,
.course-list span {
  display: block;
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.campus-grid article {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.degree-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.degree-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: #334155;
  background: #f4f7fb;
  border: 1px solid #dce5ef;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 650;
}

.campus-grid img {
  width: 190px;
  height: 150px;
}

.campus-grid a,
.contact-details a:not(.whatsapp-contact) {
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.proof,
.professors {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
}

.proof img {
  width: 100%;
  height: 520px;
}

.proof ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.proof li {
  margin-bottom: 10px;
}

.teacher-grid,
.link-panel,
.directions-grid {
  display: grid;
  gap: 12px;
}

.teacher-grid div,
.link-panel,
.directions-grid article {
  padding: 18px;
  background: var(--sand);
  border: 1px solid #eadfc8;
  border-radius: 8px;
}

.teacher-grid div,
.link-panel {
  font-weight: 750;
}

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

.directions-grid ul {
  margin: 18px 0 22px;
  padding-left: 20px;
  color: var(--muted);
}

.directions-grid li {
  margin-bottom: 10px;
}

.directions-grid a:not(.button) {
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.directions-grid iframe {
  display: block;
  width: 100%;
  height: 320px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: #dfe5ec;
}

.link-panel a {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.contact-section {
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 12px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.wide {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500 !important;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.8);
  background: #121a22;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer strong {
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0;
  color: #16a34a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 163, 74, 0.24);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(24, 32, 42, 0.18);
  font-weight: 850;
  text-decoration: none;
}

.legal-page {
  max-width: 920px;
  padding-top: 130px;
}

.legal-page h1 {
  margin-bottom: 34px;
  color: var(--ink);
  font-size: clamp(2.45rem, 6vw, 4.5rem);
}

.legal-page h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.45rem;
  line-height: 1.22;
}

.legal-page p {
  color: var(--muted);
}

.legal-page a:not(.button) {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-strip,
  .split,
  .course-layout,
  .contact-section,
  .proof,
  .professors,
  .campus-grid,
  .directions-grid,
  .page-hero,
  .seo-columns {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .seo-grid,
  .testimonial-grid,
  .testimonial-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .hero-media,
  .page-hero img,
  .proof img,
  .campus-mini-gallery img {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .brand {
    min-width: 124px;
  }

  .brand img {
    width: 124px;
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .header-actions .nav-cta {
    display: none;
  }

  .whatsapp-cta {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    width: auto;
    padding-top: 0;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.5rem);
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero {
    width: calc(100% - 28px);
    gap: 24px;
    padding-top: 116px;
  }

  .hero-media,
  .page-hero img {
    height: 260px;
  }

  .hero-strip {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .hero-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    width: calc(100% - 28px);
    padding: 70px 0;
  }

  .band,
  .campus-band {
    padding: 70px 14px;
  }

  .feature-grid,
  .contact-form,
  .seo-grid,
  .testimonial-grid,
  .testimonial-stats {
    grid-template-columns: 1fr;
  }

  .campus-mini-gallery {
    grid-template-columns: 1fr;
  }

  .campus-grid article {
    grid-template-columns: 1fr;
  }

  .campus-grid img {
    width: 100%;
    height: 210px;
  }

  .site-footer {
    display: grid;
  }

  .directions-grid iframe {
    height: 260px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}
