@charset "UTF-8";

/* ===================================================
   CONTACT PAGE
   =================================================== */

.contact-page{
  background: var(--bg-light);
  padding-bottom: 6rem;
}

/* ===================================================
   HERO
   =================================================== */

.contact-hero-title-section{
  background: var(--brand-orange);
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}

.contact-hero-title-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-hero-title-inner > h2:first-child{
  color: var(--text-color);
  font-size: clamp(2.7rem, 5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-hero-title-inner .script-title{
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 2.6rem);
  line-height: 1.1;
}

/* ===================================================
   TEAM SECTION
   =================================================== */

.contact-team{
  background: var(--bg-light);
  padding: 6.5rem 2rem 1rem;
}

.contact-team-inner{
  max-width: 1000px;
  margin: 0 auto;
}

.contact-people{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6rem;
  flex-wrap: nowrap;
}

.contact-person{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(320px, 100%);
}

.portrait-card{
  width: clamp(220px, 24vw, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(0,0,0,0.08),
    0 6px 16px rgba(0,0,0,0.06);
}

.portrait-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.contact-person-text{
  margin-top: 2.2rem;
  width: 100%;
  text-align: center;
}

.contact-person-text h3{
  font-family: var(--font-base);
  font-weight: 900;
  letter-spacing: 0.01em;
  margin: 0 0 0.1rem 0;
  color: var(--text-color);
  text-align: center;
}

.script-style{
  font-family: var(--font-script);
  color: var(--brand-orange);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.9rem;
  text-align: center;
}

.contact-person-text p{
  text-align: center;
}

.contact-person-text a,
.contact-person-text a:visited,
.contact-person-text a:hover,
.contact-person-text a:active{
  color: inherit;
  text-decoration: none;
}

/* ===================================================
   CONTENT SECTION
   =================================================== */

.contact-content{
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form{
  width: 100%;
  max-width: 600px;
  margin: 6rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea{
  font-family: var(--font-base);
  font-size: var(--p-size-desktop);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-color);
  padding: 0.95rem 1.2rem;
  border-radius: 0.6rem;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.contact-form textarea{
  resize: vertical;
  min-height: 170px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(0,0,0,0.45);
  font-weight: 600;
}

.contact-form button{
  align-self: center;
  background: var(--brand-orange);
  color: #fff;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 800;
  padding: 0.85rem 1.8rem;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-form button:hover{
  transform: translateY(-2px);
  opacity: 0.92;
}

.contact-hours{
  width: 100%;
  margin-top: 4rem;
  text-align: center;
}

.contact-hours p{
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.linkedin-section{
  width: 100%;
  display: grid;
  place-items: center;
  margin-top: 6rem;
}

/* ===================================================
   LINKEDIN BUTTON
   =================================================== */

.linkedin-button{
  position: relative;
  width: clamp(140px, 15vw, 180px);
  height: clamp(140px, 15vw, 180px);
  transform-origin: 50% 60%;
  animation: curiousBreathe 4.5s ease-in-out infinite;
  cursor: pointer;
  text-decoration: none;
}

.linkedin-button-inner{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.linkedin-button:hover{
  animation-play-state: paused;
}

.linkedin-button:hover .linkedin-button-inner{
  animation: curiousSpring 0.65s cubic-bezier(.22,1.28,.4,1) both;
}

.button-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
}

.script-button{
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  font-family: var(--font-script);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  line-height: 1.25;
  pointer-events: none;
}

/* ===================================================
   ANIMATIONS
   =================================================== */

@keyframes curiousBreathe{
  0%   { transform: rotate(4deg) scale(.92); }
  50%  { transform: rotate(8deg) scale(1.08); }
  100% { transform: rotate(4deg) scale(.92); }
}

@keyframes curiousSpring{
  0%   { transform: scale(1.05); }
  35%  { transform: scale(1.14); }
  60%  { transform: scale(1.08); }
  80%  { transform: scale(1.11); }
  100% { transform: scale(1.09); }
}

/* ===================================================
   MOBILE
   =================================================== */

@media (max-width: 768px){
  .contact-hero-title-section{
    min-height: calc(100svh - 76px);
  }

  .contact-team{
    padding: 6rem 1.25rem 1rem;
  }

  .contact-people{
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .contact-person{
    width: 100%;
    max-width: 320px;
  }

  .contact-person-text{
    margin-top: 1.5rem;
  }

  .contact-content{
    padding: 2rem 1.25rem 4rem;
  }

  .contact-form{
    max-width: 100%;
  }
}

@media (max-width: 768px){
  .script-style{
    font-size: 1.25rem;
  }
	
	 .portrait-card{
    width: clamp(231px, 25.2vw, 336px);
  }
}