/* Hayk Ghahramanyan — static site styles
   Colors and type mirror the original WordPress/Elementor design. */

:root {
  --blue: #0066d7;
  --blue-btn: #467ff7;
  --blue-soft: #c9e3ff;
  --navy: #233d66;
  --cream: #f8f6f2;
  --grey-photo: #d6d6d6;
  --black: #000;
  --text: #333;
  --muted: rgba(0, 0, 0, 0.59);
  --white: #fff;
  --radius: 10px;
  --container: 1440px;
  --gutter: clamp(16px, 6vw, 85px);
  --nav-text: #1c244b;
  --h1: clamp(1.75rem, 0.6786rem + 3.8095vw, 3.75rem);
  --h2: clamp(1.5625rem, 1.0603rem + 1.7857vw, 2.5rem);
  --h3: clamp(1.125rem, 1.058rem + 0.2381vw, 1.25rem);
  --section-pad: clamp(56px, 8vw, 100px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4, h5 { color: var(--black); text-transform: capitalize; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--blue { background: var(--blue); }
.section-title {
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section--blue .section-title { color: var(--white); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: var(--white); padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 45px;
  border-radius: var(--radius);
  border: 1px solid var(--blue-btn);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: capitalize;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue-btn); color: var(--white); }
.btn--primary:hover { background: var(--blue); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--blue-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 100px;
  max-width: none;
  padding-inline: clamp(16px, 8vw, 115px);
}
.header-cta { justify-self: end; }
.logo {
  color: var(--blue);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: inline-block;
  padding: 5px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--nav-text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav__cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; border-radius: 8px;
  background: transparent;
  color: var(--black);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: inline; }

@media (max-width: 860px) {
  .site-header__inner { grid-template-columns: 1fr auto; min-height: 80px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; justify-self: end; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    display: none;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav a { display: block; padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(0, 0, 0, .06); }
  .nav__cta { display: block; padding: 0 var(--gutter) 20px; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Hero (home) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--blue);
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 3vw, 40px);
  color: var(--white);
}
.hero__text h1 {
  color: var(--white);
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.3;
}
.hero__text p { font-size: 18px; line-height: 1.5; }
.hero__text .btn { align-self: flex-start; }
.hero__media { background: var(--grey-photo); min-height: 320px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

@media (max-width: 767px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- Intro ---------- */
.intro h2 {
  font-size: var(--h1);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
}
.intro h2 span { color: var(--muted); }
.intro p { color: var(--black); margin-bottom: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 50px);
}
.cta-banner h2 {
  color: var(--white);
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.3;
  max-width: 860px;
}
.cta-banner h2 span { color: rgba(255, 255, 255, .44); }
.cta-banner img { width: clamp(120px, 15vw, 204px); flex-shrink: 0; margin-right: clamp(0px, 5vw, 80px); }
@media (max-width: 600px) {
  .cta-banner { flex-direction: column; text-align: center; }
}

/* ---------- Service cards (home) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, .06); }
.service-card h3 { font-size: var(--h3); font-weight: 600; line-height: 1.4; margin-top: 12px; }
.service-card p { color: var(--black); }

.icon-circle {
  width: 82px; height: 82px;
  border-radius: 50%;
  background: var(--blue-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon-circle svg { width: 32px; height: 32px; }
.icon-circle--sm { width: 56px; height: 56px; }
.icon-circle--sm svg { width: 24px; height: 24px; }

/* ---------- Services page ---------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 767px) { .service-detail-grid { grid-template-columns: 1fr; } }
.service-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.service-detail__head { display: flex; align-items: center; gap: 20px; }
.service-detail__head h2 { font-size: var(--h3); font-weight: 600; line-height: 1.4; }
.service-detail ul { margin: 0; padding-left: 20px; color: var(--black); }
.service-detail ul li { margin-bottom: 4px; }
.service-detail p { color: var(--black); margin-top: auto; }

/* ---------- Carousel (testimonials) ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-block: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 calc((100% - 20px) / 2);
  scroll-snap-align: start;
}
@media (max-width: 767px) { .carousel__slide { flex-basis: 100%; } }

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn--prev { left: -12px; }
.carousel__btn--next { right: -12px; }
.carousel__btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 767px) {
  .carousel__btn--prev { left: -4px; }
  .carousel__btn--next { right: -4px; }
}

.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel__dots button {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .2);
  cursor: pointer;
}
.carousel__dots button[aria-current="true"] { background: var(--black); }

.testimonial {
  margin: 0;
  border: 2px solid rgba(2, 1, 1, .06);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
}
.stars { display: flex; gap: 4px; color: #f0ad4e; }
.stars svg { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0; color: var(--black); line-height: 1.6; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.testimonial figcaption img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.testimonial__name { color: var(--black); font-weight: 500; margin-bottom: 4px; }
.testimonial__role { color: var(--blue); font-size: 13px; line-height: 1.5; }

/* ---------- Contact band ---------- */
.contact-band { background: var(--blue); }
.contact-band__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .contact-band__grid { grid-template-columns: 1fr; } }
.contact-band__intro { color: var(--white); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.contact-band__eyebrow { font-size: 20px; font-weight: 500; }
.contact-band__intro h1,
.contact-band__intro h2 { color: var(--white); font-size: clamp(1.75rem, 1rem + 2.6vw, 3rem); font-weight: 800; line-height: 1.3; }

.calendly-wrap {
  background: var(--grey-photo);
  border-radius: var(--radius);
  overflow: hidden;
}
.calendly-inline-widget { min-width: 300px; height: 700px; }

/* Contact form */
.contact-form-wrap { color: var(--white); }
.contact-form-wrap h2 { color: var(--white); font-size: clamp(2rem, 1.5rem + 2vw, 3.4rem); font-weight: 500; line-height: 1.2; margin-bottom: 12px; }
.contact-form-wrap > p { margin-bottom: 24px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
@media (max-width: 480px) { .contact-form { grid-template-columns: 1fr; } }
.contact-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, .75); }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--white); outline-offset: 1px; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .btn { width: 100%; background: var(--white); color: var(--black); border-color: var(--blue); font-size: 15px; padding: 16px 35px; }
.contact-form .hp { display: none; }
.form-status { grid-column: 1 / -1; font-weight: 600; min-height: 1.5em; }

/* ---------- About ---------- */
.about-intro__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .about-intro__grid { grid-template-columns: 1fr; } }
.about-intro h1 { font-size: var(--h1); font-weight: 600; line-height: 1.3; margin-bottom: 20px; }
.about-intro .tagline { color: var(--black); margin-bottom: 20px; }
.about-intro p { color: var(--black); }
.about-intro .btn { margin-top: 32px; }
.about-intro__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey-photo);
  aspect-ratio: 4 / 5;
}
.about-intro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 900px) { .about-intro__photo { aspect-ratio: 3 / 2; } }

.skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0; padding: 0;
}
@media (max-width: 600px) { .skills { grid-template-columns: 1fr; } }
.skills li {
  background: var(--white);
  border-radius: 3px;
  padding: 15px 35px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
}

.certs__text { color: var(--white); text-align: center; max-width: 900px; margin: 0 auto 40px; }
.certs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  list-style: none;
  margin: 0; padding: 0;
}
.certs__list img { width: clamp(120px, 18vw, 180px); }

/* Logo marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  list-style: none;
  margin: 0; padding: 0;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { width: clamp(120px, 14vw, 160px); aspect-ratio: 1; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track [aria-hidden="true"] { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .85); padding-block: clamp(40px, 6vw, 64px) 24px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 767px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h2,
.site-footer h3 { color: var(--white); }
.site-footer h2 { font-size: var(--h3); font-weight: 600; }
.site-footer h3 { font-size: 24px; font-weight: 400; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.social {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: grid; place-items: center;
  color: var(--white);
  transition: background-color .2s ease;
}
.social:hover { background: var(--blue); }
.social svg { width: 22px; height: 22px; }
.site-footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  text-align: center;
}

/* ---------- 404 ---------- */
.not-found { text-align: center; padding-block: 120px; }
.not-found h1 { font-size: var(--h1); font-weight: 800; margin-bottom: 16px; }
.not-found p { margin-bottom: 32px; }
