/* ========================================
   PICTÓRICA TALLER — Landing Page
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #2C4A3E;
  --green-deep: #1E352B;
  --green-light: #3D6353;
  --beige: #F5F0EB;
  --beige-dark: #E8E0D8;
  --cream: #FAF8F5;
  --terracotta: #B85C38;
  --terracotta-hover: #A04E2E;
  --dark: #1A1A1A;
  --muted: #8C8578;
  --muted-light: #B5ADA3;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --container: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-py: clamp(4rem, 10vw, 8rem);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* --- Section Tags & Titles --- */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.section-title--sm {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 28px;
  width: auto;
  transition: opacity 0.3s, filter 0.4s var(--ease);
}

.nav__logo:hover img {
  opacity: 0.7;
}

.nav.is-scrolled .nav__logo img {
  filter: brightness(0);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav__link:hover::after {
  width: 100%;
}

.nav.is-scrolled .nav__link {
  color: var(--dark);
}

.nav__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.nav__wa:hover {
  background: #25D366;
  color: var(--white);
  transform: scale(1.08);
}

.nav.is-scrolled .nav__wa {
  background: #25D366;
  color: var(--white);
}

/* Nav toggle (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.nav.is-scrolled .nav__toggle span {
  background: var(--dark);
}

.nav__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gap) clamp(3rem, 8vw, 6rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero__logo {
  height: clamp(120px, 18.75vw, 270px);
  width: auto;
  margin-top: auto;
  margin-bottom: auto;
  align-self: center;
}

.hero__tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  right: var(--gap);
  bottom: clamp(2rem, 6vw, 4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-transform: uppercase;
}

.btn--accent {
  background: var(--terracotta);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--terracotta-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 92, 56, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--wa {
  background: #25D366;
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.85rem 1.8rem;
}

.btn--wa:hover {
  background: #1FAD54;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about__desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about__credentials {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--beige-dark);
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.credential__number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}

.credential__label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.about__images {
  position: relative;
  margin-bottom: 4rem;
}

.about__img-main {
  border-radius: 2px;
  overflow: hidden;
}

.about__img-main img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center top;
}

.about__img-secondary {
  position: absolute;
  bottom: -4rem;
  left: -2rem;
  width: 45%;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border: 4px solid var(--cream);
}

.about__img-secondary img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: var(--section-py) 0;
  background: var(--beige);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-card__img {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.service-card:hover .service-card__img img {
  transform: scale(1.04);
}

.service-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.service-card__title {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.service-card__tagline {
  display: none;
}

.service-card__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  opacity: 1;
  margin-top: 0.5rem;
}

.service-card__list {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  list-style: disc;
}

/* Hover effects for desktop */
@media (min-width: 769px) {
  .service-card__desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin-top 0.4s var(--ease);
    margin-top: 0;
  }

  .service-card__list {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease);
  }

  .service-card:hover .service-card__desc {
    max-height: 400px;
    opacity: 1;
    margin-top: 0.25rem;
  }

  .service-card:hover .service-card__list {
    max-height: 300px;
    opacity: 1;
  }
}

/* ========================================
   PROFILES
   ======================================== */
.profiles {
  padding: var(--section-py) 0;
  background: var(--green);
  color: var(--white);
}

.profiles .section-tag {
  color: rgba(255, 255, 255, 0.5);
}

.profiles .section-title {
  color: var(--white);
}

.profiles .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.profiles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.profile-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease-out);
}

.profile-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.profile-card__icon {
  color: #D4A574;
  margin-bottom: 1.5rem;
}

.profile-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.profile-card__benefits {
  margin-bottom: 2rem;
}

.profile-card__benefits li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.profile-card__benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #D4A574;
  opacity: 0.8;
}

.profile-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #D4A574;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, gap 0.3s;
}

.profile-card__cta:hover {
  border-color: #D4A574;
  gap: 0.75rem;
}

/* ========================================
   CLIENTS
   ======================================== */
.clients {
  padding: var(--section-py) 0;
  background: var(--cream);
  text-align: center;
}

.clients__logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  min-width: 120px;
}

.client-logo img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.3s var(--ease);
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  display: block;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: var(--section-py) 0;
  background: var(--beige);
}

.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact__form-wrap {
  grid-column: 2;
  grid-row: 1 / 3;
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 3px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.contact__extras {
  grid-column: 1;
}

.contact__desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact__detail {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--dark);
  transition: color 0.3s;
}

.contact__detail svg {
  color: var(--green);
  flex-shrink: 0;
}

.contact__detail:hover {
  color: var(--terracotta);
}

.contact__hours {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  border: 1px solid var(--beige-dark);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(44, 74, 62, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-light);
}

.form-group select:invalid {
  color: var(--muted-light);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238C8578' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 3rem 0;
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.6);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__logo {
  height: 36px;
  width: auto;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.4);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.3s, color 0.3s;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.footer__copy {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}

.footer__privacy {
  display: inline-block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer__privacy:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }

  .profiles__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__form-wrap {
    grid-column: auto;
    grid-row: auto;
  }

  .contact__extras {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .hero__title br {
    display: none;
  }

  .section-title br {
    display: none;
  }

  .hero__title {
    font-size: clamp(2rem, 5.5vw, 3rem);
  }

  .hero__sub {
    font-size: 0.95rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: var(--green-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  }

  .nav__links.is-open {
    transform: translateX(0);
  }

  .nav__links .nav__link {
    color: var(--white) !important;
    font-size: 0.9rem;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__links .nav__wa {
    margin-top: 1.5rem;
    background: #25D366;
    color: var(--white);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about__images {
    order: -1;
  }

  .about__img-secondary {
    bottom: -5rem;
    left: -1rem;
    width: 40%;
  }

  .about__credentials {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .service-card__img {
    aspect-ratio: 3/4;
  }

  .service-card__title {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
  }

  .service-card__desc {
    font-size: 0.85rem;
  }

  /* Profile cards collapsible on mobile */
  .profiles__grid {
    gap: 0.5rem;
  }

  .profile-card {
    padding: 0.9rem 1.25rem;
    padding-right: 3rem;
    cursor: pointer;
    position: relative;
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.75rem;
  }

  .profile-card__icon {
    display: inline-flex;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .profile-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .profile-card__title {
    margin-bottom: 0;
    line-height: 32px;
    font-size: 1.35rem;
  }

  .profile-card__benefits {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-bottom: 0;
    transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin-top 0.4s var(--ease);
    margin-top: 0;
  }

  .profile-card.is-open .profile-card__benefits {
    max-height: 400px;
    opacity: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .profile-card__cta {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    margin: 0;
    transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease);
  }

  .profile-card.is-open .profile-card__cta {
    max-height: 60px;
    opacity: 1;
  }

  /* Toggle indicator */
  .profile-card::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    top: 0.9rem;
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 28px;
    transition: transform 0.3s var(--ease);
  }

  .profile-card.is-open::after {
    transform: rotate(45deg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero__scroll {
    display: none;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__brand {
    flex-direction: column;
  }

  .clients__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .client-logo {
    min-width: auto;
    width: calc(33.333% - 0.5rem);
    padding: 0.75rem 0.5rem;
  }

  .client-logo img {
    height: 28px;
    max-width: 100%;
  }

  /* Contact details centered on mobile */
  .contact__extras {
    text-align: center;
  }

  .contact__extras .contact__details {
    align-items: center;
  }

  .contact__extras .btn--wa {
    margin: 0 auto;
  }

  /* Footer logo bigger */
  .footer__logo {
    height: 36px !important;
  }
}

@media (max-width: 480px) {

  .hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .hero__actions .btn {
    flex: 1;
    width: auto;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

}

/* ========================================
   FORM SUCCESS STATE
   ======================================== */
.contact-form.is-sent {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
}

.form-success__text {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========================================
   GRAIN OVERLAY (subtle texture)
   ======================================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}