/*
Theme Name: AudioGuide Elementor Child
Theme URI: https://audioguide.gr/
Description: AudioGuide design system and motion layer for Elementor V4 / Hello Elementor.
Author: Yiannis Makrakis Digital Services
Template: hello-elementor
Version: 1.0.0
Text Domain: audioguide-elementor-child
*/

:root {
  --ag-color-ink: #101114;
  --ag-color-muted: #686b70;
  --ag-color-line: #d6d9dd;
  --ag-color-white: #ffffff;
  --ag-color-soft: #f4f6f8;
  --ag-color-cyan: #1f9dc0;
  --ag-color-cyan-deep: #117d99;
  --ag-color-cyan-light: #ddf5fa;
  --ag-color-coral: #d98e80;
  --ag-color-coral-light: #f8e6e2;
  --ag-color-cream: #f5efe5;
  --ag-color-night: #071217;

  --ag-font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --ag-font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

  --ag-size-display-xl: clamp(3.5rem, 7.25vw, 7.25rem);
  --ag-size-display-lg: clamp(3rem, 5.6vw, 5.75rem);
  --ag-size-display-md: clamp(2.4rem, 4.2vw, 4.5rem);
  --ag-size-lead: clamp(1.1rem, 1.65vw, 1.55rem);

  --ag-space-section: clamp(6rem, 11vw, 11rem);
  --ag-container: 1280px;
  --ag-container-wide: 1440px;
  --ag-radius-lg: 30px;
  --ag-radius-xl: 44px;
  --ag-shadow-soft: 0 24px 70px rgba(0, 0, 0, .10);
}

html { scroll-behavior: smooth; }

body {
  color: var(--ag-color-ink);
  background: var(--ag-color-white);
  font-family: var(--ag-font-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.ag-section {
  width: 100%;
  padding: var(--ag-space-section) clamp(1.25rem, 4.6vw, 4.75rem);
}

.ag-container,
.ag-section-heading,
.ag-app-grid,
.ag-why-grid,
.ag-prep-top,
.ag-care-grid,
.ag-process-wrap,
.ag-cta-card,
.ag-footer-top,
.ag-footer-bottom,
.ag-proof-strip {
  width: min(100%, var(--ag-container));
  margin-inline: auto;
}

.ag-container-wide {
  width: min(100%, var(--ag-container-wide));
  margin-inline: auto;
}

.ag-eyebrow,
.ag-eyebrow p {
  margin: 0 0 1.35rem;
  color: var(--ag-color-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.ag-display .elementor-heading-title,
.ag-display--hero .elementor-heading-title {
  margin: 0;
  color: var(--ag-color-ink);
  font-family: var(--ag-font-display);
  font-size: var(--ag-size-display-lg);
  font-weight: 710;
  letter-spacing: -.058em;
  line-height: .96;
}

.ag-display--hero .elementor-heading-title {
  font-size: var(--ag-size-display-xl);
  line-height: .91;
}

.ag-display--light .elementor-heading-title { color: var(--ag-color-white); }

.ag-lead,
.ag-lead p {
  margin: 0;
  max-width: 760px;
  color: var(--ag-color-muted);
  font-size: var(--ag-size-lead);
  line-height: 1.45;
}

.ag-lead--center { text-align: center; }
.ag-lead--center p { margin-inline: auto; }
.ag-lead--light,
.ag-lead--light p { color: #a9b5ba; }

.ag-button .elementor-button {
  min-height: 48px;
  padding: 0 1.45rem;
  border-radius: 999px;
  border: 0;
  font-size: .95rem;
  font-weight: 700;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.ag-button .elementor-button:hover {
  transform: translateY(-2px);
}

.ag-button--dark .elementor-button,
.ag-button--header .elementor-button {
  color: var(--ag-color-white);
  background: var(--ag-color-ink);
}

.ag-button--dark .elementor-button:hover,
.ag-button--header .elementor-button:hover {
  background: #303338;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.ag-text-link {
  color: var(--ag-color-cyan-deep);
  font-size: 1rem;
  font-weight: 600;
}

.ag-text-link span {
  display: inline-block;
  padding-left: .4rem;
  transition: transform .25s ease;
}

.ag-text-link:hover span { transform: translateX(.3rem); }
.ag-text-link--light { color: #76d9ef; }

/* Header */
.ag-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  min-height: 64px;
  padding: 0 clamp(1.1rem, 4.6vw, 4.75rem);
  display: grid !important;
  grid-template-columns: 255px 1fr 190px;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.84);
  backdrop-filter: saturate(180%) blur(24px);
  transition: box-shadow .3s ease, background .3s ease;
}

.ag-site-header.ag-header-scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.ag-brand-link img {
  display: block;
  width: 218px;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
}

.ag-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  font-size: .82rem;
  font-weight: 600;
}

.ag-nav a {
  opacity: .72;
  transition: opacity .2s ease, color .2s ease;
}

.ag-nav a:hover {
  opacity: 1;
  color: var(--ag-color-cyan-deep);
}

.ag-button--header { justify-self: end; }

/* Hero */
.ag-hero-section {
  padding-top: clamp(5rem, 9vw, 8.5rem);
  padding-bottom: 0;
  background:
    radial-gradient(circle at 8% 3%, rgba(31,157,192,.12), transparent 31%),
    radial-gradient(circle at 94% 17%, rgba(217,142,128,.12), transparent 25%),
    var(--ag-color-white);
}

.ag-hero-copy {
  width: min(100%, 1180px);
  margin-inline: auto;
  text-align: center;
  align-items: center;
}

.ag-hero-copy .ag-lead { margin-top: 2rem; }

.ag-actions {
  margin-top: 2rem;
  justify-content: center;
  align-items: center;
  gap: 1.7rem;
}

.ag-hero-media {
  position: relative;
  width: min(100%, 1320px);
  min-height: clamp(470px, 50vw, 700px);
  margin: 4rem auto 0;
  overflow: visible;
  border-radius: var(--ag-radius-xl);
  background:
    linear-gradient(180deg, rgba(7,18,23,.02), rgba(7,18,23,.22)),
    url("assets/images/hero-knossos.jpg") center 48% / cover no-repeat;
  box-shadow: var(--ag-shadow-soft);
}

.ag-device-html,
.ag-device-html .elementor-widget-container { height: 100%; }

.ag-device-composition {
  position: absolute;
  left: 50%;
  bottom: -3.25rem;
  width: 420px;
  height: 190px;
  transform: translateX(-50%);
  filter: drop-shadow(0 28px 28px rgba(0,0,0,.34));
}

.ag-device {
  position: absolute;
  bottom: 0;
  width: 150px;
  height: 158px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  background: linear-gradient(145deg, #272c30, #070809 72%);
}

.ag-device--left { left: 60px; transform: rotate(-7deg); }
.ag-device--right { right: 60px; transform: rotate(7deg); }

.ag-device__antenna {
  position: absolute;
  top: -45px;
  left: 50%;
  width: 5px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(#131517, #3c4247);
}

.ag-device__screen {
  position: absolute;
  top: 46px;
  left: 50%;
  min-width: 68px;
  padding: .45rem 0;
  transform: translateX(-50%);
  border: 1px solid #29454d;
  border-radius: 8px;
  background: #071418;
  color: #a4ebfb;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
}

.ag-device__button {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border: 1px solid #7f878c;
  border-radius: 50%;
}

.ag-signal-ring {
  position: absolute;
  inset: -72px -92px;
  border: 1px solid rgba(86,208,236,.42);
  border-radius: 50%;
  animation: agPulse 3.8s ease-out infinite;
}

.ag-signal-ring--2 { inset: -36px -56px; animation-delay: .7s; }
.ag-signal-ring--3 { inset: 0 -20px; animation-delay: 1.4s; }

@keyframes agPulse {
  0% { opacity: 0; transform: scale(.84); }
  38% { opacity: .75; }
  100% { opacity: 0; transform: scale(1.1); }
}

.ag-proof-strip {
  margin-top: 6.6rem;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ag-color-line);
  border-bottom: 1px solid var(--ag-color-line);
}

.ag-proof-item {
  position: relative;
  min-height: 145px;
  padding: 2.2rem 1.6rem;
}

.ag-proof-item + .ag-proof-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: var(--ag-color-line);
}

.ag-stat-value .elementor-heading-title {
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
  font-weight: 750;
  letter-spacing: -.045em;
}

.ag-stat-label,
.ag-stat-label p {
  margin: .65rem 0 0;
  color: var(--ag-color-muted);
  font-size: .9rem;
}

/* Shared heading */
.ag-section-heading { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.ag-section-heading--center { text-align: center; }
.ag-section-heading--center .ag-lead { margin: 1.4rem auto 0; }

/* Applications */
.ag-applications-section {
  background:
    linear-gradient(180deg, rgba(31,157,192,.06), transparent 25%),
    var(--ag-color-soft);
}

.ag-app-grid {
  display: grid !important;
  grid-template-columns: 1.25fr .78fr .78fr;
  grid-template-rows: 390px 390px 285px;
  gap: 1.35rem;
}

.ag-app-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 1.75rem;
  justify-content: flex-end;
  border-radius: var(--ag-radius-lg);
  background: var(--ag-color-white);
  box-shadow: 0 14px 48px rgba(0,0,0,.07);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s cubic-bezier(.2,.7,.2,1);
}

.ag-app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform .75s cubic-bezier(.2,.7,.2,1);
}

.ag-app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(7,18,23,.78));
}

.ag-app-card > * { position: relative; z-index: 1; }

.ag-app-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 65px rgba(0,0,0,.12);
}

.ag-app-card:hover::before { transform: scale(1.035); }

.ag-app-card--featured { grid-row: 1 / 3; padding: 2.75rem; }
.ag-app-card--tour::before { background-image: url("assets/images/guided-tour.jpg"); }
.ag-app-card--museum::before { background-image: url("assets/images/museum.jpg"); }
.ag-app-card--conference::before { background-image: url("assets/images/conference.jpg"); }
.ag-app-card--education::before { background-image: url("assets/images/guided-tour.jpg"); background-position: 35% 50%; }
.ag-app-card--industry::before { background-image: url("assets/images/industry.jpg"); }

.ag-card-number,
.ag-card-number p {
  margin: 0 0 .75rem;
  color: #ffd5cc;
  font-size: .82rem;
  font-weight: 750;
}

.ag-card-title .elementor-heading-title {
  max-width: 500px;
  color: var(--ag-color-white);
  font-size: clamp(1.55rem, 2.4vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.ag-app-card--featured .ag-card-title .elementor-heading-title {
  font-size: clamp(2.45rem, 4vw, 4rem);
}

.ag-card-copy,
.ag-card-copy p {
  margin: .9rem 0 0;
  max-width: 570px;
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.48;
}

.ag-app-card--more {
  justify-content: space-between;
  background:
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.25), transparent 34%),
    linear-gradient(145deg, var(--ag-color-cyan), var(--ag-color-cyan-deep));
}

.ag-app-card--more::before,
.ag-app-card--more::after { display: none; }

.ag-card-arrow {
  align-self: flex-end;
  color: var(--ag-color-white);
  font-size: 3.5rem;
  font-weight: 300;
}

/* Why */
.ag-why-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(217,142,128,.12), transparent 25%),
    var(--ag-color-white);
}

.ag-why-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ag-color-line);
}

.ag-why-item {
  position: relative;
  min-height: 370px;
  padding: 3.5rem 2.8rem 2.5rem 0;
}

.ag-why-item + .ag-why-item {
  padding-left: 2.8rem;
  border-left: 1px solid var(--ag-color-line);
}

.ag-why-number,
.ag-why-number p {
  margin: 0;
  color: var(--ag-color-coral);
  font-size: 2rem;
  letter-spacing: -.04em;
}

.ag-why-title .elementor-heading-title {
  max-width: 320px;
  margin-top: 3.3rem;
  font-size: clamp(1.7rem, 2.45vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.ag-why-copy,
.ag-why-copy p {
  max-width: 350px;
  margin: 1rem 0 0;
  color: var(--ag-color-muted);
  font-size: 1rem;
  line-height: 1.52;
}

/* Dual transmitter */
.ag-dual-section {
  min-height: 950px;
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(31,157,192,.22), transparent 28%),
    radial-gradient(circle at 20% 90%, rgba(217,142,128,.12), transparent 32%),
    var(--ag-color-night);
}

.ag-dual-inner {
  display: grid !important;
  grid-template-columns: .85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.ag-dual-copy .ag-lead { margin-top: 2rem; }
.ag-dual-copy .ag-inline-link { margin-top: 1.8rem; }

.ag-dual-media {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--ag-color-night) 0%, transparent 30%),
    url("assets/images/devices.jpg") center / cover no-repeat;
  mix-blend-mode: screen;
}

.ag-sound-lines {
  position: absolute;
  inset: 16% -20% auto -18%;
  width: 145%;
  color: #63d2ec;
  overflow: visible;
}

.ag-sound-lines path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-dasharray: 6 9;
  opacity: .48;
  animation: agSoundMove 18s linear infinite;
}

.ag-sound-lines path:nth-child(2) { opacity: .27; animation-duration: 23s; }
.ag-sound-lines path:nth-child(3) { opacity: .18; animation-duration: 28s; }

@keyframes agSoundMove { to { stroke-dashoffset: -320; } }

/* Preparation + process */
.ag-preparation-section {
  background:
    linear-gradient(180deg, rgba(245,239,229,.58), transparent 28%),
    var(--ag-color-white);
}

.ag-prep-top {
  display: grid !important;
  grid-template-columns: 1fr .9fr;
  gap: 5rem;
  align-items: center;
}

.ag-prep-copy .ag-lead { margin-top: 1.9rem; }

.ag-prep-media {
  min-height: 560px;
  border-radius: var(--ag-radius-xl);
  background:
    linear-gradient(180deg, rgba(7,18,23,.04), rgba(7,18,23,.18)),
    url("assets/images/devices.jpg") center / cover no-repeat;
  box-shadow: var(--ag-shadow-soft);
}

.ag-care-grid {
  margin-top: 7rem;
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ag-color-line);
  border-bottom: 1px solid var(--ag-color-line);
}

.ag-care-item {
  min-height: 270px;
  padding: 2.1rem 1.45rem;
}

.ag-care-item + .ag-care-item { border-left: 1px solid var(--ag-color-line); }

.ag-care-number,
.ag-care-number p,
.ag-process-number,
.ag-process-number p {
  margin: 0;
  color: var(--ag-color-coral);
  font-size: .82rem;
  font-weight: 750;
}

.ag-care-title .elementor-heading-title {
  margin-top: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.ag-care-copy,
.ag-care-copy p {
  margin: .85rem 0 0;
  color: var(--ag-color-muted);
  font-size: .88rem;
  line-height: 1.5;
}

.ag-process-wrap {
  margin-top: 9.5rem;
  padding-top: 8.5rem;
  border-top: 1px solid var(--ag-color-line);
}

.ag-process-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 5.5rem;
}

.ag-process-item {
  position: relative;
  min-height: 270px;
  padding: 0 2.6rem 1.5rem 0;
}

.ag-process-item + .ag-process-item { padding-left: 2.6rem; }

.ag-process-item + .ag-process-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .4rem;
  width: 1px;
  height: 170px;
  background: var(--ag-color-line);
}

.ag-process-title .elementor-heading-title {
  margin-top: 2.9rem;
  font-size: 1.6rem;
  letter-spacing: -.035em;
}

.ag-process-copy,
.ag-process-copy p {
  margin: .9rem 0 0;
  color: var(--ag-color-muted);
  font-size: .95rem;
  line-height: 1.5;
}

/* CTA */
.ag-final-cta-section {
  background:
    radial-gradient(circle at 13% 20%, rgba(217,142,128,.13), transparent 24%),
    var(--ag-color-soft);
}

.ag-cta-card {
  padding: clamp(3.4rem, 6vw, 5.7rem);
  display: grid !important;
  grid-template-columns: 1.25fr .75fr;
  gap: 5rem;
  border-radius: var(--ag-radius-xl);
  background:
    radial-gradient(circle at 88% 14%, rgba(31,157,192,.26), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(217,142,128,.16), transparent 28%),
    linear-gradient(145deg, #e9f8fb, #ffffff 62%);
  box-shadow: var(--ag-shadow-soft);
}

.ag-cta-copy .ag-lead { margin-top: 1.8rem; }
.ag-cta-copy .ag-button { margin-top: 2rem; align-self: flex-start; }

.ag-contact-list {
  height: 100%;
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  border-left: 1px solid rgba(0,0,0,.14);
  font-size: 1.25rem;
}

.ag-contact-label {
  margin: 0 0 .5rem;
  color: var(--ag-color-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.ag-contact-list a { transition: color .2s ease; }
.ag-contact-list a:hover { color: var(--ag-color-cyan-deep); }
.ag-contact-list span { color: var(--ag-color-muted); }

/* Footer */
.ag-site-footer {
  width: 100%;
  padding: 4.5rem clamp(1.25rem, 4.6vw, 4.75rem) 2.2rem;
  color: #d7d8da;
  background:
    radial-gradient(circle at 78% 10%, rgba(31,157,192,.13), transparent 26%),
    #1d1d1f;
}

.ag-footer-top {
  display: grid !important;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 2.8rem;
}

.ag-footer-logo img {
  width: 220px;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.ag-footer-description,
.ag-footer-description p {
  max-width: 390px;
  margin: 1.3rem 0 0;
  color: #9a9ba0;
  font-size: .82rem;
  line-height: 1.5;
}

.ag-footer-column {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  font-size: .82rem;
}

.ag-footer-column p {
  margin: 0 0 .35rem;
  color: #f5f5f7;
  font-weight: 700;
}

.ag-footer-column a,
.ag-footer-column span {
  color: #9a9ba0;
  transition: color .2s ease;
}

.ag-footer-column a:hover { color: var(--ag-color-white); }

.ag-footer-bottom {
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #424245;
  color: #7e7f84;
  font-size: .75rem;
}

/* Motion */
.ag-reveal,
.ag-reveal-left,
.ag-reveal-scale,
.ag-stagger > .e-con,
.ag-stagger > .elementor-element {
  opacity: 0;
  transition:
    opacity .9s cubic-bezier(.2,.7,.2,1),
    transform .9s cubic-bezier(.2,.7,.2,1);
}

.ag-reveal { transform: translateY(46px); }
.ag-reveal-left { transform: translateX(-52px); }
.ag-reveal-scale { transform: translateY(32px) scale(.965); }

.ag-stagger > .e-con:nth-child(2),
.ag-stagger > .elementor-element:nth-child(2) { transition-delay: .08s; }
.ag-stagger > .e-con:nth-child(3),
.ag-stagger > .elementor-element:nth-child(3) { transition-delay: .16s; }
.ag-stagger > .e-con:nth-child(4),
.ag-stagger > .elementor-element:nth-child(4) { transition-delay: .24s; }
.ag-stagger > .e-con:nth-child(5),
.ag-stagger > .elementor-element:nth-child(5) { transition-delay: .32s; }

.ag-reveal.ag-is-visible,
.ag-reveal-left.ag-is-visible,
.ag-reveal-scale.ag-is-visible,
.ag-stagger.ag-is-visible > .e-con,
.ag-stagger.ag-is-visible > .elementor-element {
  opacity: 1;
  transform: none;
}

/* Tablet */
@media (max-width: 1100px) {
  .ag-site-header {
    grid-template-columns: 220px 1fr 165px;
  }

  .ag-nav { gap: 1rem; }

  .ag-app-grid {
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: 520px repeat(2, 330px);
  }

  .ag-app-card--featured { grid-row: 1 / 3; }

  .ag-care-grid { grid-template-columns: repeat(2, 1fr); }
  .ag-care-item + .ag-care-item { border-left: 0; }
  .ag-care-item:nth-child(even) { border-left: 1px solid var(--ag-color-line); }
  .ag-care-item { border-bottom: 1px solid var(--ag-color-line); }
}

/* Mobile */
@media (max-width: 820px) {
  :root { --ag-space-section: 6.3rem; }

  .ag-site-header {
    min-height: 58px;
    padding-inline: 1.1rem;
    grid-template-columns: 1fr auto;
  }

  .ag-brand-link img { width: 174px; }
  .ag-nav-slot, .ag-button--header { display: none; }

  .ag-display--hero .elementor-heading-title {
    font-size: clamp(3rem, 13.3vw, 4.35rem);
    line-height: .94;
  }

  .ag-display .elementor-heading-title {
    font-size: clamp(2.7rem, 11vw, 3.7rem);
  }

  .ag-actions {
    flex-direction: column !important;
    gap: 1rem;
  }

  .ag-hero-media {
    min-height: 470px;
    margin-top: 3rem;
    border-radius: 28px;
  }

  .ag-device-composition {
    width: 310px;
    height: 150px;
    bottom: -2.2rem;
  }

  .ag-device {
    width: 115px;
    height: 128px;
  }

  .ag-device--left { left: 42px; }
  .ag-device--right { right: 42px; }
  .ag-device__screen { top: 38px; min-width: 55px; font-size: 1.2rem; }

  .ag-proof-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 5rem;
  }

  .ag-proof-item { min-height: 115px; padding: 1.5rem 1rem; border-bottom: 1px solid var(--ag-color-line); }
  .ag-proof-item + .ag-proof-item::before { display: none; }
  .ag-proof-item:nth-child(even) { border-left: 1px solid var(--ag-color-line); }
  .ag-proof-item:last-child { grid-column: 1 / -1; }

  .ag-app-grid {
    display: flex !important;
    flex-direction: column !important;
  }

  .ag-app-card,
  .ag-app-card--featured {
    min-height: 470px;
    grid-row: auto;
  }

  .ag-app-card--more { min-height: 285px; }

  .ag-why-grid,
  .ag-dual-inner,
  .ag-prep-top,
  .ag-process-grid,
  .ag-cta-card,
  .ag-footer-top {
    grid-template-columns: 1fr;
  }

  .ag-why-item,
  .ag-why-item + .ag-why-item {
    min-height: 0;
    padding: 2.6rem 0 3rem;
    border-left: 0;
    border-bottom: 1px solid var(--ag-color-line);
  }

  .ag-why-title .elementor-heading-title { margin-top: 2rem; }

  .ag-dual-section { min-height: auto; }
  .ag-dual-media { min-height: 550px; }

  .ag-prep-top { gap: 3rem; }
  .ag-prep-media { min-height: 450px; }

  .ag-care-grid { grid-template-columns: 1fr; margin-top: 4.5rem; }
  .ag-care-item,
  .ag-care-item:nth-child(even) {
    min-height: 0;
    padding: 1.8rem 0 2.2rem;
    border-left: 0;
  }

  .ag-process-wrap { margin-top: 6.5rem; padding-top: 6rem; }
  .ag-process-grid { margin-top: 4rem; }

  .ag-process-item,
  .ag-process-item + .ag-process-item {
    min-height: 0;
    padding: 0 0 2.5rem;
    margin-bottom: 2.2rem;
    border-bottom: 1px solid var(--ag-color-line);
  }

  .ag-process-item + .ag-process-item::before { display: none; }

  .ag-cta-card {
    gap: 3rem;
    padding: 3.3rem 1.75rem;
    border-radius: 30px;
  }

  .ag-contact-list {
    padding: 2.2rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,.14);
    font-size: 1.08rem;
  }

  .ag-footer-top { grid-template-columns: 1fr 1fr; }
  .ag-footer-brand { grid-column: 1 / -1; margin-bottom: 1rem; }
  .ag-footer-bottom { flex-direction: column; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .ag-reveal,
  .ag-reveal-left,
  .ag-reveal-scale,
  .ag-stagger > .e-con,
  .ag-stagger > .elementor-element {
    opacity: 1 !important;
    transform: none !important;
  }
}
