/*!
Theme Name: BeSocial
*/

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}
:root {
    /* @link https://utopia.fyi/type/calculator?c=360,18,1.2,1240,20,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,2xl,12 */
    
    /* Step -2: 12.5px → 12.8px */
    --step--2: clamp(0.7813rem, 0.7736rem + 0.0341vw, 0.8rem);
    /* Step -1: 15px → 16px */
    --step--1: clamp(0.9375rem, 0.9119rem + 0.1136vw, 1rem);
    /* Step 0: 18px → 20px */
    --step-0: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
    /* Step 1: 21.6px → 25px */
    --step-1: clamp(1.35rem, 1.2631rem + 0.3864vw, 1.5625rem);
    /* Step 2: 25.92px → 31.25px */
    --step-2: clamp(1.62rem, 1.4837rem + 0.6057vw, 1.9531rem);
    /* Step 3: 31.104px → 39.0625px */
    --step-3: clamp(1.944rem, 1.7405rem + 0.9044vw, 2.4414rem);
    /* Step 4: 37.3248px → 48.8281px */
    --step-4: clamp(2.3328rem, 2.0387rem + 1.3072vw, 3.0518rem);
    /* Step 5: 44.7898px → 61.0352px */
    --step-5: clamp(2.7994rem, 2.384rem + 1.8461vw, 3.8147rem);

    /* @link https://utopia.fyi/space/calculator?c=360,18,1.2,1240,20,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,2xl,12 */

    /* Space 3xs: 5px → 5px */
    --space-3xs: clamp(0.3125rem, 0.3125rem + 0vw, 0.3125rem);
    /* Space 2xs: 9px → 10px */
    --space-2xs: clamp(0.5625rem, 0.5369rem + 0.1136vw, 0.625rem);
    /* Space xs: 14px → 15px */
    --space-xs: clamp(0.875rem, 0.8494rem + 0.1136vw, 0.9375rem);
    /* Space s: 18px → 20px */
    --space-s: clamp(1.125rem, 1.0739rem + 0.2273vw, 1.25rem);
    /* Space m: 27px → 30px */
    --space-m: clamp(1.6875rem, 1.6108rem + 0.3409vw, 1.875rem);
    /* Space l: 36px → 40px */
    --space-l: clamp(2.25rem, 2.1477rem + 0.4545vw, 2.5rem);
    /* Space xl: 54px → 60px */
    --space-xl: clamp(3.375rem, 3.2216rem + 0.6818vw, 3.75rem);
    /* Space 2xl: 72px → 80px */
    --space-2xl: clamp(4.5rem, 4.2955rem + 0.9091vw, 5rem);
    /* Space 3xl: 108px → 120px */
    --space-3xl: clamp(6.75rem, 6.4432rem + 1.3636vw, 7.5rem);

    /* One-up pairs */
    /* Space 3xs-2xs: 5px → 10px */
    --space-3xs-2xs: clamp(0.3125rem, 0.1847rem + 0.5682vw, 0.625rem);
    /* Space 2xs-xs: 9px → 15px */
    --space-2xs-xs: clamp(0.5625rem, 0.4091rem + 0.6818vw, 0.9375rem);
    /* Space xs-s: 14px → 20px */
    --space-xs-s: clamp(0.875rem, 0.7216rem + 0.6818vw, 1.25rem);
    /* Space s-m: 18px → 30px */
    --space-s-m: clamp(1.125rem, 0.8182rem + 1.3636vw, 1.875rem);
    /* Space m-l: 27px → 40px */
    --space-m-l: clamp(1.6875rem, 1.3551rem + 1.4773vw, 2.5rem);
    /* Space l-xl: 36px → 60px */
    --space-l-xl: clamp(2.25rem, 1.6364rem + 2.7273vw, 3.75rem);
    /* Space xl-2xl: 54px → 80px */
    --space-xl-2xl: clamp(3.375rem, 2.7102rem + 2.9545vw, 5rem);
    /* Space 2xl-3xl: 72px → 120px */
    --space-2xl-3xl: clamp(4.5rem, 3.2727rem + 5.4545vw, 7.5rem);

    /* Custom pairs */
    /* Space s-l: 18px → 40px */
    --space-s-l: clamp(1.125rem, 0.5625rem + 2.5vw, 2.5rem);
    /* Space s-2xl: 18px → 80px */
    --space-s-2xl: clamp(1.125rem, -0.4602rem + 7.0455vw, 5rem);

    --wrapper-max-width: 92.50rem;
    --wrapper-gutter: 1rem;

    --clr-primary: rgb(56, 52, 53);
    --clr-secondary: rgb(248, 196, 232);
    --clr-off-white: #F5F5F5;
  

}
.wrapper {
    max-width: var(--wrapper-max-width);
    padding-inline: var(--wrapper-gutter);
    margin-inline: auto;
}
body {
    font-family: 'Source Sans 3', sans-serif;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 0;
    margin: 0;
}
/* Typography */
.text-step--2 {
    font-size: var(--step--2);
}
.text-step--1 {
    font-size: var(--step--1);
}
.text-step-0 {
    font-size: var(--step-0);
}
.text-step-1 {
    font-size: var(--step-1);
}
.text-step-2 {
    font-size: var(--step-2);
}
.text-step-3 {
    font-size: var(--step-3);
}
.text-step-4 {
    font-size: var(--step-4);
}
.text-step-5 {
    font-size: var(--step-5);
}
.text-center {
  text-align: center;
}
:is(h1,h2,h3,h4,h5,h6) {
  font-weight: var(--heading-weight, 700);
  font-size: var(--heading-size, var(--step-5));
  color: var(--heading-color, var(--clr-primary));  
}
:is(h1,h2,h3,h4,h5,h6).intro {
  position: relative;
  margin-block-end: 1.5rem;
}
:is(h1,h2,h3,h4,h5,h6).intro::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  width: 3.5rem;
  height: 0.1rem;
}
:is(.bg-primary) .intro::after{
  background-color: var(--clr-secondary);
}
:is(.bg-secondary) .intro::after{
  background-color: var(--clr-primary);
}
:is(.color-light) .intro::after{
  background-color: #fff;
}
/* Color */
.bg-primary {
    background-color: var(--clr-primary);
}
.bg-secondary {
    background-color: var(--clr-secondary);
}
.color-primary {
    color: var(--clr-primary);
}
.color-secondary {
    color: var(--clr-secondary);
}
.color-black {
  color: #222;
}
.color-light {
  color: #fff;
}
.color-off-white {
  color: #4A4A4A;
}
/* Gap */
.gap-3xs {
    gap: var(--space-3xs) !important;
}
.gap-2xs {
    gap: var(--space-2xs) !important;
}
.gap-xs {
    gap: var(--space-xs) !important;
}
.gap-s {
    gap: var(--space-s) !important;
}
.gap-m {
    gap: var(--space-m) !important;
}
.gap-l {
    gap: var(--space-l) !important;
}
.gap-xl {
    gap: var(--space-xl) !important;  
}
.gap-2xl {
    gap: var(--space-2xl) !important;
}
.gap-3xl {
    gap: var(--space-3xl) !important;
}
/* Spacing */
.pb-3xs {
  padding-block: var(--space-3xs);
}
.pb-2xs {
  padding-block: var(--space-2xs);
}
.pb-xs {
  padding-block: var(--space-xs);
}
.pb-s {
  padding-block: var(--space-s);
}
.pb-m {
  padding-block: var(--space-m);
}
.pb-l {
  padding-block: var(--space-l);
}
.pb-xl {
  padding-block: var(--space-xl);
}
.pb-2xl {
  padding-block: var(--space-2xl);
}
.pb-3xl {
  padding-block: var(--space-3xl);
}
.pb-s-2xl {
  padding-block: var(--space-s-2xl);
}
.pb-start-l {
  padding-block-start: var(--space-l);
}
.pi-3xs {
  padding-inline: var(--space-3xs);
}
.pi-2xs {
  padding-inline: var(--space-2xs);
}
.pi-xs {
  padding-inline: var(--space-xs);
}
.pi-s {
  padding-inline: var(--space-s);
}
.pi-m {
  padding-inline: var(--space-m);
}
.pi-l {
  padding-inline: var(--space-l);
}
.pi-xl {
  padding-inline: var(--space-xl);
}
.pi-2xl {
  padding-inline: var(--space-2xl);
}
.pi-3xl {
  padding-inline: var(--space-3xl);
}
.pi-s-2xl {
  padding-inline: var(--space-s-2xl);
}
/* Sidebar */
.sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}
.sidebar--left > :first-child {
  flex-basis: var(--sidebar-left-basis, 15rem); 
  flex-grow: 1;
}
.sidebar--left > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 50%;
}
.sidebar--right > :first-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 50%;
}
.sidebar--right > :last-child {
  flex-basis: var(--sidebar-right-basis, 15rem); 
  flex-grow: 1;
}
/* Switcher */
.switcher {
  display: flex;
  flex-wrap: wrap;
}
.switcher > * {
  flex-grow: 1;
  flex-basis: calc(( 30rem - 100%) * 999);
}
.switcher > :nth-last-child(n+ 3),
.switcher > :nth-last-child(n+ 3) ~ * {
  flex-basis: 100%;
}
/* Stack */
.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.stack > * {
  margin-block: 0;
} 
.stack-3xs > * + * {
  margin-block-start: var(--space-3xs);
}
.stack-2xs > * + * {
  margin-block-start: var(--space-2xs);
}
.stack-xs > * + * {
  margin-block-start: var(--space-xs);
}
.stack-s > * + * {
  margin-block-start: var(--space-s);
}
.stack-m > * + * {
  margin-block-start: var(--space-m);
}
.stack-l > * + * {
  margin-block-start: var(--space-l);
}
.stack-xl > * + * {
  margin-block-start: var(--space-xl);
}
.stack-2xl > * + * {
  margin-block-start: var(--space-2xl);
}
.stack-3xl > * + * {
  margin-block-start: var(--space-3xl);
}
/* Flexbox */
.flex {
    display: flex;
}
.align-center {
    align-items: center;
}
.align-flex-start {
    align-items: flex-start;
}
.align-flex-end {
  align-items: flex-end;
}
.justify-center {
    justify-content: center;
}
/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
} 
/* Utility */
.box-shadow {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}
.overlay {
  border-image-source: linear-gradient(hsl(0, 0%, 0%, 0.01) , hsl(0, 0%, 0%, .75));
  border-image-slice: fill 1;
}
/* Hero */
.hero {
  --heading-color: #fff;
  --sidebar-left-basis: 30rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  justify-content: center;    
}
.skip {
  position: absolute;
  left:50%;
  bottom: 10vh;
  transform: translateX(-50%);
  border-radius: 100%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out
}
.skip:hover {
  background-color: rgb(248, 196, 232);
  color: rgb(56, 52, 53);
}
/* About */
.about {
	scroll-behavior: smooth;
}
.about .wrapper {
  padding-inline: unset;
}
.about-content {
  --heading-color: #fff;
  --heading-weight:700;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 70rem;
  font-size: var(--step-2);  
}
.about .stack {
  max-inline-size: 55ch;
}
.about-content p {
  color: var(--clr-off-white);
}
.phone img {
  object-fit: contain;
  margin-inline: auto;
}
@media (max-width: 50rem) {
  .phone img {
    max-width: 65vw;
  }
}
/* What we do */
.what-content {
  --heading-color: var(--clr-secondary);
}
/* Clients */
.clients-gallery .client-img {
  overflow: hidden;
}
.clients-gallery img {
  object-fit: cover;
  object-position: center center;
  transition: all .3s ease-in-out;
}
@media (max-width: 50rem) {
  .clients-gallery img {
    height: 10rem;
  }
}
.clients-gallery img:hover {
  transform: scale(1.05);
}
/* Contact Us */
#contact label {
  font-size: var(--step-1);
  font-weight: 600;

}
input[type="text"], input[type="password"], input[type="email"], input[type="tel"], select, textarea {
    appearance: none;
    background: transparent;
    border-radius: 0.25rem;
    color: inherit;
    display: block;
    outline: 0;
    padding-inline: 1rem;
    padding-block: 0.75rem;
    text-decoration: none;
    max-width: 100%;
	width: 100%;
    line-height: 1.65;
}
.bg-secondary input[type="text"], .bg-secondary input[type="password"], .bg-secondary input[type="email"], .bg-secondary input[type="tel"], .bg-secondary select, .bg-secondary textarea {
    border: solid 2px rgb(56, 52, 53, .3);
}
.bg-secondary input[type="text"]:focus, .bg-secondary input[type="password"]:focus, .bg-secondary input[type="email"]:focus, .bg-secondary input[type="tel"]:focus, .bg-secondary select:focus, .bg-secondary textarea:focus {
    border: solid 2px rgb(56, 52, 53, 1);
}
input[type="submit"], input[type="reset"], input[type="button"], button, .button {
    appearance: none;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
    background-color: transparent;
    border: 0;
    border-radius: 0.25rem;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.875) !important;
    cursor: pointer;
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    font-size: var(--step-0);
    font-weight: 700;
    letter-spacing: 0.15rem;
    padding: 1.5rem 1.65rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
.bg-secondary input[type="submit"], .bg-secondary input[type="reset"], .bg-secondary input[type="button"], .bg-secondary button, .bg-secondary .button {
    background-color: rgb(56, 52, 53);
    box-shadow: none;
    color: rgb(248, 196, 232) !important;
}
.bg-secondary input[type="submit"]:hover, .bg-secondary input[type="reset"]:hover, .bg-secondary input[type="button"]:hover, .bg-secondary button:hover, .bg-secondary .button:hover {
  background-color: #000;
}
#contact textarea {
  resize: none;
}
.social-links {
  border-top: 1px solid rgba(56, 52, 53, 1);
}
.contact-icons {
  list-style: none;
  padding: 0;
}
.contact-icons .icon {
  display: flex;
  align-items: center;
  gap: var(--space-s);
}
.contact-icons svg {
  width: 48px;
  height: 48px;
}
.contact-icons a {
  font-size: var(--step-1);
  text-decoration: none;
  transition: all .3s ease-in-out;
  font-weight: 600;
  word-wrap: anywhere;
}
.contact-icons a:hover {
  color: #000;
}
#contact .wpcf7-not-valid-tip {
	color: #000;
    font-size: 1em;
    font-weight: normal;
    display: block;
    position: absolute;
    bottom: -1.5rem;
    left: 0;
}
#contact .wpcf7 form.invalid .wpcf7-response-output, #contact .wpcf7 form.unaccepted .wpcf7-response-output, #contact .wpcf7 form.payment-required .wpcf7-response-output {
	border-color: unset;
}
#contact .wpcf7 form .wpcf7-response-output {
	margin: 2em 0;
    padding: 0;
    border: none;
}