/* ==========================



   SITIO CREADO POR MATIASCALDERON
   WWW.MATIASCALDERON.CL
   CONTACTO@MATIASCALDERON.CL



   
   ========================== */
:root {
    --accent: #ff5caa;
    --bg-soft: #050515;
    --border-soft: #272738;
    --fg: #f5f5f5;
    --fg-muted: #9090a5;
    --radius-lg: 18px;
    --transition: 200ms ease;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    background: #02020a;
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-main);
    background: radial-gradient(circle at top, #181826 0, #02020a 45%);
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    min-height: 100vh;
  }

  .page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  /* HEADER */

  .ag-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0.7rem 0;
    background: #02020a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    transition: background 220ms ease, box-shadow 220ms ease;
  }

  .ag-header.navbar--scrolled {
    background: rgba(2, 2, 10, 0.97);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.9);
  }

  .ag-header-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
  }

  .ag-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .ag-header-logo img {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  .ag-header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .ag-header-nav a {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.85;
    position: relative;
    transition: opacity 0.2s ease;
  }

  .ag-header-nav a:hover {
    opacity: 1;
  }

  .ag-header-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff5caa;
    transition: width 0.18s ease;
  }

  .ag-header-nav a:hover::after {
    width: 100%;
  }

  /* HERO CONTACTO */

  main {
    flex: 1;
    background: linear-gradient(to bottom, rgba(2, 2, 10, 0) 0, #02020a 18%, #050515 100%);
    padding-bottom: 3rem;
  }

  .contact-hero {
    padding-top: 6.5rem;
    padding-bottom: 2.5rem;
    text-align: center;
  }

  .contact-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 0.75rem;
  }

  .contact-title {
    font-size: 1.9rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }

  .contact-subtitle {
    max-width: 620px;
    font-size: 0.95rem;
    color: var(--fg-muted);
    line-height: 1.7;
    margin: 0.5rem auto 0;
  }

  /* GRID FORM + INFO */

  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.5fr);
    gap: 2.5rem;
    align-items: flex-start;
    padding-bottom: 2.5rem;
  }

  /* CARD FORM */

  .contact-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      radial-gradient(circle at top, rgba(255, 92, 170, 0.14), transparent 55%),
      #050515;
    padding: 1.8rem 1.7rem 1.9rem;
  }

  .contact-card-title {
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }

  .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .form-group {
    margin-bottom: 1rem;
    position: relative;
  }

  .form-label {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a4a4c4;
    margin-bottom: 0.3rem;
    display: block;
  }

  .form-input,
  .form-textarea,
  .form-select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    background: #060618;
    color: var(--fg);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
    font-family: inherit;
  }

  .form-textarea {
    resize: vertical;
    min-height: 130px;
    border-radius: 18px;
    line-height: 1.6;
    padding-top: 0.9rem;
  }

  .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.4rem;
    cursor: pointer;
  }

  .form-input::placeholder,
  .form-textarea::placeholder {
    color: rgba(144, 144, 165, 0.75);
  }

  .form-input:focus,
  .form-textarea:focus,
  .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(255, 92, 170, 0.45);
    background: #07071c;
  }

  .select-wrapper {
    position: relative;
  }

  .select-arrow {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #a4a4c4;
  }

  .form-hint {
    font-size: 0.78rem;
    color: #8080a4;
    margin-top: 0.4rem;
  }

  .pill-info {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--border-soft);
    padding: 0.25rem 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--fg-muted);
    margin-bottom: 1rem;
  }

  .pill-info span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
  }

  .btn-submit {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(90deg, #ff5caa, #ffb0da);
    color: #070713;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 600;
    transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
  }

  .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
    filter: brightness(1.05);
  }

  .btn-submit span {
    transform: translateY(1px);
  }

  /* SIDE INFO */

  .contact-side {
    padding-top: 0.3rem;
  }

  .side-block {
    margin-bottom: 1.8rem;
  }

  .side-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.19em;
    color: var(--fg-muted);
    margin-bottom: 0.5rem;
  }

  .side-text {
    font-size: 0.9rem;
    color: #c4c4e0;
    line-height: 1.7;
    max-width: 360px;
  }

  .side-email {
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }

  .side-email a {
    color: #ffb0da;
    text-decoration: none;
  }

  .side-email a:hover {
    text-decoration: underline;
  }

  .side-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #8585aa;
  }

  .side-taglist {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .side-tag {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.1rem 0.6rem;
    font-size: 0.75rem;
    color: #a3a3c4;
  }

  /* FOOTER */

  .footer {
    padding: 2rem 0 2.5rem;
    font-size: 0.78rem;
    color: var(--fg-muted);
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
  }

  .footer-logo {
    width: 45px;
    height: auto;
    opacity: 0.85;
    transition: opacity 0.25s ease;
  }

  .footer-logo:hover {
    opacity: 1;
  }

  /* RESPONSIVE */

  @media (max-width: 900px) {
    .contact-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  @media (max-width: 768px) {
    .form-row {
      grid-template-columns: minmax(0, 1fr);
    }

    .contact-hero {
      padding-top: 6rem;
      padding-bottom: 2rem;
    }
  }

  @media (max-width: 640px) {
    .ag-header-nav {
      gap: 1.2rem;
    }

    .ag-header-logo img {
      height: 26px;
    }

    .contact-title {
      font-size: 1.5rem;
      letter-spacing: 0.18em;
    }

    .container {
      padding: 0 1.25rem;
    }
  }
/* FOOTER – ArtGallery */

.footer {
  padding: 2.2rem 0 2.6rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.2rem;
}

/* Logo */
.footer-logo {
  width: 42px;
  height: auto;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer-logo:hover {
  opacity: 1;
}

/* Nav */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.footer-nav a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Texto derecha */
.footer-right {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-right a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-right a:hover {
  color: var(--fg);
}

/* Separador */
.footer-sep {
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    justify-content: center;
  }

  .footer-right {
    gap: 0.35rem;
  }
}

  