/* ============================================
   ACC Consultorios - Main Umbrella Site
   Mobile-first responsive design
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --indigo-900: #312e81;
  --indigo-950: #1e1b4b;

  --warm-50: #faf8f5;
  --warm-100: #f5f0e8;
  --warm-200: #e8dfd2;
  --warm-300: #d4c5b0;
  --warm-400: #bfa88a;
  --warm-500: #a68d6d;

  --text-primary: #1e1b2e;
  --text-secondary: #4a4560;
  --text-light: #6b6580;
  --text-on-dark: #f0eef5;
  --text-on-dark-muted: #c4bfd6;

  --white: #ffffff;
  --bg-light: #faf9fc;
  --bg-section: #f4f2f8;

  --shadow-sm: 0 1px 3px rgba(30, 27, 75, 0.08);
  --shadow-md: 0 4px 12px rgba(30, 27, 75, 0.10);
  --shadow-lg: 0 8px 30px rgba(30, 27, 75, 0.12);
  --shadow-xl: 0 16px 48px rgba(30, 27, 75, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  color: var(--indigo-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--indigo-800);
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Scroll Line Indicator --- */
.scrollLine {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80px;
  background: rgba(99, 102, 241, 0.15);
  z-index: 50;
  overflow: hidden;
  pointer-events: none;
}

.scrollLine::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--indigo-400), transparent);
  animation: scrollStreak 2.4s ease-in-out infinite;
}

@keyframes scrollStreak {
  0% { top: -40px; }
  100% { top: 80px; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--indigo-700);
  text-decoration: none;
}

.nav__brand:hover {
  color: var(--indigo-800);
}

.nav__brand-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-800));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav__links {
  display: none;
  gap: 8px;
}

.nav__links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav__links a:hover {
  background: var(--indigo-50);
  color: var(--indigo-700);
}

.nav__links a.active {
  background: var(--indigo-50);
  color: var(--indigo-700);
}

.nav__cta {
  display: none;
  padding: 8px 20px;
  background: var(--indigo-600);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}

.nav__cta:hover {
  background: var(--indigo-700);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px 24px;
  z-index: 999;
}

.nav__mobile.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav__mobile a {
  display: block;
  padding: 14px 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__mobile a:hover {
  background: var(--indigo-50);
  color: var(--indigo-700);
}

.nav__mobile .nav__cta--mobile {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--indigo-600);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
}

/* --- Hero --- */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(165deg, var(--indigo-950) 0%, var(--indigo-800) 50%, var(--indigo-600) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(129, 140, 248, 0.15), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--indigo-200);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--indigo-300);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title span {
  background: linear-gradient(135deg, var(--indigo-200), var(--indigo-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--white);
  color: var(--indigo-700);
}

.btn--primary:hover {
  background: var(--indigo-50);
  color: var(--indigo-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--indigo {
  background: var(--indigo-600);
  color: var(--white);
  box-shadow: 0 0 16px rgba(0, 230, 180, 0.8), 0 0 40px rgba(0, 230, 180, 0.5);
  animation: btnGlow 1.5s ease-in-out infinite;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 230, 180, 0.8), 0 0 40px rgba(0, 230, 180, 0.5); }
  50% { box-shadow: 0 0 30px rgba(0, 230, 180, 1), 0 0 60px rgba(0, 230, 180, 0.7); }
}

.btn--indigo:hover {
  background: var(--indigo-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 230, 180, 1), 0 0 60px rgba(0, 230, 180, 0.7);
  animation: none;
}

.btn--ghost {
  background: transparent;
  color: var(--indigo-600);
  border: 1.5px solid var(--indigo-200);
}

.btn--ghost:hover {
  background: var(--indigo-50);
  border-color: var(--indigo-300);
  color: var(--indigo-700);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* --- Section Shared --- */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-section);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--indigo-600);
  margin-bottom: 12px;
}

.section__title {
  font-size: 1.8rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- About / Que Hacemos --- */
.about__grid {
  display: grid;
  gap: 24px;
}

.about__card {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: all var(--transition);
}

.about__card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.15);
}

.about__icon {
  width: 48px;
  height: 48px;
  background: var(--indigo-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.about__card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about__card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Team Grid --- */
.team__grid {
  display: grid;
  gap: 20px;
}

a.team__card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.team__card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: all var(--transition);
}

.team__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.15);
}

.team__card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team__card-body {
  padding: 20px;
}

.team__card-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team__card-title {
  font-size: 0.82rem;
  color: var(--indigo-600);
  font-weight: 600;
  margin-bottom: 8px;
}

.team__card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.team__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo-600);
}

.team__card-link:hover {
  color: var(--indigo-800);
}

.team__card-link::after {
  content: '\2192';
  transition: transform var(--transition);
}

.team__card-link:hover::after {
  transform: translateX(3px);
}

/* --- Why Us / Por Que Elegirnos --- */
.why__grid {
  display: grid;
  gap: 20px;
}

.why__item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

.why__number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-800));
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
}

.why__text h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.why__text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta {
  padding: 80px 0;
  background: linear-gradient(165deg, var(--indigo-900), var(--indigo-700));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(129, 140, 248, 0.1), transparent 70%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cta__title {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta__desc {
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0 24px;
  background: var(--indigo-950);
  color: var(--text-on-dark-muted);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer__nav h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo-300);
  margin-bottom: 12px;
}

.footer__nav a {
  display: block;
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.footer__ig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--indigo-300);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__ig:hover {
  color: var(--white);
}

/* --- Profesionales Index Page --- */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(165deg, var(--indigo-950) 0%, var(--indigo-800) 100%);
  text-align: center;
}

.page-hero__title {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero__desc {
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.team-full__grid {
  display: grid;
  gap: 32px;
}

.team-full__card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: all var(--transition);
}

.team-full__card:hover {
  box-shadow: var(--shadow-xl);
}

.team-full__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.team-full__body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-full__name {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-full__name a,
.team-full__title a {
  color: inherit;
  text-decoration: none;
}

.team-full__name a:hover,
.team-full__title a:hover {
  text-decoration: underline;
}

.team-full__title {
  font-size: 0.88rem;
  color: var(--indigo-600);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-full__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.team-full__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--indigo-50);
  color: var(--indigo-700);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

.team-full__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Profile Page --- */
.profile {
  padding-top: var(--nav-height);
}

.profile__hero {
  padding: 48px 0;
  background: linear-gradient(165deg, var(--indigo-950) 0%, var(--indigo-800) 100%);
}

.profile__hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.profile__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.profile__hero-name {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 4px;
}

.profile__hero-title {
  font-size: 1rem;
  color: var(--indigo-300);
  font-weight: 500;
}

.profile__hero-education {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.profile__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--indigo-300);
  margin-bottom: 16px;
}

.profile__back::before {
  content: '\2190';
}

.profile__back:hover {
  color: var(--white);
}

/* Profile Content */
.profile__content {
  padding: 48px 0;
}

.profile__grid {
  display: grid;
  gap: 32px;
}

.profile__main {
  order: 1;
}

.profile__sidebar {
  order: 2;
}

.profile__section {
  margin-bottom: 40px;
}

.profile__section:last-child {
  margin-bottom: 0;
}

.profile__section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--indigo-100);
}

.profile__bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.profile__bio p {
  margin-bottom: 16px;
}

.profile__bio p:last-child {
  margin-bottom: 0;
}

/* Specialization list */
.spec-list {
  display: grid;
  gap: 12px;
}

.spec-item {
  padding: 16px 20px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--indigo-400);
}

.spec-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.spec-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Sidebar */
.sidebar-card {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.1);
  margin-bottom: 20px;
}

.sidebar-card:last-child {
  margin-bottom: 0;
}

.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.sidebar-card .btn {
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
}

.sidebar-card .btn:last-child {
  margin-bottom: 0;
}

.sidebar-info {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sidebar-info dt {
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 12px;
}

.sidebar-info dt:first-child {
  margin-top: 0;
}

.sidebar-info dd {
  margin-left: 0;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 12px 0;
  background: var(--bg-section);
  border-bottom: 1px solid rgba(99, 102, 241, 0.06);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.breadcrumb__list a {
  color: var(--text-light);
}

.breadcrumb__list a:hover {
  color: var(--indigo-600);
}

.breadcrumb__sep {
  margin: 0 4px;
}

/* --- Responsive --- */

/* Tablet */
@media (min-width: 640px) {
  .hero {
    padding: 140px 0 100px;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-full__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .hero {
    padding: 160px 0 120px;
  }

  .hero__title {
    font-size: 3.2rem;
  }

  .hero__subtitle {
    font-size: 1.15rem;
  }

  .section {
    padding: 100px 0;
  }

  .section__title {
    font-size: 2.2rem;
  }

  .nav__links {
    display: flex;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__toggle {
    display: none;
  }

  .about__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-full__card {
    flex-direction: row;
  }

  .team-full__img {
    width: 320px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  .team-full__body {
    padding: 36px 32px;
  }

  .profile__hero-inner {
    flex-direction: row;
    text-align: left;
  }

  .profile__photo {
    width: 200px;
    height: 200px;
  }

  .profile__grid {
    grid-template-columns: 1fr 340px;
  }

  .profile__sidebar {
    order: 2;
  }

  .footer__inner {
    flex-wrap: nowrap;
    gap: 48px;
  }

  .cta__title {
    font-size: 2.2rem;
  }

  .page-hero__title {
    font-size: 2.5rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .hero__title {
    font-size: 3.6rem;
  }

  .team__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
