/* Inner pages — About, Mission, Services, Portfolio, Contact */

body.aws-inner-page {
  background: var(--aws-bg);
  color: var(--aws-text);
}

body.aws-inner-page .aws-page-hero {
  padding: calc(var(--aws-header-h) + 48px) 0 clamp(48px, 6vw, 72px);
  text-align: left;
}

body.aws-inner-page .aws-page-hero::before {
  background:
    radial-gradient(ellipse 55% 50% at 15% 20%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 45% at 85% 70%, rgba(16, 185, 129, 0.1), transparent 50%);
}

.aws-page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.aws-page-breadcrumb a:hover { color: #93c5fd; }

.aws-page-breadcrumb span { opacity: 0.4; }

.aws-page-hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
  max-width: 640px;
  margin: 0;
}

.aws-page-section {
  padding: clamp(56px, 7vw, 88px) 0;
}

.aws-page-section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--aws-border);
}

.aws-page-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

@media (max-width: 991px) {
  .aws-page-split { grid-template-columns: 1fr; }
}

.aws-page-split__media {
  border-radius: var(--aws-radius-lg);
  overflow: hidden;
  border: 1px solid var(--aws-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.aws-page-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.aws-page-split__copy h2 {
  font-family: var(--aws-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--aws-white);
  margin: 0 0 16px;
  line-height: 1.2;
}

.aws-page-split__copy h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #93c5fd;
  margin: 0 0 12px;
}

.aws-page-split__copy p {
  margin: 0 0 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

.aws-page-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.aws-page-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.aws-page-list i {
  color: var(--aws-green);
  margin-top: 3px;
  flex-shrink: 0;
}

.aws-page-stats {
  padding: clamp(40px, 5vw, 56px) 0;
  border-block: 1px solid var(--aws-border);
  background: rgba(255, 255, 255, 0.02);
}

.aws-page-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .aws-page-stats__grid { grid-template-columns: repeat(2, 1fr); }
}

.aws-page-stat {
  text-align: center;
  padding: 20px 12px;
}

.aws-page-stat strong {
  display: block;
  font-family: var(--aws-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--aws-white);
  line-height: 1.1;
}

.aws-page-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.aws-page-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .aws-page-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .aws-page-cards { grid-template-columns: 1fr; }
}

.aws-page-card {
  padding: 28px 24px;
  border-radius: var(--aws-radius);
  border: 1px solid var(--aws-border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, transform 0.25s;
}

.aws-page-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-4px);
}

.aws-page-card i {
  font-size: 22px;
  color: #60a5fa;
  margin-bottom: 14px;
}

.aws-page-card strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--aws-white);
  margin-bottom: 8px;
}

.aws-page-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.aws-page-card a.aws-page-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
}

.aws-mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .aws-mv-grid { grid-template-columns: 1fr; }
}

.aws-mv-card {
  padding: 32px 28px;
  border-radius: var(--aws-radius-lg);
  border: 1px solid var(--aws-border);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.02));
  position: relative;
  overflow: hidden;
}

.aws-mv-card--vision {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.02));
}

.aws-mv-card--goals {
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.1), rgba(255, 255, 255, 0.02));
}

.aws-mv-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  font-size: 20px;
  margin-bottom: 18px;
}

.aws-mv-card--vision .aws-mv-card__icon {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.aws-mv-card--goals .aws-mv-card__icon {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
}

.aws-mv-card h2 {
  font-family: var(--aws-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--aws-white);
  margin: 0 0 12px;
}

.aws-mv-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
}

.aws-mv-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.aws-mv-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.aws-mv-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
}

.aws-page-cta {
  padding: clamp(56px, 7vw, 80px) 0;
  text-align: center;
}

.aws-page-cta__inner {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(36px, 5vw, 52px);
  border-radius: var(--aws-radius-xl);
  border: 1px solid var(--aws-border);
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.02));
}

.aws-page-cta__inner h2 {
  font-family: var(--aws-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--aws-white);
  margin: 0 0 12px;
}

.aws-page-cta__inner p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.58);
}

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

/* Portfolio */
.aws-portfolio-section {
  padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}

.aws-portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.aws-portfolio-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--aws-border);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--aws-font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.aws-portfolio-tab:hover {
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--aws-white);
}

.aws-portfolio-tab.is-active {
  background: var(--aws-blue);
  border-color: var(--aws-blue);
  color: var(--aws-white);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.aws-portfolio-panel { display: none; }

.aws-portfolio-panel.is-active {
  display: block;
  animation: aws-portfolio-fade 0.35s var(--aws-ease);
}

@keyframes aws-portfolio-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.aws-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .aws-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .aws-portfolio-grid { grid-template-columns: 1fr; }
}

.aws-portfolio-item {
  border-radius: var(--aws-radius);
  overflow: hidden;
  border: 1px solid var(--aws-border);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s var(--aws-ease), box-shadow 0.3s;
}

.aws-portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  border-color: rgba(59, 130, 246, 0.3);
}

.aws-portfolio-item__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.aws-portfolio-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--aws-ease);
}

.aws-portfolio-item:hover .aws-portfolio-item__thumb img {
  transform: scale(1.05);
}

.aws-portfolio-item__body {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aws-portfolio-item__body strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--aws-white);
  line-height: 1.4;
}

.aws-portfolio-item__body i {
  color: #60a5fa;
  flex-shrink: 0;
}

.aws-portfolio-empty {
  text-align: center;
  padding: 48px 20px;
  color: rgba(255, 255, 255, 0.5);
}

/* Contact */
.aws-contact-page {
  padding-bottom: clamp(64px, 8vw, 96px);
}

.aws-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 991px) {
  .aws-contact-grid { grid-template-columns: 1fr; }
}

.aws-contact-offices {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.aws-contact-office {
  padding: 22px 24px;
  border-radius: var(--aws-radius);
  border: 1px solid var(--aws-border);
  background: rgba(255, 255, 255, 0.03);
}

.aws-contact-office__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #60a5fa;
  margin-bottom: 10px;
}

.aws-contact-office h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--aws-white);
  margin: 0 0 8px;
}

.aws-contact-office p,
.aws-contact-office a {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.aws-contact-office a:hover { color: #93c5fd; }

.aws-contact-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 575px) {
  .aws-contact-quick { grid-template-columns: 1fr; }
}

.aws-contact-quick__item {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--aws-border);
  background: rgba(255, 255, 255, 0.02);
}

.aws-contact-quick__item i {
  color: #34d399;
  margin-bottom: 8px;
}

.aws-contact-quick__item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.aws-contact-quick__item a,
.aws-contact-quick__item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--aws-white);
}

.aws-contact-form-wrap {
  padding: clamp(28px, 4vw, 36px);
  border-radius: var(--aws-radius-lg);
  border: 1px solid var(--aws-border);
  background: rgba(255, 255, 255, 0.04);
}

.aws-contact-form-wrap h2 {
  font-family: var(--aws-display);
  font-size: 1.4rem;
  color: var(--aws-white);
  margin: 0 0 8px;
}

.aws-contact-form-wrap > p {
  margin: 0 0 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.aws-contact-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 56px);
}

@media (max-width: 767px) {
  .aws-contact-maps { grid-template-columns: 1fr; }
}

.aws-contact-map {
  border-radius: var(--aws-radius);
  overflow: hidden;
  border: 1px solid var(--aws-border);
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.aws-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.aws-contact-map__cap {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--aws-border);
}

.aws-contact-map-block {
  border-radius: var(--aws-radius);
  overflow: hidden;
  border: 1px solid var(--aws-border);
}

.aws-contact-map-block .aws-contact-map {
  border: none;
  border-radius: 0;
}

/* Reuse demo form fields on contact */
body.aws-inner-page .aws-demo-field label { color: rgba(255, 255, 255, 0.55); }

body.aws-inner-page .aws-page-hero,
body.aws-inner-page .aws-header {
  opacity: 1 !important;
  transform: none !important;
}
