/* ── Miratus Accounting & Tax Services ── */
:root {
  --blue:       #1B4F9B;
  --blue-dark:  #153E7A;
  --blue-light: #2563A8;
  --green:      #4A8C3F;
  --green-dark: #3A7032;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-300:   #CBD5E1;
  --gray-500:   #64748B;
  --gray-700:   #334155;
  --gray-900:   #0F172A;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 20px 48px rgba(0,0,0,0.12);
  --radius:     12px;
  --radius-sm:  8px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
  --max-w:      1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  color: var(--gray-900);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74,140,63,0.30);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27,79,155,0.30);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar__logo img { height: 48px; width: auto; }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width var(--transition);
  border-radius: 2px;
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--blue);
}
.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }
.navbar__cta { margin-left: 1rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 0 80px;
  position: relative;
  z-index: 1;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74,140,63,0.22);
  color: #86EFAC;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(74,140,63,0.35);
}
.hero__tag::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
}
.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  max-width: 820px;
}
.hero__title span { color: #93C5FD; }
.hero__desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.12rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}
.hero__trust {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2.5rem;
  width: 100%;
  max-width: 640px;
  justify-content: space-around;
}
.hero__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero__trust-item:last-child { border-right: none; }
.hero__trust-item strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero__trust-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── Section Headers ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; }

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 48px; height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  transition: background var(--transition);
}
.service-card:hover .service-card__icon {
  background: rgba(27,79,155,0.08);
}
.service-card h3 { margin-bottom: 0.75rem; color: var(--gray-900); }
.service-card p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition);
}
.service-card__link:hover { gap: 0.7rem; }

/* ── Why Choose Us ── */
.why-bg {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-left h2 { color: var(--white); margin-bottom: 1rem; }
.why-left p { color: rgba(255,255,255,0.72); font-size: 1.05rem; margin-bottom: 2.5rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.why-list li::before {
  content: '✓';
  min-width: 22px; height: 22px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  margin-top: 1px;
}
.why-right { display: flex; flex-direction: column; gap: 1.25rem; }
.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}
.why-card:hover { background: rgba(255,255,255,0.13); }
.why-card h4 { color: var(--white); margin-bottom: 0.35rem; font-size: 1rem; }
.why-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; }

/* ── Contact CTA Strip ── */
.cta-strip {
  background: var(--green);
  padding: 56px 0;
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-strip h2 { color: var(--white); font-size: 1.8rem; }
.cta-strip p { color: rgba(255,255,255,0.8); margin-top: 0.35rem; }
.cta-strip__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}
.btn-white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__icon {
  width: 44px; height: 44px;
  background: rgba(27,79,155,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.2rem;
}
.contact-info__value {
  font-size: 0.98rem;
  color: var(--gray-900);
  font-weight: 500;
}
.contact-info__value a { color: var(--blue); }
.contact-info__value a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.contact-form h3 { margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,79,155,0.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── About Page ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual__img {
  width: 100%;
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-visual__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-visual__badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--green);
  color: white;
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-visual__badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.about-visual__badge span {
  font-size: 0.8rem;
  opacity: 0.85;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4rem;
}
.value-card {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-left: 3px solid var(--green);
}
.value-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; color: var(--gray-900); }
.value-card p { font-size: 0.85rem; color: var(--gray-500); }
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0;
}
.mv-card {
  border-radius: var(--radius);
  padding: 2.5rem;
}
.mv-card--mission {
  background: var(--blue);
  color: white;
}
.mv-card--vision {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}
.mv-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.mv-card--mission h3 { color: rgba(255,255,255,0.6); }
.mv-card--mission p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.8; }
.mv-card--vision h3 { color: var(--gray-500); }
.mv-card--vision p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.8; }

/* ── Services Full Page ── */
.services-list { display: flex; flex-direction: column; gap: 2rem; }
.service-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.service-row:hover { box-shadow: var(--shadow-md); }
.service-row__header {
  background: var(--blue);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-row__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.service-row__header h3 { color: white; font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-row__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.service-row__body {
  padding: 2rem 2.5rem;
  background: var(--white);
}
.service-row__body p { color: var(--gray-500); font-size: 0.93rem; margin-bottom: 1.25rem; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  transition: all var(--transition);
}
.tag:hover { background: rgba(27,79,155,0.08); color: var(--blue); }

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 140px 0 80px;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 1rem; }
.page-header p { color: rgba(255,255,255,0.72); font-size: 1.1rem; max-width: 520px; margin: 0 auto; }

/* ── Footer ── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 280px;
}
.footer__logo { filter: brightness(0) invert(1); opacity: 0.9; }
.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer__links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__contact-item {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  align-items: flex-start;
}
.footer__contact-item a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer__contact-item a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.powered-by:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}
.footer__cred {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.badge-cpa {
  background: var(--green);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ── Photo Strip ── */
.photo-strip {
  display: flex;
  height: 400px;
  overflow: hidden;
}
.photo-strip__panel {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.photo-strip__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.photo-strip__panel:hover img { transform: scale(1.03); }

/* ── Stakes Grid ── */
.stakes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── Animations ── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-up-delay-1 { transition-delay: 0.1s; }
  .fade-up-delay-2 { transition-delay: 0.2s; }
  .fade-up-delay-3 { transition-delay: 0.3s; }
  .fade-up-delay-4 { transition-delay: 0.4s; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .about-grid    { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
  .service-row   { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .stakes-grid   { grid-template-columns: 1fr; }
  .photo-strip   { height: 280px; }
}
@media (max-width: 600px) {
  .container        { padding: 0 1.25rem; }
  .section          { padding: 64px 0; }
  .services-grid    { grid-template-columns: 1fr; }
  .navbar__links    { display: none; flex-direction: column; background: white; position: absolute; top: 72px; left: 0; right: 0; padding: 1rem 2rem 1.5rem; border-bottom: 1px solid var(--gray-100); box-shadow: 0 8px 24px rgba(0,0,0,0.08); gap: 1.25rem; }
  .navbar__links.open { display: flex; }
  .navbar__cta      { display: none; }
  .nav-toggle       { display: flex; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
  .cta-strip__actions { justify-content: center; }
  .footer__grid     { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .hero__trust      { flex-wrap: wrap; gap: 1rem; }
  .photo-strip      { flex-direction: column; height: auto; }
  .photo-strip__panel { height: 220px; }
}
